summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-04-05 03:52:46 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-04-05 03:52:46 +0000
commit43378f54af5aeccbb432c5607ce73bf5a82ada21 (patch)
treeec94aa3cf051d9eade1e7210ae738532a59504d8 /Build/source
parent8aa198918ad43370d3207919862171c389c2bff5 (diff)
Support file names with multi-byte characters in SyncTeX for XeTeX in addition to for (e)upTeX (win32 only).
git-svn-id: svn://tug.org/texlive/trunk@36718 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/synctexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog
index 28de41fb2a5..7015f512c13 100644
--- a/Build/source/texk/web2c/synctexdir/ChangeLog
+++ b/Build/source/texk/web2c/synctexdir/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * synctex.c: Support file names with multi-byte characters in SyncTeX
+ for XeTeX in addition to for (e)upTeX (win32 only).
+
2015-03-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* am/synctex.am [MinGW]: SyncTeX requires libshlwapi.a.
diff --git a/Build/source/texk/web2c/synctexdir/synctex.c b/Build/source/texk/web2c/synctexdir/synctex.c
index 32be0c3e62f..c01e4480245 100644
--- a/Build/source/texk/web2c/synctexdir/synctex.c
+++ b/Build/source/texk/web2c/synctexdir/synctex.c
@@ -291,7 +291,7 @@ mem[NODE+TYPE##_node_size-synchronization_field_size+1].cint
# define SYNCTEX_OFFSET_IS_PDF 0
# endif
-#if defined(_WIN32) && (defined(upTeX) || defined(eupTeX))
+#if defined(_WIN32) && (defined(upTeX) || defined(eupTeX) || defined(XeTeX))
#define W32UPTEXSYNCTEX 1
#include <wchar.h>
static char *chgto_oem(char *src);