You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please paste the whole log messages here, not parts of ones. The log should start with Initializing LaTeX Workshop. It is very important to identify problems.
LaTeX Workshop Output [Required]
[23:21:42] Initializing LaTeX Workshop.
[23:21:42] Extension root: /home/vscode/.vscode-server/extensions/james-yu.latex-workshop-8.20.2
[23:21:42] $PATH: /home/vscode/.vscode-server/bin/3866c3553be8b268c8a7f8c0482c0c0177aa8bfa/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2021/bin/x86_64-linux
[23:21:42] $SHELL: /bin/zsh
[23:21:42] vscode.env.appName: Visual Studio Code
[23:21:42] vscode.env.remoteName: dev-container
[23:21:42] vscode.env.uiKind: 1
[23:21:42] latex-workshop.bind.enter.key: true
[23:21:42] latex-workshop.docker.enabled: false
[23:21:42] latex-workshop.docker.image.latex: ""
[23:21:42] latex-workshop.intellisense.package.enabled: true
[23:21:42] latex-workshop.intellisense.update.aggressive.enabled: false
[23:21:42] latex-workshop.intellisense.update.delay: 1000
[23:21:42] latex-workshop.latex.autoBuild.run: "onFileChange"
[23:21:42] latex-workshop.latex.outDir: "../bin"
[23:21:42] latex-workshop.latex.recipes: [
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
]
},
{
"name": "latexmk (latexmkrc)",
"tools": [
"latexmk_rconly"
]
},
{
"name": "latexmk (lualatex)",
"tools": [
"lualatexmk"
]
},
{
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
},
{
"name": "Compile Rnw files",
"tools": [
"rnw2tex",
"latexmk"
]
},
{
"name": "Compile Jnw files",
"tools": [
"jnw2tex",
"latexmk"
]
},
{
"name": "tectonic",
"tools": [
"tectonic"
]
}
]
[23:21:42] latex-workshop.latex.tools: [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
{
"name": "lualatexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-lualatex",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
{
"name": "latexmk_rconly",
"command": "latexmk",
"args": [
"%DOC%"
],
"env": {}
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
],
"env": {}
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
],
"env": {}
},
{
"name": "rnw2tex",
"command": "Rscript",
"args": [
"-e",
"knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"
],
"env": {}
},
{
"name": "jnw2tex",
"command": "julia",
"args": [
"-e",
"using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"
],
"env": {}
},
{
"name": "jnw2texmintex",
"command": "julia",
"args": [
"-e",
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
],
"env": {}
},
{
"name": "tectonic",
"command": "tectonic",
"args": [
"--synctex",
"--keep-logs",
"%DOC%.tex"
],
"env": {}
}
]
[23:21:42] latex-workshop.viewer.pdf.internal.keyboardEvent: "auto"
[23:21:42] Creating a new file watcher.
[23:21:42] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}}
[23:21:42] Creating PDF file watcher.
[23:21:42] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{}}
[23:21:42] Creating Bib file watcher.
[23:21:42] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}}
[23:21:42] Set $LATEXWORKSHOP_DOCKER_LATEX: ""
[23:21:42] [Server] Creating LaTeX Workshop http and websocket server.
[23:21:42] LaTeX Workshop initialized.
[23:21:42] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"]
[23:21:42] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[]}
[23:21:42] Current workspace folders: ["file:///workspace"]
[23:21:42] Current workspaceRootDir: file:///workspace
[23:21:42] Found root file from active editor: /workspace/src/main.tex
[23:21:42] Root file changed: from undefined to /workspace/src/main.tex
[23:21:42] Start to find all dependencies.
[23:21:42] Root file languageId: latex
[23:21:42] [Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":45739}
[23:21:42] Reset file watcher.
[23:21:42] Parsing a file and its subfiles: /workspace/src/main.tex
[23:21:42] Parse fls file.
[23:21:42] Cannot find fls file: /workspace/bin/main.fls
[23:21:42] Linter for root file started.
[23:21:42] Linter for root file running command chktex with arguments ["-wall","-n22","-n30","-e16","-q","-f%f:%l:%c:%d:%k:%n:%m\n","/workspace/src/main.tex"]
[23:21:42] Added to file watcher: /workspace/src/main.tex
[23:21:42] Linter for root file failed with exit code 1 and error:
chktex: WARNING -- Could not find global resource file.
[23:21:42] The .chktexrc file not found.
[23:21:42] Linter log parsed with 51 messages.
[23:21:43] Snippet data loaded.
[23:21:43] Checking for duplicate labels: /workspace/src/main.tex.
[23:21:44] Manager.fileWatcher.getWatched: {"/workspace/src":["main.tex"]}
[23:21:44] Manager.filesWatched: ["/workspace/src/main.tex"]
[23:21:44] BibWatcher.bibWatcher.getWatched: {}
[23:21:44] BibWatcher.bibsWatched: []
[23:21:44] PdfWatcher.pdfWatcher.getWatched: {}
[23:21:44] PdfWatcher.pdfsWatched: []
[23:21:48] Start formatting with latexindent.
[23:21:48] Checking latexindent: which latexindent
[23:21:48] Checking latexindent is ok: /usr/local/texlive/2021/bin/x86_64-linux/latexindent
[23:21:48] Formatting with command latexindent -c,/workspace/src/,/workspace/src/__latexindent_temp.tex,-y="defaultIndent: '\t',onlyOneBackUp: 1"
[23:21:48] Formatting failed with exit code 2
[23:21:48] stderr: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 542.
[23:21:48] onDidSaveTextDocument triggered: file:///workspace/src/main.tex
[23:21:48] Linter for root file started.
[23:21:48] Linter for root file running command chktex with arguments ["-wall","-n22","-n30","-e16","-q","-f%f:%l:%c:%d:%k:%n:%m\n","/workspace/src/main.tex"]
[23:21:48] Linter for root file failed with exit code 1 and error:
chktex: WARNING -- Could not find global resource file.
[23:21:48] The .chktexrc file not found.
[23:21:48] Linter log parsed with 51 messages.
[23:21:48] File watcher - file changed: /workspace/src/main.tex
[23:21:48] Parsing a file and its subfiles: /workspace/src/main.tex
[23:21:49] Checking for duplicate labels: /workspace/src/main.tex.
[23:21:49] Auto build started detecting the change of a file: /workspace/src/main.tex
[23:21:49] BUILD command invoked.
[23:21:49] The document of the active editor: file:///workspace/src/main.tex
[23:21:49] The languageId of the document: latex
[23:21:49] Building root file: /workspace/src/main.tex
[23:21:49] Build root file /workspace/src/main.tex
[23:21:49] outDir: /workspace/bin
[23:21:49] Recipe step 1: latexmk, -synctex=1,-interaction=nonstopmode,-file-line-error,-pdf,-outdir=../bin,/workspace/src/main
[23:21:49] Recipe step env: {}
[23:21:49] cwd: /workspace/src
[23:21:49] LaTeX build process spawned. PID: 14267.
[23:21:58] LaTeX log parsed with 3 messages.
[23:21:58] Recipe of length 1 finished. PID: 14267.
[23:21:58] Successfully built /workspace/src/main.tex.
[23:21:58] Call refreshExistingViewer: {"sourceFile":"/workspace/src/main.tex"}
[23:21:58] Not found PDF viewers to refresh: /workspace/bin/main.pdf
[23:21:58] Parse fls file.
[23:21:58] Fls file found: /workspace/bin/main.fls
[23:21:58] Parse aux file: /workspace/bin/main.aux
[23:21:58] Auto Clean invoked.
[23:21:58] Clean glob matched files: {"globs":["./**/*.aux","./**/*.bbl","./**/*.blg","./**/*.idx","./**/*.ind","./**/*.lof","./**/*.lot","./**/*.out","./**/*.toc","./**/*.acn","./**/*.acr","./**/*.alg","./**/*.glg","./**/*.glo","./**/*.gls","./**/*.fls","./**/*.log","./**/*.fdb_latexmk","./**/*.snm","./**/*.synctex(busy)","./**/*.synctex.gz(busy)","./**/*.nav"],"outdir":"/workspace/bin"}
[23:21:58] Cleaning file: /workspace/bin/main.aux
[23:21:58] Cleaning file: /workspace/bin/main.out
[23:21:58] Cleaning file: /workspace/bin/main.fls
[23:21:58] Cleaning file: /workspace/bin/main.log
[23:21:58] Cleaning file: /workspace/bin/main.fdb_latexmk
Developer Tools Console [Required]
Nothing suspicious in developer tools console
Desktop [Required]
Please write exact version numbers. Please don't write latest instead of exact numbers.
OS: MacOS 11
VS Code version: 1.59.1
Extension version: 8.20.2
TeX distribution version: TeX Live 2021
Additional questions
Are 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?
Yes
If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
external issueIssue with something else than LaTeX-Wokshop
2 participants
Converted from issue
This discussion was converted from issue #2846 on February 20, 2022 22:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 bug [Required]
I'm trying to have my vscode auto-format a basic .tex file:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Formatting works as expected
Logs [Required]
Please paste the whole log messages here, not parts of ones. The log should start with
Initializing LaTeX Workshop
. It is very important to identify problems.LaTeX Workshop Output [Required]
Developer Tools Console [Required]
Nothing suspicious in developer tools console
Desktop [Required]
Please write exact version numbers. Please don't write
latest
instead of exact numbers.Additional questions
Are 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?
Yes
If the answer is Yes, please write which one you are using. Write the versions of the remote extension.
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions