mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Remove problematic workaround for "exotic" problem
Greek and Times under MikTeX with auto-install may fail due to a half-installed font package. However, the workaround in LyX stands in the way of alternative approaches (see bug #6469).
This commit is contained in:
parent
268bd0075e
commit
0bbc80fa83
@ -134,3 +134,7 @@
|
||||
as errors. This leads to error reports for documents that compiled without
|
||||
error before. However, the error was always present but went undetected!
|
||||
|
||||
* Documents using Times fonts and containing Greek characters may now fail
|
||||
to compile under pdflatex for users of MikTeX due to an automatically
|
||||
half-installed "grtimes" package. A workaround in LyX was removed as it
|
||||
stands in the way of alternative approaches (see bug #6469).
|
||||
|
@ -1171,17 +1171,7 @@ docstring const LaTeXFeatures::getMacros() const
|
||||
// ensure LGR font encoding is defined also if fontenc is not loaded by LyX
|
||||
if (params_.font_encoding() == "default")
|
||||
macros << textgreek_LGR_def;
|
||||
// Avoid a LaTeX error if times fonts are used and the grtimes
|
||||
// package is installed but actual fonts are not (bug 6469).
|
||||
if (params_.fonts_roman == "times")
|
||||
macros << subst(textgreek_def,
|
||||
from_ascii("\\greektext #1"),
|
||||
from_ascii("%\n \\IfFileExists"
|
||||
"{grtm10.tfm}{}{\\fontfamily"
|
||||
"{cmr}}\\greektext #1"))
|
||||
<< '\n';
|
||||
else
|
||||
macros << textgreek_def << '\n';
|
||||
macros << textgreek_def << '\n';
|
||||
}
|
||||
|
||||
if (!usePolyglossia() && mustProvide("textcyr"))
|
||||
|
Loading…
Reference in New Issue
Block a user