Giter Club home page Giter Club logo

Comments (7)

jodros avatar jodros commented on June 9, 2024 1

Now you nailed it, I agree! That's the origin of my question, because for me, this header should behave just as a chapter header having no folios on the their page. I just checked for some examples, I could send you several examples of books in different languages whose ToC isn't paginated, at least not in its first page, when it happens to span through a couple of pages...

from sile.

Omikhleia avatar Omikhleia commented on June 9, 2024

Er. I don't get it. In most books I have, the ToC is paginated ;)
References for the contrary?

from sile.

jodros avatar jodros commented on June 9, 2024

Yeah, maybe I could have said about it being an option then...

I've a plenty of books whose toc isn't paginated and many others which they aren't.

from sile.

Omikhleia avatar Omikhleia commented on June 9, 2024

I've a plenty of books whose toc isn't paginated and many other which they aren't.

Then the issue is perhaps not with ToC itself, but in the section of the book where it occurs. I am sure I already mentioned front matter / main matter / back matter in some issue.1 Whether the standard book class shall have these distinctions is debatable2 but this is the real game, I think?

Footnotes

  1. Here, likely: https://github.com/sile-typesetter/sile/issues/601#issuecomment-907851276

  2. Because it's complex to address, really. I still don't have them either in my resilient book class, and have postponed the question for better days.

from sile.

Omikhleia avatar Omikhleia commented on June 9, 2024

BTW, this also why I believe the ToC "as-is" should just be a ToC and not have a title-like header -- one of the differences between resilient.tableofcontents and the core tableofcontents. Do one thing (a ToC), but do it well -- and let the surrounding context know whether (and how) it needs some sectioning.

from sile.

Omikhleia avatar Omikhleia commented on June 9, 2024

Now you nailed it,

Thanks, lol. These lines might make sense to someone else than me then:
https://github.com/Omikhleia/markdown.sile/blob/774122f15c2f5940ce5637fa5c221d3fd2e29cc8/packages/markdown/commands.lua#L744-L751

from sile.

Omikhleia avatar Omikhleia commented on June 9, 2024

Closing/rejecting: as discussed, folio numbering and ToC are orthogonal topics. One depends on sectioning strategies, and the other is just responsible for generating a ToC.

from sile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.