[luatex] Re-order pages

David Carlisle d.p.carlisle at gmail.com
Wed Aug 1 14:31:58 CEST 2018

I'm not sure you can do it in the not-yet finalised pdf but if you
just write out your table of contents pages to the end of the document
there are several pdf utilities that can re-order the pages (or just
edit it in emacs if the stream isn't compressed:-) such a post process
might be quicker than re-running luatex over the document (perhaps?)


On 1 August 2018 at 13:23, Martin Schröder <martin at oneiros.de> wrote:
> 2018-08-01 13:37 GMT+02:00 Patrick Gundlach <patrick at gundla.ch>:
>> is there any way to re-order the pages? For example, when I write page #7, I'd like it to appear as page #2. This would it make creating table of contents much more faster in big documents.
>> I remember that Hartmut H. had a patch for that but I don't know the status of it.
> It was a patch for pdftex and never merged. May be in the pdftex 1.50 branch...
> Btw: It was inspired by m4.
> Best
>   Martin

More information about the luatex mailing list