diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-12 17:15:07 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-12 17:15:07 +0100 |
commit | 8d8d528d2ad52599f11250cfc567fea4f37f2a8b (patch) | |
tree | 94286bc131ef7d994f9432febaf03fe23d10eef8 /tex/context/sample/demo-xml.tex | |
parent | f5aed2e51223c36c84c5f25a6cad238b2af59087 (diff) | |
download | context-8d8d528d2ad52599f11250cfc567fea4f37f2a8b.tar.gz |
2016-01-12 16:26:00
Diffstat (limited to 'tex/context/sample/demo-xml.tex')
-rw-r--r-- | tex/context/sample/demo-xml.tex | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/tex/context/sample/demo-xml.tex b/tex/context/sample/demo-xml.tex deleted file mode 100644 index bf527a747..000000000 --- a/tex/context/sample/demo-xml.tex +++ /dev/null @@ -1,53 +0,0 @@ -% interface=en - -\defineXMLargument - [title] [label=] - {\title[\XMLop{label}]} - -\defineXMLenvironment - [itemize] [packed=] - {\doifelseXMLop{packed}{yes} - {\startitemize[packed]} - {\startitemize}} - {\stopitemize} - -\defineXMLenvironment - [item] - {\item} - {\par} - -\defineXMLenvironment - [p] - {\ignorespaces} - {\par} - -\starttext - -\startXMLdata -<title label="example">Just an Example</title> - -<p>There are three items:</p> - -<itemize packed="yes"> - <item>Number One</item> - <item>Number Two</item> - <item>Number Three</item> -</itemize> - -<p>And tree more</p> - -<itemize> - <item>First Line</item> - <item>Second Line</item> - <item>Third Line</item> -</itemize> -\stopXMLdata - -Instead of putting the data in here you can put it in a file, say -\type {sample.xml} and load that file using: - -\starttyping -\processXMLfilegrouped{sample.xml} -\stoptyping - -\stoptext
\ No newline at end of file |