[NTG-context] XML roundtripping

Denis Maier maier.de at gmail.com
Wed May 15 16:35:47 CEST 2019


Our workflow is not settled yet; we're still discussing options. All
depends upon what is possible ...

That being said, for the purpose of displaying the articles online we'll
need every article in a separate XML file. The question is if and how we
will produce a PDF version containing a whole volume (we'll probably need
one PDF for the whole volume and also PDFs for each article).

One option would be:
- merge the articles into a single XML,
- typeset from there
- split the PDF
(Hence my question here,
https://mailman.ntg.nl/pipermail/ntg-context/2019/095011.html).

Another option could be:
- Typeset each article individually.
- Get the last page number => in the next article, set the first page
number to this + 1
(So, we do not necessarily need to write the page numbers back to the XML,
but we'll somehow need to pass the page number to the next article in the
chain.)


Am Mi., 15. Mai 2019 um 14:46 Uhr schrieb Hans Hagen <j.hagen at xs4all.nl>:

> On 5/15/2019 12:57 PM, Denis Maier wrote:
> > Hmm, getting the page number back from the tuc file sound feasible. I'll
> > have to look into this.
> >
> > But how would I write the information back to the XML? Is this explained
> > somewhere?
> all depends on the workflow ... why does it need to be written back?
>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190515/bcf1ca67/attachment-0001.html>


More information about the ntg-context mailing list