| 1 |
UDHR in Unicode |
| 2 |
http://www.unicode.org/udhr/ |
| 3 |
http://www.unicode.org/udhr/d/udhr_eng.xml |
| 4 |
UDHR = Universal Declaration of Human Rights |
| 5 |
|
| 6 |
paras.py: The Python paragraph styles |
| 7 |
paras.sty: The generated LaTeX paragraph styles |
| 8 |
udhr.tex: UDHR in LaTeX |
| 9 |
|
| 10 |
The commands to build PDF: |
| 11 |
|
| 12 |
# From XML to TeX |
| 13 |
xsltproc -o udhr.texml udhr.xsl udhr_eng.xml |
| 14 |
texml udhr.texml udhr.tex |
| 15 |
# Paragraph styles |
| 16 |
export PYTHONPATH=..:$PYTHONPATH |
| 17 |
python paras.py paras.sty |
| 18 |
# PDF |
| 19 |
export TEXINPUTS=..:$TEXINPUTS |
| 20 |
pdflatex udhr.tex |
| 21 |
|
| 22 |
The commands can be executed running "scons". Clean-up: |
| 23 |
"scons -c". For details, see the build script SConstruct |
| 24 |
and www.scons.org. |