What exactly is the name of the editor app? Is it “VS Code” nowadays? Then the 
preset does not work, as it looks for “Visual Studio Code.app”. In that case, 
because the command does not use an actual embedded script, it should work if 
you first select the “Visual Studio Code” preset, and then “Custom”.

Christiaan

> On 23 Jan 2025, at 10:23, Christiaan Hofman <[email protected]> wrote:
> 
> Have you tried selecting the Visual Studio Code in the Sync preferences? That 
> should cause Skim to call exactly the command you mention.
> 
> Christiaan
> 
>> On 23 Jan 2025, at 09:19, Ludvig Hult <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi,
>> 
>> I'm a new skim user, trying to set up synctex support for reverse search. I 
>> have previously used Sumatra PDF on windows, wich required custom synctex 
>> config, so I am familiar with the basic concepts. However, nothing happens 
>> when i command-shift-click in my pdf. How should I proceed with 
>> troubleshooting?
>> 
>> What I have done:
>> 
>> I am running Sonoma 14.6.1
>> Skim version 1.7.8
>> VSCode 1.69.4
>> 
>> ```latex
>> %minimal.tex
>> \documentclass{article}
>> \begin{document}
>> Hello, World!
>> \end{document}
>> ```
>> 
>> compiling with `pdflatex -synctex=1 minimal.tex`
>> verifying that a `minimal.synctex.gz` was generated.
>> Opening `minimal.pdf` in skim via the GUI.
>> Opening settings > sync > select vs code
>> Close the dialog.
>> command+shift+click in the document. Nothing happens.
>> 
>> I tried replacing the sync command with `tput` and the argument `bel`, since 
>> that produces a bell sound when run in my terminal. No sound is made when 
>> command+shift+clicking in the pdf.
>> I also tried running the command `open vscode://file <vscode://file>"/the 
>> full path to minimal.tex":2` in my terminal, which worked great for opening 
>> vscode
>> 
>> It seems to me like skim don't process the command+shift+click properly. How 
>> should I proceed to get synctex to work?
>> 
>> Best Ragards,
>> Ludvig Hult
>> 
>> 
>> ps. the wiki 
>> https://sourceforge.net/p/skim-app/wiki/TeX_and_PDF_Synchronization/ 
>> <https://sourceforge.net/p/skim-app/wiki/TeX_and_PDF_Synchronization/> 
>> discuss synctex as something included in 'new' technology like texlive 2008. 
>> I would argue that this is not that 'new' anymore.

_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to