From 527c20c05260beb1e9851ec5ccb404d6a0dd150f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Dec 2017 22:48:32 +0000 Subject: pm-isomath git-svn-id: svn://tug.org/texlive/trunk@45987 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/pm-isomath/README | 60 ++ .../texmf-dist/doc/latex/pm-isomath/manifest.txt | 34 + .../texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf | Bin 0 -> 586666 bytes .../source/latex/pm-isomath/pm-isomath.dtx | 1107 ++++++++++++++++++++ .../texmf-dist/tex/latex/pm-isomath/pm-isomath.sty | 202 ++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc | 1 + Master/tlpkg/tlpsrc/pm-isomath.tlpsrc | 0 9 files changed, 1406 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/pm-isomath/README create mode 100644 Master/texmf-dist/doc/latex/pm-isomath/manifest.txt create mode 100644 Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf create mode 100644 Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx create mode 100644 Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty create mode 100644 Master/tlpkg/tlpsrc/pm-isomath.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/pm-isomath/README b/Master/texmf-dist/doc/latex/pm-isomath/README new file mode 100644 index 00000000000..9a6a9f4a436 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pm-isomath/README @@ -0,0 +1,60 @@ +The PM-ISOmath package, version 1.00 of 2017-08-22 +Original author: Claudio Beccari, 2017 +LaTeX Project Public Licence LPPL v.1.3 (or later) + +The PM-ISOmath name stands for "Poor Man ISO Math". In substance + this package is a poor man solution to the task of typesetting + math fulfilling the ISO regulations "for physical sciences and technology" (formerli regulations ISO 31/XI, now ISO\,80000). + These regulations refer mostly to the family, series and shape + of fonts to be used with symbols of various nature. + +This package gets inspiration from the ISOmath package by Günter +Milde, but tries to get the same results without using any math +[font] groups (or families). As pdfLaTeX users may recall, this +typesetting program may se at maximum 16 math [font] groups (or +math font families); sometimes this number results in an error +that forbids the user to use the symbols s/he needs. + +The trick used in this package consists in employing text fonts +within the \text command (defined by the amsmath package that, therefore, is a dependence to which pmisomath is subjected) and +chose text font families, series, and shapes to be used within +that command argument. + +The commands are such as to fulfil some math requirements; for +example while in the scope of the \boldmath declaration, the +series is automatically set to bold without any user intervention. +The font size is automatically taken care by \text, so that fonts +have the correct size also while typesetting exponents or subscripts. + +Nevertheless, through proper advanced command options, the user +remains the person principally responsible of using the right +font for the right symbol in a document that must fulfil the +ISO regulations. + +This package is usable only with pdfLaTeX; LuaLaTeX and XeLaTeX +can access OpenType math fonts through the package unicode-math, +and with the "math-style=ISO" option they have the math switching +commands agree with the ISO regulations. + +pdfLATeX users have available some packages to fulfil the ISO requirements; principally the ISOmath package thet is subject +to a number of limitations due the the particular math environment +of the user, and libertinust1math that produces a complete set-up +with math fonts that match very well text fonts that are darker +than the standard default Computer Modern ones (including the +CM-super and the Latin Modern ones). + +This package works very well with the Latin Modern fonts; in +practice in math mode it uses the same Latin text fonts, and +the corresponding families, series, and shapes of the LGR +encoded CBfonts; it may work also with the CM and the CM-super +fonts, but the original author never uses them, therefore he +cannot guarantee any suitable result. + +For installation of this package, simply run the pmisomath.dtx +through pdfLaTeX (and only pdfLaTeX); move the produced sty file +to the .../tex/latex/pmisomath/ folder; if it does not exist, +create it; similarly move pmisomath.dtx to .../source/latex/pmisomath/ +and pmisomath.pdf to .../doc/latex/pmisomath/. + + + diff --git a/Master/texmf-dist/doc/latex/pm-isomath/manifest.txt b/Master/texmf-dist/doc/latex/pm-isomath/manifest.txt new file mode 100644 index 00000000000..cefa22bcf99 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pm-isomath/manifest.txt @@ -0,0 +1,34 @@ +This is the manifest.txt file that accompanies the package PM-ISOmath, +version 1.00 of 2017 + +Original author: Claudio Beccari, 2017 + +This work may be distributed and/or modified under the conditions +of the LaTeX Project Public License, either version 1.3 of this +license or (at your option) any later version. The latest version +of this license is in http://www.latex-project.org/lppl.txt and +version 1.3 or later is part of all distributions of LaTeX version +2003/12/01 or later. + +This work itself and every derived work are subject to the above +licence. + +This work has the LPPL maintenance status "author-maintained". + +The actual maintainer (2017) is Claudio Beccari: +claudio dot beccari at gmail dot com + +This work consists of the files listed in manifest.txt, that is: + manifest.txt + README + pm-isomath.dtx + +The derived files are + pm-isomath.pdf + pm-isomath.sty + +The pm-isomath.dtx file is a self extracting and self documenting +one; if you run pdflatex (and only pdflatex) on it you get at the +same time the English documentation and the package file. + +The derived file pm-isomath.sty may be used only with pdflatex. diff --git a/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf b/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf new file mode 100644 index 00000000000..d006a1a0755 Binary files /dev/null and b/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf differ diff --git a/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx new file mode 100644 index 00000000000..7461ddd510e --- /dev/null +++ b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx @@ -0,0 +1,1107 @@ +% \iffalse meta-comment +%<*internal> +\begingroup +\input docstrip.tex +\keepsilent + + +\preamble + ______________________________________________________ + The PM-ISOmath bundle + Copyright (C) 2017 Claudio Beccari + All rights reserved + + License information appended + +\endpreamble +\postamble + +Copyright 2017 Claudio Beccari + +Distributable under the LaTeX Project Public License, +version 1.3c or higher (your choice). The latest version of +this license is at: http://www.latex-project.org/lppl.txt + +This work is "author-maintained" + +This work consists of this file pm-isomath.dtx, a README file +the manifest.txt file, and the derived files: + pm-isomath.sty, pm-isomath.pdf. + +\endpostamble + +\askforoverwritefalse + +\generate{\file{pm-isomath.sty}{\from{pm-isomath.dtx}{style}} + } + +\def\tmpa{plain} +\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi +\endgroup +% +% +% Copyright 2017 Claudio Beccari +% +% This file is part of the PM-ISOmath bundle +% ------------------------------------------- +% +% It may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2003/12/01 or later. +% +% This file has the LPPL maintenance status "author-maintained". +% +% The list of all files belonging to the PM-ISOmath bundle is +% given in the file `manifest.txt'. +% +% The set of derived (unpacked) files belonging to the distribution +% and covered by LPPL is created by the self unpacking file +% pm-isomath.dtx which is the principal part of the distribution. +% +% \fi +% +% \iffalse +%^^A The following trick uses the same date for every file header. +% +%\fi + +%\Finale +% \endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty b/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty new file mode 100644 index 00000000000..519d9f4930f --- /dev/null +++ b/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty @@ -0,0 +1,202 @@ +%% +%% This is file `pm-isomath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pm-isomath.dtx (with options: `style') +%% ______________________________________________________ +%% The PM-ISOmath bundle +%% Copyright (C) 2017 Claudio Beccari +%% All rights reserved +%% +%% License information appended +%% +\NeedsTeXFormat{LaTeX2e}[2017/01/01] +\ProvidesPackage{pm-isomath}[% +2017/08/22 v.1.0.00 +Poor man package for typesetting ISO compliant math when using pdfLaTeX] + +%%typeset with the following code + +\@ifpackageloaded{iftex}{}{\RequirePackage{iftex}} +\unless\ifPDFTeX + \PackageError{ISOrules4pdfLaTeX}{% + ******************************************\MessageBreak + This package should be used only when \MessageBreak + typesetting with pdfLaTeX. \MessageBreak + Skipping loading the package \MessageBreak + ******************************************\MessageBreak + }{% + ******************************************\MessageBreak + Press the X key and restart typesetting \MessageBreak + while using pdfLaTeX\MessageBreak + ******************************************\MessageBreak + } +\expandafeter\@firstoftwo +\else + \PackageInfo{ISOrules4pdfLaTeX}{% + ******************************************\MessageBreak + Typesetting this document with pdfLaTeX! \MessageBreak + ******************************************\MessageBreak + } +\expandafter\@secondoftwo +\fi +{\endinput}{\relax} +\newif\ifengineer \engineerfalse +\DeclareOption{engineer}{\engineertrue} +\ProcessOptions*\relax +\@ifpackageloaded{amsmath}{}{\RequirePackage{amsmath}} +\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} +\@ifpackageloaded{xparse}{}{\RequirePackage{xparse}} +\newcommand\switchvarsymbols[1]{% +\letcs{\tempA}{#1}\csletcs{#1}{var#1}\cslet{var#1}{\tempA}} +%%%% +\switchvarsymbols{epsilon} +\switchvarsymbols{theta} +\switchvarsymbols{rho} +\switchvarsymbols{phi} +%%%%% +\switchvarsymbols{Gamma} +\switchvarsymbols{Delta} +\switchvarsymbols{Theta} +\switchvarsymbols{Lambda} +\switchvarsymbols{Xi} +\switchvarsymbols{Pi} +\switchvarsymbols{Sigma} +\switchvarsymbols{Upsilon} +\switchvarsymbols{Phi} +\switchvarsymbols{Psi} +\switchvarsymbols{Omega} +\@ifpackageloaded{alphabeta}{}{\RequirePackage{alphabeta}} + +%% & slanted & sl & & \\ +%% & & & serif & rs \\ +%% & & & serif oblique & rs \\ +%%%%%% Queste sono le impostazioni di default per la famiglia, +%%%%%% la serie e la forma: +\def\ISOfam{lmr}\def\ISOser{m}\def\ISOsha{n} +\NewDocumentCommand\MathLatin{m gO{m}D(){it}}{\bgroup +\edef\y{\IfNoValueTF{#2}{\ISOfam}{#2}}% +\edef\x{\noexpand\egroup\noexpand\MLatin{\noexpand#1}{\y}}\x{#3}{#4}} + +\providecommand\MLatin[4]{\text{% +\def\ISOfam{#2}\def\ISOser{#3}\def\ISOsha{#4}% +\ifcsstring{math@version}{bold}{\def\ISOser{bx}}{}% +\usefont{T1}{\ISOfam}{\ISOser}{\ISOsha}#1}} + +\NewDocumentCommand\MathGreek{ m g O{m} d()}{% +\edef\y{\IfNoValueTF{#2}{\ISOfam}{#2}}% +\edef\x{\IfNoValueTF{#4}{\ISOsha}{#4}}% +\MGreek{#1}{\y}{#3}{\x}} + +\newcommand{\MGreek}[4]{\text{% +\def\ISOfam{#2}\def\ISOser{#3}\def\ISOsha{#4}% +\ifcsstring{math@version}{bold}{\def\ISOser{bx}}{}% +{\usefont{LGR}{\ISOfam}{\ISOser}{\ISOsha}#1}}} + +\newcommand\ISOalpha{\MathGreek{\alpha}} +\newcommand\ISObeta{\MathGreek{\beta}} +\newcommand\ISOgamma{\MathGreek{\gamma}} +\newcommand\ISOdelta{\MathGreek{\delta}} +\newcommand\ISOepsilon{\MathGreek{\epsilon}} +\newcommand\ISOzeta{\MathGreek{\zeta}} +\newcommand\ISOeta{\MathGreek{\eta}} +\newcommand\ISOtheta{\MathGreek{\theta}} +\newcommand\ISOiota{\MathGreek{\iota}} +\newcommand\ISOkappa{\MathGreek{\kappa}} +\newcommand\ISOlambda{\MathGreek{\lambda}} +\newcommand\ISOmu{\MathGreek{\mu}} +\newcommand\ISOnu{\MathGreek{\nu}} +\newcommand\ISOxi{\MathGreek{\xi}} +\newcommand\ISOomicron{\MathGreek{\omicron}} +\newcommand\ISOpi{\MathGreek{\pi}} +\newcommand\ISOrho{\MathGreek{\rho}} +\newcommand\ISOsigma{\MathGreek{\sigma}} +\newcommand\ISOtau{\MathGreek{\tau}} +\newcommand\ISOupsilon{\MathGreek{\upsilon}} +\newcommand\ISOphi{\MathGreek{\phi}} +\newcommand\ISOchi{\MathGreek{\chi}} +\newcommand\ISOpsi{\MathGreek{\psi}} +\newcommand\ISOomega{\MathGreek{\omega}} +\newcommand\ISOGamma{\MathGreek{\Gamma}} +\newcommand\ISODelta{\MathGreek{\Delta}} +\newcommand\ISOEta{\MathGreek{\Eta}} +\newcommand\ISOTheta{\MathGreek{\Theta}} +\newcommand\ISOLambda{\MathGreek{\Lambda}} +\newcommand\ISOXi{\MathGreek{\Xi}} +\newcommand\ISOPi{\MathGreek{\Pi}} +\newcommand\ISORho{\MathGreek{\Rho}} +\newcommand\ISOSigma{\MathGreek{\Sigma}} +\newcommand\ISOUpsilon{\MathGreek{\Upsilon}} +\newcommand\ISOPhi{\MathGreek{\Phi}} +\newcommand\ISOChi{\MathGreek{\Chi}} +\newcommand\ISOPsi{\MathGreek{\Psi}} +\newcommand\ISOOmega{\MathGreek{\Omega}} +\DeclareRobustCommand{\mathrm}% +{\relax\ifmmode\else\expandafter\non@alpherr +\csname mathrm \endcsname\fi +\def\ISOsha{n}\expandafter\use@mathgroup +\csname M@OT1\endcsname\symoperators} + +\DeclareRobustCommand{\mathit}% +{\relax\ifmmode\expandafter\non@alpherr +\csname mathit \endcsname\fi +\def\ISOsha{it}\expandafter\use@mathgroup +\csname M@OT1\endcsname{9}} +\newcommand\mathbfit[1]{\MathLatin{#1}{lmr}[bx](it)} +\newcommand\mathsfit[1]{\MathLatin{#1}{lmss}[m](sl)} +\newcommand\mathsfbfit[1]{\MathLatin{#1}{lmss}[bx](sl)} +\let\vectorsymbol\mathbfit +\let\matrixsymbol\mathbfit +\let\tensorsymbol\mathsfbfit +\newcommand\iunit{\MathLatin{i}(n)} +\newcommand\junit{\MathLatin{j}(n)} +\ifengineer + \let\iu\junit +\else + \let\iu\iunit +\fi +\let\eu\undefined +\DeclareMathOperator\eu{\MathLatin{e}(n)} +\providecommand\uppi{} +\renewcommand\uppi{\ISOpi(n)} +\providecommand*\diff{} +\renewcommand*\diff{\ensuremath{\mathop{}\!\MathLatin{d}(n)}} +\providecommand*\micro{} +\renewcommand*\micro{\textormath{\ifcsdef{textmicro}% +{\textmicro}{\ISOmu(rs)}}{\ISOmu(rs)}} +\providecommand*\ohm{} +\AtBeginDocument{\@ifpackageloaded{textcomp}{% +\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}% +{\renewcommand*\ohm{\textormath{\ISOOmega(\f@shape)}{\ISOOmega(n)}}}} +\global\csletcs{bbl@it@ped}{undefined} +\global\csletcs{bbl@it@ap}{undefined} +\DeclareRobustCommand\textormath{% +\unless\ifmmode\expandafter\@firstoftwo +\else\expandafter\@secondoftwo\fi} +\AfterEndPreamble{\let\ped\undefined\let\ap\endefined +\DeclareRobustCommand*\ped[1]{% +\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}}% +\providecommand\ap{} +\DeclareRobustCommand\ap[1]{% +\textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}% +\unless\ifcsname unit\endcsname +\DeclareRobustCommand{\unit}[1]{\,\textormath{#1}{\mathrm{#1}}} +\fi} + +%% +%% Copyright 2017 Claudio Beccari +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "author-maintained" +%% +%% This work consists of this file pm-isomath.dtx, a README file +%% the manifest.txt file, and the derived files: +%% pm-isomath.sty, pm-isomath.pdf. +%% +%% +%% End of file `pm-isomath.sty'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 2e5bbb9ad9e..659882e883e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -492,7 +492,7 @@ my @TLP_working = qw( pl placeat placeins placeins-plain plain-doc plainpkg plari plantslabels plates platex platex-tools platexcheat play playfair plex plex-otf plipsum - plnfss plstmary plweb pmgraph pmx pmxchords pnas2009 + plnfss plstmary plweb pm-isomath pmgraph pmx pmxchords pnas2009 poemscol poetry poetrytex polski poltawski polyglossia polynom polynomial polytable postcards poster-mac powerdot powerdot-FUBerlin diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index ea1a592733b..c9859f7e5ad 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -130,6 +130,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'ascii-font', "&MAKEflatten", 'astron', "die 'skipping, nonfree license'", 'atqolive', "die 'skipping, nonfree font'", + 'auctex', "die 'skipping, as it is Emacs'", 'augie', "&MAKEaugie", 'aurical', "&MAKEaurical", 'aurora', "die 'skipping, nocommercial license'", diff --git a/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc b/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc index 60758c3f7cc..c43e710357a 100644 --- a/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-mathscience.tlpsrc @@ -116,6 +116,7 @@ depend ot-tableau depend oubraces depend perfectcut depend physics +depend pm-isomath depend prftree depend proba depend prooftrees diff --git a/Master/tlpkg/tlpsrc/pm-isomath.tlpsrc b/Master/tlpkg/tlpsrc/pm-isomath.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3