From: Glenn Hutchings Date: Sat, 16 Apr 2016 13:59:30 +0000 (+0100) Subject: Fix parsed-literal problem (use samp directive instead). X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7f7f3a12fc4efa8ce38278590daa7bca987478d2;p=ibg.git Fix parsed-literal problem (use samp directive instead). --- 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*".