From: Sébastien D. <seb...@ch...> - 2017-04-28 07:30:05
|
Hello, I want to configure a user defined admonition with rst2latex. Suppose I have this block in the rst document : > .. admonition:: test > > This is a test rst2latex transform this text into : > \DUadmonition[admonition-test]{ > \DUtitle[admonition-test]{test} > > This is a test > } Now I want to apply a custom style to this block, as described in « Generating latex with docutils » [1], but I cannot create a command named : > \newcommand{\DUadmonitionadmonition-test}[1]{…}} Latex does not allow to create a command with a « - » You told me that the latex writer as been rewritten in the last docutils version. Is the problem still present ? [1] http://docutils.sourceforge.net/docs/user/latex.html#admonitions Thanks a lot ! -- Sébastien |