mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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}
|
||||
\\usepackage[%s,tightpage]{preview}
|
||||
\\usepackage{ifthen}
|
||||
\\ifthenelse{\equal{\f@family}{cmr}}{
|
||||
\\IfFileExists{lmodern.sty}{\\usepackage{lmodern}}{\\usepackage{ae,aecompl}}}{}
|
||||
\\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\\endpreview{\\endgroup}
|
||||
\\makeatother
|
||||
|
Loading…
Reference in New Issue
Block a user