LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

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

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

Print Reply
Subject:
From:
Werner LEMBERG <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
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@<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...


    Werner

ATOM RSS1 RSS2