Custom admonitions in rst2latex
Sébastien Dailly <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.