From ea73677774e333cbf72d7db857d88f1c03b81d4b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 13 Sep 2023 20:34:37 +0000 Subject: inconsolata-nerd-font (13sep23) git-svn-id: svn://tug.org/texlive/trunk@68263 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/fonts/inconsolata-nerd-font/CHANGELOG.md | 15 ++++- .../inconsolata-nerd-font.pdf | Bin 71967 -> 1372646 bytes .../inconsolata-nerd-font.dtx | 75 +++++++++++++++++---- .../inconsolata-nerd-font.sty | 3 +- 4 files changed, 77 insertions(+), 16 deletions(-) (limited to 'Master/texmf-dist') 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 Binary files a/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf and b/Master/texmf-dist/doc/fonts/inconsolata-nerd-font/inconsolata-nerd-font.pdf 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} -- cgit v1.2.3