Martin Schröder wrote:
On 2005-07-18 00:51:34 +0200, Hans Hagen wrote:
Hartmut Henkel wrote:
It seems that Acrobat does not allow grouping q...Q inside BT...ET sections (xpdf tolerates it). There is currently no way to guarantee that a literal text does not end up in a BT...ET section without using the plain \pdfliteral {} mode (without "direct"). But then one has the matrix transform, which precludes grouping; well, here is a funny counter-example:
q Q deals with the graphic state only (mostly characteristics of line drawing, not that this is an excuse for acrobat fo rnot handling them -)
I'm not sure I understand Hartmut correctly: "BT q Q ET" is not allowed, but "q BT ET Q" is (see Figure 4.1 and Table 4.1 in the PDF reference: special graphic state operators (q Q cm) are not allowed in Text objects). Are we talking about "BT q Q ET" or "q BT ET Q"? The first would be a pdfTeX bug.
not so much a pdftex bug as well as that users can use literals in such ways that make q Q's end up in BT ET's Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------