From: Scott Kostyshak Date: Fri, 30 Oct 2020 03:09:59 +0000 (-0400) Subject: Address failures of Seminar examples on new TL20 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1aa4987b2fd8fd31cc8166d68b8eac3f0c8d02b3;p=features.git Address failures of Seminar examples on new TL20 Compilation of our Seminar example file fails on updated TL20. The maintainer of "Seminar" is not planning to fix the core issue and states the following (in a private email with permission to quote): it is a problem with the new hook management of the current latex.ltx seminar is a quite old package and there is no reason to use it with a new LaTeX format. It won't be fixed, so the usual way is to use the package latexrealease to get the old hook management. This commit adds a note to the example files explaining the workaround of exporting to a .tex file and prepending the following line: \RequirePackage[2020-02-02]{latexrelease} We now invert the relevant tests. --- diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index ed107c6881..af1b78a95b 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -336,6 +336,11 @@ export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_pdf5_texF # Reported here and there is hope for a fix soon. # https://github.com/tweh/menukeys/issues/59 export/export/latex/unicodesymbols/07[48]-.* +# These fail for perhaps a similar reason, but contrary to the unicodesymbols +# case the maintainer of the seminar package is not planning to fix the core +# issue since the package is old. Putting the following as the first line of +# the LaTeX file is a workaround: \RequirePackage[2020-02-02]{latexrelease} +export/examples/(fr/|)Presentations/Seminar.*(dvi|pdf|lyx22|lyx23).* # ================================================ diff --git a/lib/examples/Presentations/Seminar.lyx b/lib/examples/Presentations/Seminar.lyx index e83c680919..6f28d16e96 100644 --- a/lib/examples/Presentations/Seminar.lyx +++ b/lib/examples/Presentations/Seminar.lyx @@ -1,4 +1,4 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 544 \begin_document \begin_header @@ -92,6 +92,32 @@ \begin_body +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Compilation of this example fails on updated TeX Live 2020. + The smaintainer of the +\begin_inset Quotes eld +\end_inset + +seminar +\begin_inset Quotes erd +\end_inset + + package is not planning to fix the core issue since the package is old. + A workaround is to export to .tex and prepend as the first line the following: + +\backslash +RequirePackage[2020-02-02]{latexrelease} +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard \begin_inset Flex LandscapeSlide status open diff --git a/lib/examples/fr/Presentations/Seminar.lyx b/lib/examples/fr/Presentations/Seminar.lyx index 3ab553ce6e..233a322a39 100644 --- a/lib/examples/fr/Presentations/Seminar.lyx +++ b/lib/examples/fr/Presentations/Seminar.lyx @@ -1,4 +1,4 @@ -#LyX 2.4 created this file. For more info see https://www.lyx.org/ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 544 \begin_document \begin_header @@ -102,6 +102,27 @@ \begin_body +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\lang english +Compilation of this example fails on updated TeX Live 2020. + The smaintainer of the “seminar” package is not planning to fix the core + issue since the package is old. + A workaround is to export to .tex and prepend as the first line the following: + +\backslash +RequirePackage[2020-02-02]{latexrelease} +\end_layout + +\end_inset + + +\end_layout + \begin_layout Standard \begin_inset Flex LandscapeSlide status open