12-xml-tei-tagged-pdf-18

XML e tagged PDF

(Luigi Scarso)

Sommario

In questo articolo mostriamo come gestire in ConTeXt un documento in formato Xml per produrre una rappresentazione in formato PDF e come l’utilizzo dei tag permetta di strutturare il documento PDF in modo analogo al documento XML. Viene presentato un originale foglio di stile per il completo embedding del documento XML sorgente e come analizzare il PDF tramite LuaTeX per estrarre il documento.

Abstract

In this paper we show how to manage an XML document in ConTeXt to produce a PDF output and how the tags of the PDF can be used to give a structure to the PDF document. We also show a novel stylesheet for the complete embedding of the XML source into the PDF and how to analyze the final PDF with LuaTeX to extract the document.

Leggi l’articolo

Go to top