[pdftex-Bugs][993] /Names array not sorted correctly
Bugs item #993, was opened at 2008-05-24 13:24
Status: Closed Priority: 3 Submitted By: Martin Schröder (oneiros) Assigned to: The Thanh Han (hanthethanh) Summary: /Names array not sorted correctly Category: None Group: v1.40.6 Resolution: Fixed
Initial Comment: Axel Berger and Heiko Oberdiek report an error with the sorting of the /Names array: /Names [(cite.Kr07) 44 0 R (cite.Li08) 45 0 R (cite.M\37403) 23 0 R (cite.Mi00) 47 0 R (cite.Mi84) 48 0 R (cite.Mo04) 50 0 R] "cite.Mü03" (= "cite.M\37403") should come after "cite.Mo04". A test file with output is attached. ----------------------------------------------------------------------
Comment By: The Thanh Han (hanthethanh) Date: 2009-12-01 21:22
Message:
fixed in 1.40.10
----------------------------------------------------------------------
Comment By: The Thanh Han (hanthethanh)
Date: 2009-04-06 08:22
Message:
thanks Heiko for the patch, hence I reopened this bug report.
----------------------------------------------------------------------
Comment By: Heiko Oberdiek (oberdiek)
Date: 2009-04-06 03:49
Message:
Sorry, I cannot accept the rejection, because the
problem cannot be fixed at macro level unless
* some characters (backslash, parentheses, ...)
must be forbidden,
* octal escape sequences are used for *every* character
of the destination name
(otherwise a large amount of programming work is needed
to prevent that the bug is triggered.)
Therefore I have written patch #3886 that fixes the
comparison function `str_less_str' that is used
for the sorting of destination names.
Yours sincerely
Heiko
participants (1)
-
pdftex-bugs@sarovar.org