ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* generate multiple files from one source
@ 2017-02-18 22:27 Pablo Rodriguez
  2017-02-18 23:15 ` Henning Hraban Ramm
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2017-02-18 22:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-19 19:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18 22:27 generate multiple files from one source Pablo Rodriguez
2017-02-18 23:15 ` Henning Hraban Ramm
2017-02-19 10:41 ` Hans Hagen
2017-02-19 19:47   ` Pablo Rodriguez
2017-02-19 19:02 ` Jaroslav Hajtmar
2017-02-19 19:54   ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).