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 @@ ...@@ -27,6 +27,7 @@
\component luatex-fonts \component luatex-fonts
\component luatex-math \component luatex-math
\component luatex-nodes \component luatex-nodes
\component luatex-callbacks
\component luatex-tex \component luatex-tex
\component luatex-graphics \component luatex-graphics
\component luatex-fontloader \component luatex-fontloader
......
...@@ -61,8 +61,12 @@ void ship_out(PDF pdf, halfword p, shipping_mode_e shipping_mode) ...@@ -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 Start sheet {\sl Sync\TeX} information record; we assume that |pdf_output| is
properly set up. properly set up.
*/ */
if ((output_mode_used == OMODE_DVI) && int_par(synctex_code)) { if (int_par(synctex_code)) {
synctexsheet(mag); if (output_mode_used == OMODE_DVI) {
synctexsheet(mag);
} else {
synctexsheet(1000);
}
} }
pre_callback_id = callback_defined(start_page_number_callback); pre_callback_id = callback_defined(start_page_number_callback);
post_callback_id = callback_defined(stop_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