diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-10-15 12:54:51 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2019-10-15 12:54:51 +0000 |
commit | 92a989d86532813c040c59dc3bcc64331a7762c3 (patch) | |
tree | 6fedb0ad5f187fea63ef7b72802f572402e67901 /Build/source/texk | |
parent | a5f05a0381c6c251f119f0c8e60dbaf40298122a (diff) |
Fix \meaning\synctex for (u)ptex (H. Kitagawa)
git-svn-id: svn://tug.org/texlive/trunk@52388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/Makefile.in | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/am/synctex.am | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex-ep-rec.ch0 | 13 | ||||
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex-p-rec.ch0 | 26 |
5 files changed, 54 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in index d08c62502fc..61bf672a198 100644 --- a/Build/source/texk/web2c/Makefile.in +++ b/Build/source/texk/web2c/Makefile.in @@ -3336,8 +3336,9 @@ EXTRA_DIST = PROJECTS cftests cpascal.h help.h w2c/config.h \ synctexdir/synctex-e-rec.ch0 synctexdir/synctex-p-mem.ch0 \ synctexdir/synctex-p-mem.ch1 synctexdir/synctex-p-rec.ch0 \ synctexdir/synctex-p-rec.ch1 synctexdir/synctex-ep-mem.ch0 \ - synctexdir/synctex-ep-mem.ch1 synctexdir/synctex-pdf-rec.ch2 \ - synctexdir/synctex-xe-rec.ch3 $(synctex_tests) libmd5/md5.test + synctexdir/synctex-ep-mem.ch1 synctexdir/synctex-ep-rec.ch0 \ + synctexdir/synctex-pdf-rec.ch2 synctexdir/synctex-xe-rec.ch3 \ + $(synctex_tests) libmd5/md5.test DISTCLEANFILES = CXXLD.sh tangle.c tangle.h tangle.p tangle-web2c \ tangleboot.c tangleboot.h tangleboot.p tangleboot-web2c \ ctangle.c cweb.c common-ctangle ctangleboot.c cwebboot.c \ @@ -5006,6 +5007,7 @@ pkgconfigdir = ${libdir}/pkgconfig @EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-p-rec.ch0 \ @EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-rec.ch0 \ @EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-rec.ch1 \ +@EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-ep-rec.ch0 \ @EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-e-rec.ch0 \ @EPTEX_SYNCTEX_TRUE@ synctexdir/synctex-p-rec.ch1 @@ -5018,6 +5020,7 @@ pkgconfigdir = ${libdir}/pkgconfig @EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-p-rec.ch0 \ @EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-rec.ch0 \ @EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-rec.ch1 \ +@EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-ep-rec.ch0 \ @EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-e-rec.ch0 \ @EUPTEX_SYNCTEX_TRUE@ synctexdir/synctex-p-rec.ch1 diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index c33ca0d9f47..fd74522647e 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,3 +1,9 @@ +2019-10-10 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp> + + * synctex-p-rec.ch0, synctex-ep-rec.ch0: Fix \meaning\synctex + for pTeX and upTeX. + * am/synctex.am: Adjusted. + 2019-08-07 Akira Kakuto <kakuto@w32tex.org> * synctex.c: Improve support of non-ascii path names diff --git a/Build/source/texk/web2c/synctexdir/am/synctex.am b/Build/source/texk/web2c/synctexdir/am/synctex.am index b69cb260a0d..0ecc601f304 100644 --- a/Build/source/texk/web2c/synctexdir/am/synctex.am +++ b/Build/source/texk/web2c/synctexdir/am/synctex.am @@ -231,6 +231,7 @@ eptex_ch_synctex = \ synctexdir/synctex-p-rec.ch0 \ synctexdir/synctex-rec.ch0 \ synctexdir/synctex-rec.ch1 \ + synctexdir/synctex-ep-rec.ch0 \ synctexdir/synctex-e-rec.ch0 \ synctexdir/synctex-p-rec.ch1 @@ -246,7 +247,8 @@ endif EPTEX_SYNCTEX EXTRA_DIST += \ synctexdir/synctex-ep-mem.ch0 \ - synctexdir/synctex-ep-mem.ch1 + synctexdir/synctex-ep-mem.ch1 \ + synctexdir/synctex-ep-rec.ch0 ## SyncTeX infrastructure: e-upTeX @@ -266,6 +268,7 @@ euptex_ch_synctex = \ synctexdir/synctex-p-rec.ch0 \ synctexdir/synctex-rec.ch0 \ synctexdir/synctex-rec.ch1 \ + synctexdir/synctex-ep-rec.ch0 \ synctexdir/synctex-e-rec.ch0 \ synctexdir/synctex-p-rec.ch1 diff --git a/Build/source/texk/web2c/synctexdir/synctex-ep-rec.ch0 b/Build/source/texk/web2c/synctexdir/synctex-ep-rec.ch0 new file mode 100644 index 00000000000..61444b9214b --- /dev/null +++ b/Build/source/texk/web2c/synctexdir/synctex-ep-rec.ch0 @@ -0,0 +1,13 @@ +@x srcdir/etex.ch l.536 +@/@<synctex case for |print_param|@>@/ +othercases print("[unknown integer parameter!]") +@y +othercases print("[unknown integer parameter!]") +@z + +@x +@ @<synctex case for |print_param|@>= +synctex_code: print_esc("synctex"); + +@y +@z diff --git a/Build/source/texk/web2c/synctexdir/synctex-p-rec.ch0 b/Build/source/texk/web2c/synctexdir/synctex-p-rec.ch0 index b2c1bf8a73c..410d762428a 100644 --- a/Build/source/texk/web2c/synctexdir/synctex-p-rec.ch0 +++ b/Build/source/texk/web2c/synctexdir/synctex-p-rec.ch0 @@ -1,5 +1,31 @@ +@x srcdir/etex.ch l.536 +othercases print("[unknown integer parameter!]") +@y +@/@<synctex case for |print_param|@>@/ +othercases print("[unknown integer parameter!]") +@z + @x tex.web l.12533 left_edge:=cur_h; cur_v:=cur_v-height(this_box); @y save_loc:=dvi_offset+dvi_ptr; left_edge:=cur_h; cur_v:=cur_v-height(this_box); @z + +@x synctex-mem.ch0 l.236 +It is initialized by the {\sl Sync\TeX} controller to the command-line option if given. +The controller may filter some reserved bits. + +@ @<Put each...@>= +primitive("synctex",assign_int,int_base+synctex_code);@/ +@!@:synctex_}{\.{\\synctex} primitive@> +@y +It is initialized by the {\sl Sync\TeX} controller to the command-line option if given. +The controller may filter some reserved bits. + +@ @<Put each...@>= +primitive("synctex",assign_int,int_base+synctex_code);@/ +@!@:synctex_}{\.{\\synctex} primitive@> + +@ @<synctex case for |print_param|@>= +synctex_code: print_esc("synctex"); +@z |