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 b5ab289 commit ce06785Copy full SHA for ce06785
src/texstudio.cpp
@@ -8931,7 +8931,7 @@ QStringList Texstudio::makePreviewHeader(const LatexDocument *rootDoc)
8931
}
8932
8933
if ((buildManager.dvi2pngMode == BuildManager::DPM_EMBEDDED_PDF || buildManager.dvi2pngMode == BuildManager::DPM_LUA_EMBEDDED_PDF)
8934
- && configManager.previewMode != ConfigManager::PM_EMBEDDED) {
+ && configManager.previewMode != ConfigManager::PM_EMBEDDED && configManager.previewMode != ConfigManager::PM_PANEL) {
8935
header << "\\usepackage[active,tightpage]{preview}"
8936
<< "\\usepackage{varwidth}"
8937
<< "\\AtBeginDocument{\\begin{preview}\\begin{varwidth}{\\linewidth}}"
0 commit comments