Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
8.4 KiB

4 years ago
  1. This file is part of the SyncTeX package.
  2. The Synchronization TeXnology named SyncTeX is a new feature
  3. of recent TeX engines designed by Jerome Laurens.
  4. It allows to synchronize between input and output, which means to
  5. navigate from the source document to the typeset material and vice versa.
  6. More information on http://itexmac2.sourceforge.net/SyncTeX.html
  7. This package is mainly for developers, it mainly contains the following files:
  8. synctex_parser_readme.txt
  9. synctex_parser_version.txt
  10. synctex_parser_utils.c
  11. synctex_parser_utils.h
  12. synctex_parser_local.h
  13. synctex_parser.h
  14. synctex_parser.c
  15. The file you are reading contains more information about the SyncTeX parser history.
  16. In order to support SyncTeX in a viewer, it is sufficient to include
  17. in the source the files synctex_parser.h and synctex_parser.c.
  18. The synctex parser usage is described in synctex_parser.h header file.
  19. The other files are used by tex engines or by the synctex command line utility:
  20. ChangeLog
  21. README.txt
  22. am
  23. man1
  24. man5
  25. synctex-common.h
  26. synctex-convert.sh
  27. synctex-e-mem.ch0
  28. synctex-e-mem.ch1
  29. synctex-e-rec.ch0
  30. synctex-e-rec.ch1
  31. synctex-etex.h
  32. synctex-mem.ch0
  33. synctex-mem.ch1
  34. synctex-mem.ch2
  35. synctex-pdf-rec.ch2
  36. synctex-pdftex.h
  37. synctex-rec.ch0
  38. synctex-rec.ch1
  39. synctex-rec.ch2
  40. synctex-tex.h
  41. synctex-xe-mem.ch2
  42. synctex-xe-rec.ch2
  43. synctex-xe-rec.ch3
  44. synctex-xetex.h
  45. synctex.c
  46. synctex.defines
  47. synctex.h
  48. synctex_main.c
  49. tests
  50. Version:
  51. --------
  52. This is version 1, which refers to the synctex output file format.
  53. The files are identified by a build number.
  54. In order to help developers to automatically manage the version and build numbers
  55. and download the parser only when necessary, the synctex_parser.version
  56. is an ASCII text file just containing the current version and build numbers.
  57. History:
  58. --------
  59. 1.1: Thu Jul 17 09:28:13 UTC 2008
  60. - First official version available in TeXLive 2008 DVD.
  61. Unfortunately, the backwards synchronization is not working properly mainly for ConTeXt users, see below.
  62. 1.2: Tue Sep 2 10:28:32 UTC 2008
  63. - Correction for ConTeXt support in the edit query.
  64. The previous method was assuming that TeX boxes do not overlap,
  65. which is reasonable for LaTeX but not for ConTeXt.
  66. This assumption is no longer considered.
  67. 1.3: Fri Sep 5 09:39:57 UTC 2008
  68. - Local variable "read" renamed to "already_read" to avoid conflicts.
  69. - "inline" compiler directive renamed to "SYNCTEX_INLINE" for code support and maintenance
  70. - _synctex_error cannot be inlined due to variable arguments (thanks Christiaan Hofman)
  71. - Correction in the display query, extra boundary nodes are used for a more precise forwards synchronization
  72. 1.4: Fri Sep 12 08:12:34 UTC 2008
  73. - For an unknown reason, the previous version was not the real 1.3 (as used in iTeXMac2 build 747).
  74. As a consequence, a crash was observed.
  75. - Some typos are fixed.
  76. 1.6: Mon Nov 3 20:20:02 UTC 2008
  77. - The bug that prevented synchronization with compressed files on windows has been fixed.
  78. - New interface to allow system specific customization.
  79. - Note that some APIs have changed.
  80. 1.8: Mer 8 jul 2009 11:32:38 UTC
  81. Note that version 1.7 was delivered privately.
  82. - bug fix: synctex was causing a memory leak in pdftex and xetex, thus some processing speed degradation
  83. - bug fix: the synctex command line tool was broken when updating a .synctex file
  84. - enhancement: better accuracy of the synchronization process
  85. - enhancement: the pdf output file and the associated .synctex file no longer need to live in the same directory.
  86. The new -d option of the synctex command line tool manages this situation.
  87. This is handy when using something like tex -output-directory=DIR ...
  88. 1.9: Wed Nov 4 11:52:35 UTC 2009
  89. - Various typo fixed
  90. - OutputDebugString replaced by OutputDebugStringA to deliberately disable unicode preprocessing
  91. - New conditional created because OutputDebugStringA is only available since Windows 2K professional
  92. 1.10: Sun Jan 10 10:12:32 UTC 2010
  93. - Bug fix in synctex_parser.c to solve a synchronization problem with amsmath's gather environment.
  94. Concerns the synctex tool.
  95. 1.11: Sun Jan 17 09:12:31 UTC 2010
  96. - Bug fix in synctex_parser.c, function synctex_node_box_visible_v: 'x' replaced by 'y'.
  97. Only 3rd party tools are concerned.
  98. 1.12: Mon Jul 19 21:52:10 UTC 2010
  99. - Bug fix in synctex_parser.c, function __synctex_open: the io_mode was modified even in case of a non zero return,
  100. causing a void .synctex.gz file to be created even if it was not expected. Reported by Marek Kasik concerning a bug on evince.
  101. 1.13: Fri Mar 11 07:39:12 UTC 2011
  102. - Bug fix in synctex_parser.c, better synchronization as suggested by Jan Sundermeyer (near line 3388).
  103. - Stronger code design in synctex_parser_utils.c, function _synctex_get_name (really neutral behavior).
  104. Only 3rd party tools are concerned.
  105. 1.14: Fri Apr 15 19:10:57 UTC 2011
  106. - taking output_directory into account
  107. - Replaced FOPEN_WBIN_MODE by FOPEN_W_MODE when opening the text version of the .synctex file.
  108. - Merging with LuaTeX's version of synctex.c
  109. 1.15: Fri Jun 10 14:10:17 UTC 2011
  110. This concerns the synctex command line tool and 3rd party developers.
  111. TeX and friends are not concerned by these changes.
  112. - Bug fixed in _synctex_get_io_mode_name, sometimes the wrong mode was returned
  113. - Support for LuaTeX convention of './' file prefixing
  114. 1.16: Tue Jun 14 08:23:30 UTC 2011
  115. This concerns the synctex command line tool and 3rd party developers.
  116. TeX and friends are not concerned by these changes.
  117. - Better forward search (thanks Jose Alliste)
  118. - Support for LuaTeX convention of './' file prefixing now for everyone, not only for Windows
  119. 1.17: Fri Oct 14 08:15:16 UTC 2011
  120. This concerns the synctex command line tool and 3rd party developers.
  121. TeX and friends are not concerned by these changes.
  122. - synctex_parser.c: cosmetic changes to enhance code readability
  123. - Better forward synchronization.
  124. The problem occurs for example with LaTeX \item command.
  125. The fact is that this command creates nodes at parse time but these nodes are used only
  126. after the text material of the \item is displayed on the page. The consequence is that sometimes,
  127. forward synchronization spots an irrelevant point from the point of view of the editing process.
  128. This was due to some very basic filtering policy, where a somehow arbitrary choice was made when
  129. many different possibilities where offered for synchronisation.
  130. Now, forward synchronization prefers nodes inside an hbox with as many acceptable spots as possible.
  131. This is achieved with the notion of mean line and node weight.
  132. - Adding support for the new file naming convention with './'
  133. + function synctex_ignore_leading_dot_slash_in_path replaces synctex_ignore_leading_dot_slash
  134. + function _synctex_is_equivalent_file_name is more permissive
  135. Previously, the function synctex_scanner_get_tag would give an answer only when
  136. the given file name was EXACTLY one of the file names listed in the synctex file.
  137. The we added some changes accepting for example 'foo.tex' instead of './foo.tex'.
  138. Now we have an even looser policy for dealing with file names.
  139. If the given file name does not match exactly one the file names of the synctex file,
  140. then we try to match the base names. If there is only one match of the base names,
  141. then it is taken as a match for the whole names.
  142. The base name is defined as following:
  143. ./foo => foo
  144. /my///.////foo => foo
  145. /foo => /foo
  146. /my//.foo => /my//.foo
  147. 1.17: Tue Mar 13 10:10:03 UTC 2012
  148. - minor changes, no version changes
  149. - syntax man pages are fixed as suggested by M. Shimata
  150. see mail to tex-live@tug.org titled "syntax.5 has many warnings from groff" and "syntax.1 use invalid macro for mdoc"
  151. 1.17: Tue Jan 14 09:55:00 UTC 2014
  152. - fixed a segfault, from Sebastian Ramacher
  153. 1.17: Mon Aug 04
  154. - fixed a memory leak
  155. 1.18: Thu Jun 25 11:36:05 UTC 2015
  156. - nested sheets now fully supported (does it make sense in TeX)
  157. - cosmetic changes: uniform indentation
  158. - suppression of warnings, mainly long/int ones. In short, zlib likes ints when size_t likes longs.
  159. - CLI synctex tool can build out of TeXLive (modulo appropriate options passed to the compiler)
  160. Acknowledgments:
  161. ----------------
  162. The author received useful remarks from the pdfTeX developers, especially Hahn The Thanh,
  163. and significant help from XeTeX developer Jonathan Kew
  164. Nota Bene:
  165. ----------
  166. If you include or use a significant part of the synctex package into a software,
  167. I would appreciate to be listed as contributor and see "SyncTeX" highlighted.
  168. Copyright (c) 2008-2014 jerome DOT laurens AT u-bourgogne DOT fr