diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-17 18:00:12 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2018-01-17 18:00:12 +0000 |
commit | f100e939b3262ac391fe767d591d1a316ab59f3a (patch) | |
tree | 53787d7aa79da3a8b10df0049cfe623cf0f2bd89 /Build/source/texk/web2c/luatexdir/tex | |
parent | 345e6b3ddab394ae88cd0d916992bc2bc0f8695d (diff) |
Luatex 1.07 --- luatex and luatex53
git-svn-id: svn://tug.org/texlive/trunk@46348 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
4 files changed, 10 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/extensions.h b/Build/source/texk/web2c/luatexdir/tex/extensions.h index 01a75b7e387..b6839534439 100644 --- a/Build/source/texk/web2c/luatexdir/tex/extensions.h +++ b/Build/source/texk/web2c/luatexdir/tex/extensions.h @@ -112,7 +112,6 @@ extern int synctexoffset; extern pool_pointer edit_name_start; extern int edit_name_length, edit_line; -extern int ipcon; extern boolean stop_at_space; extern int shellenabledp; extern int restrictedshell; diff --git a/Build/source/texk/web2c/luatexdir/tex/extensions.w b/Build/source/texk/web2c/luatexdir/tex/extensions.w index f3c66d32ed2..73dc3ba4514 100644 --- a/Build/source/texk/web2c/luatexdir/tex/extensions.w +++ b/Build/source/texk/web2c/luatexdir/tex/extensions.w @@ -142,8 +142,12 @@ static void do_extension_pdf(int immediate) set_pdf_literal_mode(tail, direct_always); else if (scan_keyword("page")) set_pdf_literal_mode(tail, direct_page); + else if (scan_keyword("text")) + set_pdf_literal_mode(tail, direct_text); else if (scan_keyword("raw")) set_pdf_literal_mode(tail, direct_raw); + else if (scan_keyword("origin")) + set_pdf_literal_mode(tail, set_origin); else set_pdf_literal_mode(tail, set_origin); scan_toks(false, true); @@ -1191,7 +1195,6 @@ system-dependent section allows easy integration of Web2c and e-\TeX, etc.) @c pool_pointer edit_name_start; /* where the filename to switch to starts */ int edit_name_length, edit_line; /* what line to start editing at */ -int ipcon; /* level of IPC action, 0 for none [default] */ boolean stop_at_space; /* whether |more_name| returns false for space */ @ The |edit_name_start| will be set to point into |str_pool| somewhere after diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.h b/Build/source/texk/web2c/luatexdir/tex/texnodes.h index 2bdd432e570..eb9b2da4a48 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texnodes.h +++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.h @@ -747,6 +747,8 @@ typedef enum { direct_page, direct_always, direct_raw, + direct_text, + direct_font, scan_special, } ctm_transform_modes; diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.w b/Build/source/texk/web2c/luatexdir/tex/textoken.w index bf14a96148e..d58aa3dc49b 100644 --- a/Build/source/texk/web2c/luatexdir/tex/textoken.w +++ b/Build/source/texk/web2c/luatexdir/tex/textoken.w @@ -2439,8 +2439,12 @@ static int do_feedback_pdf(halfword c) cur_val = direct_always; else if (scan_keyword("page")) cur_val = direct_page; + else if (scan_keyword("text")) + cur_val = direct_text; else if (scan_keyword("raw")) cur_val = direct_raw; + else if (scan_keyword("origin")) + cur_val = set_origin; else cur_val = set_origin; save_scanner_status = scanner_status; |