Closed GiovanniKarra closed 4 months ago
Please share your pdf and screenshots.
Comparison:
file: presentation.pdf
I meet the same question both in VSCode viewer and web browser pdf viewer. Only in external pdf viewer (sumtrapdf) can display colors.
Don't set latex-workshop.view.pdf.color.dark.pageColorsBackground
. This is a PDF.js behavior.
Pre-checks*
Environment*
The Issue*
Reproduction Steps
Expected Behavior
Logs
LaTeX Workshop Output*
INFO Started local extension host with pid 14365. 12log.ts:429 WARN [cmake-tools]: Couldn't find message for key cmake-tools.configuration.cmake.options.advanced.statusBarLength.description. log.ts:439 ERR Cannot read properties of undefined (reading 'accessToken'): TypeError: Cannot read properties of undefined (reading 'accessToken') at p.z (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1686:21851) at p.C (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1686:22484) at d.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1686:21653) workspace.contribution.ts:330 AI generated workspace trust dialog contents not available. (anonymous) @ workspace.contribution.ts:330 console.ts:137 [Extension Host] [vscode-icons] v12.7.0 activated! 12log.ts:429 WARN [cmake-tools]: Couldn't find message for key cmake-tools.configuration.cmake.options.advanced.statusBarLength.description. log.ts:429 WARN [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered. log.ts:439 ERR Ignoring latex-workshop.synctex.indicator.enabled as latex-workshop.synctex.indicator is "rectangle" log.ts:419 INFO [perf] Render performance baseline is 208ms 6An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/TeX.tmLanguage.json. New grammar file: file:///home/giogio/.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/TeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.latex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json. New grammar file: file:///home/giogio/.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/LaTeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.bibtex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json. New grammar file: file:///home/giogio/.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/Bibtex.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json. New grammar file: file:///home/giogio/.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/markdown-latex-combined.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex. Old grammar file: file:///usr/share/code/resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json. New grammar file: file:///home/giogio/.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/cpp-grammar-bailout.tmLanguage.json register @ TMScopeRegistry.ts:46 index.html?id=9f61853a-19c8-446f-9758-6efe2a8f0a36&origin=98810e35-49cc-491e-ac9c-97977d4e1de8&swVersion=4&extensionId=James-Yu.latex-workshop&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=webviewView:278 No service worker controller found. Waiting for controllerchange.