scientific-thesis-template icon indicating copy to clipboard operation
scientific-thesis-template copied to clipboard

Package fvextra Warning: csquotes should be loaded after fvextra

Open koppor opened this issue 5 years ago • 1 comments

I got following warning - should be investigated

koppor avatar Jul 29 '18 06:07 koppor

fvextra is required by minted. We won't be able to fix this warning (and the related lineno warning) without getting minted into config.tex

the documentation for fvextra explicitly mentions that lineno gives a warning when csquotes is loaded before it. The full warning text from the .sty is:

csquotes should be loaded after fvextra, to avoid a warning from the lineno package

The warning from lineno is related to a change to the \@parboxrestore command. To be exact: csquotes uses \appto from etoolbox to append it's own parboxrestore (\blx@parboxrestore} after the default action. lineno checks for an unmodified parboxrestore and gives a warning.

According to the etoolbox documentation, \appto is robust. I'm not sure we need to do anything here.

Vogel612 avatar Aug 04 '18 13:08 Vogel612