From: David G. <go...@us...> - 2004-04-19 01:22:19
|
Update of /cvsroot/docutils/docutils/spec In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18917/d Modified Files: notes.txt Log Message: updated Index: notes.txt =================================================================== RCS file: /cvsroot/docutils/docutils/spec/notes.txt,v retrieving revision 1.193 retrieving revision 1.194 diff -u -d -r1.193 -r1.194 --- notes.txt 18 Apr 2004 01:59:04 -0000 1.193 +++ notes.txt 19 Apr 2004 01:22:11 -0000 1.194 @@ -989,12 +989,20 @@ - _`misc.role`: - - Allow other base roles? :: + - Base the new role on other roles? :: .. role:: custom :base-role: abbreviation - This might produce ``<abbreviation class="custom">``. + This would make "custom" an alias for "abbreviation". With a + "base-role" option, the "class" would no longer be implied. It + would have to be explicitly specified:: + + .. role:: custom + :base-role: abbreviation + :class: special + + This might produce ``<abbreviation class="special">``. How do we pass in this "class" attribute (and other overrides)? With an argument on role functions (``attributes={}``)? @@ -1409,11 +1417,6 @@ which contain interpreted text with no explicitly specified role (there will always be a default role, so this won't happen) -* Add a directive establishing a mapping of interpreted text role - aliases? A set of default roles (index, acronym, etc.) could exist, - and the directive could assign abbreviations (i, a, etc.) or other - alternatives. - * Add explicit interpreted text roles for the rest of the implicit inline markup constructs: named-reference, anonymous-reference, footnote-reference, citation-reference, substitution-reference, |