AminetAminet
Search:
83849 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/rexx/LM2xxx.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:HTML/LaTeX for LigaManger
Author:steigies at physik.uni-kiel.de (Christian T. Steigies)
Uploader:steigies physik uni-kiel de (Christian T Steigies)
Type:util/rexx
Version:1.07a (small corrections in the guide, .info files added)
Requires:ARexx, LigaManager (registered version!)
Architecture:m68k-amigaos
Date:1997-09-30
Download:http://aminet.net/util/rexx/LM2xxx.lha - View contents
Readme:http://aminet.net/util/rexx/LM2xxx.readme
Downloads:385

LM2xxx is a set of ARexx macros to convert LM_output files to HTML/LaTeX.
Currently "Tabellen" and "Ergebnisse" can be converted.

This readme is outdated! Since LigaManager is german only, I have
written a german guide. I will not change this readme (until Ligamanager
goes international ;-) but most of the points mentioned here
should remain valid.


You ask, what is LigaManager. Hmm, have a look on aminet and find a
demo version in biz/dbase. I extracted the intro from the dok file:
(german only, perhaps Marcus will write an english version some day? ;-)
I heard that even outside germany people play soccer, icehockey, ...

-------------------- \begin{Werbung} --------------------
LigaManager ist ein Programm zur Archivierung von Spiel-Ergebnissen und
-Terminen aus Sportligen. Tabellen und Statistiken können erstellt und
ausgedruckt werden oder als Text in einer Datei gespeichert werden.

LigaManager wurde ursprünglich für Fußball-Ligen geschrieben. Inzwischen
ist das Programm aber so erweitert worden, daß es für viele andere Sport-
arten benutzt werden kann, die im Ligamodus ablaufen.

Und das hat der LigaManager zu bieten:
.
.
.
Bevor nun die eigentliche Anleitung folgt noch ein Wort zum Sprachgebrauch.
Es wird häufig die Rede von "Toren" sein. Wenn in Ihrer Liga keine Tore
erzielt werden, sondern Körbe, Punkte oder lila Wattebällchen,
lassen Sie
sich davon nicht abschrecken, sondern denken Sie sich einfach den für Ihre
Liga passenden Begriff.
--------------------- \end{Werbung} ---------------------

Install:
--------
If you have a make utility available (GNU make, smake), just do a:
"make install" to install the LM_xxx2HTML macros.
If you (also) want to convert to LaTeX, you have three options to
install the files with the makefile:
1.) install by copying the files there "make install_copy"
2.) install by creating softlinks "make install_soft" ("ln" required)
3.) install by creating hardlinks "make install_hard"

If you don't have a make utility, you have to copy the rexx files to
REXX:, set the links if you need them and copy convert.bat to s:
See the makefile for further info (or install GNU make ;-)

Why using links? Well, the files converting to HTML are the same which
convert to LaTeX, so you will save some space on your precious harddisk
by using links.

Usage:
------
In LigaManager select in Optionen/Drucken "in Datei" and deselect
"Steuerzeichen", display a "Tabelle" or "Ergebnis" and press Right-Amiga P
to print it in a file (usually to RAM:LM_output).
To convert this type (from a shell):
> rx LM_xxx2HTML ram:LM_output
> rx LM_xxx2LaTeX ram:LM_output
The converted file ends up in ram: as
ERG.html or TAB.tex or...
I tested the output with AWeb-Demo, Voyager-NG Demo, Netscape (MAC) and
PasTeX/LaTeX2e. A Voyager problem with centering in tables is circumvented.
If you find a mistake, please send the LM data file to me (MIME encoded).

LigaManager3.1 will support "Druck-Kommandos" before and after printing.
Use this to automagically convert files printed to a file. For the supplied
LM_convert.bat, which is installed in s: by the makefile, enter the following
in Optionen/Druck-Kommandos wählen
vor jedem Drucken: delete %a
nach jedem Drucken: execute s:LM_convert.bat %a %i %z
The converted files will be numbered, so you can convert a number of files
without overwriting the older ones.
Note: I had to include the full path to the "rx" comand in LM_convert.bat to
get things going. If your path to rx differs from mine, change it in
LM_convert.bat.

Important (when using the rexx macros by hand):
-----------------------------------------------
Save only one "Tabelle" or "Ergebnis" in the outputfile!
Print only as ASCII output, no ESCAPE sequences, please.
Allways call the macros with
> rx LM_ERG2HTML      or
> rx LM_ERG2HTML.rexx
No absolute pathnames, please. They won't work. Even if they would work,
they would not be neccessary, since the rexx files are in REXX:

TODO:
-----
- more output formats (AmigaGuide?)
- convert "Kastentabellen", "Statistik", "Serien", ...
- switch off DOCTYPE/HTML HEAD with an option? :-(
- LM2xxx as C program (silly idea to do it in AREXX ;-)

Known Bugs:
-----------
- You need the registered Version of LigaManager to create LM_output files.
  One might call this a feature ;-)
- "Ergebnisse" with no "Datum" will not be converted, way too booring...

Credits:
--------
Thanks go to:
- Marcus Stratmann(!) for:
  writing LigaManger,
  asking me NOT to write these macros ;-)
  supplying me with useful information to make these macros work
  and finally allowing LM to call them automagically (convert.bat)
- J and S Göhler for betatesting
- the folks in the newsgroups providing me with useful AREXX information,
  did you ever read the _manual_? Thanx Patrick!
- Martin Gierich for the ZShell, which makes life much easier most of the
  time (but extremely hard sometimes ;-)


Contents of util/rexx/LM2xxx.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  282     632  44.6% -lh5- 3a70 Sep  2  1997 LM2xxx.info
[generic]                 6980   17957  38.9% -lh5- 1ac4 Sep  4  1997 LM2xxx/LICENSE
[generic]                 7969   25111  31.7% -lh5- 9be1 Sep 29  1997 LM2xxx/LM2xxx.guide
[generic]                  266     503  52.9% -lh5- 71d6 Sep  2  1997 LM2xxx/LM2xxx.guide.info
[generic]                  230     441  52.2% -lh5- ebc7 Sep 29  1997 LM2xxx/LM_convert.bat
[generic]                 1918    5527  34.7% -lh5- b79e Aug 10  1997 LM2xxx/LM_ERG2HTML.rexx
[generic]                 2556    8331  30.7% -lh5- d36c Aug 10  1997 LM2xxx/LM_TAB2HTML.rexx
[generic]                  470    1308  35.9% -lh5- cfac Aug 10  1997 LM2xxx/Makefile
[generic]                 2545    5199  49.0% -lh5- a6f7 Sep  2  1997 LM2xxx/README
[generic]                  249     487  51.1% -lh5- de13 Sep  2  1997 LM2xxx/README.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        10 files   23465   65496  35.8%            Sep 30  1997

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>