| 1 |
M-Tx Preprocessor Source Code |
| 2 |
============================= |
| 3 |
|
| 4 |
This repository contains the development code of `prepmx`, the M-Tx |
| 5 |
Preprocessor. Points in the development thought to be stable enough |
| 6 |
to be called "releases" have been tagged. Distributors that include |
| 7 |
M-Tx in the TeXLive and MikTeX distributions of TeX are asked not |
| 8 |
to package any other states of the repository. |
| 9 |
|
| 10 |
It contains the file `mtx.tex` and all the sources for generating the |
| 11 |
binary executable file (`prepmx`, `prepmx.exe`, etc., depending on your |
| 12 |
operating system). |
| 13 |
|
| 14 |
The development files for the documentation and examples are in the `doc` |
| 15 |
subdirectory. |
| 16 |
|
| 17 |
You probably got it from <https://github.com/dlaurie/M-Tx>. If not, |
| 18 |
you probably should; that may well contain newer code by now. |
| 19 |
|
| 20 |
The development version is provided for people who need more recent features |
| 21 |
than the most recent stable release has, in the hope that they will be |
| 22 |
willing to report bugs and maybe even suggest how those can be fixed. |
| 23 |
Use the GitHub `Issue` mechanism and for good measure also send e-mail |
| 24 |
to the Werner Icking Music Archive mailing list <[email protected]> |
| 25 |
and directly to Dirk Laurie <[email protected]>. |
| 26 |
|
| 27 |
You need the Free Pascal compiler. Any version from 1.0.10 onwards |
| 28 |
should work; 2.4.4 certainly did on 2014-02-01 and 2.6.2 on 2015-04-24. |
| 29 |
You may get away with other Pascal compilers, including Borland Pascal 7.0 |
| 30 |
and the Pascal-to-C translator `p2c`, but no effort has been made to retain |
| 31 |
compliance. Older versions of this README included details, all probably |
| 32 |
obsolete by now. |
| 33 |
|
| 34 |
"GNU System" means any system on which standard GNU utilities such as "bash" |
| 35 |
and "make" is available. Typical GNU systems are |
| 36 |
|
| 37 |
- Linux |
| 38 |
- Windows with the Cygwin package installed |
| 39 |
|
| 40 |
You do not need a GNU system to use M-Tx, but it is easier to make the |
| 41 |
executable on a GNU system. |
| 42 |
|
| 43 |
If your system has GNU Make, simply type |
| 44 |
|
| 45 |
make |
| 46 |
|
| 47 |
Otherwise, find the line in the Makefile starting with `fpc` and type |
| 48 |
that into your terminal. |
| 49 |
|
| 50 |
For experts only |
| 51 |
---------------- |
| 52 |
|
| 53 |
You can modify the source code as you wish -- this is open source software |
| 54 |
and the license is MIT. If you wish to redistribute your modified version, |
| 55 |
please augment the name so that there is no risk of confusion: e.g. if you |
| 56 |
are Johannes Brahms and you have made changes to mtxC054f.zip, call it |
| 57 |
mtxC054f-brahms.zip. |
| 58 |
|
| 59 |
Even better, use the GitHub "Pull Request" mechanism or send me an e-mail |
| 60 |
with your changes so that I can insert them into the current development |
| 61 |
version. |
| 62 |
|
| 63 |
Or fork the repository. |
| 64 |
|
| 65 |
The Makefile can make various other things. I don't want to document |
| 66 |
those, since then I would be constrained to maintain them. Use at your |
| 67 |
peril. |