mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
PDFOptions.cpp: fix two bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20424 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4734433a3c
commit
020af57832
@ -99,13 +99,13 @@ void PDFOptions::writeLaTeX(odocstringstream &os) const
|
||||
opt += "bookmarksopen=" + convert<string>(bookmarksopen) + ',';
|
||||
|
||||
if (bookmarksopen && !bookmarksopenlevel.empty())
|
||||
opt += "bookmarksopennumbered=" + bookmarksopenlevel + ',';
|
||||
opt += "bookmarksopenlevel=" + bookmarksopenlevel + ',';
|
||||
}
|
||||
|
||||
opt += "breaklinks=" + convert<string>(breaklinks) + ',';
|
||||
|
||||
opt += "pdfborder={0 0 " ;
|
||||
opt += (pdfborder ?'1':'0');
|
||||
opt += (pdfborder ?'0':'1');
|
||||
opt += "},\n";
|
||||
|
||||
opt += "colorlinks=" + convert<string>(colorlinks) + ',';
|
||||
|
Loading…
Reference in New Issue
Block a user