5/31/2023 0 Comments Jedit blue line![]() ![]() If the times differ suspect one of the two is not valid. synctex file is only valid for the compiled.pdf generated at the same time. The synctex and pdf should have similar timestamps, That is a. Avoid remote folders such as cloud or network drives. pdf in the same folder as the current.tex file, sub folders may work for a time but with other more complex calls later you WILL hit time-consuming problems. ![]() With 24 or 25 you should see a thin blue line near the top of the page, again not what may be expected.ĭon’t try to be clever the editor should tell pdfLaTeX to put the. Try 17, 19, and you should note they don’t both go where you might expect. Try any odd number 11 13 … 21 23 and most will work as expected Now the trick is how does your editor pass the current line number to SumatraPDF with those file names Unfortunately without some scripting Microsoft Notepad cant run a command for you but you can run manually from a command prompt "C:\Program Files\SumatraPDF\SumatraPDF.exe" -forward-search sync.tex 9 sync.pdfĪnd bingo that line will light up proving the files and command are valid Open Sync.tex in notepad and note that Hello World is on line 9 Now in the folder with sync.pdf sync.synctex and sync.tex Permanent is NOT permanent in the PDF it means highlight on screen until another command is received. If you have downloaded the sample files even without latex you can test SumatraPDF is working for Forward Searchįirst I always suggest editing Settings > Advanced Options to change the false to true as here ForwardSearch [ "path to \sumatraPDF.exe" -forward-search "path to Current.tex" LinenumberToken "path to \compiled.pdf"īut its down to how the latextools will structure it that way The editors generally have tokens for the filenames so it varies from one to the other but preview commands generally follow the patern What was your final working inverse command ? These are my old notes for testing several editors a year or two back ( but jedit was not tested) it may help to skim read the differences. One thing to note is that java based editors on windows are often driven by jars called from javaw.exe which makes them unwieldy beasts to pass commands to Is the inverse-search command that should be stored in the settings.txt file ONCE ![]() Say c:\program path\jedit filenametoken pagenumbertoken So whatever would open the editor at a given page However checking online it looks like the call would look like jedit "%f" line:%l so it may be the lack of a valid CLI response mechanism that would stop it from accepting an inverse search. I see no reason why an editor with latex tools could not generate a synctex file since it is the tex distro that preps the file. IF that is true you have a problem since the key to forward
0 Comments
Leave a Reply. |