Repository navigation
Add option for additional search path for synctex file - #4736
felsenhower wants to merge 2 commits into
Conversation
|
I am a bit confused. Forward/reverse sync work. |
|
I am also not seeing the point to have a new search path when the build directories get pdf and synctex files. |
Hi, I'm using the following command for latexmk: @out2_exts = ('pdf');This setup allows me to have a build directory and only the final PDF in the project root alongside the source, not the synctex. With this setup, the Synctex data can not be found in the build directory. With the patch, it works. |
|
okay, so I will not pull this change. My proposal is to use the pdf search path as fallback. |
|
Hi, I understand that you're against adding a new configuration option (although I must say that I know a lot of people personally who would welcome it if this general "workflow" would work!) I implemented a new fix here: d07957a This makes TeXstudio look for the SyncTeX file in the additional search path that we configured for PDF files even if it has already found a PDF file in the project root. This also completely fixes my issue, without an additional config option. Would this be merged if I created a new PR for it? |
|
yes, the new approach looks fine |
|
Alright, thanks for the feedback! Closing this in favour of #4742. |
This adds the option to specify an additional search path for the SyncTeX file (see Options -> Configure TeXstudio -> Build -> Additional Search Paths), similar to the existing option for the PDF File search path.
This is very convenient for users who compile to a build directory and simplifies existing workarounds.
Possibly related: #672