We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d1bf5 commit 226b574Copy full SHA for 226b574
src/texstudio.cpp
@@ -8968,7 +8968,7 @@ QStringList Texstudio::makePreviewHeader(const LatexDocument *rootDoc)
8968
}
8969
8970
if ((buildManager.dvi2pngMode == BuildManager::DPM_EMBEDDED_PDF || buildManager.dvi2pngMode == BuildManager::DPM_LUA_EMBEDDED_PDF || buildManager.dvi2pngMode == BuildManager::DPM_XE_EMBEDDED_PDF)
8971
- && configManager.previewMode != ConfigManager::PM_EMBEDDED) {
+ && configManager.previewMode != ConfigManager::PM_EMBEDDED && configManager.previewMode != ConfigManager::PM_PANEL) {
8972
header << "\\usepackage[active,tightpage]{preview}"
8973
<< "\\usepackage{varwidth}"
8974
<< "\\AtBeginDocument{\\begin{preview}\\begin{varwidth}{\\linewidth}}"
0 commit comments