| 1 |
This is the mglTeX package. It allows you to create high-quality |
| 2 |
publication-ready graphics directly from MGL scripts embedded into your LaTeX |
| 3 |
document, using the MathGL library (http://mathgl.sourceforge.net). |
| 4 |
================================================================================ |
| 5 |
|
| 6 |
If the "mgltex.sty" file (the package itself) wasn't included with this |
| 7 |
distribution, you can build it yourself executing: |
| 8 |
|
| 9 |
1. (pdf)latex mgltex.ins |
| 10 |
|
| 11 |
If the "mgltex.pdf" file (the documentation) wasn't included with this |
| 12 |
distribution, you can build it yourself executing the following steps: |
| 13 |
|
| 14 |
1. (pdf)latex mgltex.dtx |
| 15 |
2. makeindex -s gglo.ist -o mgltex.gls mgltex.glo |
| 16 |
3. makeindex -s gind.ist -o mgltex.ind mgltex.idx |
| 17 |
4. (pdf)latex mgltex.dtx |
| 18 |
|
| 19 |
Steps 2 and 3 are optional, and are only for the creation of an index and a |
| 20 |
glossary. |
| 21 |
|
| 22 |
The file "sample.pdf" is intended as a tiny sample of the capabilities of |
| 23 |
mglTex and MathGL, as well as a brief introduction to the package. You can use |
| 24 |
it as an alternative documentation if you want to start using the package right |
| 25 |
away. If the file wasn't included with this distribution, you can build it with |
| 26 |
the following steps: |
| 27 |
|
| 28 |
1. Run '(pdf)latex sample.tex' to create the MGL scripts |
| 29 |
2. Compile the produced .mgl scripts with mglconv (part of MathGL) |
| 30 |
3. Run '(pdf)latex sample.tex' a second time to include the graphics |
| 31 |
|
| 32 |
Alternatively, you can run '(pdf)latex --shell-escape sample.tex' twice in |
| 33 |
order to allow mglTeX to automatically call mglconv. |
| 34 |
|
| 35 |
The source code of mglTeX (.sty, .dtx, and .ins files) can be redistributed |
| 36 |
and/or modified under the terms of the GNU General Public License as published |
| 37 |
by the Free Software Foundation, either version 3 of the License, or (at your |
| 38 |
option) any later version. The documentation of mglTeX (.dvi, .ps, .pdf and |
| 39 |
other files) is licensed under the Creative Commons Attribution-NonCommercial- |
| 40 |
ShareAlike 3.0 Unported License. |
| 41 |
|
| 42 |
Please, feel free to contact the authors if you have questions or requests, or |
| 43 |
if you find any bugs or have any idea for improvements. Finally, mglTeX is free |
| 44 |
for you to use and redistribute (again, under GPL), but, if you find it useful, |
| 45 |
please consider thanking the authors ;-) Happy TeXing!!! |
| 46 |
|
| 47 |
- Diego Sejas Viscarra (mglTeX contact): <[email protected]> |
| 48 |
- Alexey Balakin (MathGL contact): <[email protected]> |