Correction.It should not matter what the name off the app is (in this case), Skim will also look in /usr/local for the command, even if it cannot find an app with the preset name. So just selecting the Visual Studio Code preset should work for you. And for me, synctex search does work without problem. BTW, for me tput also does nothing, perhaps Apple does not allow making a sound in this way. However, using a command “open” with arguments ‘“-t %file”’ does work.
So there must be something wrong with how you get the data on your system, but I have no idea what not could be. Is the synctex file in the same directory as the pdf file, and does it have the same name (it does look like it should from your description)? You may be able to do some debugging using the Console.app. Search for “Skim” and select Process in the search bar. When you use synctex from Skim it should log some messages about what goes wrong. Christiaan > On 23 Jan 2025, at 10:37, Christiaan Hofman <cmhof...@gmail.com> wrote: > > 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 <cmhof...@gmail.com >> <mailto:cmhof...@gmail.com>> 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 <ludvig.h...@gmail.com >>> <mailto:ludvig.h...@gmail.com>> 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 Skim-app-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-users