I can't open the PDF document in Skim from VS Code #3101
-
Preliminary questions [Required]Disable all the other extensions except for LaTeX Workshop, restart VS Code, and check that you still see this issue. [Required]You still see this issue?: Yes Make sure to visit the wiki FAQ before filling an issue.You visited the wiki?: Yes If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.You can compile a TeX document manually?: Yes Describe the bugI would like the
To ReproduceSteps to reproduce the behavior:
Expected behaviorSkim should open with the PDF document. Logs [Required]Please paste the whole log messages here, not parts of ones. The log should start with
LaTeX Workshop Output [Required]
Developer Tools Console [Required]
ScreenshotsIf applicable, add screenshots to help explain your problem. Desktop [Required]Please write exact version numbers. Please don't write
Additional questionsAre you using VSCodium?No Are you using the Snap or Flatpack versions of VS Code?No Are you using LaTeX Workshop with VS Code Remote?No If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
Additional contextAdd any other context about the problem here. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
We do not officially support external viewers. You can have a look at https://github.com/James-Yu/LaTeX-Workshop/wiki/View#skim for the most recent feedback on using |
Beta Was this translation helpful? Give feedback.
-
Yes, but as you can see here in the settings I use precisely the configuration you recommend. And you documented the use with Skim. {
"workbench.colorTheme": "Cobalt2",
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.formatOnSave": true
},
"workbench.startupEditor": "newUntitledFile",
"latex-workshop.intellisense.package.enabled": true,
"latex-workshop.intellisense.unimathsymbols.enabled": true,
"latex-workshop.latex.recipes": [
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex ➞ bibtex ➞ pdflatex`×2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
],
"env": {}
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
],
"env": {}
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-xelatex",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
],
"latex-workshop.latex.clean.subfolder.enabled": true,
"git.autofetch": true,
"terminal.integrated.fontFamily": "Inconsolata for Powerline",
"latex-workshop.view.pdf.viewer": "external",
"editor.minimap.enabled": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"workbench.iconTheme": "material-icon-theme",
"prolog.executablePath": "/Applications/SWI-Prolog.app/Contents/MacOS/swipl",
"python.languageServer": "Microsoft",
"editor.wordWrap": "on",
"latex-workshop.view.pdf.zoom": "page-fit",
"latex-workshop.view.pdf.external.viewer.args": [
"0",
"%PDF%"
],
"latex-workshop.view.pdf.external.viewer.command": "/Applications/Skim.app/Contents/SharedSupport/displayline",
"latex-workshop.view.pdf.external.synctex.command": "/Applications/Skim.app/Contents/SharedSupport/displayline",
"latex-workshop.view.pdf.external.synctex.args": [
"-r",
"-b",
"%LINE%",
"%PDF%",
"%TEX%"
],
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": true,
"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk",
"*.snm",
"*.nav",
"*.synctex.gz",
"*.run.xml",
"*.bcf",
"__latexindent_temp.tex"
],
"explorer.confirmDelete": false,
"latex-workshop.latexindent.path": "/usr/local/texlive/2021/bin/universal-darwin/latexindent",
"security.workspace.trust.untrustedFiles": "open",
"editor.fontSize": 16
} |
Beta Was this translation helpful? Give feedback.
-
This is related to https://sourceforge.net/p/skim-app/bugs/1438. There is nothing we can do. |
Beta Was this translation helpful? Give feedback.
-
Please check System Preferences > Security & Privacy > Privacy > Automation |
Beta Was this translation helpful? Give feedback.
-
To users, Please use the internal PDF viewer. If you want to view a PDF file in a separated window, you can use If you want to use the external PDF viewer, please solve the issue by yourself. If you find a solution, please post it to https://github.com/jlelong/LaTeX-Workshop-wiki Thank you for your cooperation. |
Beta Was this translation helpful? Give feedback.
-
Please also take a minute to read #3160. Thank you! |
Beta Was this translation helpful? Give feedback.
To users,
Please use the internal PDF viewer. If you want to view a PDF file in a separated window, you can use
View in web browser
in the side bar.If you want to use the external PDF viewer, please solve the issue by yourself. If you find a solution, please post it to https://github.com/jlelong/LaTeX-Workshop-wiki
Thank you for your cooperation.