Am 25.11.2015 um 09:32 schrieb Guenter Milde:
The test for PDF output in the preamble...
makes no sense in a design for PDF output only. It can safely go.
Fine with me. I remember that I was once forced to add this - years a go
because I think Latin Modern was not part of teTeX which was that time
still in use.
On which system there is no Latin Modern?
While they are in every TeX distribution, they are not necessarily in every
TeX *installation*.
Do you know a LyX user wh does not use a TeX distribution? The very few
people playing with TeX without a distribution are not using LyX - they
want to do things the "puristic way" and use a TeX editor hacking in TeX
code. We can safely concentrate on the distributions. Since Latin Modern
is part of all, we can assume it to be there.
If you want to keep Latin Modern for the manuals (at least for the
"advanced" ones), we have the alternatives:
a) remove the preamble code loading "lmodern.sty" and
select Latin Modern in the document settings
+1 clean, simple, good practice
-1 needs agreement from other developers, as manuals may no longer
compile on a minimal installation.
I vote for this and I would even do this for LyX 2.2.0 if nobody has a
good argument against this.
b) use a simplified and "Unicode-clean" preamble code:
Fine with me too, but if we can save preamble code, we should do this.
-\usepackage{ifpdf} % part of the hyperref bun
Latin Modern is now established as the "community recommendation" for
several years. It is also the default non-TeX font (in its OpenType
incarnation). Requiring it should be no problem (at least with "advanced"
manuals like Math or Additional that have many requirements anyway).
I fully agree.
If we want to ensure that "simple" manuals like Intro or Tutorial compile
on *any* installation, we could use b) for manuals that do not have
requirements outside the LaTeX ‘required’ set of packages.
Since years also the Intro and Tutorial is using Latin Modern. Only
splash does not use it.
thanks and regards
Uwe