From 11ec1af4fc268a507517c40e37421667ff618ba1 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 1 Nov 2020 13:27:43 -0500 Subject: [PATCH] Powerdot examples: work around undefined ref The hook that defines the "lastslide" label is interfered with for some reason on an updated TeX Live 2020. We thus avoid referencing the label and instead show only the current slide number on each slide. We leave instructions in the preamble for how to get back the previous behavior if desired. --- lib/examples/Presentations/Powerdot.lyx | 11 ++++++++++- lib/examples/fr/Presentations/Powerdot.lyx | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/lib/examples/Presentations/Powerdot.lyx b/lib/examples/Presentations/Powerdot.lyx index 88aec0c0c3..f2ba4203a7 100644 --- a/lib/examples/Presentations/Powerdot.lyx +++ b/lib/examples/Presentations/Powerdot.lyx @@ -8,7 +8,16 @@ \begin_preamble \pdsetup{% lf=left footer, - rf=right footer + rf=right footer, + % showing total slides is default, but the reference is + % broken on current TL20. For now, we just show the current= + % slide (and not the total slide count) on each slide. + % Alternatively, compilation succeeds with the default + % if we remove the "method=file" slide (or set it to + % "method=direct"). + % default: + % theslide=\arabic{slide}~/~\autopageref{lastslide} + theslide=\arabic{slide} } \end_preamble \options style=fyma,display=slidesnotes diff --git a/lib/examples/fr/Presentations/Powerdot.lyx b/lib/examples/fr/Presentations/Powerdot.lyx index 358560e668..ab45ebf6e2 100644 --- a/lib/examples/fr/Presentations/Powerdot.lyx +++ b/lib/examples/fr/Presentations/Powerdot.lyx @@ -8,7 +8,16 @@ \begin_preamble \pdsetup{% lf=pied gauche, - rf=pied droit + rf=pied droit, + % showing total slides is default, but the reference is + % broken on current TL20. For now, we just show the current= + % slide (and not the total slide count) on each slide. + % Alternatively, compilation succeeds with the default + % if we remove the "method=file" slide (or set it to + % "method=direct"). + % default: + % theslide=\arabic{slide}~/~\autopageref{lastslide} + theslide=\arabic{slide} } % This is needed to make the example compile -- 2.39.5