summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-04-18 10:16:23 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-04-18 10:16:23 +0000
commit480cfc923c013bcfe556d71f8fe4a449113d5790 (patch)
tree19e674aaf23323e1c49c01e368ed9ec4cbb7cc79 /Build/source/texk/web2c/luatexdir
parente1b65796f9b650775f52671f79f359454b873204 (diff)
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@40592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w b/Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w
index b867ce2ca8e..253f8dc4202 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w
@@ -61,8 +61,12 @@ void ship_out(PDF pdf, halfword p, shipping_mode_e shipping_mode)
Start sheet {\sl Sync\TeX} information record; we assume that |pdf_output| is
properly set up.
*/
- if ((output_mode_used == OMODE_DVI) && int_par(synctex_code)) {
- synctexsheet(mag);
+ if (int_par(synctex_code)) {
+ if (output_mode_used == OMODE_DVI) {
+ synctexsheet(mag);
+ } else {
+ synctexsheet(1000);
+ }
}
pre_callback_id = callback_defined(start_page_number_callback);
post_callback_id = callback_defined(stop_page_number_callback);