[NTG-context] extra lines in PDF annotations

Pablo Rodriguez oinos at gmx.es
Mon Mar 13 16:06:44 CET 2023

Dear list,

using current latest from 2023.03.10 12:18, I have this XML sample:




And the following environment:


  \startxmlsetups xml:text


  \startxmlsetups xml:copy:html
    \attachment[method=hidden, name=attach.xml, buffer=text]

If I save the XML file with Windows EOL chars (CR LF), I get extra blank
lines in the PDF annotation.

Everything is fine, if XML has Unix line endings (LF char).

Attachment contains the proper line ending in each case.

Could anyone confirm what appears to be a tricky issue?

Many thanks for your help,


More information about the ntg-context mailing list