summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-13 20:34:37 +0000
committerKarl Berry <karl@freefriends.org>2023-09-13 20:34:37 +0000
commitea73677774e333cbf72d7db857d88f1c03b81d4b (patch)
treedb2ab2c4a29d1bfe5b3805fcc6232cd67af3d632
parentd839e9f5f69f218e332e43aa6d1b4d2b7c26e992 (diff)
inconsolata-nerd-font (13sep23)
git-svn-id: svn://tug.org/texlive/trunk@68263 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/inconsolata-nerd-font/CHANGELOG.md15
-rw-r--r--Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdfbin71967 -> 1372646 bytes
-rw-r--r--Master/texmf-dist/source/fonts/inconsolata-nerd-font/inconsolata-nerd-font.dtx75
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata-nerd-font/inconsolata-nerd-font.sty3
4 files changed, 77 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/CHANGELOG.md b/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/CHANGELOG.md
index 8e0c017d725..c63733bdda2 100644
--- a/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/CHANGELOG.md
+++ b/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/CHANGELOG.md
@@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
+## [v0.3] — 2023-09-13
+
+### Added
+- Track the changes in the documentation, too.
+- Provide the glyph tables of the different font variants in the documentation.
+- Provide the documentation PDF as a build artefact on GitHub.
+
+### Fixed
+- The automated tagging of a release now works with `l3build`.
+
## [v0.2] — 2023–09–12
### Added
@@ -20,5 +30,6 @@ All notable changes to this project will be documented in this file.
## v0.1 — 2023–09–09
- First public release
-[Unreleased]: https://github.com/stephanlukasczyk/inconsolata-nerd-font/compare/v0.2...HEAD
-[v0.2]: https://github.com/stephanlukasczyk/inconsolata-nerd-font/compare/v0.2...v0.1 \ No newline at end of file
+[Unreleased]: https://github.com/stephanlukasczyk/inconsolata-nerd-font/compare/v0.3...HEAD
+[v0.3]: https://github.com/stephanlukasczyk/inconsolata-nerd-font/compare/v0.3...v0.2
+[v0.2]: https://github.com/stephanlukasczyk/inconsolata-nerd-font/compare/v0.2...v0.1
diff --git a/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf b/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf
index 10f32f4d752..d17ab91bb77 100644
--- a/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf
+++ b/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/fonts/inconsolata-nerd-font/inconsolata-nerd-font.dtx b/Master/texmf-dist/source/fonts/inconsolata-nerd-font/inconsolata-nerd-font.dtx
index 34ef638be70..31cda7110a7 100644
--- a/Master/texmf-dist/source/fonts/inconsolata-nerd-font/inconsolata-nerd-font.dtx
+++ b/Master/texmf-dist/source/fonts/inconsolata-nerd-font/inconsolata-nerd-font.dtx
@@ -26,11 +26,18 @@
%
%<*driver>
\documentclass{l3doc}
+\usepackage[UKenglish]{babel}
\usepackage{libertinus-otf}
\usepackage{hvlogos}
% The next line is needed so that \GetFileInfo will be able to pick up version
% data.
\usepackage{inconsolata-nerd-font}
+\usepackage{unicodefonttable}
+\fonttablesetup{missing-glyph-color=black!25, color=black!50}
+\usepackage{microtype}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
\begin{document}
\RecordChanges
\DocInput{\jobname.dtx}
@@ -63,6 +70,8 @@
% \tl_set_eq:NN,
% }
%
+% \changes{v0.1}{2023–09–09}{First public release}
+%
% \GetFileInfo{inconsolata-nerd-font.sty}
%
% \title{^^A
@@ -232,6 +241,26 @@
% to typeset the words \enquote{an example} using Inconsolata Nerd Font:
% Just \textinconsolatanf{an example} sentence.
%
+% \section{Font Tables}\label{sec:doc-font-tables}
+%
+% \changes{v0.3}{2023-09-13}{Add font tables to the documentation.}
+%
+% This section provides character tables of the different font variants,
+% created using Frank Mittelbach's \pkg{unicodefonttable} package.
+% Thanks to Herbert Voß for his suggestion to add these.
+%
+% \subsection{Regular}\label{sec:doc-font-tables-regular}
+%
+% \displayfonttable{InconsolataNerdFont-Regular.ttf}
+%
+% \subsection{Mono Regular}\label{sec:doc-font-tables-mono}
+%
+% \displayfonttable{InconsolataNerdFontMono-Regular.ttf}
+%
+% \subsection{Proportional Regular}\label{sec:doc-font-tables-propo}
+%
+% \displayfonttable{InconsolataNerdFontPropo-Regular.ttf}
+%
% \end{documentation}
%
% \clearpage
@@ -283,7 +312,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {inconsolata-nerd-font} {2023-09-12} {0.2}
+\ProvidesExplPackage {inconsolata-nerd-font} {2023-09-13} {0.3}
{Support package to use the Inconsolata Nerd Font TrueType fonts}
% \end{macrocode}
%
@@ -355,15 +384,9 @@
}
% \end{macrocode}
%
-% Define a font family for the three fonts and commands for easier usage
-% \begin{macro}{
-% \inconsolatanffamily,
-% \inconsolatanfmonofamily,
-% \inconsolatanfpropofamily,
-% \textinconsolatanf,
-% \textinconsolatanfmono,
-% \textinconsolatanfpropo,
-% }
+% Define a font family for the three fonts and commands for easier usage.
+% \begin{macro}{\inconsolatanffamily}
+% The defaut font accessible as a \LaTeX{} font family.
% \begin{macrocode}
\newfontfamily\inconsolatanffamily{InconsolataNerdFont-Regular.ttf}[
BoldFont = InconsolataNerdFont-Bold.ttf,
@@ -371,21 +394,49 @@
NFSSFamily = inconsolatanf,
Scale = \l_@@_scale_tl,
]
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\inconsolatanfmonofamily}
+% \changes{v0.2}{2023–09–12}{Added macro}
+% The mono font variant, accessible as a \LaTeX{} font family.
+% \begin{macrocode}
\newfontfamily\inconsolatanfmonofamily{InconsolataNerdFontMono-Regular.ttf}[
BoldFont = InconsolataNerdFontMono-Bold.ttf,
FakeStretch = {0.9},
NFSSFamily = inconsolatanfmono,
Scale = \l_@@_scale_tl,
]
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\inconsolatanfpropofamily}
+% \changes{v0.2}{2023–09–12}{Added macro}
+% The propo font variant, accessible as a \LaTeX{} font family.
+% \begin{macrocode}
\newfontfamily\inconsolatanfpropofamily{InconsolataNerdFontPropo-Regular.ttf}[
BoldFont = InconsolataNerdFontPropo-Bold.ttf,
FakeStretch = {0.9},
NFSSFamily = inconsolatanfpropo,
Scale = \l_@@_scale_tl,
]
-
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textinconsolatanf}
+% A macro to typeset text in the default font variant.
+% \begin{macrocode}
\DeclareTextFontCommand{\textinconsolatanf}{\inconsolatanffamily}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textinconsolatanfmono}
+% \changes{v0.2}{2023–09–12}{Added macro}
+% A macro to typeset text in the mono font variant.
+% \begin{macrocode}
\DeclareTextFontCommand{\textinconsolatanfmono}{\inconsolatanffamilymono}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textinconsolatanfpropo}
+% \changes{v0.2}{2023–09–12}{Added macro}
+% A macro to typeset text in the propo font variant.
+% \begin{macrocode}
\DeclareTextFontCommand{\textinconsolatanfpropo}{\inconsolatanffamilypropo}
% \end{macrocode}
% \end{macro}
@@ -408,4 +459,4 @@
% \end{implementation}
%
% \PrintIndex
-% \PrintChanges \ No newline at end of file
+% \PrintChanges
diff --git a/Master/texmf-dist/tex/latex/inconsolata-nerd-font/inconsolata-nerd-font.sty b/Master/texmf-dist/tex/latex/inconsolata-nerd-font/inconsolata-nerd-font.sty
index 26dcd1437a5..01818ddbd1d 100644
--- a/Master/texmf-dist/tex/latex/inconsolata-nerd-font/inconsolata-nerd-font.sty
+++ b/Master/texmf-dist/tex/latex/inconsolata-nerd-font/inconsolata-nerd-font.sty
@@ -43,7 +43,7 @@
\endinput
}%
\providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion }
-\ProvidesExplPackage {inconsolata-nerd-font} {2023-09-12} {0.2}
+\ProvidesExplPackage {inconsolata-nerd-font} {2023-09-13} {0.3}
{Support package to use the Inconsolata Nerd Font TrueType fonts}
\tl_new:N \l__slcd_inf_variant_tl
@@ -100,7 +100,6 @@
NFSSFamily = inconsolatanfpropo,
Scale = \l__slcd_inf_scale_tl,
]
-
\DeclareTextFontCommand{\textinconsolatanf}{\inconsolatanffamily}
\DeclareTextFontCommand{\textinconsolatanfmono}{\inconsolatanffamilymono}
\DeclareTextFontCommand{\textinconsolatanfpropo}{\inconsolatanffamilypropo}