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
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Tue, 1 Aug 2017 07:47:19 -0400
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=utf-8
From: Bruno Le Floch <[log in to unmask]>
Parts/Attachments: text/plain (41 lines)
On 07/31/2017 10:45 AM, Will Robertson wrote:
> Hi Werner,
> The first thing you can do is to ask the fontspec person to update the package :)
> But of course you have a broader point:
>> On 31 Jul 2017, at 11:53 pm, Werner LEMBERG <[log in to unmask]> wrote:
>> To satisfy the LPPL I thought the right solution is to copy
>> `fontspec.sty' to `fontspec-patched.sty', then applying the following
>> change:
> In fact, requiring a change to the filename is no longer written explicitly into the LPPL.
> (Long story, don’t ever ask Frank how many emails it involved.)
> You would be well within your rights to add something like the following to the top of your patched version of fontspec.sty:
>     \typeout{This is Werner Lemberg’s altered copy of fontspec vX.X.}
> The most important thing is that the altered code is clearly differentiated to the user as being altered from its original.
> * * *
> A possible alternative to your problem would be to trick LaTeX into thinking that you had already loaded fontspec.sty.
> This would be done with something like:
>     \expandafter\def\csname [log in to unmask]\endcsname{}
> (Look into memoir.cls’s \EmulatedPackage code for more details.)
> * * *
> Hope this helps,
> Will

It's slightly better to change the \ProvidesPackage line so that the
change shows up in the \listfiles.