From 0e656076b4c9e4509c651fddb8de27f9f3982367 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Feb 2019 22:21:39 +0000 Subject: yhmath (25feb19) git-svn-id: svn://tug.org/texlive/trunk@50127 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/fonts/yhmath/Makefile | 17 ++++++-------- Master/texmf-dist/source/fonts/yhmath/yhmath.dtx | 28 ++++++++++++++++++------ 2 files changed, 28 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/source/fonts') diff --git a/Master/texmf-dist/source/fonts/yhmath/Makefile b/Master/texmf-dist/source/fonts/yhmath/Makefile index 01ca4edccbb..a29e00d955b 100644 --- a/Master/texmf-dist/source/fonts/yhmath/Makefile +++ b/Master/texmf-dist/source/fonts/yhmath/Makefile @@ -10,7 +10,9 @@ DRVFILES=yhmath.drv PFBFILES=yhcmex.pfb SOURCEFILES=yhmath.dtx yhmath.ins -GENFILES=$(TFMFILES) $(VFFILES) $(MFFILES) $(VPLFILES) $(TEXFILES) $(MAPFILES) $(DOCFILES) $(DRVFILES) +CLEANFILES=$(MFFILES) $(VPLFILES) $(TEXFILES) $(MAPFILES) $(DRVFILES) +EXTRACLEANFILES=$(TFMFILES) $(VFFILES) $(DOCFILES) +GENFILES=$(TFMFILES) $(VFFILES) $(DOCFILES) $(MFFILES) $(VPLFILES) $(TEXFILES) $(MAPFILES) $(DRVFILES) DESTDIR ?= /usr/local/share/texmf CLEANRM ?= : @@ -68,15 +70,10 @@ yrcmex10.tfm: $(MFFILES) yhcmex10.tfm yhcmex10.vf: yhcmex10.vpl vptovf yhcmex10.vpl -ctanclean: clean - -rm -f $(MAPFILES) $(MFFILES) $(TEXFILES) - clean: - -rm -f $(VPLFILES) yrcmex10.*pk yhmath.log yhmath.aux yhmath.drv - -rm -f yrcmex10.log + -rm -f $(CLEANFILES) + -rm -f *.log -rm -f *~ - - -distclean: clean - -rm -f $(GENFILES) +realclean: clean + -rm -f $(EXTRACLEANFILES) diff --git a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx index 62ad1588e61..ddf3b5c4d8e 100644 --- a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx +++ b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx @@ -12,7 +12,7 @@ \ProvidesFile{yhmath.dtx} % %\NeedsTeXFormat{LaTeX2e}[1995/12/01] -%\ProvidesPackage{yhmath}[2019/02/18 v1.4] +%\ProvidesPackage{yhmath}[2019/02/24 v1.5] % \ProvidesFile{yhmath.drv} % \ProvidesFile{OMXyhex.fd} % \fi @@ -33,14 +33,14 @@ % % \GetFileInfo{yhmath.dtx} % -% \def\fileversion{1.4} -% \def\filedate{2019/02/18} +% \def\fileversion{1.5} +% \def\filedate{2019/02/24} % % \title{My humble additions to (La)\TeX{} mathematics\thanks{This file is % \fileversion, last revised \filedate.}} -% \author{Yannis Haralambous\\ -% \texttt{\small yannis1962@gmail.com}} -% \date{January 4, 1996; adaptions NP July 3, 2013 and Feb 4, 2019} +% \author{Yannis Haralambous, Norbert Preining\\ +% \texttt{\small yannis1962@gmail.com}, \texttt{\small norbert@preining.info}} +% \date{January 4, 1996 (YH); February 24, 2019 (NP)} % \maketitle % % \CheckSum{107} @@ -50,6 +50,7 @@ % \changes{v1.2}{2018/01/29}{Replace largesymbols with yhlargesymbols for mtpro cooperation (YH, NP)} % \changes{v1.3}{2018/01/31}{Add license statements (NP)} % \changes{v1.4}{2019/02/18}{Package options, dates, backward compatibility (NP)} +% \changes{v1.5}{2019/02/24}{Fixes to math delimiters, make font extensible (NP)} % % \begin{abstract} % This package provides a set of big delimiters, intermediate to those @@ -73,6 +74,13 @@ % % \section{Changes} % +% \subsection{Version v1.5} +% +% Fixes for the math delimiters $<$, $>$, and $/$ where incorporated, +% as well as the property \texttt{sfixed} removed from the font +% definition (GH Issues 1,2). +% +% % \subsection{Version v1.4} % % The change in v1.2 triggered a few inconveniences due to the sudden @@ -392,7 +400,10 @@ \DeclareMathDelimiter{]}{\mathclose}{operators}{"5D}{yhlargesymbols}{"03} \DeclareMathDelimiter{<}{\mathopen}{symbols}{"68}{yhlargesymbols}{"0A} \DeclareMathDelimiter{>}{\mathclose}{symbols}{"69}{yhlargesymbols}{"0B} +\DeclareMathSymbol{<}{\mathrel}{letters}{"3C} +\DeclareMathSymbol{>}{\mathrel}{letters}{"3E} \DeclareMathDelimiter{/}{\mathord}{operators}{"2F}{yhlargesymbols}{"0E} +\DeclareMathSymbol{/}{\mathord}{letters}{"3D} \DeclareMathDelimiter{|}{\mathord}{symbols}{"6A}{yhlargesymbols}{"0C} \DeclareMathRadical{\sqrtsign}{symbols}{"70}{yhlargesymbols}{"70} \DeclareMathSymbol{\braceld}{\mathord}{yhlargesymbols}{"7A} @@ -484,12 +495,15 @@ % the OMX (Old Math Extensible symbols) encoding. % We use the virtual font yhcmex10 to make sure that the lower 128 code % points are filled, too. +% Up to version 1.4 the font was defined with the \texttt{sfixed} attribute. +% This was changed to better support scaling, see +% \url{https://github.com/TeX-Live/yhmath/issues/2} for discussion. % \begin{macrocode} \ProvidesFile{OMXyhex.fd} [2013/07/03 v1.1 YH's humble contribution to TeX maths (NP)] \DeclareFontFamily{OMX}{yhex}{} \DeclareFontShape{OMX}{yhex}{m}{n}{ - <-> sfixed * yhcmex10 + <-> yhcmex10 }{} % \end{macrocode} % \begin{macrocode} -- cgit v1.2.3