[NTG-pdftex] \immediate\pdfliteral (was: bug or intended behaviour)

Hans Hagen pragma@wxs.nl
Fri, 12 Mar 2004 16:38:42 +0100


At 15:34 12/03/2004, Martin Schr=F6der wrote:
>On 2004-02-13 22:16:20 +0100, Hans Hagen wrote:
> > Why does \immediate\pdfliteral code end up as typeset text?
> >
> > \pdfcompresslevel0
> >
> > \starttext
> >
> > \immediate\pdfliteral{\letterpercent [start]}
> > \pdfliteral{\letterpercent (start)}
> > test
> > \pdfliteral{\letterpercent (stop)}
> > \immediate\pdfliteral{\letterpercent [stop]}
> >
> > \stoptext
> >
> > if this is intended behaviour, it should be documented as such and
> > 'frozen'. Also, the fact that a \pdfliteral ends up on a new line in the
> > output should become a frozen (intended) and documented feature (unless=
 we
> > introduce \pdfcomment). [in pdf everything between % and endofline is
> > comment!]
>
>Have we come to a conclusion on this?

the best thing is to explictly document this in the source so that it does=
=20
not accidentaly gets changed

Hans