diff options
author | Jérôme Laurens <jerome.laurens@u-bourgogne.fr> | 2011-04-15 21:54:58 +0000 |
---|---|---|
committer | Jérôme Laurens <jerome.laurens@u-bourgogne.fr> | 2011-04-15 21:54:58 +0000 |
commit | db6c3f477caea582c3cb2b8cccf9aa47d966c9f2 (patch) | |
tree | 029e9f3637f39f979ab46c6ecdf247542fe30982 /Build/source/texk/web2c/synctexdir/synctex-xetex.h | |
parent | ce6d14c043c0b6f50ef88a2436bd3095d64b4afd (diff) |
SyncTeX 1.14: the write location is properly managed, the luatex specific code is included, all the engines are concerned (pdftex, luatex and xetex) TESTS ARE REQUIRED
git-svn-id: svn://tug.org/texlive/trunk@22091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex-xetex.h')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex-xetex.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex-xetex.h b/Build/source/texk/web2c/synctexdir/synctex-xetex.h index dc6ed17ed9b..9c80d259088 100644 --- a/Build/source/texk/web2c/synctexdir/synctex-xetex.h +++ b/Build/source/texk/web2c/synctexdir/synctex-xetex.h @@ -54,20 +54,17 @@ Thu Jun 19 09:39:21 UTC 2008 /* We observe nopdfoutput in order to determine whether output mode is * pdf or xdv. */ -# undef SYNCTEX_OUTPUT +# define SYNCTEX_OFFSET_IS_PDF (nopdfoutput==0) # define SYNCTEX_OUTPUT (nopdfoutput!=0?"xdv":"pdf") /* WARNING: The definition below must be in sync with their eponym declarations in synctex-xetex.ch1 */ -# undef synchronization_field_size # define synchronization_field_size 1 /* in XeTeX, "halfword" fields are at least 32 bits, so we'll use those for * tag and line so that the sync field size is only one memory_word. */ -# undef SYNCTEX_TAG_MODEL -# define SYNCTEX_TAG_MODEL(NODE,SIZE)\ - mem[NODE+SIZE-synchronization_field_size].hh.lhfield -# undef SYNCTEX_LINE_MODEL -# define SYNCTEX_LINE_MODEL(NODE,SIZE)\ - mem[NODE+SIZE-synchronization_field_size].hh.rh +# define SYNCTEX_TAG_MODEL(NODE,TYPE)\ + mem[NODE+TYPE##_node_size-synchronization_field_size].hh.lhfield +# define SYNCTEX_LINE_MODEL(NODE,TYPE)\ + mem[NODE+TYPE##_node_size-synchronization_field_size].hh.rh |