Skip to content
Snippets Groups Projects
Commit 85f97ccd authored by Luigi Scarso's avatar Luigi Scarso
Browse files

fix for syntex + fix to manual (HH)

parent 27d185ea
Branches
Tags
No related merge requests found
No preview for this file type
......@@ -27,6 +27,7 @@
\component luatex-fonts
\component luatex-math
\component luatex-nodes
\component luatex-callbacks
\component luatex-tex
\component luatex-graphics
\component luatex-fontloader
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment