LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Werner LEMBERG <[log in to unmask]>
Tue, 1 Aug 2017 19:10:54 +0200
Text/Plain (1 lines)

> The way packages guard against this problem is simply by making sure
> that \usepackage or \RequirePackage will execute the external code
> only once.


> [...] the mechanism for this is fairly simple: the loader looks in
>    \csname ver@<filename>\endcsname
> and if that is \relax the it loads the file.

Thanks for confirmation.

> Maybe we should have a declaration
> \ThisCodeReplacesPackage{foo}{date}
> for the above but we don't (yet)

memoir.cls uses `\EmulatedPackage', as Will pointed out – maybe it
makes sense to stick with this name?

> I don't really see the need to clone fontspec and fontspec-xetex
> especially given that fontspec does so little and you aren't really
> changing it.

Well, it's the solution with the least code change...