LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Date: Tue, 1 Aug 2017 19:10:54 +0200
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Werner LEMBERG <[log in to unmask]>
Message-ID: <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Transfer-Encoding: base64
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: 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...