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)
- `\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
- \IfInstanceExistTF unavailable in 2024-06-01 pre-release 1 HOT 9
- Adding a .dir-locals.el to the project root directory HOT 5
- \afterpage from afterpage package broken with recent distribution HOT 3
- Changes in horizontal spacing in some equations HOT 3
- CamelCase or Pascal case? HOT 3
- array package exhibits a surprising spacing difference when math cells end in explicit spaces
- `flushright` isn't right in rtl paragraphs HOT 13
- Loading `textcomp` turns `LaTeX Info` messages into `Package textcomp Info` messages HOT 22
- Rollback declarations should be improved in several files HOT 2
- \textcircled and TS1 missing circle. HOT 2
- \resizebox* mentioned but unexplained in grfguide? HOT 6
- Error in multicolumn environment with footnotes per page HOT 1
- Incorrect numbering and positioning of footnotes with multicols environment. HOT 5
- \overrightarrow and \overleftarrow paragraph start + documentation HOT 1
- trivial \Umathcar typo in amsmath.dtx
- Multicol with Right-to-Left Languages Misaligned on Last Page HOT 2
- Improvement to package rotating part of the graphics suit
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.