On 2009-03-05, Christophe de VIENNE wrote:

> Hi,

> When using the following directive, "make pdf" fails with a "!
> Undefined control sequence." :

> .. cmdoption:: --startup manual|auto|disabled

> If I replace the '|' with ',' the error vanish.

the | character must be input as \textbar in LaTeX.

If you use the standard RST markup for `option lists` (at least two
spaces between option and explanation)::

  --startup  manual|auto|disabled

it is translated to ::

  \begin{optionlist}{3cm}
  \item [-{}-startup]  
  manual{\textbar}auto{\textbar}disabled
  \end{optionlist}

and compiles just fine.

Günter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to