summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/parades/example/README.example
blob: 25467e73032b40ea78a18185311220733532ec79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
UDHR in Unicode
http://www.unicode.org/udhr/
http://www.unicode.org/udhr/d/udhr_eng.xml
UDHR = Universal Declaration of Human Rights

paras.py:  The Python paragraph styles
paras.sty: The generated LaTeX paragraph styles
udhr.tex:  UDHR in LaTeX

The commands to build PDF:

# From XML to TeX
xsltproc -o udhr.texml udhr.xsl udhr_eng.xml
texml udhr.texml udhr.tex
# Paragraph styles
export PYTHONPATH=..:$PYTHONPATH
python paras.py paras.sty
# PDF
export TEXINPUTS=..:$TEXINPUTS
pdflatex udhr.tex

The commands can be executed running "scons". Clean-up:
"scons -c". For details, see the build script SConstruct
and www.scons.org.