From fc4466b32ed330a956ac603b00fd145524cff49a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 22 Apr 2016 22:14:39 +0000 Subject: context (22apr16) git-svn-id: svn://tug.org/texlive/trunk@40691 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/context/modules/mkiv/s-xml-analyzers.mkiv | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Master/texmf-dist/tex/context/modules/mkiv/s-xml-analyzers.mkiv (limited to 'Master/texmf-dist/tex/context/modules/mkiv/s-xml-analyzers.mkiv') diff --git a/Master/texmf-dist/tex/context/modules/mkiv/s-xml-analyzers.mkiv b/Master/texmf-dist/tex/context/modules/mkiv/s-xml-analyzers.mkiv new file mode 100644 index 00000000000..ed033bcfadf --- /dev/null +++ b/Master/texmf-dist/tex/context/modules/mkiv/s-xml-analyzers.mkiv @@ -0,0 +1,37 @@ +%D \module +%D [ file=s-xml-analyzers, +%D version=2013.05.28, +%D title=\CONTEXT\ Style File, +%D subtitle=Analyze XML Content, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\startmodule[xml-analyzers] + +\registerctxluafile{s-xml-analyzers}{} + +\installmodulecommandluasingle \showxmlstructure {moduledata.xml.analyzers.structure} +\installmodulecommandluasingle \showxmlcharacters {moduledata.xml.analyzers.characters} + +\stopmodule + +\continueifinputfile{s-xml-analyzers.mkiv} + +\usemodule[art-01] + +\setupbodyfont[tt,10pt] + +\edef\FileName{\cldcontext{resolvers.findfile("music-collection.xml")}} + +\setupheadertexts[\FileName\space\emdash\space\pagenumber] + +\starttext + + \showxmlcharacters[\FileName] + +\stoptext -- cgit v1.2.3