| 1 |
/* synctex-common.h |
| 2 |
|
| 3 |
This file is part of the SyncTeX package. |
| 4 |
|
| 5 |
Permission is hereby granted, free of charge, to any person |
| 6 |
obtaining a copy of this software and associated documentation |
| 7 |
files (the "Software"), to deal in the Software without |
| 8 |
restriction, including without limitation the rights to use, |
| 9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 |
copies of the Software, and to permit persons to whom the |
| 11 |
Software is furnished to do so, subject to the following |
| 12 |
conditions: |
| 13 |
|
| 14 |
The above copyright notice and this permission notice shall be |
| 15 |
included in all copies or substantial portions of the Software. |
| 16 |
|
| 17 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 24 |
OTHER DEALINGS IN THE SOFTWARE |
| 25 |
|
| 26 |
Acknowledgments: |
| 27 |
---------------- |
| 28 |
The author received useful remarks from the pdfTeX developers, especially Hahn The Thanh, |
| 29 |
and significant help from XeTeX developer Jonathan Kew |
| 30 |
|
| 31 |
Nota Bene: |
| 32 |
---------- |
| 33 |
If you include or use a significant part of the synctex package into a software, |
| 34 |
I would appreciate to be listed as contributor and see "SyncTeX" highlighted. |
| 35 |
|
| 36 |
Version 1 |
| 37 |
Latest Revision: Wed Jul 1 08:07:50 UTC 2009 |
| 38 |
|
| 39 |
*/ |
| 40 |
|
| 41 |
# ifndef __SYNCTEX_COMMON_HEADER__ |
| 42 |
# define __SYNCTEX_COMMON_HEADER__ |
| 43 |
|
| 44 |
/* Send this message to init the synctex command value to the command line option. |
| 45 |
* Sending this message too early will cause a bus error. */ |
| 46 |
extern void synctexinitcommand(void); |
| 47 |
|
| 48 |
/* Send this message to clean memory, and close the file. */ |
| 49 |
extern void synctexterminate(int log_opened); |
| 50 |
|
| 51 |
# endif |