Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\DeclareErrorFont should not be set in font encoding files #20

Open
FrankMittelbach opened this issue Jul 10, 2019 · 9 comments
Open

\DeclareErrorFont should not be set in font encoding files #20

FrankMittelbach opened this issue Jul 10, 2019 · 9 comments

Comments

@FrankMittelbach
Copy link
Member

This is incorrect. That declaration is system wide and not meant to be used in such places for individual encodings. If one want to define font substitutions use \DeclareFontsubstitution for a particular encoding instead (which can be placed into such files)

There is no point in changing the ErrorFont even if the document is using uncommon encodings. That declaration is only used if something is very much wrong with the whole setup and getting, say, an Thai font when typesetting in an Arabic encoding for which a font is missing, doesn't help.

Problem files on TL

generic/babel-thai/lthenc.def:26:\DeclareErrorFont{LTH}{norasi}{m}{n}{10}
generic/babel-hebrew/lheenc.def:60:\DeclareErrorFont{LHE}{cmr}{m}{n}{10}
generic/babel-hebrew/he8enc.def:60:\DeclareErrorFont{HE8}{cmr}{m}{n}{10} 

Please pass on to the right maintainers if necessary, thanks.

@FrankMittelbach
Copy link
Member Author

One more with babel in its name:

latex/ibycus-babel/lgienc.def:27:\DeclareErrorFont{LGI}{fib}{m}{n}{10} 

@ivankokan
Copy link
Contributor

@FrankMittelbach
Copy link
Member Author

As I said: \DeclareErrorFont is a system wide NFSS declaration that shouldn't appear in randomly loaded .def files (or .fd files or anywhere.

@ivankokan
Copy link
Contributor

There are still no changes within the l7xenc.def, although I successfully reached the maintainer in September 2019.

Nevertheless, it is not critical - but I take the opportunity to ask the experts about the policy whether the interventions in CTAN packages (and source code) can be done exclusively by the listed Authors/Maintainers (maybe not the right place to ask).

@Udi-Fogiel
Copy link
Contributor

I have moved the files generic/babel-hebrew/lheenc.def, generic/babel-hebrew/he8enc.def to latex/hebrew-fonts and removed the problematic lines.

@ivankokan
Copy link
Contributor

ivankokan commented Nov 9, 2023

@FrankMittelbach

There are still no changes within the l7xenc.def, although I successfully reached the maintainer in September 2019.

It seems to be resolved https://www.ctan.org/ctan-ann/id/[email protected] (in March 2023).

Nevertheless, it is not critical - but I take the opportunity to ask the experts about the policy whether the interventions in CTAN packages (and source code) can be done exclusively by the listed Authors/Maintainers (maybe not the right place to ask).

?

@jbezos
Copy link
Contributor

jbezos commented Nov 9, 2023

👍 Perfect. Thanks.

@mrpiggi
Copy link

mrpiggi commented Nov 9, 2023

Nevertheless, it is not critical - but I take the opportunity to ask the experts about the policy whether the interventions in CTAN packages (and source code) can be done exclusively by the listed Authors/Maintainers (maybe not the right place to ask).

That's correct. But you should contact the CTAN team as they maybe do have additional contact information from the authors.

@FrankMittelbach
Copy link
Member Author

Nevertheless, it is not critical - but I take the opportunity to ask the experts about the policy whether the interventions in CTAN packages (and source code) can be done exclusively by the listed Authors/Maintainers (maybe not the right place to ask).

?

If a package is licensed under LPPL there is a maintainers clause (unless explicitly disabled) that describes how maintenance can move on under certain situations. But invoking that is a bit of a pain (deliberately). For other licenses CTAN does not normally accept updates from the outside which is understandable but somewhat unfortunate because it results in dead and stale packages that can only be revitalized by providing a new package under a different name.

As suggested by @mrpiggi you might try your luck talking to the CTAN folks directly to see what they suggest in case on an obvious bug like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants