summaryrefslogtreecommitdiff
path: root/tex/context/base/export-example.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-06-16 00:34:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-06-16 00:34:00 +0200
commit084756f44fc08cb9a1803a31e34a31f584fd19f9 (patch)
treedf79f4b7e31829c6a69149ab945c4a4bbddc4cf1 /tex/context/base/export-example.tex
parent2aacd03a4b9bdc042b94d9bce1ca9f01fcaa0db1 (diff)
downloadcontext-084756f44fc08cb9a1803a31e34a31f584fd19f9.tar.gz
beta 2011.06.16 00:34
Diffstat (limited to 'tex/context/base/export-example.tex')
-rw-r--r--tex/context/base/export-example.tex71
1 files changed, 71 insertions, 0 deletions
diff --git a/tex/context/base/export-example.tex b/tex/context/base/export-example.tex
new file mode 100644
index 000000000..8584d74a5
--- /dev/null
+++ b/tex/context/base/export-example.tex
@@ -0,0 +1,71 @@
+\setupbackend
+ [export=export-example.xml,
+ css=export-example.css]
+
+\definedescription
+ [description]
+
+\settaggedmetadata
+ [title=Export Example,
+ author=Hans Hagen,
+ version=0.1]
+
+\setupbodyfont
+ [dejavu]
+
+\starttext
+
+\startchapter[title=Example]
+
+\typefile{export.tex}
+
+\startparagraph \input zapf (Zapf) \stopparagraph
+
+\placefigure
+ {}
+ {\externalfigure[hacker.jpg]}
+
+\startparagraph \input zapf (Zapf) \stopparagraph
+
+\placefigure
+ {}
+ {\externalfigure[mill.png]}
+
+\startparagraph \input tufte (Tufte) \stopparagraph
+
+\placefigure
+ {}
+ {\externalfigure[cow.pdf]}
+
+\startparagraph \input tufte (Tufte) \stopparagraph
+
+\startitemize[1]
+ \startitem \input ward (Ward) \stopitem
+ \startitem \input knuth (Knuth) \stopitem
+\stopitemize
+
+\startitemize[2]
+ \startitem \input zapf (Zapf) \stopitem
+ \startitem \input tufte (Tufte) \stopitem
+\stopitemize
+
+\startparagraph \input zapf (Zapf) \stopparagraph
+
+\startdescription {Ward} \input ward \stopdescription
+
+\startdescription {Tufte} \input tufte \stopdescription
+
+\startparagraph \input knuth (Knuth) \stopparagraph
+
+\startformula
+e = mc^2
+\stopformula
+
+\startparagraph
+Okay, it's somewhat boring to always use the same formula, so how about
+$\sqrt{4} = 2$ or traveling at \unit{120 km/h} instead of $\unit{110 km/h}$.
+\stopparagraph
+
+\stopchapter
+
+\stoptext