Am 30.10.2015 um 09:08 schrieb Guenter Milde:
LyX manuals currently use user-preamble code to set the font depending on
the export route and availability:
* Latin Modern (CM-extension) with PDF(luatex), PDF(pdflatex), if lmodern.sty
is installed
This is the only export the manuals are designed for. Latin Modern fonts
are to my knowledge in every basic TeX distribution and can therefore be
assumed as available.
DVI and PS as output format does not support all the features described
in the 3 main manual files: Math, EmbeddedObjects and UserGuide
Moreover the design is to get PDF files with full functionality:
clickable internal links, bookmarks, clickable URL and links to included
files etc. The PDFs are also designed to print them as booklet if you
like. (For this feature I therefore even use binding correction.)
(Btw. DVI is evil because at least with MiKTeX the DVI output from our
docs make the built-in DVI viewer file crashing. The reason seems to be
rotated text in the documents.)
The alternative LatinModern CM-lookalike is not guaranteed to be installed
on each system.
On which system there is no Latin Modern?
To prevent an additional dependency for compiling the
manuals, the following preamble-selection code was chosen:
\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex or lualatex is used
\@ifpackageloaded{fontspec}{}{% non-tex-fonts default to LModern
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
}
\fi % end if pdflatex is used
Looks good.
* Latin Modern is the community-recommended (but not automatically used)
"international" substitution for CM.
+ It comes with optical sizes and mixes well with the default math fonts.
- It is too light for good on-screen reading.
I don't agree. Since years I use Latin Modern for all my documents
including my Ph.D. thesis. My colleagues at the University liked the
font that even Word users started to use Latin Modern as font.
Btw. Since the manuals are designed for on-screen reading I provides
them as PDF:
http://wiki.lyx.org/LyX/DocumentationDevelopment#download
regards Uwe