summaryrefslogtreecommitdiff
path: root/fonts/cochineal
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/cochineal')
-rw-r--r--fonts/cochineal/README5
-rw-r--r--fonts/cochineal/tex/cochineal.sty8
2 files changed, 8 insertions, 5 deletions
diff --git a/fonts/cochineal/README b/fonts/cochineal/README
index 5e2463dc3b..8e0424c310 100644
--- a/fonts/cochineal/README
+++ b/fonts/cochineal/README
@@ -19,7 +19,10 @@ Files provided "as is", with no warranties.
The support files are provided in encodings OT1, T1, TS1 and LY1 for users of Western scripts, LGR for Greek scripts and T2A and OT2 for Cyrillic scripts.
-Current version: 1.07 (2021-11-13)
+Current version: 1.071 (2021-11-23)
+
+Changes in version 1.071
+Corrected definitions of \oldstylenums and \liningnums in cochineal.sty. (Thanks Noel Merino Hernández.)
Changes in version 1.07
Many of the corrections below were spurred by reports from Bernhard Hermes, to whom I offer thanks.
diff --git a/fonts/cochineal/tex/cochineal.sty b/fonts/cochineal/tex/cochineal.sty
index 15f976ce3c..72c6724587 100644
--- a/fonts/cochineal/tex/cochineal.sty
+++ b/fonts/cochineal/tex/cochineal.sty
@@ -1,8 +1,8 @@
%% cochineal.sty
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.07}
-\def\filedate{2021/11/13}
+\def\fileversion{1.071}
+\def\filedate{2021/11/23}
\ProvidesPackage{cochineal}
[\filedate\space v\fileversion.]
@@ -502,9 +502,9 @@
\def\Cochineal@figurestyle{OsF}
\fi
\DeclareTextFontCommand{%
- \oldstylenums}{Cochineal-\Cochineal@figurealign OsF}
+ \oldstylenums}{\fontfamily{Cochineal-\Cochineal@figurealign OsF}\selectfont}
\DeclareTextFontCommand{%
- \liningnums}{Cochineal-\Cochineal@figurealign LF}
+ \liningnums}{\fontfamily{Cochineal-\Cochineal@figurealign LF}\selectfont}
\DeclareTextFontCommand{%
\tabularnums}{\fontfamily{Cochineal-T\Cochineal@figurestyle}\selectfont}
\DeclareTextFontCommand{%