From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/alatex/alatex-1.0/0areadme.txt | 89 ++++++ macros/alatex/alatex-1.0/COPYING | 339 ++++++++++++++++++++++ macros/alatex/alatex-1.0/Makefile | 132 +++++++++ macros/alatex/alatex-1.0/README | 1 + macros/alatex/alatex-1.0/VERSION-1.0 | 0 macros/alatex/alatex-1.0/abugs.txt | 16 + macros/alatex/alatex-1.0/ainstall.txt | 92 ++++++ macros/alatex/alatex-1.0/alatex.dtx | 531 ++++++++++++++++++++++++++++++++++ macros/alatex/alatex-1.0/alatex.tex | 21 ++ macros/alatex/alatex-1.0/amanifst.txt | 50 ++++ macros/alatex/alatex-1.0/aunpack.ins | 135 +++++++++ macros/alatex/alatex-1.0/aunpcked.txt | 9 + 12 files changed, 1415 insertions(+) create mode 100644 macros/alatex/alatex-1.0/0areadme.txt create mode 100644 macros/alatex/alatex-1.0/COPYING create mode 100644 macros/alatex/alatex-1.0/Makefile create mode 120000 macros/alatex/alatex-1.0/README create mode 100644 macros/alatex/alatex-1.0/VERSION-1.0 create mode 100644 macros/alatex/alatex-1.0/abugs.txt create mode 100644 macros/alatex/alatex-1.0/ainstall.txt create mode 100644 macros/alatex/alatex-1.0/alatex.dtx create mode 100644 macros/alatex/alatex-1.0/alatex.tex create mode 100644 macros/alatex/alatex-1.0/amanifst.txt create mode 100644 macros/alatex/alatex-1.0/aunpack.ins create mode 100644 macros/alatex/alatex-1.0/aunpcked.txt (limited to 'macros/alatex') diff --git a/macros/alatex/alatex-1.0/0areadme.txt b/macros/alatex/alatex-1.0/0areadme.txt new file mode 100644 index 0000000000..5a4ce03940 --- /dev/null +++ b/macros/alatex/alatex-1.0/0areadme.txt @@ -0,0 +1,89 @@ + + + ALaTeX Distribution Guide + + 21 January 1996 + Matt Swift + + +WELCOME TO ALaTeX! + +This file is a brief guide to the ALaTeX document preparation system, +which is a small but useful modification of the LaTeX document +preparation system. You may produce a discussion of the goals of +ALaTeX by processing the file `metaclas.tex' with LaTeX. The paper is +based on parts of the article "Modularity in LaTeX" by Matt Swift in +TUGboat vol. 16 no. 3. + +ALaTeX is NOT part of the LaTeX distribution. It is maintained +exclusively by Matt Swift , NOT by the LaTeX +maintainers. + +The ALaTeX distribution will probably work with all LaTeX versions, +but it has been tested starting with the December 1995 release. If a +change in the LaTeX kernel requires a change in ALaTeX that makes it +incompatible with earlier LaTeX kernels, I will increase the major +version number. If I make an drop-in improvement to ALaTeX, I will +update the minor version number. + +The ALaTeX version is displayed on the screen every time ALaTeX is +invoked with a reminder that ALaTeX is not standard LaTeX. + +The file 00readme.txt in the LaTeX distribution contains information +about the LaTeX distribution. + +Here is a brief description of some of the ALaTeX files: + + - ainstall.txt describes how to install ALaTeX and its documentation. + - metaclas.cfg is the standard ALaTeX metaclass. + - alatex.tex documents ALaTeX and its standard metaclass. + - alatex.ltx is a patch to the LaTeX kernel. + - amanifst.txt lists all the files in the ALaTeX distribution with + one line of information about their contents. + - abugs.txt describes how to submit a bug report for ALaTeX. + - COPYING is a copy of the GNU General Public License. + - Makefile is a Unix makefile for building and installing ALaTeX on + Unix systems. + + +COPYRIGHT +========= + +The ALaTeX files in this distribution are copyright 1995 Matt Swift +. All rights reserved. + + +WARRANTY +======== + +There is no warranty for ALaTeX. See the file COPYING for details. + + +DISTRIBUTION CONDITIONS +======================= + +ALaTeX may be distributed under the conditions of the GNU General +Public License, which is in the file COPYING. + + +ACKNOWLEDGMENT +============== + +The ALaTeX format that the files in this distribution will generate +represents a VERY small modification of the LaTeX format, whose source +files are copyright 1993-1995 the LaTeX3 project and the individual +authors: + + Leslie Lamport + Johannes Braams + David Carlisle + Alan Jeffrey + Frank Mittelbach + Chris Rowley + Rainer Schoepf + +The authors of the original LaTeX files deserve all of the credit for +the functionality of ALaTeX. The author of ALaTeX added only the +smallest of contributions, and thanks the original authors for writing +the files and for distributing them under conditions which allowed him +to legally make and distribute his addition. diff --git a/macros/alatex/alatex-1.0/COPYING b/macros/alatex/alatex-1.0/COPYING new file mode 100644 index 0000000000..e77696ae8d --- /dev/null +++ b/macros/alatex/alatex-1.0/COPYING @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/macros/alatex/alatex-1.0/Makefile b/macros/alatex/alatex-1.0/Makefile new file mode 100644 index 0000000000..05d40b8549 --- /dev/null +++ b/macros/alatex/alatex-1.0/Makefile @@ -0,0 +1,132 @@ +# ALaTeX makefile for Unix +# +# WARNING: some things in this makefile may be specific to the web2c TeX +# distribution, specifically the setting of TEXINPUTS. +# +# If you use A4 paper, setting ARTICLEOPTS to +# a4paper +# may save about 30 pages. The variable is an argument list that is +# passed to the article class. +ARTICLEOPTS = + +# Where should metaclass.cfg go? +CFGDIR = /usr/local/lib/texmf/tex/latex/config + +# Where should the ALaTeX format go? +FMTDIR = /usr/local/lib/texmf/ini + +# Where should the DVI documentation for ALaTeX go? +DOCDIR = /usr/local/lib/texmf/doc/alatex + +# Where should the ALaTeX executable (link) go? +BINDIR = /usr/local/bin + +# Where are the LaTeX base distribution files? +BASEDIR = /usr/local/src/texmf/macros/latex-95-12/base + +# What options should be passed to install for installing +# everything except the executable? +INSTALLOPTS = -c -m 644 + +# END OF USER-CONFIGURABLE OPTIONS, except for experts of course. + +home = alatex +version = 1.0 +versionfile = VERSION-$(version) +archname = alatex-$(version) + +files = $(versionfile) COPYING \ + Makefile aunpack.ins aunpcked.txt amanifst.txt \ + 0areadme.txt README abugs.txt ainstall.txt \ + alatex.dtx alatex.tex + +doc-files = alatex.dvi + +.PHONY: all install +.PHONY: alatex doc install-alatex install-doc +.PHONY: clean help default +.PHONY: distribution + +default help: + @echo ; \ + echo "Look over the variables at the top of the Makefile and adjust them if"; \ + echo "you want. You probably want to try these targets in this order:"; \ + echo ""; \ + echo " all makes alatex.fmt and metaclas.cfg"; \ + echo " install installs them and creates a link from alatex to virtex"; \ + echo " check runs alatex ltxcheck.tex"; \ + echo " clean removes auxiliary and rebuildable files"; \ + echo ""; \ + echo "Other targets you might want to use are:"; \ + echo ""; \ + echo " doc makes the ALaTeX documentation"; \ + echo " install-doc installs it"; \ + echo + +all: alatex + +alatex: alatex.fmt metaclas.cfg + +doc: alatex.dvi + +$(versionfile): + touch $@ + +README: + ln -s 0areadme.txt $@ + +alatex.ltx metaclas.cfg: alatex.dtx aunpack.ins \ + README $(versionfile) + TEXINPUTS=.:$(BASEDIR):; export TEXINPUTS; \ + tex aunpack.ins + +alatex.fmt: alatex.ltx + initex \&latex alatex.ltx + +alatex.dvi: %.dvi: %.tex %.dtx + echo "\PassOptionsToClass{$(ARTICLEOPTS)}{article}" > ltxdoc.cfg + latex $*.tex + INDEXSTYLE=.:$(BASEDIR); export INDEXSTYLE; \ + makeindex -s gind.ist $*.idx + latex $*.tex + latex $*.tex + +install: install-alatex + +install-alatex: alatex + mkdir -p $(BINDIR) $(FMTDIR) $(CFGDIR) + rm -f $(BINDIR)/alatex + ln -f -s `type virtex | cut -d' ' -f 3` $(BINDIR)/alatex + install $(INSTALLOPTS) alatex.fmt $(FMTDIR) + install $(INSTALLOPTS) metaclas.cfg $(CFGDIR) + +install-doc: doc + mkdir -p $(DOCDIR) + install $(INSTALLOPTS) $(doc-files) $(DOCDIR) + +check: install + TEXINPUTS=.:$(BASEDIR):; export TEXINPUTS; \ + $(BINDIR)/alatex ltxcheck.tex + +distribution: $(files) + rm -f $(archname).tar.gz + cd ..; \ + ln -s $(home) $(archname); \ + tar czf $(archname).tar.gz \ + $(addprefix $(archname)/, $(files)); \ + rm $(archname); \ + mv $(archname).tar.gz $(home) + +clean: + rm -f aunpack.log \ + metaclas.cfg \ + alatex.{log,ltx,ind,idx,ilg,log,aux,toc} \ + ltxcheck.{log,aux} \ + ltxdoc.cfg + +realclean veryclean: clean + rm -f $(doc-files) \ + alatex.fmt \ + README $(versionfile) \ + $(archname).tar.gz + diff --git a/macros/alatex/alatex-1.0/README b/macros/alatex/alatex-1.0/README new file mode 120000 index 0000000000..e68b8ce387 --- /dev/null +++ b/macros/alatex/alatex-1.0/README @@ -0,0 +1 @@ +0areadme.txt \ No newline at end of file diff --git a/macros/alatex/alatex-1.0/VERSION-1.0 b/macros/alatex/alatex-1.0/VERSION-1.0 new file mode 100644 index 0000000000..e69de29bb2 diff --git a/macros/alatex/alatex-1.0/abugs.txt b/macros/alatex/alatex-1.0/abugs.txt new file mode 100644 index 0000000000..139a0f918b --- /dev/null +++ b/macros/alatex/alatex-1.0/abugs.txt @@ -0,0 +1,16 @@ + + + ALaTeX Error Reports + + 21 January 1996 + Matt Swift + + +Before you report an error please check that The problem is with +ALaTeX and not LaTeX. Try reproducing the problem with LaTeX. If you +can, the problem is with LaTeX, so please see the file bugs.txt in the +LaTeX distribution. + +If you think you have found a bug in ALaTeX, please send a full report +including the relevant .tex and .log files by email to Matt Swift +. diff --git a/macros/alatex/alatex-1.0/ainstall.txt b/macros/alatex/alatex-1.0/ainstall.txt new file mode 100644 index 0000000000..e699bd9bfa --- /dev/null +++ b/macros/alatex/alatex-1.0/ainstall.txt @@ -0,0 +1,92 @@ + + + ALaTeX Installation Guide + + + 21 January 1996 + Matt Swift + +SUMMARY +======= + +This file contains the installation instructions for the ALaTeX +document preparation system. + +In order to install ALaTeX, you must have a working installation of +LaTeX2e. More information on LaTeX may be found at +http://www.cogs.susx.ac.uk/cgi-bin/texfaq2html. + +In summary, to install ALaTeX, you will: + + * Generate the ALaTeX format and standard metaclass. + + * Put the ALaTeX files where ALaTeX can read them. + + * Check the installation. + +When one of these steps depends on your TeX distribution, you may find +help on how to do it in a .txt file in the LaTeX distribution. + + +GENERATING THE ALATEX FORMAT +============================ + +To create the ALaTeX format, + + * Run TeX on the file `aunpack.ins'. This will create two new files + called `alatex.ltx' and `metaclas.cfg'. + + * Invoke iniTeX with a first line of `&latex alatex.ltx'. This will + create a format file called `alatex.fmt'. Alternatively, you can + do this by typing `&latex' to iniTeX's `**' prompt, then typing + `\input alatex.ltx', and renaming the file `texput.fmt' to + `alatex.fmt'. + + * Copy or move the format file `alatex.fmt' to the TeX formats + directory, and copy or move the standard metaclass `metaclas.cfg' + into a standard TeX input path. + + * If you use the Unix web2c distribution of TeX, you may wish to + create a link from `alatex' to `virtex', and define + TEXINPUTS.alatex to have the same or similar value as + TEXINPUTS.latex2e in the file texmf.cnf. On other platforms, you + must do something else to use the ALaTeX format. + + +CHECKING THAT THE INSTALLATION WORKED +===================================== + +To make sure that the installation has worked, you may run +ALaTeX on the document `ltxcheck.tex' which came in the base directory +of your LaTeX2e distribution. + +Notice that the dialog will refer to LaTeX2e, but the banner ought to +announce that you have invoked ALaTeX. + +This will produce a number of messages, each of which should be `OK'. +If any of them are `BAD', I suggest trying seeing whether the same +error occurs when you run LaTeX on `ltxcheck.tex'. If so, see the +PROBLEMS section of the install.txt file in the LaTeX distribution. +If not, then please see the file abugs.txt in the ALaTeX distribution +and submit a bug report. + +If all the messages are `OK' then you are finished! + + +GENERATING THE DOCUMENTATION +============================ + +Process `alatex.tex' with LaTeX and (optionally) Makeindex to produce +documentation of ALaTeX and its standard metaclass. If you generate +the index, use the index style gind.ist that came in the base +directory of your LaTeX2e distribution (though it might have been +moved elsewhere during installation). + + +UNIX +==== + +On a Unix system, it will be easiest to use the Makefile I have +written. Look over the variables at the top of the Makefile and +adjust them as necessary. Invoke "make" with no arguments to see a +list of targets. diff --git a/macros/alatex/alatex-1.0/alatex.dtx b/macros/alatex/alatex-1.0/alatex.dtx new file mode 100644 index 0000000000..0f7539b569 --- /dev/null +++ b/macros/alatex/alatex-1.0/alatex.dtx @@ -0,0 +1,531 @@ +%^^A* file information +% \iffalse +% +% alatex.dtx -- discussion and documentation of ALaTeX and its standard metaclass +% +% Copyright 1995 Matt Swift . All rights reserved. +% +% This file is part of the ALaTeX system. +% Please see the file 0areadme.txt for further information. +% +% All correspondence regarding ALaTeX should go to +% Matt Swift , not the LaTeX maintainers. +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; if not, write to the Free Software +% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +% +% \fi +% +%^^A* checks +% +%^^A NOTE: The character table, with two %'s, will get written to all files. +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +% +% \CheckSum{287} +% +%^^A* abstract +% \begin{abstract} +% \ALaTeX{} is a document preparation system that provides the user with all +% the functionality of \LaTeX{} and a general, legal way to override standard +% \LaTeX{} behavior without altering source files. An important consequence is +% that \ALaTeX{} can interpret official \LaTeX{} markup in an abstract way. +% +% This discussion builds on the author's paper ``Modularity in \LaTeX'' +% in the forthcoming TUGboat \textbf{16} (3). +% \end{abstract} +% \tableofcontents +% \clearpage +% +% \StopEventually{} +% +% \section{Introduction} +% +% The purpose of writing \ALaTeX{} was to facilitate typesetting official +% \LaTeX{} markup as \emph{abstract} markup, that is, markup that is not fixed +% to a ``standard'' appearance on a typeset page. Official \LaTeX{} markup has +% a standard appearance. Together with the broad portability of the \TeX{} +% program, this standard is a highly valuable feature of \LaTeX. In achieving +% this important goal, however, the \LaTeX{} developers compromised the +% valuable ability of \LaTeX{} to interpret markup abstractly. \ALaTeX{} +% attempts to provide users with the ability to process official \LaTeX{} +% markup with the power of full abstraction, without compromising their ability +% to process official \LaTeX{} markup in the standard way. +% +% You are not allowed to modify the distributed \LaTeX{} files without changing +% their names; yet filenames are how classes and packages are identified. In +% many cases it is desirable to produce \emph{different} \ext{dvi} files from +% the same source document. Suppose you make a small modification of the +% standard \class{article} class. To use it to process a source which calls +% for the \class{article} class, you must either break the law and call your +% derivative class \file{article.cls}, or modify the source to call for a +% different class. Both options are unacceptable, the first for obvious +% reasons, the second because a document class---and indeed all the markup in a +% source---ought to be abstractly descriptive without specifying the details of +% presentation. Font specifications are absurd in a document to be read aloud; +% volume specifications are absurd in a document to be printed; page +% specifications are absurd in a document to be viewed on a screen. +% +% Even were it agreed to privilege a single medium for presentation, sometimes +% the source simply cannot be modified, and making a copy would cause version +% control or storage difficulties, or itself be a violation of law. +% +% It is unnecessary to dwell on the necessary failure of any markup scheme to +% be suitably abstract for all interesting documents and presentation media. +% Fortunately, we are aiming to advance computer-aided typesetting, not the +% philosophy of essence and accident, syntax and semantics. What is true of +% \ALaTeX{} and not of \LaTeX{} is that all directives with a \emph{necessary} +% influence on typeset appearance appear outside the source document. +% +% It is very difficult to have a working \ALaTeX{} without also having a +% working \LaTeX. For this reason, \ALaTeX{} is unlikely to compromise the +% availability and ubiquity of systems that conveniently produce standard +% \LaTeX{} \ext{dvi} files from sources containing official \LaTeX{} markup. +% To help insure this harmlessness (and for lack of a reasonable alternative), +% \ALaTeX{} as distributed produces \ext{dvi} files identical to ones that +% \LaTeX{} produces from the same source. Differences are conceivable only in +% the perverse cases listed in Appendix \ref{perverse}. +% +% Abstracting those cases, therefore, a user must actively alter \LaTeX{} or +% \ALaTeX{} before she can produce a \ext{dvi} file that differs from the one +% standard \LaTeX{} produces from the same source file. \ALaTeX, however, is +% much easier to alter in useful ways than \LaTeX. +% +% \begin{em} +% When you compose a document, please preview it with (standard) \LaTeX. +% There is absolutely no reason at all to use \ALaTeX{} during document +% composition. Using \LaTeX{} will ensure that your document can be +% consistently compiled and viewed at every \LaTeX{} site in the world. Use +% \ALaTeX{} \emph{only} on existing sources when you can't or don't want to +% modify them, and yet want to present them in a nonstandard way. +% \end{em} +% +% \section{How \ALaTeX{} works} +% +% Most of the \ALaTeX{} distribution is designed to make a single small change +% to the \LaTeX{} kernel easy and legal to use. The change causes the +% |\documentclass| command to store its arguments in variables and load the +% file \file{metaclas.cfg} called the \term{metaclass} before continuing. +% That's it! +% +% The significance of this change is in the variety and scope of what can be +% accomplished by code in the metaclass. In the metaclass, the |@| character +% is a letter, as in normal class files. +% +% \DescribeMacro\mc@class@options +% \DescribeMacro\mc@class@name +% \DescribeMacro\mc@class@version +% When the metaclass is executed, the \ALaTeX{} kernel is loaded, and the +% source file has been processed from the beginning through the first +% |\documentclass| command and all its arguments. The arguments have been +% stored in macros as follows: +% \begin{description} +% \item[\bslash mc@class@options] holds the first optional argument to +% |\documentclass|. +% \item[\bslash mc@class@name] holds the mandatory argument to +% |\documentclass|. +% \item[\bslash mc@class@version] holds the second optional +% argument to |\documentclass|. +% \end{description} +% +% A metaclass can do anything at all with this information. The distributed +% metaclass below emulates \LaTeX's behavior. Code in comments below provides +% two convenient mechanisms to do something else, causing \ALaTeX's typeset +% documents to differ from \LaTeX's. \ALaTeX{} is as flexible as possible, and +% the number of other possibilities is countless. +% +% \DescribeMacro\alt@cls@extension +% \DescribeMacro\ds@foo +% The nonstandard mechanisms are as follows. Let \meta{class} be the class +% named by the |\documentclass| command, \meta{altX} be the value of +% |\alt@cls@extension| defined in the metaclass, and \meta{normX} be the value +% of |\@cls@extension| defined in the \ALaTeX{} (and \LaTeX) kernel. +% \begin{enumerate} +% \item When a file \file{\meta{class}.\meta{altX}} exists in the search path, +% it will be loaded instead of the usual \file{\meta{class}.\meta{normX}}. +% \item When a command |\ds@|\meta{class} is defined, it will be executed +% instead of loading \file{\meta{class}.\meta{normX}}. +% \end{enumerate} +% +% Notice that there is no reason to use \ALaTeX{} unless you create a +% nonstandard metaclass. The standard metaclass emulates standard \LaTeX{} +% because the user should have to take active steps to get nonstandard output. +% If you modify this file, please change the |\fileinfo| declaration near the +% end. +% +% \section{The game of the name} +% +% You may understand the \word{A} in \ALaTeX{} to stand for \word{alternate} or +% \word{abstract}, or to be the definite article, which emphasizes that fact +% that when you process with \ALaTeX{}, you are seeing just one of an infinite +% number of possibile presentations of your document's content. +% +% You may pronounce \ALaTeX{} however you like, of course. +% +% \section{A sampler of applications} +% +% \ALaTeX{} is a powerful tool, but newly born. Sophisticated applications +% have neither been conceived nor implemented. The author would appreciate +% hearing from you. +% +% \ALaTeX{} is potentially useful in situations where without \ALaTeX{} one +% would need to alter the source in a way that affects its presentation but not +% its content. For example, without \ALaTeX{} you must modify the source to +% change the paper size or font characteristics of the typeset document. +% \ALaTeX{} allows you to make this kind of change by altering the typesetting +% procedure instead of the source itself. +% +% You can use \ALaTeX{} to specify options to package and classes or even to +% load packages. You can invoke debugging or profiling code. +% +% Since the metaclass can control the style of a document, a system of files +% could be arranged in which there exist companion files for sources, which +% would function like style sheets. Common hierarchical path searching +% mechanisms would permit cascading styles with a flexible inheritance scheme +% at the levels of site, user, directory, and individual source. +% +% \section{The future} +% +% I envision removing most of the decisions embodied in the preamble and in +% package and class options from the source file to the invocation of the +% processing run. The decisions might be specified on the command line or in +% files separate from the source that are managed by a convenient interface. +% Is not an analogous development occurring as style sheets are brought to +% HTML? +% +% Since the choices a user would typically make via \ALaTeX{} are likely to be +% few and from among a small number of known alternatives, it is easy to +% imagine a convenient user interface for the common options. Such a front end +% written \TeX{} would have the advantage of being \%100 portable. A graphical +% interface could be integrated in an existing front end which manages a broad +% array of \TeX-related tasks. +% +% If metaclasses become tricky, a |\tracingmetaclasses| command might be +% warranted. +% +% \StopEventually{} +% +% \section{Version control} +% +% \begin{macro}{\fileinfo} +% \begin{macro}{\fileversion} +% \begin{macro}{\filedate} +% \begin{macro}{\docdate} +% \begin{macro}{\PPOptArg} +% First we take care of the business of keeping track of the version of this +% document. +% \begin{macrocode} +%<*metaclass> +\def\fileinfo{standard ALaTeX metaclass} +\def\fileversion{v1.0} +\def\filedate{1996/01/24} +\def\docdate{1996/01/24} +\edef\PPOptArg{\filedate\space \fileversion\space \fileinfo} +\ProvidesFile{metaclas.cfg}[\PPOptArg] +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \section{Emulate \LaTeX{} (the default)} +% +% \begin{macro}{\documentclass} +% \begin{macro}{\mc@load@class} +% The following |\documentclass| command behaves exactly like \LaTeX's. It +% looks a little different here because we've already read the three arguments. +% \begin{macrocode} +\def\documentclass{% + \let\documentclass\@twoclasseserror + \if@compatibility\else\let\usepackage\RequirePackage\fi + \mc@load@class} +\def\mc@load@class{% + \edef\reserved@a{% + \noexpand\@fileswithoptions + \noexpand\@clsextension + [\mc@class@options]{\mc@class@name}[\mc@class@version]}% + \reserved@a} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \section{Privelege alternate extensions} +% +% \begin{macro}{\alt@cls@extension} +% \begin{macro}{\documentclass} +% To enable divergences from standard \LaTeX{} of the first kind only, +% uncomment the following four definitions in this section and ensure that the +% definitions in following sections are commented out. Please also change the +% definition of |\fileinfo| above. +% \begin{macrocode} +% \def\alt@cls@extension{acl} +% \def\documentclass{% +% \let\documentclass\@twoclasseserror +% \if@compatibility\else\let\usepackage\RequirePackage\fi +% \IfFileExists{\mc@class@name.\alt@cls@extension} +% {\let\mc@extension\alt@cls@extension +% \mc@load@class +% \def\mc@extension{\@currext}} +% {\mc@load@class}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\mc@extension} +% \begin{macro}{\@onefilewithoptions} +% A lot of code here for two tiny changes of |\@currext| to |\mc@extension|. +% The file with the alternate extension masquerades as one with the normal +% extension in every way except the actual filename. +% \begin{macrocode} +% \def\mc@extension{\@currext} +% \def\@onefilewithoptions#1[#2][#3]#4{% +% \@pushfilename +% \xdef\@currname{#1}% +% \global\let\@currext#4% +% \expandafter\let\csname\@currname.\@currext-h@@k\endcsname\@empty +% \let\CurrentOption\@empty +% \@reset@ptions +% \makeatletter +% \def\reserved@a{% +% \@ifl@aded\@currext{#1}% +% {\@if@ptions\@currext{#1}{#2}{}% +% {\@latex@error +% {Option clash for \@cls@pkg\space #1}% +% {The package #1 has already been loaded +% with options:\MessageBreak +% \space\space[\@ptionlist{#1.\@currext}]\MessageBreak +% There has now been an attempt to load it +% with options\MessageBreak +% \space\space[#2]\MessageBreak +% Adding the line:\MessageBreak +% \space\space\string\usepackage +% [\@ptionlist{#1.\@currext},#2]{#1}\MessageBreak +% to your document may fix this.\MessageBreak +% Try typing \space \space to proceed.}}}% +% {\@pass@ptions\@currext{#2}{#1}% +% \global\expandafter +% \let\csname ver@\@currname.\@currext\endcsname\@empty +% \InputIfFileExists +% {\@currname.\mc@extension}% +% {}% +% {\@missingfileerror\@currname\mc@extension}% +% \let\@unprocessedoptions\@@unprocessedoptions +% \csname\@currname.\@currext-h@@k\endcsname +% \expandafter\let\csname\@currname.\@currext-h@@k\endcsname +% \@undefined +% \@unprocessedoptions} +% \@ifl@ter\@currext{#1}{#3}{}% +% {\@latex@warning@no@line +% {You have requested,\on@line, +% version\MessageBreak +% `#3' of \@cls@pkg\space #1,\MessageBreak +% but only version\MessageBreak +% `\csname ver@#1.\@currext\endcsname'\MessageBreak +% is available}}% +% \ifx\@currext\@clsextension\let\LoadClass\@twoloadclasserror\fi +% \@popfilename +% \@reset@ptions}% +% \reserved@a} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \section{Pass control to a macro} +% +% \begin{macro}{\documentclass} +% To enable divergences from standard \LaTeX{} of the second kind only, +% uncomment the following definition and ensure that all definitions in the +% next and previous sections are commented out. Please also change the +% definition of |\fileinfo| above. You must define |\dc@|\meta{class} in your +% \file{metaclass.cfg} or before the |\documentclass| command in your document, +% if you want to define it at all. +% \begin{macrocode} +% \def\documentclass{% +% \let\documentclass\@twoclasseserror +% \if@compatibility\else\let\usepackage\RequirePackage\fi +% \@ifundefined{dc@\mc@class@name} +% {\mc@load@class} +% {\@nameuse{dc@\mc@class@name}}} +% \end{macrocode} +% \end{macro} +% +% \section{First extension then macro} +% +% \begin{macro}{\documentclass} +% To enable divergences from standard \LaTeX{} of both the first and second +% kinds, uncomment the following definition as well as the definitions of +% |\alt@cls@extension|, |\mc@extension|, and |\@onefilewithoptions| above. +% Please also change the definition of |\fileinfo| above. +% \begin{macrocode} +% \def\documentclass{% +% \let\documentclass\@twoclasseserror +% \if@compatibility\else\let\usepackage\RequirePackage\fi +% \IfFileExists{\mc@class@name.\alt@cls@extension} +% {\let\mc@extension\alt@cls@extension +% \mc@load@class +% \def\mc@extension{\@currext}} +% {\@ifundefined{dc@\mc@class@name} +% {\mc@load@class} +% {\@nameuse{dc@\mc@class@name}}}} +% \end{macrocode} +% \end{macro} +% +% \section{Actually do something} +% +% So far we've just defined a command called |\documentclass|. It's time to +% use it. It's probably best if this remains at the end of the (extracted) +% file. +% \begin{macrocode} +\documentclass +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \appendix +% \section{Perverse cases} +% \label{perverse} +% +% \ALaTeX{} as distributed produces \ext{dvi} files identical to ones that +% \LaTeX{} produces from the same source. Differences are conceivable +% only in the following perverse cases. +% \begin{enumerate} +% \item The document contains \TeX{} code that depends upon the exact +% definitions or undefined state of the macros +% \begin{quote}\raggedright +% |\ALaTeX|, |\documentclass|, |\mc@documentclass|, +% |\mc@@documentclass|, |\mc@class@options|, |\mc@class@name|, +% |\mc@class@version|, and |\mc@load@class|. +% \end{quote} +% \item Processing the document requires the (almost trivial) internal +% resources consumed by defining the above macros and loading the metaclass +% file. +% \item There is unfriendly code in the source before the |\documentclass| +% command. Normally only harmless comments and \env{filecontents} +% environments will precede the |\documentclass| command, but other code is +% possible, that would cause the \ALaTeX's output to differ from \LaTeX's. +% \item The arguments to |\documentclass| are very unusual, for example, they +% change catcodes or have complicated expansions. \ALaTeX{} scans the +% arguments to |\documentclass| slightly differently than \LaTeX{} does. +% \end{enumerate} +% No one should have to worry about these cases, and if they come up the +% problem should be obvious. +% +% \section{Kernel Patch} +% +% This is the code that patches the \LaTeX{} kernel. +% +% \begin{macrocode} +%<*alatex> +\def\fileinfo{ALaTeX patch to LaTeX kernel} +\def\fileversion{v1.0} +\def\filedate{1996/01/24} +\def\docdate{1996/01/24} +\edef\PPOptArg{\filedate\space \fileversion\space \fileinfo} +\ProvidesFile{metaclas.cfg}[\PPOptArg] + +\makeatletter +% \end{macrocode} +% +% This is \ALaTeX, so make sure to announce it, and that it's nonstandard. We +% don't want to change the |\fmtversion|. We want \ALaTeX{} to masquerade as +% \LaTeX{} to the programs but not the users. +% +% This startup banner may be further modified by the code in |ltfinal.dtx| if a +% patch file is present. +% \begin{macrocode} +\everyjob{\typeout{ALaTeX\space<\fmtversion\space R1> (NOT STANDARD LATEX)}} +\immediate\write16{ALaTeX\space<\fmtversion\space R1> (NOT STANDARD LATEX)} +% \end{macrocode} +% +% \begin{macro}{\ALaTeX} +% Provide a logo. +% \begin{macrocode} +\DeclareRobustCommand{\ALaTeX} + {A\LaTeX} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\documentclass} +% \begin{macro}{\mc@documentclass} +% \begin{macro}{\mc@@documentclass} +% \begin{macro}{\mc@class@options} +% \begin{macro}{\mc@class@name} +% \begin{macro}{\mc@class@version} +% If the file |metaclas.cfg| exists in the search path, then the +% |\documentclass| command reads its three arguments (two are optional) into +% variables, and passes control to that file. If there is no such file, then +% we proceed just as in \LaTeX. Since |\documentstyle| loads some code then +% calls |\documentclass|, 2.09 documents also fall under the control of the +% metaclass mechanism. +% \begin{macrocode} +\def\documentclass{% + \IfFileExists{metaclas.cfg} + {\@ifnextchar[%] + {\mc@documentclass} + {\mc@documentclass[]}} + {\let\documentclass\@twoclasseserror + \if@compatibility\else\let\usepackage\RequirePackage\fi + \@fileswithoptions\@clsextension}} + +\def\mc@documentclass[#1]#2{% + \@ifnextchar[%] + {\mc@@documentclass{#1}{#2}} + {\mc@@documentclass{#1}{#2}[]}} + +\def\mc@@documentclass#1#2[#3]{% + \def\mc@class@options{#1}% + \def\mc@class@name{#2}% + \def\mc@class@version{#3}% + \makeatletter + \input{metaclas.cfg}% + \makeatother} + +\@onlypreamble\documentclass +\@onlypreamble\mc@documentclass +\@onlypreamble\mc@@documentclass +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% Dump the format. +% \begin{macrocode} +\makeatother +\dump +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \Finale diff --git a/macros/alatex/alatex-1.0/alatex.tex b/macros/alatex/alatex-1.0/alatex.tex new file mode 100644 index 0000000000..15eacf2664 --- /dev/null +++ b/macros/alatex/alatex-1.0/alatex.tex @@ -0,0 +1,21 @@ +\documentclass{ltxdoc} +\CodelineIndex +\EnableCrossrefs +\DeclareTextFontCommand\word\em % refer to a word as a word +\DeclareTextFontCommand\term\slshape % technical term +\DeclareTextFontCommand\env\ttfamily % environment +\DeclareTextFontCommand\package\slshape % name of LaTeX package +\DeclareTextFontCommand\program\ttfamily % generic name of computer program +\DeclareTextFontCommand\class\slshape % name of LaTeX class +\DeclareTextFontCommand\file\ttfamily % name of disk file +\DeclareTextFontCommand\ext\ttfamily % name of file extension +\begin{document} +\providecommand\ALaTeX{A\LaTeX} +\date{Version: 1.0 \\Documentation revision: 1996/01/21} +\author{Matt Swift \texttt{}} +\title{\ALaTeX{} and its Standard Metaclass} +\maketitle +\DocInput{alatex.dtx} +\clearpage +\PrintIndex +\end{document} diff --git a/macros/alatex/alatex-1.0/amanifst.txt b/macros/alatex/alatex-1.0/amanifst.txt new file mode 100644 index 0000000000..6279b81888 --- /dev/null +++ b/macros/alatex/alatex-1.0/amanifst.txt @@ -0,0 +1,50 @@ +% +% The following files form the ALaTeX 1.0 distribution. +% +% +% CONTENTS OF THE ALaTeX DISTRIBUTION +% ==================================== +% +% Documentation: +% -------------- +% +% 0areadme.txt -- The distribution guide. +% abugs.txt -- Where to submit a bug report for ALaTeX. +% ainstall.txt -- How to install ALaTeX. +% alatex.tex -- ALaTeX documentation. +% amanifst.txt -- This file. +% +% +% Kernel and Metaclass files: +% --------------------------- +% +% alatex.dtx -- Source for ALaTeX documentation, the standard metaclass, +% and the patch to the LaTeX kernel. +% +% +% Installation files: +% ------------------- +% +% Makefile -- Unix Makefile for building and installing ALaTeX +% and its documentation. +% aunpack.ins -- Unpacks the ALaTeX distribution. +% aunpcked.txt -- Lists files unpacked by aunpack.ins. +% +% ====================================================================== +% +% The following file list is read in during the installation procedure +% to check that all the files are present. The file names should be +% separated by white space, and this file should end with |\endinput|. +% +README +COPYING +Makefile +VERSION-1.0 +0areadme.txt +abugs.txt +alatex.tex +alatex.dtx +amanifst.txt +aunpack.ins +aunpcked.txt +\endinput diff --git a/macros/alatex/alatex-1.0/aunpack.ins b/macros/alatex/alatex-1.0/aunpack.ins new file mode 100644 index 0000000000..8861282780 --- /dev/null +++ b/macros/alatex/alatex-1.0/aunpack.ins @@ -0,0 +1,135 @@ +% aunpack.ins -- installation driver for the ALaTeX system +% +% Copyright 1996 Matt Swift . +% All rights reserved. +% +% This file is part of the ALaTeX system. Please see the file +% 0areadme.txt for further information. +% +% All correspondence regarding ALaTeX should go to +% Matt Swift , not the LaTeX maintainers. +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; if not, write to the Free Software +% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +% +\def\batchfile{aunpack.ins} + +\let\documentclass\undefined +\input ltdirchk.dtx +\input testdist.dtx +\input docstrip.dtx + +\let\OriginalAsk=\Ask +\def\Ask#1#2{% + \OriginalAsk{#1}{#2}% + \global\let\Ask\OriginalAsk + \Ask\noprompt{% + By default you will be asked this question for every file.^^J% + If you enter `y' now, I will asssume `y' for all future questions^^J% + without prompting.}% + \ifx\y\noprompt\gdef\Ask##1##2{\def##1{y}}\else + \ifx\yes\noprompt\gdef\Ask##1##2{\def##1{y}}\fi\fi} + +\testdistribution{amanifst.txt}{Missing distribution files.}{% + The above files are missing from your ALaTeX distribution. +^^JYou should be able to get the files from the same source as +^^Jthe rest of the distribution. If you can't, then complain! +^^JThe full list of ALaTeX distributed files is in amanifst.txt. +^^JMore information about the installation is in ainstall.txt. +^^JPress to continue, or X to exit. +} + +\Msg{**********************************************} +\Msg{*} +\Msg{* Welcome to the Installation routine of} +\Msg{*} +\Msg{* \space\space\space\space ALaTeX\space 1.0} +\Msg{*} +\Msg{**********************************************} +\Msg{} +\Msg{} + +\keepsilent + +\preamble + +Copyright 1995-1996 Matt Swift . All rights reserved. + +This file is part of the ALaTeX system. If you modify it, please +change the definition of \string\fileinfo. + +All correspondence regarding ALaTeX should go to Matt Swift +, not the LaTeX maintainers. + +This file has been generated from the sources listed above. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +\endpreamble + +\def\Lbatchinput#1{{\batchinput{#1}}} % to avoid changing preambles + % by included batchfiles we just enclose \batchinput + % in brackets since \preamble decls are local + +\generate{ + \file{alatex.ltx}{\from{alatex.dtx}{alatex}} + \file{metaclas.cfg}{\from{alatex.dtx}{metaclass}} + } + +\testdistribution{aunpcked.txt}{Missing unpacked files.}{% + The above files should have been unpacked by this installation. +^^JIf they are missing, then this means that something is wrong. +^^JRead ainstall.txt to find out what to do now. +^^JThe list of files which should have been unpacked is in aunpcked.txt. +^^JPress to continue, or X to exit. +} + +\Msg{} +\Msg{********************************************************************} +\Msg{*} +\Msg{* The patch to the LaTeX kernel and the standard ALaTeX metaclass} +\Msg{* have been created.} +\Msg{*} +\Msg{* To create the ALaTeX format, you must} +\Msg{* now run iniTeX on alatex.ltx to generate alatex.fmt.} +\Msg{*} +\Msg{* To use the new format and the standard metaclass,} +\Msg{* place them in a standard TeX path.} +\Msg{*} +\Msg{* If you use the Unix web2c distribution of TeX, you may wish to} +\Msg{* create a link from `alatex' to `virtex', and define} +\Msg{* TEXINPUTS.alatex to have the same value as TEXINPUTS.latex in the} +\Msg{* file texmf.cnf (both of these should have the same value as} +\Msg{* TEXINPUTS.latex2e). On other platforms, you must do something else} +\Msg{* to use the ALaTeX format.} +\Msg{*} +\Msg{* Documentation may be produced by running} +\Msg{* LaTeX on alatex.tex.} +\Msg{*} +\Msg{*******************************************************************} +\Msg{} + +\endinput diff --git a/macros/alatex/alatex-1.0/aunpcked.txt b/macros/alatex/alatex-1.0/aunpcked.txt new file mode 100644 index 0000000000..e1413f8fba --- /dev/null +++ b/macros/alatex/alatex-1.0/aunpcked.txt @@ -0,0 +1,9 @@ +% +% The following files will be unpacked by running TeX on +% aunpack.ins. +% + +alatex.ltx +metaclas.cfg + +\endinput -- cgit v1.2.3