![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Patches item #371, was opened at 2005-06-20 17:11 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=495&aid=371&group_id=106 Category: None
Group: v1.30.0 Status: Closed Resolution: Out of Date Priority: 5 Submitted By: Heiko Oberdiek (oberdiek) Assigned to: Nobody (None) Summary: Expandable \pdfstrcmp, \pdfescape*, added \pdf(de)escapehex
Initial Comment:
Hello,
the result of last weekend is a patch that
makes \pdfstrcmp (based on Harmut's work)
and the \pdfescape* commands expandable.
Thus \pdflastescaped* are not needed
anymore.
I could remove the dependency
on a limited buffer by copying the destination
strings directly in the string pool above the
source string.
Also the patch adds the fixes of bug 369.
Fourth I add \pdfescapehex and \pdfunescapehex
that implements encoding and decoding for
hexadecimal strings:
* Strings can also be given as hex strings in
angle brackets.
* Safe method to store and read string data to
auxiliary files without worrying about catcodes,
unmachted curly braces, ...
* Help in handling UTF-8/Unicode or other hex coding
stuff.
Patch is applied by
patch
Comment By: Martin Schröder (oneiros) Date: 2005-07-10 16:23
Message:
Logged In: YES
user_id=421
Superseded by #375.
----------------------------------------------------------------------
Comment By: Heiko Oberdiek (oberdiek)
Date: 2005-06-21 08:52
Message:
Logged In: YES
user_id=1276
Hello,
the first patch missed the changes in pdftex.defines.
Now the patch is reorganized:
Patched files:
* utils.c
main part of the fix, especially function
convertStringToPDFName().
* pdftoepdf.cc, epdf.h, ptexlib.h
because of changed signature of
convertStringToPDFString()
* pdftex.defines adds new/deletes old entries
of utils.c
* pdfstrcmp.ch is added.
* pdftex.mk, ../pdfetexdir/pdfetex.mk:
addition of pdfstrcmp.ch
Now the patch must be applied in scr/texk/web2c:
patch -p0