blob: aaae59e18bdec29d5cca9fe692b062d8ddf9bcad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
%%
%% Package `mathastext' by Jean-Francois Burnol
%% Copyright (C) 2011, 2012 by Jean-Francois Burnol
%%
\def\pkgname{mathastext} % these macros of course are not included
\def\pkgdate{2013/01/21} % into the package file! (else I would have
\def\pkgversion{v1.2f} % given them other names)
\def\pkgdescription{Use the text font in math mode (jfB)}
%% This file `mathastext.ins' is provided for compatibility with TeX
%% distributions expecting to find it for installation of `mathastext.sty'.
%%
%% 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.
%%
\input docstrip.tex
\askforoverwritefalse
\def\pkgpreamble{\defaultpreamble^^J\MetaPrefix^^J%
\string\ProvidesPackage{\pkgname}^^J%
\space[\pkgdate\space\pkgversion\space\pkgdescription]}
\def\testfilepreamble{\string\def\string\testfileincipit{Test file
to accompany \string\texttt{\pkgname}^^J%
version \string\texttt{\pkgversion} of \string\texttt{\pkgdate.}}}
\generate{\usepreamble\testfilepreamble
\file{test\pkgname mathversions.tex}{\from{\pkgname.dtx}{mathversions}}
\file{test\pkgname macos.tex}{\from{\pkgname.dtx}{macos}}
\file{test\pkgname linux.tex}{\from{\pkgname.dtx}{linux}}
\file{test\pkgname alphabets.tex}{\from{\pkgname.dtx}{alphabets}}
\usepreamble\pkgpreamble
\file{\pkgname.sty}{\from{\pkgname.dtx}{package}}}
\endbatchfile
\endinput
%%
%% End of file `mathastext.ins'.
|