Footnote size is larger on master (\normalsize is prepended)

Scott Kostyshak skostysh at lyx.org
Thu Dec 9 04:14:47 UTC 2021


On Wed, Dec 08, 2021 at 07:17:03PM +0100, Jean-Marc Lasgouttes wrote:
> Le 03/12/2021 à 17:00, Scott Kostyshak a écrit :
> > On Fri, Dec 03, 2021 at 12:46:13PM +0100, Jean-Marc Lasgouttes wrote:
> > > Le 31/10/2021 � 18:11, Scott Kostyshak a �crit�:
> > > > See the attached file. On master, \normalsize is included inside the footnote, which is different from 2.3.x.
> > > 
> > > Here is my take on how to properly fix this issue. I do not know however
> > > what it does in other situations. Scott, do you have magic scripts and tests
> > > to see the effect of this?
> > 
> > No magic scripts. All I do is manually compile the 2.3.0 user documents
> > with 2.3.0 (or 2.3.x) and with master and then run 'diffpdf' on the
> > results. I'm not sure it makes sense to test that the LaTeX is
> > equivalent since often there are differences in LyX's LaTeX output that
> > are expected that do not cause a difference in the PDF output. We could
> > imagine some automated tests with e.g. 'comparepdf' (a commandline tool)
> > that I think could check whether the PDF output are the same. We'd have
> > to disable the date showing up.
> 
> OK, I have done the main manuals, and found in UserGuide a place where a
> greyedout note was inserted in bold context. This shows that a \normalfont
> was missing in the lyxgreyedout definition, and the updated patch adds that.

I did some brief tests on other documents and it works fine from what I
can see. Small typo: "an non" -> "a non".

> What else could I try to be convinced that it works? Do we have font torture
> tests?

What would font torture tests do? Do you mean different font families,
or documents with things like \textbf{\textit{...{blah}}}?

We do have documents with lots of different languages (and thus
scripts). If this is what you're looking for, look at the files
autotests/export/latex/languages/supported-languages*.lyx

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211208/ef043225/attachment.asc>


More information about the lyx-devel mailing list