4 Oct 2005 20:33
r3923 - trunk/docutils/docs/dev/todo.txt
<felixwiemann <at> users.berlios.de>
2005-10-04 18:33:57 GMT
2005-10-04 18:33:57 GMT
Author: felixwiemann
Date: 2005-10-04 20:33:57 +0200 (Tue, 04 Oct 2005)
New Revision: 3923
Modified:
trunk/docutils/docs/dev/todo.txt
Log:
added to do list entry about "raw-wrapped" base role
Modified: trunk/docutils/docs/dev/todo.txt
===================================================================
--- trunk/docutils/docs/dev/todo.txt 2005-10-04 17:26:33 UTC (rev 3922)
+++ trunk/docutils/docs/dev/todo.txt 2005-10-04 18:33:57 UTC (rev 3923)
<at> <at> -1357,6 +1357,36 <at> <at>
* Implement roles:
+ - "_`raw-wrapped`" (or "_`raw-wrap`"): Base role to wrap raw text
+ around role contents.
+
+ For example, the following reStructuredText source ... ::
+
+ .. role:: red(raw-formatting)
+ :prefix:
+ :html: <font color="red">
+ :latex: {\color{red}
+ :suffix:
+ :html: </font>
+ :latex: }
+
+ colored :red:`text`
+
+ ... will yield the following document fragment::
+
+ <paragraph>
+ colored
+ <inline classes="red">
+ <raw format="html">
+ <font color="red">
+ <raw format="latex">
+ {\color{red}
+ text
+ <raw format="html">
+ </font>
+ <raw format="latex">
+ }
+
- "acronym" and "abbreviation": Associate the full text with a short
form. Jason Diamond's description:
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
RSS Feed