LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced 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
Will Robertson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Tue, 1 Aug 2017 00:15:07 +0930
text/plain (33 lines)
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,