On 2012-08-27, Boris Kheyfets wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> Hello Gunter
> I tried:
> .. _doc:
> .. role:: underlined(raw)
> :format: html
> :style: text-decoration: underline;
This creates a role based on the raw role, i.e. it expects the content to be
raw html.
Instead, write
.. role:: underlined
and a CSS rule to style ``span.underlined`` in a custom style sheet.
Suggestions/patches improving
>>
http://docutils.sourceforge.net/docs/ref/rst/directives.html#custom-interpreted-text-roles
to make this more clear are welcome.
Günter