summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/mathastext/mathastext.ins
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/mathastext/mathastext.ins')
-rw-r--r--Master/texmf-dist/source/latex/mathastext/mathastext.ins115
1 files changed, 30 insertions, 85 deletions
diff --git a/Master/texmf-dist/source/latex/mathastext/mathastext.ins b/Master/texmf-dist/source/latex/mathastext/mathastext.ins
index c1d3a6a4669..c5994f9b261 100644
--- a/Master/texmf-dist/source/latex/mathastext/mathastext.ins
+++ b/Master/texmf-dist/source/latex/mathastext/mathastext.ins
@@ -1,92 +1,37 @@
+\def\pkgname{mathastext}
+\def\pkgdate{2012/12/20}
+\def\pkgversion{v1.2}
+\def\pkgdescription{Use the text font in math mode (jfB)}
%%
-%% This file will generate mathastext.sty from
-%% mathastext.dtx when run through latex
+%% Package `mathastext' by Jean-Francois Burnol
+%% Copyright (C) 2011, 2012 by Jean-Francois Burnol
%%
-%% Copyright (C) 2011, 2012 by Jean-Francois Burnol
-%%
-%% Please report errors to jfbu (at) free.fr
-%%
-%% This file 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 `mathastext.ins' is provided for compatibility with TeX
+%% distributions expecting to find it for installation of `mathastext.sty'.
%%
-%% --------------- start of docstrip commands ------------------
+%% As usual `latex mathastext.ins' produces `mathastext.sty' from the source
+%% `mathastext.dtx'
+%%
+%% (an already existing `mathastext.sty' in the same repertory will be
+%% overwritten)
+%%
+%% Put `mathastext.sty' in a suitable location within the TeX installation:
+%% mathastext.sty -> ................/tex/latex/mathastext/
+%%
+%% Some test files are also generated, processing them through latex, pdflatex,
+%% lualatex or xetex checks if some of the package commands work as advertised.
+%%
+%% See `mathastext.dtx' for the copyright and conditions of distribution or
+%% modification.
%%
-\def\filedate{2012/10/23}
-\def\batchfile{mathastext.ins}
\input docstrip.tex
-
-{\ifx\generate\undefined
-\Msg{**********************************************}
-\Msg{*}
-\Msg{* This installation requires docstrip}
-\Msg{* version 2.3c or later.}
-\Msg{*}
-\Msg{* An older version of docstrip has been input}
-\Msg{*}
-\Msg{**********************************************}
-\errhelp{Move or rename old docstrip.tex.}
-\errmessage{Old docstrip in input path}
-\batchmode
-\csname @@end\endcsname
-\fi}
-
-\declarepreamble\mainpreamble
-
- Copyright (C) 2011, 2012 by Jean-Francois Burnol
-
- Many examples available at
- http://jf.burnol.free.fr/mathastext.html
- Please report errors to jfbu (at) free.fr
-
- This file 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.
-
- NO PERMISSION is granted to distribute a modified
- version of this file under its original name.
-
- The list of derived (unpacked) files belonging to the
- distribution and covered by LPPL is defined by the
- unpacking scripts (with extension .ins) which are part
- of the distribution.
-
-\endpreamble
-
-\keepsilent
-
-\usedir{tex/latex/mathastext}
-
-\usepreamble\mainpreamble
-
\askforoverwritefalse
-
-\generate{\file{mathastext.sty}{\from{mathastext.dtx}{package}}
- }
-
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* file into a directory searched by TeX:}
-\Msg{*}
-\Msg{* \space\space mathastext.sty}
-\Msg{*}
-\Msg{* To produce the documentation run mathastext.dtx through}
-\Msg{* LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing}
-\Msg{***********************************************************}
-}
-
-
+\def\pkgpreamble{\defaultpreamble^^J\MetaPrefix^^J%
+\string\ProvidesPackage{\pkgname}^^J%
+\space[\pkgdate\space\pkgversion\space\pkgdescription]}
+\generate{\usepreamble\pkgpreamble
+\file{\pkgname.sty}{\from{\pkgname.dtx}{package}}}
\endbatchfile
+\endinput
+%%
+%% End of file `mathastext.ins'.