[Doc-SIG] Re: emphasis presentation (was verse construct (was Re: [Docutils -develop] Parsing oddness))

David Goodger goodger@users.sourceforge.net
Sat, 11 May 2002 12:46:05 -0400


Paul Moore wrote:
> If we really need this level of control, maybe it's time to
> implement a more general "output format specific code"
> directive. Something like
> 
>     .. for: type=html
>        <font color=red>Put whatever raw HTML you like here</font>
>     .. for: type=LaTeX
>        \begin{red}
>        And here, you write raw TeX
>        \end{red}

Not implemented yet, but the spec is already there:
http://docutils.sf.net/spec/rst/directives.html#raw-data-pass-through

-- 
David Goodger  <goodger@users.sourceforge.net>  Open-source projects:
  - Python Docutils: http://docutils.sourceforge.net/
    (includes reStructuredText: http://docutils.sf.net/rst.html)
  - The Go Tools Project: http://gotools.sourceforge.net/