diff options
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex-rec.ch0')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex-rec.ch0 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 b/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 index 1ab4f1afa80..c2730fab349 100644 --- a/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 +++ b/Build/source/texk/web2c/synctexdir/synctex-rec.ch0 @@ -229,7 +229,7 @@ if w<>0 then @y if w<>0 then begin link(t):=new_kern(w); t:=link(t); w:=0; - MISSING IMPLEMENTATION: 0 synctag for medium sized node at mem[t] + sync_tag(t+medium_node_size):=0; {{\sl Sync\TeX}: do nothing, it is too late} @z @x tex.web l.19335 @@ -324,7 +324,8 @@ And finally, initializing the node at only one place is less error prone. @ @<Initialize bigger nodes with {\sl Sync\TeX} information@>= if s>=medium_node_size then begin - MISSING IMPLEMENTATION: update the synctex information for node at mem[r] with size s + sync_tag(r+s):=synctex_tag; + sync_line(r+s):=line; end; @ Instead of storing the input file name, it is better to store just an identifier. @@ -402,13 +403,16 @@ but not for a |math_node| nor a |kern_node|. These last two nodes always keep 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] +sync_tag(r+box_node_size):=sync_tag(p+box_node_size); +sync_line(r+box_node_size):=sync_line(p+box_node_size); @ @<Copy the rule {\sl Sync\TeX} information@>= -MISSING IMPLEMENTATION: copy the synctex information for rule node at mem[r] from node at mem[p] +{sync_tag(r+rule_node_size):=sync_tag(p+rule_node_size); +sync_line(r+rule_node_size):=sync_line(p+rule_node_size);} @ @<Copy the medium sized node {\sl Sync\TeX} information@>= -MISSING IMPLEMENTATION: copy the synctex information for medium sized node at mem[r] from node at mem[p] +sync_tag(r+medium_node_size):=sync_tag(p+medium_node_size); +sync_line(r+medium_node_size):=sync_line(p+medium_node_size); @ {\sl Nota Bene:} The {\sl Sync\TeX} code is very close to the memory model. |