From: Guenter M. <mi...@us...> - 2015-09-01 16:52:31
|
On 2015-09-01, engelbert gruber wrote: > On 1 September 2015 at 09:43, Masood Azizi <ma...@gt...> wrote: ... >> 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? Currently, preamble code must be added in a configuration file or command line option. See http://docutils.sourceforge.net/docs/user/config.html and look for > latex_preamble or stylesheet (BTW: there is a long-standing issue/discussion about allowing preamble code in an rST document, see http://docutils.sourceforge.net/docs/dev/todo.html misc.raw: add a "destination" option to the "raw" directive? .. raw:: html :destination: head <link ...> It needs thought & discussion though, to come up with a consistent set of destination labels and consistent behavior. Günter |