From: Michael P. S. <mso...@di...> - 2009-04-14 19:46:57
|
On 14/04/09 Guenter Milde said: > Rather incomplete than broken. However the number of required packages is > reduced in the SVN version compared to the release 0.5. msoulier@anton:~$ equery list | grep docutils dev-python/docutils-0.4-r3 Ok. I'm using 0.4 from Gentoo Linux ATM... > There is not. However, the generated latex source does list all required > packages (of course). Search for all occurences of "\usepackage". > > Currently, a lot of these "\usepackage" commands are in the source even if > not required in the document. I am currently working on a change to this > behaviour. That would be nice. My initial docs are minimal. > I am interested in more detailled reports too. msoulier@anton:~/temp/rst$ cat doc.rst This is the title ================= This is a section ----------------- This is a subsection ~~~~~~~~~~~~~~~~~~~~ msoulier@anton:~/temp/rst$ rst2latex.py doc.rst > doc.tex && latex doc.tex This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. entering extended mode (./doc.tex LaTeX2e <2005/12/01> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texmf-dist/tex/generic/babel/babel.sty (/usr/share/texmf-dist/tex/generic/babel/english.ldf (/usr/share/texmf-dist/tex/generic/babel/babel.def))) (/usr/share/texmf-dist/tex/latex/ae/ae.sty (/usr/share/texmf-dist/tex/latex/base/fontenc.sty (/usr/share/texmf-dist/tex/latex/base/t1enc.def) (/usr/share/texmf-dist/tex/latex/ae/t1aer.fd))) ! LaTeX Error: File `aeguill.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: Looks like I'm missing something. msoulier@anton:~$ equery list | grep texlive app-text/texlive-core-2008-r4 dev-texlive/texlive-basic-2008 dev-texlive/texlive-documentation-base-2008 dev-texlive/texlive-latex-2008-r1 The rst2newlatex output isn't any better. msoulier@anton:~/temp/rst$ rst2newlatex.py doc.rst > doc.tex && latex doc.tex This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. entering extended mode (./doc.tex LaTeX2e <2005/12/01> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/lib/python2.5/site-packages/docutils/writers/newlatex2e/base.tex ! LaTeX Error: File `scrartcl.cls' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: cls) Enter file name: Perhaps I need the texlive-latex-extra package... Mike -- Michael P. Soulier <mso...@di...> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein |