Page number in table of contents
Hi!
Marked is awesome! Just was what I was looking for. BUT.. When it comes to the TOC it seems like that Marked falls a bit short, or it is very unclear in the documentation.
What I want to have is just the simple functionality where page numbers are shown next to the heading in the TOC.
1. First Section 1 ...........................1
2. Second Section ........................ 2
2.1 Sub Section ............................ 4
So the page numbers are aligned to the right.
And also have the ability to check "start page count after TOC". So that if I have a frontpage, then the TOC, that way, the "actual content" starts the page count.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 11 May, 2016 03:02 PM
=?UTF-8?B?Wjp4nE1QS07EMAzd9xRvB0jD3IGPkFjBYi7gNu40MLWr2KH09jhlhNg58fv5
PRheb74YM4tnFU7IAvWJC3wqTMkOMTCGWkpA8P78AtvMecZEBlGstEFHdJ+i
a5Yz1okcC50ZJBtyQ+oQdIPKEafQmtU8FhhIkBTZkNi5zFkY3X+zXaXnpjqo
fHFxTofwbGxrXx4oa6I1YlL6qOYN3DS6newKcyoOqXPPpS1p9P04xpiLXU1W
rZcUVljULPcXPqCvjo5Sapwd8ythTbOxT29PLXqkOXbdaYpxjiaGiSSweYxa
Z1AoNfw1/c5rDfL3ovEci86o9hf5WuwSOWPJ5LXw7kfRWWm9mAfjliSFmVS6
XDacWbhQNHMXRB3YLPLcPxZ2/wFeCahR
2 Posted by Daniel Blomdahl on 11 May, 2016 09:45 PM
Not quite sure how to respond to that.. ;)
Support Staff 3 Posted by Brett on 12 May, 2016 03:56 AM
That's definitely not the response I sent. Let me dig the original up and paste it :).
Support Staff 4 Posted by Brett on 12 May, 2016 03:58 AM
Original response:
As I've mentioned in other threads, the current PDF system has no way of
knowing what page any item occurs on. The most it can do is determine
the current page being converted, not its contents. Thus, adjusting the
page to start numbering after the first page would be possible, but
adding page numbers to the TOC is not.
This may change if I'm able to convert the PDF export from using the
system print features to a more custom (and manually generated) process.
5 Posted by Daniel Blomdahl on 12 May, 2016 06:36 AM
Sorry for the duplicated question, after my quick search in the forum I did not find this answer.
Thank you for replying so quick. Which file types can keep track of page number in the TOC? Would be nice to have that info in the focus..? Because if there is a file type that can handle it, well then I could just convert that type to pdf myself..?
6 Posted by Daniel Blomdahl on 12 May, 2016 06:38 AM
focus = docs
(Mobile autocorrect..)
Support Staff 7 Posted by Brett on 12 May, 2016 03:26 PM
Paginated PDF is the only option that even has defined pages.
Thanks,
Brett