summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-26 21:46:53 +0000
committerKarl Berry <karl@freefriends.org>2017-03-26 21:46:53 +0000
commitf281d730a5b02f4c9ddd75caf59c2bdb2b2f4b43 (patch)
treea4e0b7b2e6832983c3ad2d5a561e317f4d2fbd4a /Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat
parentd7b92e080a4ea517469567218b11a23684bf868d (diff)
lshort-chinese (26mar17)
git-svn-id: svn://tug.org/texlive/trunk@43606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat')
-rwxr-xr-xMaster/texmf-dist/doc/latex/lshort-chinese/src/make.bat49
1 files changed, 25 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat b/Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat
index 686897658a2..fe563c7e171 100755
--- a/Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat
+++ b/Master/texmf-dist/doc/latex/lshort-chinese/src/make.bat
@@ -1,24 +1,25 @@
-@echo off
-set LSHORT=lshort-zh-cn
-set PDF=%LSHORT%.pdf
-set TEMP=%LSHORT%.aux %LSHORT%.log %LSHORT%.idx %LSHORT%.ind %LSHORT%.ilg %LSHORT%.out %LSHORT%.toc %LSHORT%.los %LSHORT%-example.aux
-
-if "%1"=="clean" goto clean
-
-set TEX=xelatex
-set MODE=-interaction=nonstopmode
-set MAKEINDEX=makeindex
-
-%TEX% %MODE% %LSHORT%
-%MAKEINDEX% -s %LSHORT%.ist %LSHORT%
-%TEX% %MODE% %LSHORT%
-
-if exist %PDF% (
-move %PDF% ..
-start "" "..\%PDF%"
-)
-exit
-
-:clean
-del %TEMP%
-exit
+@echo off
+set LSHORT=lshort-zh-cn
+set PDF=%LSHORT%.pdf
+set TEMP=%LSHORT%.aux %LSHORT%.log %LSHORT%.idx %LSHORT%.ind %LSHORT%.ilg %LSHORT%.out %LSHORT%.toc %LSHORT%.los %LSHORT%-example.aux %LSHORT%.synctex.gz
+
+if "%1"=="clean" goto clean
+
+set TEX=xelatex
+set MODE=-interaction=nonstopmode -synctex=1
+set MAKEINDEX=makeindex
+
+%TEX% %MODE% %LSHORT%
+%MAKEINDEX% -s %LSHORT%.ist %LSHORT%
+%TEX% %MODE% %LSHORT%
+%TEX% %MODE% %LSHORT%
+
+if exist %PDF% (
+move %PDF% ..
+start "" "..\%PDF%"
+)
+exit
+
+:clean
+del %TEMP%
+exit