LaTeX-Workshop: Can't display the outline of the paper in the 'structure' column, but only the label
Preliminary questions [Required]
Can’t display the outline of the paper in the ‘structure’ column, but only the label.
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
Describe the bug [Required]
Can’t display the outline of the paper in the ‘structure’ column, but only the label. This bug didn’t arise until the version 8.24.0. I meet this bug after updating to v8.24.0 on Apr. 01
To Reproduce
Steps to reproduce the behavior: Just update to v8.24.0 or later version.
Expected behavior
I expect the all the serial numbers and names of chapter, section, subsection, etc. display in the ‘structure’ column of LaTeX Workshop.
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]
[16:12:06] Initializing LaTeX Workshop.
[16:12:06] Extension root: c:\Users\A\.vscode\extensions\james-yu.latex-workshop-8.24.1
[16:12:06] $PATH: F:\Program Files\National Instruments\Shared\OpenVINO\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\libnvvp;C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;E:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x86;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;E:\Program Files\MATLAB\MATLAB Runtime\v98\runtime\win64;E:\Program Files\Git LFS;F:\Program Files\MATLAB R2022a\runtime\win64;F:\Program Files\MATLAB R2022a\bin;E:\Program Files\MATLAB\MATLAB Runtime\v99\runtime\win64;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\lib\x64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI;C:\Program Files (x86)\dotnet\;E:\Program Files\texlive\2019\bin\win32;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\Python37\Scripts\;C:\Python37\;C:\Users\A\AppData\Local\Microsoft\WindowsApps;Microsoft VS Code\bin;C:\Users\A\AppData\Local\GitHubDesktop\bin;E:\Program Files\JetBrains\PyCharm 2020.3\bin;C:\Users\A\AppData\Roaming\Python\Python37\Scripts;C:\Users\A\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;C:\Users\A\AppData\Local\Programs\Microsoft VS Code\bin
[16:12:06] $SHELL: undefined
[16:12:06] $LANG: undefined
[16:12:06] $LC_ALL: undefined
[16:12:06] process.platform: win32
[16:12:06] process.arch: x64
[16:12:06] vscode.env.appName: Visual Studio Code
[16:12:06] vscode.env.remoteName: undefined
[16:12:06] vscode.env.uiKind: 1
[16:12:06] Workspace for configuration: file:///f:/Programming/LatexBugReproduce
[16:12:06] editor.acceptSuggestionOnEnter: "on"
[16:12:06] latex-workshop.bind.enter.key: true
[16:12:06] latex-workshop.docker.enabled: false
[16:12:06] latex-workshop.docker.image.latex: ""
[16:12:06] latex-workshop.hover.preview.mathjax.extensions: []
[16:12:06] latex-workshop.intellisense.package.enabled: true
[16:12:06] latex-workshop.intellisense.update.aggressive.enabled: false
[16:12:06] latex-workshop.intellisense.update.delay: 1000
[16:12:06] latex-workshop.latex.autoBuild.run: "never"
[16:12:06] latex-workshop.latex.build.forceRecipeUsage: true
[16:12:06] latex-workshop.latex.outDir: "%DIR%"
[16:12:06] latex-workshop.latex.recipes: [
{
"name": "XeLaTeX",
"tools": [
"xelatex"
]
},
{
"name": "PDFLaTeX",
"tools": [
"pdflatex"
]
},
{
"name": "BibTeX",
"tools": [
"bibtex"
]
},
{
"name": "LaTeXmk",
"tools": [
"latexmk"
]
},
{
"name": "xelatex -> bibtex -> xelatex*2",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
]
[16:12:06] latex-workshop.latex.tools: [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOCFILE%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
]
[16:12:06] latex-workshop.viewer.pdf.internal.keyboardEvent: "auto"
[16:12:06] Creating a new file watcher.
[16:12:06] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}}
[16:12:06] Creating PDF file watcher.
[16:12:06] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{}}
[16:12:06] Creating Bib file watcher.
[16:12:06] watcherOptions: {"useFsEvents":false,"usePolling":false,"interval":300,"binaryInterval":1000,"awaitWriteFinish":{"stabilityThreshold":250}}
[16:12:06] Set $LATEXWORKSHOP_DOCKER_LATEX: ""
[16:12:06] [Server] Creating LaTeX Workshop http and websocket server.
[16:12:06] LaTeX Workshop initialized.
[16:12:06] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"]
[16:12:06] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]}
[16:12:06] Current workspace folders: ["file:///f:/Programming/LatexBugReproduce"]
[16:12:06] Found root file from active editor: f:\Programming\LatexBugReproduce\example.tex
[16:12:06] Root file changed: from undefined to f:\Programming\LatexBugReproduce\example.tex
[16:12:06] Start to find all dependencies.
[16:12:06] Root file languageId: latex
[16:12:06] [Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":58208}
[16:12:06] Reset file watcher.
[16:12:06] Parsing a file and its subfiles: f:\Programming\LatexBugReproduce\example.tex
[16:12:06] Parse fls file.
[16:12:06] Cannot find fls file: f:\Programming\LatexBugReproduce\example.fls
[16:12:06] Added to file watcher: f:\Programming\LatexBugReproduce\example.tex
[16:12:06] Snippet data loaded.
[16:12:06] [Server] valdOrigin is http://127.0.0.1:58208
[16:12:06] Restoring the PDF viewer at the column 1 from the state: {"type":"state","state":{"pdfFileUri":"file:///f:/Programming/LatexBugReproduce/example.pdf","scale":"auto","scrollMode":0,"spreadMode":0,"scrollTop":0,"scrollLeft":0,"trim":0,"synctexEnabled":true,"autoReloadEnabled":true}}
[16:12:06] The internal PDF viewer url: http://127.0.0.1:58208/viewer.html?incode=1&file=pdf..ZmlsZSUzQSUyRiUyRiUyRmYlM0ElMkZQcm9ncmFtbWluZyUyRkxhdGV4QnVnUmVwcm9kdWNlJTJGZXhhbXBsZS5wZGY
[16:12:06] Added to PDF file watcher: file:///f:/Programming/LatexBugReproduce/example.pdf
[16:12:06] Checking for duplicate labels: f:\Programming\LatexBugReproduce\example.tex.
[16:12:07] Handle data type: open
[16:12:07] Preview PDF file: file:///f:/Programming/LatexBugReproduce/example.pdf
[16:12:07] Handle data type: request_params
[16:12:07] Sending the settings of the PDF viewer for initialization: {"type":"params","scale":"auto","trim":0,"scrollMode":0,"spreadMode":0,"hand":false,"invertMode":{"enabled":false,"brightness":1,"grayscale":0.6,"hueRotate":180,"invert":0,"sepia":0},"bgColor":"#ffffff","keybindings":{"synctex":"double-click"}}
[16:12:07] Handle data type: loaded
[16:12:08] Manager.fileWatcher.getWatched: {"f:\\Programming\\LatexBugReproduce":["example.tex"]}
[16:12:08] Manager.filesWatched: ["f:\\Programming\\LatexBugReproduce\\example.tex"]
[16:12:08] BibWatcher.bibWatcher.getWatched: {}
[16:12:08] BibWatcher.bibsWatched: []
[16:12:08] PdfWatcher.pdfWatcher.getWatched: {"f:\\Programming\\LatexBugReproduce":["example.pdf"]}
[16:12:08] PdfWatcher.pdfsWatched: ["f:\\Programming\\LatexBugReproduce\\example.pdf"]
[16:12:08] PdfWatcher.watchedPdfVirtualUris: []
[16:12:08] PdfWatcher.ignoredPdfUris: []
[16:14:16] Current workspace folders: ["file:///f:/Programming/LatexBugReproduce"]
[16:14:16] Found root file from active editor: f:\Programming\LatexBugReproduce\example.tex
[16:14:16] Keep using the same root file: f:\Programming\LatexBugReproduce\example.tex
[16:14:19] Current workspace folders: ["file:///f:/Programming/LatexBugReproduce"]
[16:14:19] Found root file from active editor: f:\Programming\LatexBugReproduce\example.tex
[16:14:19] Keep using the same root file: f:\Programming\LatexBugReproduce\example.tex
Developer Tools Console [Required]
INFO Ignoring configured affinity for 'pub.name' because the extension is unknown or cannot execute.
workbench.desktop.main.js:610 WARN [streetsidesoftware.code-spell-checker]: Cannot register 'cSpell.enableFiletypes'. This property is already registered.
workbench.desktop.main.js:610 INFO Ignoring configured affinity for 'pub.name' because the extension is unknown or cannot execute.
workbench.desktop.main.js:2116 Overwriting grammar scope name to file mapping for scope text.tex.
Old grammar file: file:///c%3A/Users/A/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/TeX.tmLanguage.json.
New grammar file: file:///c%3A/Users/A/.vscode/extensions/james-yu.latex-workshop-8.24.1/syntax/TeX.tmLanguage.json
register @ workbench.desktop.main.js:2116
workbench.desktop.main.js:2116 Overwriting grammar scope name to file mapping for scope text.tex.latex.
Old grammar file: file:///c%3A/Users/A/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json.
New grammar file: file:///c%3A/Users/A/.vscode/extensions/james-yu.latex-workshop-8.24.1/syntax/LaTeX.tmLanguage.json
register @ workbench.desktop.main.js:2116
workbench.desktop.main.js:2116 Overwriting grammar scope name to file mapping for scope text.bibtex.
Old grammar file: file:///c%3A/Users/A/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json.
New grammar file: file:///c%3A/Users/A/.vscode/extensions/james-yu.latex-workshop-8.24.1/syntax/Bibtex.tmLanguage.json
register @ workbench.desktop.main.js:2116
workbench.desktop.main.js:2116 Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined.
Old grammar file: file:///c%3A/Users/A/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.
New grammar file: file:///c%3A/Users/A/.vscode/extensions/james-yu.latex-workshop-8.24.1/syntax/markdown-latex-combined.tmLanguage.json
register @ workbench.desktop.main.js:2116
workbench.desktop.main.js:2116 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex.
Old grammar file: file:///c%3A/Users/A/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.
New grammar file: file:///c%3A/Users/A/.vscode/extensions/james-yu.latex-workshop-8.24.1/syntax/cpp-grammar-bailout.tmLanguage.json
register @ workbench.desktop.main.js:2116
viewer.js:1562 PDF 8805d0013436fe36e4997ce0a7ba5c61 [1.5 xdvipdfmx (20190225) / XeTeX output 2022.04.04:1547] (PDF.js: 2.13.216)
workbench.desktop.main.js:71 [Extension Host] [vscode-icons] v11.10.0 activated!
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/latexworkshop.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/components/connection.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/build/pdf.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/components/synctex.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/components/utils.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/components/pagetrimmer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/out/viewer/components/viewerhistory.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/viewer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:58208/build/pdf.worker.js.map: Fetch through target failed: Target not supported; Fallback: Unknown error
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/e18005f0f1b33c29e81d732535d8c0e47cafb0b5/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout
Desktop [Required]
Please write exact version numbers. Please don’t write latest instead of exact numbers.
- OS: Windows 10
- VS Code version: 1.66.0
- Extension version: 8.24.1
- TeX distribution version: TeX Live 2019
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?
No
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 21 (2 by maintainers)
@tamuratak thanks for finding this was related to eol settings.
I can reproduce the issue on macOS when setting CRLF to End of Line.
Version: 1.67.0-insider (Universal) Commit: f050b17dacedba13962244b13c70084a473d08f7 Date: 2022-04-06T05:15:27.397Z Electron: 17.3.1 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Darwin arm64 20.6.0