-----Ursprüngliche Nachricht----- Von: vm via ntg-context
Gesendet: Freitag, 20. September 2024 10:23 An: ntg-context@ntg.nl Cc: vm Betreff: [NTG-context] Re: How to tell a single *.tex file to produce separate PDFs? On 20/09/2024 04:57, Joel via ntg-context wrote:
Anyway, my boss is upset she has to use a table of contents to navigate to the page she wants, and so wants me to split the file into 180 separate files, which somehow is going to be easier to look at. Honestly, she probably still won't ever actually look at it, but that's her requirement.
what is the difference between scrolling through your single page files folder and scrolling through a single pdf?
How about <ctrl-f> too search in the pdf?
with mutools you can take a pdf aprt into individual pages.
$ mutool --help usage: mutool <command> [options] clean -- rewrite pdf file convert -- convert document create -- create pdf document draw -- convert document trace -- trace device calls extract -- extract font and image resources info -- show information about pdf resources merge -- merge pages from multiple pdf sources into a new pdf pages -- show information about pdf pages poster -- split large page into many tiles sign -- manipulate PDF digital signatures run -- run javascript show -- show internal pdf objects
______________________________________________________________ _____________________ If your question is of interest to others as well, please add an entry to
I was going to suggest pdftk which is similar to mutools. You can get boundaries from a the log file and then split the file using these tools. (Search the mailing list: I think that's also something ConTeXt might be able to do natively, but I'm not sure.) Then, you might also consider using a product-component based solution. You'll then be able to process each file indivdually while still having a main file around. The page numbers in the individual file will be incorrect, i.e. always start at 1, but for having a quick look that still might be nice. (Hans or Wolfgang probably know if there is a way to get correct page numbers when using components...) Best, Denis the
Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg- context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ______________________________________________________________ _____________________