2 Jun 2003 14:22
exponent
William Dode <wilk-ml <at> flibuste.net>
2003-06-02 12:22:32 GMT
2003-06-02 12:22:32 GMT
Hi, How can we use exponent with rst ? I wonder that i did'nt find anything in the archive of the mailing list... We can use substitution like this : XV |e| century .. |e| raw:: html <sup>e</sup> But we need a raw for each writer and the space between XV and e is not typographic (there is the same problem with notes) What do you think about a special markup for this like XV^e ? -- -- William Dode - http://flibuste.net ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> What is the reason to don't allow a note without space before ?
> like this[#]_ because this\ [#]_ begin to be difficult to read...
ReStructuredtext requires whitespace or punctuation before and after all
inline markup. This makes parsing unambiguous, for software and wetware
(people) too. When I see "this[1]_", the first thing I think of is an
indexed list/array; I don't notice the "_". And in "this[#]_", is the
"_" indicating a footnote reference from "[#]", or a hyperlink reference
from "this[#]"? To disambiguate, the former requires whitespace
("this [#]_"), and the latter requires backquotes ("`this[#]`_").
For rendering, it would be possible to have footnote references remove
the preceding whitespace. Perhaps this could be an option.
RSS Feed