diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2008-07-10 08:01:20 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2008-07-10 08:01:20 +0000 |
commit | ee103a836c3494165c16b2e633e0675a35d4c5c9 (patch) | |
tree | 4ca58c220774099be4d59fc1e4b16a2b44a801c3 /Build | |
parent | b291d84a4a7a0da0f7df11651104312beb9abbfb (diff) |
luatex 0.25.4 fixes pdf inclusion in pdflualatex
git-svn-id: svn://tug.org/texlive/trunk@9421 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.web | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.web b/Build/source/texk/web2c/luatexdir/luatex.web index 99fe08e72a9..9b48b228216 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.web +++ b/Build/source/texk/web2c/luatexdir/luatex.web @@ -243,8 +243,8 @@ known as `\eTeX'. @d pdftex_version_string=='-2.00.0' {current \pdfTeX\ version} @# @d luatex_version==25 { \.{\\luatexversion} } -@d luatex_revision=="3" { \.{\\luatexrevision} } -@d luatex_version_string=='snapshot-0.25.3' {current \LuaTeX\ version} +@d luatex_revision=="4" { \.{\\luatexrevision} } +@d luatex_version_string=='snapshot-0.25.4' {current \LuaTeX\ version} @d luatex_date_info==-extra_version_info { the compile date is negated } @# @d luaTeX_banner=='This is LuaTeX, Version ',luatex_version_string,extra_version_info @@ -16700,8 +16700,9 @@ end; procedure literal(s: str_number; literal_mode: integer; warn: boolean); var j: pool_pointer; {current character code position} begin - j:=str_start_macro(s); - if literal_mode = scan_special then begin + if s>string_offset then begin { needed for |out_save| } + j:=str_start_macro(s); + if literal_mode = scan_special then begin if not (str_in_str(s, "PDF:", 0) or str_in_str(s, "pdf:", 0)) then begin if warn and not (str_in_str(s, "SRC:", 0) or str_in_str(s, "src:", 0) @@ -16718,6 +16719,7 @@ begin literal_mode := direct_page; end else literal_mode := set_origin; + end; end; case literal_mode of set_origin: begin @@ -16730,10 +16732,13 @@ begin pdf_end_string_nl; othercases confusion("literal1") endcases; - while j<str_start_macro(s+1) do begin - pdf_out(str_pool[j]); - incr(j); - end; + if s>string_offset then + while j<str_start_macro(s+1) do begin + pdf_out(str_pool[j]); + incr(j); + end + else + pdf_out(s); pdf_print_nl; end; |