On Sat, 18 Apr 2009 12:37:47 +0200
Daniel Carrera <[email protected]> wrote:

> It looks like this:
> 
> B:sub:`1`\ :sup:`-1`
> 
> This does the right thing in gitit.

Great! The following variant does the right thing[#] with docutils::

  B\ :sub:`1`\ :sup:`-1`

That's because the `:role:` portion of the syntax is recognized only
when it "stands alone", not "between" other words (see details__). Can
you try if this works in gitit too?

The `role` may be specified either in prefix- or -postfix notation
(that is, ":sub:`1`" means the same thing as "`1`:sub:", see
details__).

hth,
ciao, lele.

[#] whatever that means :)
__ http://docutils.sourceforge.net/docs/ref/rst/roles.html#subscript
__ 
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#interpreted-text
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
[email protected] |                 -- Fortunato Depero, 1929.
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to