Closed sergeG closed 1 month ago
Hi! Reverse search in zathura does work if I use
\input{file}
and does not work if
\input file
used instead.
Ok, but why do you use the primitive variant here? I believe it is strongly recommended to use the braced variant. See e.g. here:
The last reference shows this warning:
Warning: this command will list only files which were read using LATEX commands such as
\input{⟨file⟩}
or\include{⟨file⟩}
. If the file was read using the primitive TEX syntax\input file
(without{ }
braces around the file name) then it will not be listed; failure to use the LATEX form with the braces can cause more severe problems, possibly leading to overwriting important files, so always put in the braces.
So, I am curious, is there really any good reason to support the primitive TeX syntax?
I am a user of TeX during more than 30 years, so I because of my habit :). Yesterday I spent several hours to understand why the reverse search sometimes is broken. I agree with you that nowadays it is better to use \input{file}, so perhaps this filed bug can save sometime for somebody.
In any case, thanks for your work!
I am a user of TeX during more than 30 years, so I because of my habit :).
Cool! That dwarves my 20 years as a TeX user. 🤩
Yesterday I spent several hours to understand why the reverse search sometimes is broken. I agree with you that nowadays it is better to use \input{file}, so perhaps this filed bug can save sometime for somebody.
Yes, perhaps, so thanks for posting! But to be honest, in my 20 years of using TeX I can't remember to have ever seen the \input file
form. 😅
In any case, thanks for your work!
My pleaseure, glad to help!
Description
Hi! Reverse search in zathura does work if I use
\input{file}
and does not work if
\input file
used instead.
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
$job_name='Project'; $pdflatex = "pdflatex --shell-escape %O %S";
VimtexInfo