summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/synctex.h
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-04-23 10:46:51 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2017-04-23 10:46:51 +0000
commit3d6fd65e13366ed225a9cab19637d6d85233a0a5 (patch)
tree9d6552fb02443ab8a7b60b4f5b74da916e815006 /Build/source/texk/web2c/synctexdir/synctex.h
parentbc6749a7225f3fd8a0a0f25644bd427078c41618 (diff)
Adding SyncTeX support to \pdfxform. For pdftex only but EVERY TeX engine is concerned. OK on OSX, untested on windows and other platforms. The synctex command line tool will be updated soon.
git-svn-id: svn://tug.org/texlive/trunk@43989 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex.h')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex.h26
1 files changed, 20 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex.h b/Build/source/texk/web2c/synctexdir/synctex.h
index 96e03c84cd9..4fcf5d65c42 100644
--- a/Build/source/texk/web2c/synctexdir/synctex.h
+++ b/Build/source/texk/web2c/synctexdir/synctex.h
@@ -1,9 +1,12 @@
/* synctex.h
-Copyright (c) 2008, 2009 jerome DOT laurens AT u-bourgogne DOT fr
+Copyright (c) 2008-2017 jerome DOT laurens AT u-bourgogne DOT fr
This file is part of the SyncTeX package.
+Version 1
+Lates Revision: Sat Apr 22 10:07:05 UTC 2017
+
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
@@ -35,9 +38,6 @@ Nota Bene:
If you include or use a significant part of the synctex package into a software,
I would appreciate to be listed as contributor and see "SyncTeX" highlighted.
-Version 1
-Latest Revision: Wed Jul 1 08:17:50 UTC 2009
-
*/
# ifndef __SYNCTEX_HEADER__
@@ -53,14 +53,24 @@ extern void synctexstartinput(void);
/* Recording the "{..." line. In *tex.web, use synctex_sheet(pdf_output) at
* the very beginning of the ship_out procedure.
-*/
+ */
extern void synctexsheet(integer mag);
/* Recording the "}..." line. In *tex.web, use synctex_teehs at
* the very end of the ship_out procedure.
-*/
+ */
extern void synctexteehs(void);
+/* Recording the "<..." line. In pdftex.web, use synctex_pdfxform(p) at
+ * the very beginning of the pdf_ship_out procedure.
+ */
+extern void synctexpdfxform(halfword p);
+
+/* Recording the ">" line. In pdftex.web, use synctex_mrofxfdp at
+ * the very end of the ship_out procedure.
+ */
+extern void synctexmrofxfdp(void);
+
/* This message is sent when a vlist will be shipped out, more precisely at
* the beginning of the vlist_out procedure in *TeX.web. It will be balanced
* by a synctex_tsilv, sent at the end of the vlist_out procedure. p is the
@@ -100,6 +110,10 @@ extern void synctexhorizontalruleorglue(halfword p, halfword this_box);
/* Send this message whenever a kern node will ship out. */
extern void synctexkern(halfword p, halfword this_box);
+/* Recording the "f" line. In pdftex.web, use synctex_pdfrefxform when \pfdrefxform si used.
+ */
+extern void synctexpdfrefxform(int objnum);
+
/* this message is sent whenever a char node ships out */
extern void synctexchar(halfword p, halfword this_box);