Am 2017-02-18 um 23:27 schrieb Pablo Rodriguez <oi...@gmx.es>:

> Dear list,
> 
> I have the following sample:
> 
>    \setuppapersize[A8, landscape]
>    \starttext
>    \dorecurse{10}{
>    \startpagemakeup[align=center]
>    This is invoice number \recurselevel.
> 
>    Customer name from CSV file.
> 
>    Other data from the same CSV file.
>    \stoppagemakeup}
>    \stoptext
> 
> How can I get new PDF documents with a one invoice per document instead
> of new page breaks?
> 
> I need PDF documents with only one invoice (but with the correct number)
> and also a single PDF document with all invoices.
> 
> Of course, my real documents are more complex. What I need is a file
> breaking command. Appending -1, -2, -3... -n to the PDF file name would
> be fine for me.
> 
> How could I achieve this in the ConTeXt compilation?

I wouldn’t be surprised if ConTeXt can do that on its own, but I don’t know 
how, and I’d use a postprocessor like pdftk to split a multipage file into 
single pages.


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to