test if 'lmodern' exists
This commit is contained in:
parent
e8b63987ac
commit
fe0f125ad6
@ -350,7 +350,9 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
||||
if lang in LANG_SUPPORT:
|
||||
self.write(0, '\\gtrset{language=%s}\n' % lang)
|
||||
if lang in LATIN:
|
||||
self.write(0, '\\usepackage{lmodern}\n')
|
||||
self.write(0, '\\IfFileExists{lmodern.sty}{\n')
|
||||
self.write(0, ' \\usepackage{lmodern}\n')
|
||||
self.write(0, '}{}\n')
|
||||
self.write(0, '\\begin{document}\n')
|
||||
|
||||
if self.nodecolor == 'preferences':
|
||||
|
Loading…
Reference in New Issue
Block a user