
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
-
Bil Kleb March 6th, 2009 @ 08:20 AM
- Tag set to latex
- State changed from new to open
-
Jason Garber March 6th, 2009 @ 10:24 AM
(from [6dc080a69913b82f8dbcb3670561ca028b8676c5]) To repair LaTeX inline verbatim. [#116 status:resolved] http://github.com/jgarber/redclo...
-
Bil Kleb March 6th, 2009 @ 10:57 AM
- State changed from open to resolved
Couldn't find a test that indicated embedded
@
characters would be a problem.Note: Sticking [#116 status:resolved] didn't take possibly because I changed the "Who's responsible" to me and it looks like the resolved message came via jgarber?
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.
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
People watching this ticket
Tags
Referenced by
-
116 LaTeX inline verbatim translation broken (from [6dc080a69913b82f8dbcb3670561ca028b8676c5]) To repa...
-
116 LaTeX inline verbatim translation broken Note: Sticking [#116 status:resolved] didn't take possibl...