Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: TOC draft sample

by pryrt (Monsignor)
on Nov 07, 2017 at 14:25 UTC ( #1202923=note: print w/replies, xml ) Need Help??

in reply to TOC draft sample

were the contents of the first three <h3>'s originally "Chapter 1", "Chapter 2", and "Chapter 3"? When I went to check the original, they appear to be "chapter #" now... but I didn't remember that it was such blandly-titled sections before, and the TOC names listed here (with "Basics: Para & Code markup" and other similarly-helpful titles) make more sense. Did the auto-generation of the TOC somehow mess up the source?

Replies are listed 'Best First'.
Re^2: TOC draft sample
by ww (Archbishop) on Nov 07, 2017 at 18:02 UTC

    By me, no changes of the sort you're asking about since I posted the original node
    and not sure what you're seeing. Also, no auto-generation of the TOC used -- about which, see my linked response -- as edited upon posting of the "Draft...." -- to the original LanX suggestion.

      In the table of contents, the entries are listed as "Basics: Para & Code markup", "Additional Markup (Overview+Examples)", and the like. In the body of the document, those same are "<h3>Chapter 1</h3>" and "<h3>Chapter 2</h3>". As LanX put it, " why not simply <h3>Chapter 1 - Basics: Para & Code markup</h3> for both?".

      It had been a while since I'd read the original Markup in the Monastery node, and I had assumed that something had been changed, because I didn't remember those sections being called "Chapter 1" and "Chapter 2" in the original... but apparently I was wrong. Sorry.

      I guess now my suggestion (to echo LanX), would be to use the same meaningful names that you manually chose for the TOC as the actual headers in the flow of the document. (Clicking on "Basics: Para & Code markup" and arriving at "Chapter 1" is confusing to me, and would likely confuse someone new to the document as well.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202923]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2021-05-15 02:32 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (150 votes). Check out past polls.