summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-07 03:04:25 +0000
committerNorbert Preining <norbert@preining.info>2022-11-07 03:04:25 +0000
commit5fcfa99e5deaf9c601ba9e338f07fbefdd5d4487 (patch)
tree19d4022cbaed433610ef4cc56ce51cea0604eaad /fonts
parent0a7c9b85de9aeaffafa0cf8944fa81ffe9652d09 (diff)
CTAN sync 202211070304
Diffstat (limited to 'fonts')
-rw-r--r--fonts/euler-math/Euler-Math.ltx (renamed from fonts/neo-euler/Neo-Euler.ltx)56
-rw-r--r--fonts/euler-math/Euler-Math.otf (renamed from fonts/neo-euler/Neo-Euler.otf)bin438348 -> 439804 bytes
-rw-r--r--fonts/euler-math/Euler-Math.pdfbin0 -> 157551 bytes
-rw-r--r--fonts/euler-math/README.md (renamed from fonts/neo-euler/README.md)37
-rw-r--r--fonts/euler-math/euler-math.sty (renamed from fonts/neo-euler/neo-euler.sty)16
-rw-r--r--fonts/euler-math/neo-euler.sty15
-rw-r--r--fonts/euler-math/unimath-euler.ltx (renamed from fonts/neo-euler/unimath-euler.ltx)6
-rw-r--r--fonts/euler-math/unimath-euler.pdf (renamed from fonts/neo-euler/unimath-euler.pdf)bin1452175 -> 1452028 bytes
-rw-r--r--fonts/neo-euler/Neo-Euler.pdfbin157554 -> 0 bytes
-rw-r--r--fonts/utilities/ps2pk/ChangeLog5
-rw-r--r--fonts/utilities/ps2pk/basename.c3
11 files changed, 82 insertions, 56 deletions
diff --git a/fonts/neo-euler/Neo-Euler.ltx b/fonts/euler-math/Euler-Math.ltx
index 9851d627b9..b187c48869 100644
--- a/fonts/neo-euler/Neo-Euler.ltx
+++ b/fonts/euler-math/Euler-Math.ltx
@@ -5,7 +5,7 @@
\usepackage{amsmath, array, varioref}
\usepackage[british]{babel}
\usepackage{fourier-orns}
-\usepackage{neo-euler}
+\usepackage{euler-math}
\setmainfont{cmunorm.otf}
[BoldFont = cmunobx.otf ,
ItalicFont = cmunoti.otf ,
@@ -18,14 +18,14 @@
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
-\hypersetup{pdftitle={Neo-Euler User’s Guide},
+\hypersetup{pdftitle={Euler-Math User’s Guide},
pdfauthor={Daniel FLIPO},
bookmarksopen,
colorlinks
}
\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
-\newcommand*{\NEOTF}{Neo-Euler}
+\newcommand*{\NEOTF}{Euler-Math}
\newcommand*{\pkg}[1]{\texttt{#1}}
\newcommand*{\file}[1]{\texttt{#1}}
\newcommand*{\opt}[1]{\texttt{#1}}
@@ -35,10 +35,10 @@
\renewcommand{\labelitemi}{\lefthand}
-\title{Neo Euler maths font, OTF version}
+\title{Euler Math font, OTF version}
\author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}}
-\newcommand*{\version}{0.22}
+\newcommand*{\version}{0.30}
\begin{document}
\maketitle
@@ -48,10 +48,10 @@
\NEOTF{} is a fork of the Euler project initiated by Khaled Hosny in 2009
and abandoned in 2016%
\footnote{See \url{https://github.com/aliftype/euler-otf}}.
-The font name has been kept (Neo Euler) but the file name has been changed
-from \file{euler.otf} to \file{Neo-Euler.otf}.
+The original font name `Neo~Euler’, has been changed to `Euler~Math’, the file
+name is now \file{Euler-Math.otf}.
-\file{Neo-Euler.otf} is an OpenType version of Hermann Zapf’s Euler maths font,
+\file{Euler-Math.otf} is an OpenType version of Hermann Zapf’s Euler maths font,
as the original font it contains three alphabets $Euler Roman$,
$\symscr{SCRIPT}$ and $\symfrak{Euler Fraktur}$ (none of them being suitable
for typesetting text) and has some specificities:
@@ -82,8 +82,8 @@ Comments, suggestions and bug reports are welcome!
A basic call for \NEOTF{} would be:
\begin{verbatim}
\usepackage[math-style=upright]{unicode-math}
-\setmathfont{Neo-Euler.otf} % Call by file name or
-\setmathfont{Neo Euler} % Call by font name or
+\setmathfont{Euler-Math.otf} % Call by file name or
+\setmathfont{Euler Math} % Call by font name or
\end{verbatim}
this loads \NEOTF{} as maths font%
\footnote{Both calls work equally well with LuaTeX; with XeTeX a call by font
@@ -93,17 +93,17 @@ this loads \NEOTF{} as maths font%
Please note that the three sets of text fonts have to be chosen separately.
-\subsection{Calling \pkg{neo-euler.sty} (recommended)}
+\subsection{Calling \pkg{euler-math.sty} (recommended)}
As an alternative to load \NEOTF{} you can type:\\[.5\baselineskip]
-\verb+\usepackage{neo-euler}+\\[.5\baselineskip]
+\verb+\usepackage{euler-math}+\\[.5\baselineskip]
\verb+\usepackage[ +\textit{options}
\footnote{Possible \textit{options} are \opt{Scale=} or any of the options
described in sections \ref{ssection-cv}, \ref{ssection-ss} and
\ref{ssec-other-features}.}%
-\verb+ ]{neo-euler}+\\[.5\baselineskip]
+\verb+ ]{euler-math}+\\[.5\baselineskip]
it loads \pkg{unicode-math} with the \opt{math-style=upright} option and
-sets Neo-Euler as maths font but does a bit more:
+sets Euler-Math as maths font but does a bit more:
\begin{enumerate}
\item it checks at \verb+\begin{document}+ if packages \pkg{amssymb} or
\pkg{latexsym} are loaded and issues warnings in case they are;
@@ -112,7 +112,7 @@ sets Neo-Euler as maths font but does a bit more:
\item it defines some specific maths characters \showmchar{varemptyset}, etc.
\end{enumerate}
-The \pkg{neo-euler.sty} package is meant to replace the \pkg{eulervm.sty}
+The \pkg{euler-math.sty} package is meant to replace the \pkg{eulervm.sty}
package for users switching from pdfLaTeX to LuaLaTeX or XeLaTeX.
It does not interfere with text fonts which have to be chosen separately.
@@ -162,7 +162,7 @@ and $\varphi$ instead of $\epsilon$ and $\phi$ (with matching bold variants
$\symbf{\varepsilon}$ and $\symbf{\varphi}$), you can
add option \verb+CharacterVariant={3,6}+ to the \cmd{setmathfont} call:
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[CharacterVariant={3,6}]
+\setmathfont{Euler-Math.otf}[CharacterVariant={3,6}]
\end{verbatim}
Please note that curly braces are mandatory whenever more than one
@@ -171,7 +171,7 @@ Please note that curly braces are mandatory whenever more than one
Note about \cmd{hbar}: \pkg{unicode-math} defines \cmd{hbar} as
\cmd{hslash} (U+210F) while \pkg{amsmath} provides two different glyphs
(h with horizontal or diagonal stroke).\\
-\pkg{neo-euler} follows \pkg{unicode-math}; the h with horizontal
+\pkg{euler-math} follows \pkg{unicode-math}; the h with horizontal
stroke can be printed using \cmd{hslash} or \cmd{hbar} together with character
variant \opt{cv01} or with \cmd{muphbar} (replacement for AMS’ command
\cmd{hbar}).
@@ -221,15 +221,15 @@ symbols, see table~\vref{ss06}.
To enable Stylistic Sets 5 and 6 for \NEOTF{}, you should enter
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[StylisticSet={5,6}] or
-\usepackage[Style={smaller,subsetneq}]{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}[StylisticSet={5,6}] or
+\usepackage[Style={smaller,subsetneq}]{Euler-Math.otf}
\end{verbatim}
{\samepage then, \verb+\[A \subsetneq B\quad x \in E \quad D \parallel D' \]+
will print as
-\setmathfont{Neo-Euler.otf}[StylisticSet={5,6}]
+\setmathfont{Euler-Math.otf}[StylisticSet={5,6}]
\[A \subsetneq B\quad x \in E \quad D \parallel D' \]
instead of
-\setmathfont{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}
\[A \subsetneq B\quad x \in E \quad D \parallel D' \]
}
@@ -238,20 +238,20 @@ instead of
To get oldstyle numbers in maths, the feature \opt{+onum} is available:
\begin{verbatim}
-\setmathfont{Neo-Euler.otf}[Numbers=OldStyle] or
-\usepackage[Style={fulloldstyle}]{neo-euler}
+\setmathfont{Euler-Math.otf}[Numbers=OldStyle] or
+\usepackage[Style={fulloldstyle}]{euler-math}
\end{verbatim}
-\setmathfont{Neo-Euler.otf}[Numbers=OldStyle]
+\setmathfont{Euler-Math.otf}[Numbers=OldStyle]
$0123456789, \symbf{0123456789}$
-\setmathfont{Neo-Euler.otf}
+\setmathfont{Euler-Math.otf}
\subsection{Standard \LaTeX{} math commands}
\label{ssec-math-commands}
All standard \LaTeX{} maths commands, all \pkg{amssymb} commands and all
\pkg{latexsym} commands are supported by \NEOTF{}, for some of them loading
-\pkg{neo-euler.sty} is required.
+\pkg{euler-math.sty} is required.
Various wide accents are also supported:
\begin{itemize}
@@ -353,7 +353,7 @@ Various wide accents are also supported:
\]
\item Finally \cmd{widearc} and \cmd{overrightarc} (loading
- \pkg{neo-euler.sty} is required)
+ \pkg{euler-math.sty} is required)
\[\widearc{AMB}\quad \overrightarc{AMB}\]
\end{itemize}
@@ -412,7 +412,7 @@ in the \file{.log} file, for instance:
\setmathfont{STIXTwoMath-Regular.otf}[range={"2964}]
\texttt{Missing character: There is no }$⥤$%
-\texttt{ (U+2964) in font Neo Euler}
+\texttt{ (U+2964) in font Euler Math}
Borrowing them from a more complete font, say \file{Asana-Math},
is a possible workaround:
diff --git a/fonts/neo-euler/Neo-Euler.otf b/fonts/euler-math/Euler-Math.otf
index 2ee45509d1..b540610805 100644
--- a/fonts/neo-euler/Neo-Euler.otf
+++ b/fonts/euler-math/Euler-Math.otf
Binary files differ
diff --git a/fonts/euler-math/Euler-Math.pdf b/fonts/euler-math/Euler-Math.pdf
new file mode 100644
index 0000000000..781776e0fa
--- /dev/null
+++ b/fonts/euler-math/Euler-Math.pdf
Binary files differ
diff --git a/fonts/neo-euler/README.md b/fonts/euler-math/README.md
index 2054522848..5194e1bf6e 100644
--- a/fonts/neo-euler/README.md
+++ b/fonts/euler-math/README.md
@@ -1,22 +1,23 @@
-Neo-Euler package
+Euler-Math package
====================
## Description
-`Neo-Euler.otf’ is an OpenType version of Hermann Zapf’s Euler maths font.
-It is the continuation of the Euler project initiated by Khaled Hosny in
-2009 and abandoned in 2016.
-A style file `neo-euler.sty’ is provided as a replacement of the
-`eulervm.sty’ package for LuaLaTeX and XeLaTeX users.
+'Euler-Math.otf' (formerly named 'Neo-Euler.otf') is an OpenType version of
+Hermann Zapf’s Euler maths font. It is the continuation of the Euler project
+initiated by Khaled Hosny in 2009 and abandoned in 2016.
+A style file 'euler-math.sty' is provided as a replacement of the
+'eulervm.sty' package for LuaLaTeX and XeLaTeX users.
## Contents
-* Neo-Euler.otf OpenType maths font
-* neo-euler.sty LaTeX style file: replaces eulervm.sty for LuaTeX/XeTeX
-* Neo-Euler.pdf Documentation in PDF format
-* Neo-Euler.ltx LaTeX source of Neo-Euler.pdf
+* Euler-Math.otf OpenType maths font
+* euler-math.sty LaTeX style file: replaces eulervm.sty for LuaTeX/XeTeX
+* neo-euler.sty For compatibility with the former name
+* Euler-Math.pdf Documentation in PDF format
+* Euler-Math.ltx LaTeX source of Euler-Math.pdf
* unimath-euler.pdf Modified version of unimath-symbols.pdf
- showing available Neo-Euler symbols compared to
+ showing available Euler-Math symbols compared to
LatinModern, STIXTwo, Erewhon, TeXGyrePagella and Asana.
* unimath-euler.ltx LaTeX source of unimath-concrete.pdf
* README.md (this file)
@@ -25,20 +26,20 @@ A style file `neo-euler.sty’ is provided as a replacement of the
This package is meant to be installed automatically by TeXLive, MikTeX, etc.
Otherwise, the package can be installed under TEXMFHOME or TEXMFLOCAL, f.i.
-Neo-Euler.otf in directory texmf-local/fonts/opentype/public/neo-euler/
-and neo-euler.sty in directory texmf-local/tex/latex/neo-euler/.
+Euler-Math.otf in directory texmf-local/fonts/opentype/public/euler-math/
+and euler-math.sty in directory texmf-local/tex/latex/euler-math/.
Documentation files and their sources can go to directory
-texmf-local/doc/fonts/public/neo-euler/
+texmf-local/doc/fonts/public/euler-math/
Don't forget to rebuild the file database (mktexlsr or so) if you install
under TEXMFLOCAL.
-Finally, make the system font database aware of the Neo-Euler font
+Finally, make the system font database aware of the Euler-Math font
(fontconfig under Linux).
## License
-* The font `Neo-Euler.otf’ is licensed under the SIL Open Font License,
+* The font 'Euler-Math.otf' is licensed under the SIL Open Font License,
Version 1.1. This license is available with a FAQ at:
http://scripts.sil.org/OFL
* The other files are distributed under the terms of the LaTeX Project
@@ -56,6 +57,10 @@ Either version 1.3 or, at your option, any later version.
- Sizes of vertical variants of \lAngle, \rAngle, \langle and
\rangle corrected.
- Added extensible integral for U+222B (usable with luametatex).
+* v0.30:
+ - *Name of the package changed from Neo-Euler to Euler-Math*;
+ the former 'neo-euler.sty' style file has been kept for compatibility,
+ it now loads 'euler-math.sty' and warns about the change.
---
Copyright 2009-2016 Khaled Hosny
diff --git a/fonts/neo-euler/neo-euler.sty b/fonts/euler-math/euler-math.sty
index 12b97d9849..cf678d50c0 100644
--- a/fonts/neo-euler/neo-euler.sty
+++ b/fonts/euler-math/euler-math.sty
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}[2018/01/01]
-\def\fileversion{0.22}
-\def\filedate{2022-11-04}
-\ProvidesPackage{neo-euler}[\filedate\space\fileversion]
+\def\fileversion{0.30}
+\def\filedate{2022-11-06}
+\ProvidesPackage{euler-math}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
\RequirePackage{iftex}[2019/10/24]
@@ -28,7 +28,7 @@
\begingroup
\edef\temp{%
\endgroup
- \noexpand\setmathfont{Neo-Euler.otf}%
+ \noexpand\setmathfont{Euler-Math.otf}%
[\unexpanded\expandafter{\the\NEUtoks}]%
}
\temp
@@ -54,8 +54,8 @@
\newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
% amssymb
\@ifpackageloaded{amssymb}%
- {\PackageWarning{neo-euler}{%
- Neo-Euler provides all AMS symbols.\MessageBreak
+ {\PackageWarning{euler-math}{%
+ Euler-Math provides all AMS symbols.\MessageBreak
Loading amssymb.sty is not advisable.\MessageBreak
Reported}%
}%
@@ -109,8 +109,8 @@
}%
% latexsym
\@ifpackageloaded{latexsym}%
- {\PackageWarning{neo-euler}{%
- Neo-Euler provides all LaTeX symbols.\MessageBreak
+ {\PackageWarning{euler-math}{%
+ Euler-Math provides all LaTeX symbols.\MessageBreak
Loading latexsym.sty is not advisable.\MessageBreak
Reported}%
}%
diff --git a/fonts/euler-math/neo-euler.sty b/fonts/euler-math/neo-euler.sty
new file mode 100644
index 0000000000..575b524f9a
--- /dev/null
+++ b/fonts/euler-math/neo-euler.sty
@@ -0,0 +1,15 @@
+\ProvidesPackage{neo-euler}[2022-11-06 v0.23]
+
+\PackageError{euler-math}{\MessageBreak
+ Former package `neo-euler’ has been renamed\MessageBreak
+ to `euler-math’. Please use this new name.\MessageBreak
+ The font has been renamed to `Euler-Math.otf’%
+}
+{%
+ I’ll input `euler-math’ instead of `neo-euler’,\MessageBreak
+ but please correct your input file!%
+}
+
+\input{euler-math.sty}
+
+\endinput
diff --git a/fonts/neo-euler/unimath-euler.ltx b/fonts/euler-math/unimath-euler.ltx
index 7d53cdf3ca..82a349fe38 100644
--- a/fonts/neo-euler/unimath-euler.ltx
+++ b/fonts/euler-math/unimath-euler.ltx
@@ -75,7 +75,7 @@
\defmathfont{erewhon}{Erewhon-Math.otf}{AA6666}{E}
\defmathfont{pagella}{texgyrepagella-math.otf}{66CCCC}{P}
\defmathfont{asana}{Asana-Math.otf}{AACC66}{A}
-\defmathupfont{euler}{Neo-Euler.otf}{AA66CC}{N}
+\defmathupfont{euler}{Euler-Math.otf}{AA66CC}{N}
\def\INPUT{\input{unicode-math-table.tex}}
\def\TABLE{%
@@ -181,7 +181,7 @@
\MakeShortVerb\|
\title{Symbols defined by \textsf{unicode-math}}
\author{Will Robertson}
-\date{Modified (df) to show Neo Euler Math symbols}
+\date{Modified (df) to show Euler Math symbols}
\maketitle
This document uses the file \texttt{unicode-math-table.tex}
@@ -196,7 +196,7 @@ The following fonts are shown: (with approximate symbol counts)
\item[\Lerewhon] \mathversion{erewhon} $\mathup{Erewhon\ Math}$ (\ref{count:erewhon})
\item[\Lpagella] \mathversion{pagella} $\mathup{TeX\ Gyre\ Pagella\ Math}$ (\ref{count:pagella})
\item[\Lasana] \mathversion{asana} $\mathup{Asana\ Math}$ (\ref{count:asana})
-\item[\Leuler] \mathversion{euler} $\mathup{Neo\ Euler}$ (\ref{count:euler})
+\item[\Leuler] \mathversion{euler} $\mathup{Euler\ Math}$ (\ref{count:euler})
\end{itemize}
Symbols defined in Plain \TeX\ are indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (p)}} after their macro name.
\LaTeX\ follows Plain \TeX, but defines a handful more, indicated with {\color[gray]{0.6} \textsuperscript{\sffamily (l)}}.
diff --git a/fonts/neo-euler/unimath-euler.pdf b/fonts/euler-math/unimath-euler.pdf
index 69dccf804c..5c9c6f7d81 100644
--- a/fonts/neo-euler/unimath-euler.pdf
+++ b/fonts/euler-math/unimath-euler.pdf
Binary files differ
diff --git a/fonts/neo-euler/Neo-Euler.pdf b/fonts/neo-euler/Neo-Euler.pdf
deleted file mode 100644
index c74c6144b2..0000000000
--- a/fonts/neo-euler/Neo-Euler.pdf
+++ /dev/null
Binary files differ
diff --git a/fonts/utilities/ps2pk/ChangeLog b/fonts/utilities/ps2pk/ChangeLog
index 71be133792..7d476d56ec 100644
--- a/fonts/utilities/ps2pk/ChangeLog
+++ b/fonts/utilities/ps2pk/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-06 Sam James <sam@gentoo.org>
+
+ * basename.c: placate clang16.
+ https://tug.org/pipermail/tlbuild/2022q4/005273.html
+
2022-08-30 Karl Berry <karl@freefriends.org>
* pk2bm.1,
diff --git a/fonts/utilities/ps2pk/basename.c b/fonts/utilities/ps2pk/basename.c
index 624b746778..094ac811d0 100644
--- a/fonts/utilities/ps2pk/basename.c
+++ b/fonts/utilities/ps2pk/basename.c
@@ -6,11 +6,12 @@
* AUTHOR: Piet Tutelaers
* VERSION: 1.0 (Sept. 1995)
*/
+#include <stdlib.h> /* exit() */
#include <stdio.h> /* printf() */
#include "basics.h" /* fatal() */
#include "filenames.h" /* basename() */
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
if (argc < 2 || argc > 3)
fatal("Usage: basename string [suffix]\n");