On Tue, Dec 11, 2007 at 05:54:42PM +0100, Taco Hoekwater wrote:
Heiko Oberdiek wrote:
Patch 885.
I suspect there will be a problem with
\setvalue{begin\expanded{\getvalue{relax}}}
but have not time to delve into that right now.
I suspect this, because \directlua in luatex has similar problems wrt. the 'current string', and I had to do introduce a variable to save that, like this:
procedure conv_toks; u:str_number; {...}
u:=0; if str_start_macro(str_ptr)
0 then begin if str_ptr=u+1 then decr(str_ptr) else begin {copy old string to the top location} i:=0; str_room(length(u)); while i
In pdfTeX 1.40.5 all the primitives (\pdfstrcmp, \pdfescape*, ...)
are surrounded by save_cur_string and restore_cur_string. They
do quite similar:
@dsave_cur_string==if str_start[str_ptr]