Comments (4)
Well as latexbug tells you:
! Package latexbug Error: Third-party file(s)
(latexbug)
(latexbug) This test file uses third-party file(s)
(latexbug)
(latexbug) ==============
(latexbug) txfonts.sty
(latexbug) clara.sty
(latexbug) t1clara-tlf.fd
(latexbug) ==============
(latexbug)
(latexbug) So you should contact the authors
(latexbug) of these files, not the LaTeX Team!
(latexbug) (Or remove the packages that load
(latexbug) them, if they are not necessary to
(latexbug) exhibit the problem).
The bug is in the clara package which uses non-standard font series names (regular
and bold
instead of m
and b
or bx
) and redefines \mdseries@rm
and \bfseries@rm
.
from latex2e.
Thanks, to explain: it was not clear to me upfront that font packages would modify internals. I did check the fd file globally and noticed usage of regular
there, and I figured the LaTeX font system sort of automatically had switched from m
to regular
(as one of possible aliases to try?) and was then after the fact complaining as I reported, from having toggled perhaps to some other "internal state". Yes I was perhaps too quick to be happy to have found a likely culprit. As I thought these fd files are produced semi-automatically by the authors of pdflatex font support files working from an OpenType starting point, confirmed from seeing
%% Generated by autoinst on 2019/12/24
%%
at top of T1Clara-TLF.df
I did not imagine a problem existed inside of clara.sty
as it would then by force be a probably widespread one.
from latex2e.
I doubt that Clara is a widespread font, but be it as it may, autoinst got through a lot of revisions and 2019 is rather old in that respect. In any case the way the font is set up is incorrect and if you switch fonts you end up with asking for others fonts using a series "regular" which they don't understand, hence the substitution kicks in and you get all the warnings. In other words the font (and the support package) by itself works but if you then switch to a different font (e.g. txss) then that one doesn't know what to make of the non-standard name "regular" or "bold". So it is not noisy, it shows that something is wrong and while the substituation txss/regular/n ends up with the right font txss/m/n by chance, txss/regular/it ends up withe the wrong font after substitution.
As we do not control or maintain external font support packages, I'm closing this one here.
from latex2e.
I do not understand the reason why clara.sty
redefines \bfseries@rm
and \mdseries@rm
as its T1Clara-TLF.fd
does all the \DeclareFontShape
aliasing {b,bx}-->bold
and m-->regular
where bold
and regular
are used in the primary \DeclareFontShape
's. Anyway for people seeing this
\usepackage{clara}
\makeatletter
\def\bfseries@rm{bx}
\def\mdseries@rm{m}
\makeatother
is work-around for this non-LaTeX2e problem.
from latex2e.
Related Issues (20)
- `\AddToHook` broken in old lthooks release for undeclared hooks
- \verbatiminput* from the verbatim package vs TABs HOT 2
- Bad filehook-bug-140.lvt HOT 1
- Package textcomp Info: Symbol ... not provided by HOT 9
- Conditional statements syntax HOT 5
- `\dots` not working correctly with `\cong` HOT 4
- minor doc tweaks to ltfilehook HOT 2
- source2e documentation footers/ \ProvidesFile of base .dtx HOT 3
- Possible source2e improvements HOT 3
- Automatically adjust horizontal boxes in table of contents HOT 4
- Image upscaled for no apparent reason HOT 7
- Avoid option conflicts between classs and packages HOT 4
- Test more packages before publishing a new release HOT 14
- Reformatting examples in clsguide.tex HOT 5
- fpeval expands past its argument HOT 2
- New command: \__kernel_set_arg_to_keyvalue:Nnn HOT 4
- amsmath: `{align}` inherits line-depth of above `{gather}`, results in incorrect vertical placement tags HOT 3
- `\disable@package@load` ready to be used by third-party classes? HOT 1
- \if@reversemargin wrongly documented in source code HOT 1
- expansion of key-value package options differ on the first and second call HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex2e.