# 00100

Summary
Publisher fails when using quoted numbers in preformatted text
Type
Bug
Raised by
jdetaeye?
Date opened
Friday, 2 March 2007
Description
With the following line in your wiki text, the PDF creation fails:
 test “10”


In the debugging output one can see that the generated LATEX code is:

 \begin{varverbatim} test \char16 10$''${}


Rather than the expected:

 \begin{varverbatim} test \char16 10\char17{}


LATEX runs out of memory with a construct as this…

As a workaround one can use:

 test "10"

Importance
2
Proposed solution
The smart quotes part of the markup extensions turns " after a number into &Prime;. The fix is to use a back tick to force a right quote: "10`" and produce “10” instead of “10″. Alternatively, use [= and =] to suppress markup processing and produce "10". It is not clear why 10″ causes LATEX to fail in the verbatim example; it works in regular text.
The best solution is to change the way the markup handles prime characters, to avoid “accidental” primes.
Urgency
2
Status
Closed
Resolution
The smart quotes handler now handles prime marks differently. Single quote characters now always turn into curly quotes, like “10”. To produce prime marks, use repeated quotes. Thus 10"" (2 double quotes) produces 10″ and 10'' (2 single quotes) produces 10′. This page functions in this way. Fixed in version 2.1.2 (Friday, 23 March 2007)
Date closed
Friday, 23 March 2007
Page last modified on 23 March 2007 at 02:01 PM