1 | |||
2 | |||
3 | |||
4 | |||
Assume tbook-1.5.2-1tb.i586.rpm, be downloaded from TBook project page, to directory /opt/downloads.
alien tbook-xx.rpm mkdir debs mv tbook*.deb debs/ dpkg-scanpackages debs /dev/null | gzip > debs/Packages.gzthen, by adding the line:
deb file:/opt/downloads debs/to file /etc/apt/sources.list and, finally, by running
apt-get install tbook
apt-get install lib-saxon-javaas a jar file in /usr/share/java.
CLASSPATH=/usr/share/java/saxon.jar:$CLASSPATH export CLASSPATH java -ms15000000 com.icl.saxon.StyleSheet $1 $2 $3 $4 $5 $6 $7 $8 $9
texhash
tbprepare testwhich will write a bounch of scripts and the file test.xml:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE book PUBLIC "-//Torsten Bronger//DTD tbook 1.5.2//EN"
"/usr//share/xml/tbook/tbook.dtd">
<book>
<frontmatter>
<title><!-- Your title here --></title>
<author><!-- Your name here --></author>
</frontmatter>
<mainmatter>
<!-- Your book here -->
</mainmatter>
</book>
tbtolatex -t testwhich should produce test.tex, that can be compiled by latex commands.