#116 ✓resolved
Bil Kleb

LaTeX inline verbatim translation broken

Reported by Bil Kleb | March 6th, 2009 @ 08:19 AM

Currently, RedCloth translates @inline_code@ to \begin{verbatim}inline_code\end{verbatim}, which is for large blocks, not short, inlined phrases. Instead, @inline_code@ should be translated to LaTeX's \verb command like so: \verb@inline_code@.

The implementation difficulty, however, is that the \verb command requires a delimiting character be used that is not contained in the phrase you are trying to typeset verbatim. In order words, are we safe if we use the @ character as the delimiter or are their Textile cases where an @ character can be embedded in the verbatim phrase?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages