How to append a text variable to the page numbers value?
Greetings,
I have a book document with several articles (sections) that each start from page 1. So output of automatically generated table of content is like:
article #1 …………….1 to 25
article #2 …………….1 to 87
The reason for having each individual article star at page 1 is the articles are generated individually over the course of a year, and at the end of the year we want to bundle them together in a single PDF.
Normally, the simple way to create a distinction for each article is using section prefixes(e.g. a,b,c,d,…) so the table of content will look like:
article #1 …………….a1 to a25
article #2 …………….b1 to b87
However, we use a unique identifier (something like: 10.1000/123456) which is longer than the maximum number of characters allowed in section prefix (which is 😎
So ideally, my table of content should look like this:
article #1 …………….10.1000/123456-1 to 10.1000/123456-25
article #2 …………….10.1000/123457-1 to 10.1000/123457-87
Now my question is, how to append a string to the page number, so it can be generated and displayed automatically along with the page number, in index, table of content and page numbers in footers?
Thanks for your help in advance,
Kasra
Footnote:
This is a more abstract/universal variation of a question I already asked on the forum, which is currently unanswered:(https://indesignsecrets.com/topic/having-dois-in-a-journal-index)