Re: Define Latex packages in reST file
engelbert gruber <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAHnbgBMsxAwFzd+bGquPA=U0p17uev6WXcsrXQHKUiP9pOZtOA@mail.gmail.com> |
hmm maybe latex_preamble or stylesheet On 1 September 2015 at 09:43, Masood Azizi <[email protected]> wrote: > Hello, > > We used Docutils to produce reST document, and then make a TeX file via > rst2latex. > > In the rst file, we have added a lot of LaTeX code like: > > .. raw:: latex > > ~\\ > \rule{\textwidth}{1pt} > ~\\ > > But I do not know where to add packages like \usepackage{tabulary}. > > If I add it in the rst file like I've shown above, even in the very > beginning, this \usepackage line is automatically added after > \begin{document} in the tex output file. This obviously generates an error. > > Any idea where can I add \usepackage commands in reST? > > Thanks > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Docutils-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. > ------------------------------------------------------------------------------