[NTG-pdftex] doc gaps

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Dec 20 12:18:40 CET 2005


On Mon, Dec 19, 2005 at 11:03:18PM +0100, Pawel Jackowski wrote:

> Hi,
> 
> three things, I suppose, already established in releases but not documented:
> 
> -- regexp support
> -- string comparison
> -- `page' modifier for \pdfliteral
> 
> Experimental?

* regexp: yes
There are some todos, last summer I have experimented with
pcre, this would add more features, but the syntax will probably
changed. Also a "replace" would be useful.

* string comparison
The open issue was that it would be nicer and more TeX like
if \pdfstrcmp would act as readonly integer register than
returning the result numbers as string.

As readonly register you can safely write:
  \ifcase\pdfstrcmp{a}{a}1\or 2\fi
The result would be "1". Currenty \pdfstrcmp expands to "0"
and \ifcase then sees "01\or...", the result is "2".

Therefore it is probably to implement it as readonly
integer or decide not to do thus before documenting.

* \pdfliteral with `page'?
I don't know this feature.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the ntg-pdftex mailing list