[TW 5] Clustered tags (and a few other minor questions)?

180 views
Skip to first unread message

Valikhanov

unread,
Jul 10, 2016, 5:29:28 AM7/10/16
to TiddlyWiki
Hello,

I use TiddlyWiki for all my research (both versions - I use Classic for my older projects, since I understand there is still no way to directly transfer to TW5); apologies in advance if the answers my questions are obvious to more advanced users.

Is there any kind of plugin to set up nested or clustered tags? E.g. a tag hierarchy along the lines of what is possible using labels in gmail? Right now I have a single, long, unwieldy list of tags: I'd love to be able to group them by "kind" of tag.

A couple more minor, and probably easier questions:

(1) Unlike in Classic, TW5 requires a line break before bullet points. E.g.

Text

Bullet point

instead of 

Text
Bullet point

(the latter was permitted in Classic).

Is there a way to change this? I am used to the old system, and always forget to add the extra line break, which is annoying.

(2) What is the formatting necessary to add some extra space between lines, in the display version in addition to the markup version?

(3) Is there any command I can put in to give me a straight line across the entire tiddly (e.g. in Classic, !!! would do this; now !!! just makes the font size bigger).


Many thanks in advance!








Jed Carty

unread,
Jul 10, 2016, 6:03:37 AM7/10/16
to TiddlyWiki
I have been looking into creating tag hierarchies for a while and I haven't come up wit ha good way to do it yet. I mean hierarchies in the way that you could have math with a subtag logic be different from just having the tag logic. If I ever figure out a good way to make it work than I will probably make something. In the meantime I have made the GenTags plugin that may help.

For your other questions:

1) Not that I know of, I think your only alternative is to use html which isn't an improvement.

2) I am not certain this is what you want, but if you make a tiddler, give it any title you want, give it the tag $:/tags/Stylesheet and put this in the text field:

.tc-tiddler-frame .tc-tiddler-body {
line-height:30px;
}

it will put more space between each line when viewing a tiddler. Changing the '30px' to some other number changes how much space.

3) You need to use <hr>, so anywhere you put <hr> you will have a horizontal line.

Birthe C

unread,
Jul 10, 2016, 6:22:19 AM7/10/16
to TiddlyWiki
Hi Valikhanov

!!! is for heading level 3. both TWc and TW5. ---- is and was for horizontal rule


Birthe

Den søndag den 10. juli 2016 kl. 11.29.28 UTC+2 skrev Valikhanov:
Hello,

Thomas Elmiger

unread,
Jul 10, 2016, 9:08:37 AM7/10/16
to TiddlyWiki
Hi Valikhanov and Jed,
Concerning tag hierarchy I found the core plugins for table of content very useful:
http://tiddlywiki.com/#Table-of-Contents%20Macros – but this is possibly not what you are looking for?

From the docs: "The top level of the tree consists of the tiddlers that carry a particular tag, known as the root tag. Tiddlers tagged with any of those make up the next level down, and so on."

Cheers! Thomas

Jed Carty

unread,
Jul 10, 2016, 9:22:12 AM7/10/16
to TiddlyWiki
That is not what I want anyway, I want to be able to have a normal 'logic' tag that is different than the tag that you get when you tag something as 'logic' by way of math. I have a bit more of an explaination and an early idea of some implementation for this here.

Jeremy Ruston

unread,
Jul 10, 2016, 9:51:48 AM7/10/16
to tiddl...@googlegroups.com
Hi Valikhanov

Picking up a couple of points...

(1) Unlike in Classic, TW5 requires a line break before bullet points. E.g.
Is there a way to change this? I am used to the old system, and always forget to add the extra line break, which is annoying.

The change is that in TW5 a double linebreak is needed to terminate a paragraph; single linebreaks within paragraphs are treated as a space. Changing it would require rewriting the parser.

(3) Is there any command I can put in to give me a straight line across the entire tiddly (e.g. in Classic, !!! would do this; now !!! just makes the font size bigger).

As Birthe points out, you can insert a horizontal rule with three or four dashes on a line by themselves:

----

Alternatively, to make all headings have a horizontal line above them, as with TWC, create a tiddler tagged $:/tags/Stylesheet and the following content:

h1 {
border-bottom: 2px solid #ccc;
}

h2, h3 {
border-bottom: 1px solid #ccc;
}

Best wishes

Jeremy



Many thanks in advance!









--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a2939b4e-e7a5-481f-91fc-601fbf79205d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark S.

unread,
Jul 10, 2016, 1:13:51 PM7/10/16
to TiddlyWiki
Put triple quotes """ at the top and bottom of your tiddler to get standard line feeds. You will lose block-level (headers) formatting, but inline formatting (bold, italics) will still work.

This approach is especially helpful when bringing in text from outside sources that expect line-by-line breaks (poetry, scriptures, etc.)

Mark

Valikhanov

unread,
Jul 24, 2016, 2:50:53 PM7/24/16
to TiddlyWiki
Thanks everyone! This forum makes it possible for luddites like me to use TW.

@Jeremy Ruston: That stylesheet coding you helpfully suggested works, but it also puts a line through the middle of the title of tiddlers that spill on to a second line. Is there any way to just the in-tiddly headings?

@Thomas Elmiger: The ToC macro seems like it may be useful, but figuring out how to use it is a bit beyond me (even with the brief explanation of macros as used in TW on the main site).

Jeremy Ruston

unread,
Jul 25, 2016, 9:24:18 AM7/25/16
to tiddl...@googlegroups.com
Hi Valikhanov

> @Jeremy Ruston: That stylesheet coding you helpfully suggested works, but it also puts a line through the middle of the title of tiddlers that spill on to a second line. Is there any way to just the in-tiddly headings?

You can add another definition to remove the horizontal line from tiddler titles:

h2.tc-title {
border: none;
}

Best wishes

Jeremy



>

Reply all
Reply to author
Forward
0 new messages