synctex
synctex copied to clipboard
Synchronization for TeX
https://github.com/texstudio-org/texstudio/issues/3083 Crashes on windows, probably because stack size is smaller. From the looks of it, call depth is too large for recursive _synctex_free_leaf/synctex_node_free
Concerns current git head. ``` last_component = PathFindFileName(string); last_extension = PathFindExtension(string); ``` Don't work as they assume UTF16 string and fail with 8bit coding. Tested with msys64 (ucrt) and vcpkg.
[An extra null pointer check is not needed](https://stackoverflow.com/questions/18775608/free-a-null-pointer-anyway-or-check-first "Free a null pointer anyway or check first?") in [the function “_synctex_free”](https://github.com/jlaurens/synctex/blob/c3ae46d28d9068d56f781d7e10ca25f0fc5dff20/synctex_parser_utils.c#L79 "Update candidate").
I would like to point out that identifiers like “[`__SYNCTEX_PARSER__`](https://github.com/jlaurens/synctex/blob/c11fe00dbdc6423a0e54d4e531563be645f78679/synctex_parser.h#L50 "Update candidate")” and “[`__synctex_scanner_free_handle`](https://github.com/jlaurens/synctex/blob/91d69b73e2fc9c65953c04debe0f06fbd1e51299/synctex_parser.c#L851 "Another update candidate")” [do not fit](https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier "Do not declare an identifier which is reserved for the...
Line 4564 of synctex_parser.c (towards end of _synctex_scan_post_scriptum function) should read: scanner->y_offset = fs.value; instead of x_offset. Because scanner->y_offset and scanner->y_offset are initialised to the bogus value 6.027e23, setting any...
I am writing a program where I use synctex to determine where a piece of LaTeX code end up in the PDF. During testing I noticed that the handling of...
Consider for example: ``` \documentclass{article} \begin{document} \ExplSyntaxOn \input{d.tex} \file_get:nnN {d.tex} {} \__a \ExplSyntaxOff \end{document} ``` where d.tex contains ``` content ``` then the `content` text is typeset in the first...
I am writing many job application cover letters (in tex). When I want to write a new letter, I copy the directory and rename AwesomeJobB to AwesomeJobC. I would then...
Environment TeXstudio 3.0.1 (git 3.0.1) Using Qt Version 5.12.1, compiled with Qt 5.12.1 R Win 10 MikTeX 2.9 After carefully fitting size and position of the text in the viewer...
```latex % paper.tex \documentclass[letterpaper,twocolumn,10pt]{article} \usepackage{tikz} % \usetikzlibrary{shadows} \begin{document} \input{a} \input{b} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: "paper" %%% End: % a.tex \section{A} Lorem ipsum dolor sit amet,...