## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

#### View:

 Message: [ First | Previous | Next | Last ] By Topic: [ First | Previous | Next | Last ] By Author: [ First | Previous | Next | Last ] Font: Proportional Font

Subject:

Re: \usepackage problem with LaTeX 3

From:

Date:

Tue, 1 Aug 2017 19:10:54 +0200

Content-Type:

Text/Plain

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. Yep. > [...] the mechanism for this is fairly simple: the loader looks in > > \csname ver@\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... Werner ```