![]() The background color of the viewer in dark mode The background color of the viewer in light mode It can also be reset by calling latex-workshop.resetHostName ( Reset server listening hostname to 127.0.0.1). This change will not remain across VS Code reloads. As that may create a severe security breach, this cannot be changed by a permanent setting but only by calling the function latex-workshop.changeHostName( Change server listening hostname). In some very specific use cases, one might require to change the host to listen on. The internal viewer listens on localhost. The shortcuts of VS Code on the internal viewer Which port internal viewer server communicates through How to trigger synctex with the internal viewer The default spread mode of the PDF viewerĪdditional settings for the internal viewer: Setting key The default scroll mode of the PDF viewer If you experience some focus issues after opening a viewer tab, consider increasing .openDelay.īelow are the detailed explanations for the different possible settings Setting keyĭefine the editor group for the tab viewer ![]() Although the PDF viewer should refresh automatically when needed, you can request it explicitly by calling the command latex-workshop.refresh-viewer. Of course, this is only relevant when using the internal PDF viewer for viewing the PDF produced by the building toolchain, ie when is set to tab. ![]() You can customize the look and feel of the internal PDF viewer. The keybindings support by PDF.js are documented here. The PDF viewer provided with the extension internally uses PDF.js. Reload vscode to make any change in this configuration effective. delayĭelay before reloading a PDF file after last change, in milliseconds. Note that this is a different mechanism as the one used for PDF files related to LaTeX projects, which get reloaded after every successful building. Any PDF file opened this is way is monitored by a file watcher to be automatically reloaded when it changes on disk. To open such a PDF file, it is sufficient to open from the Explorer. The extension also allows to view any PDF file possibly not related to a LaTeX project. If you want to preview the PDF file in a separated window, you can do that with the browser selecting View in web browser in the side bar (command latex-workshop.viewInBrowser). Note that each call to this command opens a new viewer. The command associated to these keybindings is latex-workshop.view. Viewing the PDF file generated from a LaTeX projectĪ document can be previewed a number of ways, namely the icon that appears in the top left of an open TeX document (see gif), or by the shortcut ctrl+ alt+ v (see also the FAQ for an alternative shortcut).
0 Comments
Leave a Reply. |