From 7f7f3a12fc4efa8ce38278590daa7bca987478d2 Mon Sep 17 00:00:00 2001 From: Glenn Hutchings Date: Sat, 16 Apr 2016 14:59:30 +0100 Subject: [PATCH] Fix parsed-literal problem (use samp directive instead). --- about.rst | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/about.rst b/about.rst index 32e58f2..9cf8063 100644 --- a/about.rst +++ b/about.rst @@ -96,18 +96,7 @@ words which are part of the Inform system (like ``print``, ``Include``, glossary -- Appendix G on page 273. We switch to italic type for a placeholder: for example you should read the Inform statement: -.. parsed-literal:: - - print "*string*"; - -.. todo:: - - The above will not render correctly in PDF. In PDF the leading - quotes always appear with at least one backquote. At the moment, the - best solution I can think up is to have a script fire off after LaTeX - generation to take care of this problem so that when the LaTeX code - is compiled, we'll get the correct glyphs. At the moment, I don't - know how to make such a script automatically run. + :samp:`print "{string}";` as meaning "display on the player's screen the arbitrary character or characters which are represented here by the placeholder *string*". -- 2.31.1