From 480cfc923c013bcfe556d71f8fe4a449113d5790 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Mon, 18 Apr 2016 10:16:23 +0000 Subject: web2c/luatexdir: sync with the upstream git-svn-id: svn://tug.org/texlive/trunk@40592 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/pdf/pdfshipout.w | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/web2c') 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); -- cgit v1.2.3