Working with References: Page number #452
Unanswered
lordofscripts
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a higher-level abstraction on top of
Maroto
. I am managing the chapter/section numbering and at some point I want to be able to build a Table of Contents as well as a Reference table.So, let's say I am outputting a Paragraph in Section §3.5.2 and as I stated, my abstraction layer takes care of the numbering so it knows it is at §3.5.2. That's one half of the reference, the other half is the current page number. Is there a way to get a "promise to update a field" on that?
I know that at the moment I am building, I haven't actually generated the document so Maroto doesn't know yet. But, can my program ask
Maroto
"give me a handle to a page number that I can use during composing" so that when it's generating it substitutes that handle for the real page number? @johnfercherBeta Was this translation helpful? Give feedback.
All reactions