Re: PDF bug with "--" operators

From: Date: Mon, 19 Feb 2001 15:59:40 +0000
Subject: Re: PDF bug with "--" operators
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334341@lists.php.net to get a copy of this message
Daniel Beckham wrote: > It seems that the -- (variable increment or decrement) is being converted > into a single endash/emdash ( - ) in the PDF version of the manual. How can > we go about fixing this issue? Is there anyone specifically in charge of > the PDF generation? Most of TeX fonts have ligature which turns two - into en-dash. This behaviour is not in effect when using monospaced fonts. I can not check it in PDF version, but I think that -- are corrupted only inside of paragraphs, not in programlisting. Adding something like <literal> around inline code can help: E.g. Another good example of expression orientation is pre- and post-increment and decrement. Users of PHP/FI 2 and many other languages may be familiar with the notation of <literal>variable++</literal> and <literal>variable--</literal>. These are increment and decrement operators. In PHP/FI 2, the statement '<literal>$a++</literal>' has no value (is not an expression), and thus you can't assign it or use it in any way. ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz

« previous php.doc (#969334341) next »