Scribble Latex/PDF: fix quote and backquote rendering
When text is literally a quote (ASCII 39) or backquote (ASCII 96), then render it in a way that prevents LaTeX from converting to curly variants. original commit: 69d64e2893cca5e143609494547b64b7f90b7228
This commit is contained in:
parent
61df6d0660
commit
54376250e0
|
@ -951,8 +951,8 @@
|
||||||
[(#\<) (if (rendering-tt) "{\\Stttextless}" "$<$")]
|
[(#\<) (if (rendering-tt) "{\\Stttextless}" "$<$")]
|
||||||
[(#\|) (if (rendering-tt) "{\\Stttextbar}" "$|$")]
|
[(#\|) (if (rendering-tt) "{\\Stttextbar}" "$|$")]
|
||||||
[(#\-) "{-}"] ;; avoid en- or em-dash
|
[(#\-) "{-}"] ;; avoid en- or em-dash
|
||||||
[(#\`) "{`}"] ;; avoid double-quotes
|
[(#\`) "{\\textasciigrave}"]
|
||||||
[(#\') "{'}"] ;; avoid double-quotes
|
[(#\') "{\\textquotesingle}"]
|
||||||
[(#\? #\! #\. #\:)
|
[(#\? #\! #\. #\:)
|
||||||
(if (rendering-tt) (format "{\\hbox{\\texttt{~a}}}" c) c)]
|
(if (rendering-tt) (format "{\\hbox{\\texttt{~a}}}" c) c)]
|
||||||
[(#\~) "$\\sim$"]
|
[(#\~) "$\\sim$"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user