mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Amend b135c965
A macro with @ in its name must be used after \makeatletter
This commit is contained in:
parent
b135c965f6
commit
c5c03f9be3
@ -253,9 +253,9 @@ def legacy_latex_file(latex_file, fg_color, bg_color):
|
|||||||
\\pagecolor{lyxbg}
|
\\pagecolor{lyxbg}
|
||||||
\\usepackage[%s,tightpage]{preview}
|
\\usepackage[%s,tightpage]{preview}
|
||||||
\\usepackage{ifthen}
|
\\usepackage{ifthen}
|
||||||
\\ifthenelse{\equal{\f@family}{cmr}}{
|
|
||||||
\\IfFileExists{lmodern.sty}{\\usepackage{lmodern}}{\\usepackage{ae,aecompl}}}{}
|
|
||||||
\\makeatletter
|
\\makeatletter
|
||||||
|
\\ifthenelse{\\equal{\\f@family}{cmr}}{
|
||||||
|
\\IfFileExists{lmodern.sty}{\\usepackage{lmodern}}{\\usepackage{ae,aecompl}}}{}
|
||||||
\\g@addto@macro\\preview{\\begingroup\\color{lyxbg}\\special{ps::clippath fill}\\color{lyxfg}}
|
\\g@addto@macro\\preview{\\begingroup\\color{lyxbg}\\special{ps::clippath fill}\\color{lyxfg}}
|
||||||
\\g@addto@macro\\endpreview{\\endgroup}
|
\\g@addto@macro\\endpreview{\\endgroup}
|
||||||
\\makeatother
|
\\makeatother
|
||||||
|
Loading…
Reference in New Issue
Block a user