From: Michael P. S. <mso...@di...> - 2009-04-13 19:28:05
|
Hello, To use rst2latex or rst2newlatex, what is the minimum latex install needed? I'm finding that I seem to be missing some classes, and I'm not sure if my texlive install is broken... Is there a definitive list? I couldn't find one in the FAQ for the docutils. Thanks, 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 |
From: <gr...@us...> - 2009-04-14 08:05:45
|
On Mon, 13 Apr 2009, Michael P. Soulier wrote: > Hello, > > To use rst2latex or rst2newlatex, what is the minimum latex install needed? > I'm finding that I seem to be missing some classes, and I'm not sure if my > texlive install is broken... > Is there a definitive list? I couldn't find one in the FAQ for the docutils. you could tell us what seams to be missing in your installation, the error messages produced or give a small example document. > Thanks, > 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 > -- |
From: Guenter M. <mi...@us...> - 2009-04-14 10:47:18
|
On 2009-04-14, gr...@us... wrote: > On Mon, 13 Apr 2009, Michael P. Soulier wrote: >> Hello, >> To use rst2latex or rst2newlatex, what is the minimum latex install needed? >> I'm finding that I seem to be missing some classes, and I'm not sure if my >> texlive install is broken... Rather incomplete than broken. However the number of required packages is reduced in the SVN version compared to the release 0.5. >> Is there a definitive list? I couldn't find one in the FAQ for the docutils. 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. > you could tell us what seams to be missing in your installation, > the error messages produced or give a small example document. I am interested in more detailled reports too. Günter |
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 |
From: Guenter M. <mi...@us...> - 2009-04-15 08:42:43
|
On 2009-04-14, Michael P. Soulier wrote: > 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. > Ok. I'm using 0.4 from Gentoo Linux ATM... Pretty old. But might be ok to start with. ... > msoulier@anton:~/temp/rst$ cat doc.rst ... > msoulier@anton:~/temp/rst$ rst2latex.py doc.rst > doc.tex && latex doc.tex ... > ! LaTeX Error: File `aeguill.sty' not found. > Looks like I'm missing something. Yes. But this can be circumvented by setting the T1 font encoding, <http://docutils.sourceforge.net/docs/user/latex.html#font-encoding>, best in a ~/.docutils configuration file (see http://docutils.sourceforge.net/docs/user/config.html). For a test you can just edit the generated *.tex file: uncomment the "offending" commands (\usepackage{ae,aeguill} in this case) and try again. > The rst2newlatex output isn't any better. > ! LaTeX Error: File `scrartcl.cls' not found. > Perhaps I need the texlive-latex-extra package... In Debian, it is in 'texlive-latex-recommended'. Also the typearea.sty package, needed by latex2rst.py, is in texlive-latex-recommended. Günter |
From: Michael P. S. <mso...@di...> - 2009-04-15 21:41:39
|
On 15/04/09 Guenter Milde said: > > ! LaTeX Error: File `aeguill.sty' not found. > > Yes. But this can be circumvented by setting the T1 font encoding, > <http://docutils.sourceforge.net/docs/user/latex.html#font-encoding>, > best in a ~/.docutils configuration file (see > http://docutils.sourceforge.net/docs/user/config.html). > > For a test you can just edit the generated *.tex file: > uncomment the "offending" commands (\usepackage{ae,aeguill} in this case) > and try again. I got as far as multirow.sty. :) > In Debian, it is in 'texlive-latex-recommended'. Ok, got that now on my Ubuntu box. It doesn't seem to be helping... > Also the typearea.sty package, needed by latex2rst.py, is in > texlive-latex-recommended. Looks like multirow is in texlive-latex-extra... 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 |
From: Guenter M. <mi...@us...> - 2009-04-15 22:02:59
|
On 2009-04-15, Michael P. Soulier wrote: > On 15/04/09 Guenter Milde said: >> > ! LaTeX Error: File `aeguill.sty' not found. >> Yes. But this can be circumvented by setting the T1 font encoding, >> <http://docutils.sourceforge.net/docs/user/latex.html#font-encoding>, >> best in a ~/.docutils configuration file (see=20 >> http://docutils.sourceforge.net/docs/user/config.html). >> For a test you can just edit the generated *.tex file: >> uncomment the "offending" commands (\usepackage{ae,aeguill} in this case) >> and try again. > I got as far as multirow.sty. :) You can outcomment this as long as you do not use tables with cells spanning multiple rows. >> Also the typearea.sty package, needed by latex2rst.py, is in >> texlive-latex-recommended. > Looks like multirow is in texlive-latex-extra... It is. (With apt-based Distributions like Debian and Ubuntu, the apt-file command (from the like-named package) is your friend.) Günter |