From c4ca5cdda1ec147994412f16250cbf3e5c3c7a2f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 22 Jan 2018 22:49:36 +0000 Subject: mathfam256 (22jan18) git-svn-id: svn://tug.org/texlive/trunk@46412 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mathfam256/LICENSE | 27 ++++ Master/texmf-dist/doc/latex/mathfam256/README.md | 39 ++++++ .../texmf-dist/doc/latex/mathfam256/mathfam256.pdf | Bin 0 -> 81838 bytes .../texmf-dist/doc/latex/mathfam256/mathfam256.tex | 145 +++++++++++++++++++++ 4 files changed, 211 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/mathfam256/LICENSE create mode 100644 Master/texmf-dist/doc/latex/mathfam256/README.md create mode 100644 Master/texmf-dist/doc/latex/mathfam256/mathfam256.pdf create mode 100644 Master/texmf-dist/doc/latex/mathfam256/mathfam256.tex (limited to 'Master/texmf-dist/doc/latex/mathfam256') diff --git a/Master/texmf-dist/doc/latex/mathfam256/LICENSE b/Master/texmf-dist/doc/latex/mathfam256/LICENSE new file mode 100644 index 00000000000..8f03f674db4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mathfam256/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2016-2018 Hironobu Yamashita +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of platex nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Master/texmf-dist/doc/latex/mathfam256/README.md b/Master/texmf-dist/doc/latex/mathfam256/README.md new file mode 100644 index 00000000000..b23ebf214ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/mathfam256/README.md @@ -0,0 +1,39 @@ +# mathfam256 + +LaTeX2e kernel 2015/01/01 increased the upper limit of math alphabets from 16 +to 256 for XeTeX/LuaTeX. Also, pLaTeX2e kernel 2016/11/29 introduced the similar +change for e-pTeX/e-upTeX. However, the upper limit for math symbol families +remains unchanged, so only 16 symbol fonts are available. + +This package increases the upper limit of math symbols from 16 (LaTeX2e default) +to 256, using `\omath...` primitives. These primitives are originally introduced +in Omega, and are currently available in the followings: + +- e-pTeX/e-upTeX (Japanese TeX engine) +- Aleph (successor of Omega) + +## Supported formats + +The package mathfam256.sty works on the following formats: + +- pLaTeX (run on e-pTeX) +- upLaTeX (run on e-upTeX) +- Lamed (run on Aleph) + +All of these are enabled in TeX Live by default. + +## Repository + +This package is maintained on GitHub: + https://github.com/aminophen/mathfam256 + +## License + +This package may be distributed and/or modified under the terms of +the 3-clause BSD license (see [LICENSE](./LICENSE)). + +## Release Date + +2018-01-22 + +Hironobu Yamashita diff --git a/Master/texmf-dist/doc/latex/mathfam256/mathfam256.pdf b/Master/texmf-dist/doc/latex/mathfam256/mathfam256.pdf new file mode 100644 index 00000000000..0427fd08d1d Binary files /dev/null and b/Master/texmf-dist/doc/latex/mathfam256/mathfam256.pdf differ diff --git a/Master/texmf-dist/doc/latex/mathfam256/mathfam256.tex b/Master/texmf-dist/doc/latex/mathfam256/mathfam256.tex new file mode 100644 index 00000000000..6685c5babf0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mathfam256/mathfam256.tex @@ -0,0 +1,145 @@ +%# -*- coding: utf-8 -*- +\ifx\epTeXinputencoding\undefined\else % defined in e-pTeX (> TL2016) + \epTeXinputencoding utf8 % ensure utf-8 encoding for platex +\fi + +\documentclass[a4paper]{jsarticle} +\usepackage{doc} +\usepackage{mathfam256} +\GetFileInfo{mathfam256.sty} +\usepackage{array} +\usepackage{url} +\newcommand{\OMEGA}{$\Omega$} +\def\pTeX{p\kern-.15em\TeX} +\def\upTeX{u\pTeX} +\def\eTeX{$\varepsilon$-\TeX} +\def\epTeX{$\varepsilon$-\pTeX} +\def\eupTeX{$\varepsilon$-\upTeX} +\title{Package \textsf{mathfam256} \fileversion} +\author{Hironobu Yamashita} +\date{\filedate} +\begin{document} + +\maketitle + +\parindent15pt + +In classic \TeX\ and \eTeX, the upper limit of math groups (\verb+\fam+) +is limited to 16. However, these days some \TeX\ variants support +math groups up to 256. + +In light of this situation, the \LaTeXe\ kernel 2015/01/01 increased +the upper limit of math alphabets to 256 for +Xe\TeX\ and Lua\TeX\ (Unicode \TeX\ variants). +Also, the \pLaTeXe/\upLaTeXe\ kernel 2016/11/29 introduced the similar +change for \epTeX/\eupTeX\ (``FAM256'' patch based on \OMEGA\ is applied). + +However, the ``native'' kernel support is limited: +\begin{itemize} +\item Lamed (\LaTeX\ on Aleph) is not supported at all. +\item The upper limit for math symbol families is still limited to 16. +\end{itemize} + +The package \textsf{mathfam256} is an attempt to resolve this situation; +increases the upper limit of math symbols from 16 (\LaTeXe\ default) +to 256, using \verb+\omath...+ primitives. + +The package is maintained on GitHub: +\begin{quote} + \url{https://github.com/aminophen/mathfam256} +\end{quote} + +\section*{Requirements} + +The \verb+\omath...+ primitives are originally introduced in +\OMEGA\ (Omega), and are currently available in the followings. +Without one of these, the package causes an error. +\begin{itemize} +\item \pLaTeX/\upLaTeX, run on \epTeX/\eupTeX\ (Japanese TeX engine) +\item Lamed, run on Aleph (successor of \OMEGA) +\end{itemize} + +\section*{Usage} + +Load it in the preamble; it is recommended to load it as fast as +possible. +\begin{verbatim} + \documentclass[a4paper]{article} + \usepackage{mathfam256} + \usepackage{...}% other packages + \begin{document} + The content + \end{document} +\end{verbatim} + +\bigskip + +\parindent1zw + +オリジナルの\TeX や“素”の\eTeX では、数式ファミリ(\verb+\fam+)の +上限が16個に制限されていました。しかし、最近の新しい\TeX エンジンの中には、 +256個までの数式ファミリをサポートするものが現れています。 + +この状況を鑑み、\LaTeXe カーネル(2015/01/01以降)では、 +Unicode対応のXe\TeX とLua\LaTeX について、数式ファミリ(正確には +\verb+\DeclareMathAlphebet+で使われる数式アルファベット)の上限を256に +増やしています。同様に、\pLaTeXe/\upLaTeXe カーネル(2016/11/29以降)も、 +\OMEGA ベースのいわゆる「FAM256パッチ」が適用された\epTeX/\eupTeX について、 +数式ファミリの上限を256に増やしています。これらにより +\begin{verbatim} + ! LaTeX Error: Too many math alphabets used in version normal. +\end{verbatim} +というエラーが発生しにくくなっています。 + +しかし、この“ネイティブな”カーネルのサポートには限界があります: +\begin{itemize} +\item Lamed (\LaTeX\ on Aleph)は全く考慮されていない。 +\item 数式シンボルフォントの上限は依然として16のままである(安全のため)。 +\end{itemize} + +この\textsf{mathfam256}パッケージは、この状況を改善する試みです。 +すなわち、\OMEGA 由来の\verb+\omath...+プリミティブを用いて、 +数式シンボルフォントの上限を256に増やします。 + +\section*{動作条件} + +もともと\OMEGA\ (Omega)に導入された\verb+\omath...+プリミティブが +必要です。これが実装されているのは、以下のフォーマット(エンジン)です。 +これ以外でパッケージが使われて場合はエラー終了します。 +\begin{itemize} +\item \pLaTeX/\upLaTeX (\epTeX/\eupTeX 上で動作) +\item Lamed(\OMEGA の後継であるAleph上で動作) +\end{itemize} + +\section*{使い方} + +プリアンブルで読み込みます。なるべく早めに読み込むことをお勧めします。 +\begin{verbatim} + \documentclass[a4paper]{article} + \usepackage{mathfam256} + \usepackage{...}% other packages + \begin{document} + …本文… + \end{document} +\end{verbatim} + +\section*{謝辞} + +本パッケージは\cite{yamamoto}〜\cite{yamamoto3}を元に、 +新しい\LaTeX に対応させることで作られました。 + +\begin{thebibliography}{99} + \bibitem{yamamoto} 山本 和義,「数式famの制限とluatex」, + 掲示板「\TeX\ Q\ \&\ A」,2009/02/12.\\ + \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52744.html} + \bibitem{yamamoto2} 山本 和義,「Re: 数式famの制限とluatex」, + 掲示板「\TeX\ Q\ \&\ A」,2009/02/16.\\ + \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52767.html} + \bibitem{yamamoto3} 山本 和義,「数式fam拡張マクロ for e-pTeX等」, + 掲示板「\TeX\ Q\ \&\ A」,2009/02/21.\\ + \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52799.html} + \bibitem{eptexdoc} 北川 弘典,「\epTeX について」.\\ + \verb+$TEXMFDIST/doc/ptex/ptex-base/etex_man.pdf+ +\end{thebibliography} + +\end{document} -- cgit v1.2.3