diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-06-06 13:08:40 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-06-06 13:08:40 +0000 |
commit | 47f82e8cd0adadc2ce7e9b3c643784c538eebbec (patch) | |
tree | acd09f50b6a440a9e71f5bdedd58ee02c2df1dab /Build/source/texk/web2c/synctexdir/synctex-rec.ch0 | |
parent | 3e886322ab06e1d489d9bf1e211aef090c8e721b (diff) |
synctex patch from JL: don't copy sync data in rule nodes
git-svn-id: svn://tug.org/texlive/trunk@8595 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex-rec.ch0')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex-rec.ch0 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 b/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 index 8e4e0025608..e265e70a14d 100644 --- a/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 +++ b/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 @@ -59,20 +59,27 @@ hlist_node,vlist_node,unset_node: begin r:=get_node(box_node_size); @<Copy the box {\sl Sync\TeX} information@>; @z -@x tex.web l.4009: after synctex-mem.ch0 +@x +rule_node: begin r:=get_node(rule_node_size); words:=rule_node_size; +@y +rule_node: begin r:=get_node(rule_node_size); words:=rule_node_size-synctex_field_size;{{\sl Sync\TeX}: do not let \TeX\ copy the {\sl Sync\TeX} information} + @<Copy the rule {\sl Sync\TeX} information@>; +@z + +@x glue_node: begin r:=get_node(medium_node_size); add_glue_ref(glue_ptr(p)); @y glue_node: begin r:=get_node(medium_node_size); add_glue_ref(glue_ptr(p)); @<Copy the glue {\sl Sync\TeX} information@>; @z -@x tex.web l.4009: after synctex-mem.ch0 +@x kern_node,math_node: begin r:=get_node(medium_node_size); words:=medium_node_size; end; @y kern_node,math_node: begin r:=get_node(medium_node_size); - words:=medium_node_size; {{\sl Sync\TeX}: do not copy the {\sl Sync\TeX} information} + words:=medium_node_size-synctex_field_size; {{\sl Sync\TeX}: do not let \TeX\ copy the {\sl Sync\TeX} information} end; @z @@ -392,6 +399,9 @@ the {\sl Sync\TeX} information they received at creation time. @ @<Copy the box {\sl Sync\TeX} information@>= MISSING IMPLEMENTATION: copy the synctex information for box node at mem[r] from node at mem[p] +@ @<Copy the rule {\sl Sync\TeX} information@>= +MISSING IMPLEMENTATION: copy the synctex information for rule node at mem[r] from node at mem[p] + @ @<Copy the glue {\sl Sync\TeX} information@>= MISSING IMPLEMENTATION: copy the synctex information for glue node at mem[r] from node at mem[p] |