¿ªÔÆÌåÓý

Formatting ToC


 

I am making some progress with a wiki for Managing attachments, files & photos but am struggling getting the ToC right. (For the record I am doing it elsewhere, so don't go looking for it at the moment!)

The ToC (still very much a work in progress) ends up looking like this:


and nothing I try makes it come right. :(? I cannot get rid of the numbers or get the justification right. (Or should that be "left"?)

The guidance of "someone who knows" would be more than greatly appreciated.

Chris


 

That's what I've gotten from the ToC widget, too. Unaware of any way of customising or controlling it.


 

Chris,

The ToC (still very much a work in progress) ends up looking like
this:
I've run into this symptom before. I believe it has to do with not using the Header Levels correctly. If you have a Header 4 you need to have a Header 1, Header 2, and Header 3 before it.

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list


 

On Tue, Aug 7, 2018 at 08:51 AM, Shal Farley wrote:
I've run into this symptom before.
Shal; thanks very much for the tip; I'll put it to the test later today and report back.

FWIW the draft wiki is rather more than a non - working ToC!

Chris


 

On Tue, Aug 7, 2018 at 12:10 PM, I wrote:
I'll put it to the test later today and report back.
Almost a case of curiouser and curiouser...

If I make the section titles in h1 then the ToC works as one would want. The (serious) downside is that the font size is such that it feels as though one's eyeballs are being attacked with a lump hammer; it's far, far worse than an email written IN CAPITALS!

I then tried h3 section titles, and set the page name at the top to be h1 and then added another line after it in h2; this should have satified the requirement to have "lower" header sizes prior to those selected for the ToC. Once again the finished ToC was a mess, and for some reason included the h1 & h2 sizes as well as the specified maximum of h3. Even having h2 titles under the h1 page name failed as well.

Either I am doing something silly (a possibility that cannot be discounted!) or the ToC formatting is completely awry.

I think I will ditch the idea of any ToC or linked Index at the top (I don't know how to do one of them either) rather than hold up the production of the wiki page; after all it's the substance of it that matters rather than having a ToC at the top.

Perhaps walking the dog shortly will provide further inspiration and enlightenment...

Chris


 

On Tue, Aug 7, 2018 at 09:25 AM, Chris Jones wrote:
If I make the section titles in h1 then the ToC works as one would want. The (serious) downside is that the font size is such that it feels as though one's eyeballs are being attacked with a lump hammer; it's far, far worse than an email written IN CAPITALS! etc...
You have run into the same thing I did when I tried to do a TOC for our wiki. Very quickly abandoned that notion in favor of a bullet list and anchor tags.

Good luck,
Bruce?
--
The system Help is your friend.??/static/help


 

On Tue, Aug 7, 2018 at 04:21 PM, Bruce Bowman wrote:
You have run into the same thing I did when I tried to do a TOC for our wiki. Very quickly abandoned that notion in favor of a bullet list and anchor tags.
I'm relieved that it's not just me then! On reflection this wiki section will really need to be read as a complete document anyway, in which case a ToC might be a distraction. A neat post - facto rationalisation of why I have given up on that route...

And (FWIW) the dog walk was devoid of inspiration, enlightenment, visions, visitations and other phenomena. Probably just as well, really. One or two ideas to follow up, though.

Chris


 

Chris,

The (serious) downside is that the font size is such that it feels as
though one's eyeballs are being attacked with a lump hammer; ...
I had the same reaction.

For GMF's longer pages I simply capitulated, reasoning that the utility of the TOC outweighed the style. I sort-of get the problem: in order to have many levels you end up with extremes at the top and bottom levels.

I've toyed with the idea of looking at the CSS for the wiki to see if those header styles can be adjusted to suit the nesting depth of a given page; but I've never found the round tuit appropriate to that task.

Either I am doing something silly (a possibility that cannot be
discounted!) or the ToC formatting is completely awry.
All I can tell you is that every time I tried to get clever with the header levels the TOC punished me for it. I've only had success by ensuring that I've used the headers in proper hierarchy and that every other paragraph is a P.

I think I will ditch the idea of any ToC ... rather than hold up the
production of the wiki page; after all it's the substance of it that
matters rather than having a ToC at the top.
Agreed, content is king.

Until I made my peace with the way it looks my pages also went without a TOC. And not every page is long enough or structured enough to need one.

Shal


--
Help: /static/help
More Help: /g/GroupManagersForum/wiki
Even More Help: Search button at the top of Messages list