home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
tguide15.lha
/
TextGuide
/
TextGuide.doc
< prev
next >
Wrap
Text File
|
1993-07-31
|
5KB
|
143 lines
$VER: TextGuide v1.5 Doc (31.07.93)
__ ___
|_)( |_)
| _)| \
S O F T W A R E
______________________________________________________________________
Presents: TextGuide
Description: Converts AmigaGuide files into standard Ascii files
Requirement: All Amigas
Version: 1.5
Date: 31/07/93
Status: Freeware.
Contribution: n/a
Acknowledge: Amiga E, Wouter van Oorterssen; AmigaGuide,
Commodore-Amiga Inc.; Spot, Nico François;
______________________________________________________________________
Please note, TextGuide requires titles and nodes to be quoted:
Node "Name" "Title"
Title "Title"
Faliure to do this will result in the nodes NOT being converted when
TextGuide is run.
Brief ________________________________________________________________
TextGuide is a small utility which converts AmigaGuide files into
Ascii files suitable for reading with any file reader such as More
etc. It is also useful for people who already have AmigaGuide, but
wish to view the doc files in Ascii format where the .doc file has not
been supplied.
o Version 1.4 includes ability to find the title from the '@node'
commands.
Usage ________________________________________________________________
To use the program, you must supply it with two parameters. The file
you want to convert, and the destination or to file. Once you have
done this, the file will be converted.
1> TextGuide Spot.Guide Spot.text
This would convert the mail tosser Spot's AmigaGuide documentation
into an Ascii file called `Spot.text', although this is pointless as
a Spot documentation file in Ascii is already supplied!
After calling the program you will see many lines appearing,
telling you what is happening:
TextGuide © 1993 PSR Software
found command: line removed
found command: ignored due to context
found command: ignored due to end of line
found command: saving title: done
found command: saving title: removed due to end of line
found embedded: saving button
found embedded: removing
found command: embedded: saving button
found command: embedded: removing
The 'found command' line simply means that the first character on a
line is a '@' as used by AmigaGuide. If the character directly after
that is an alphanumeric character, the whole line will be removed, as
this will mean the line contains a '@node main' or other command.
Before the lines is removed, it is tested to see if it is a 'title'
line. If it is, the contents of the quotes are saved in the folling
format:
* CONTENTS OF THE QUOTES IN UPPERCASE
This will occur is either '@title "Title"' or '@node "Name" "Title" is
found.
If a line feed character is found whilst the program is looking for
the quotes title information, 'removed due to end of line' will be
shown.
'ignored due to context' means that the character after the '@' is
a space, and so the line is not removed.
'ignored due to end of line' occurs when an end of line follows the
'@' character, this doesn't occur very often!
'found embedded' means that an embedded command has been found,
these begin with the characters '@{'. If no quotation marks are found
within the { and }, the whole embedded command is removed and
'removing' is displayed. If, for a button for example, quotation
marks ARE found, their contents are translated to upper case and
written to the 'to' file and 'saving button' is shown. The button
will be converted to uppercase before being saved to the destination
file.
Sometimes, when embedded commands are at the first character of a
line, they will be confused with standard commands, and it is only
when the second character is read that they can be distinguished. In
the case that it is an embedded command, 'found command: embedded'
will be shown, followed by the 'saving button' or 'removing' depending
whether any quotation marks are found.
Once the program has finished, the new file is ready for reading, and
may be viewed with any text reader.
Note, due to the way AmigaGuide files are layed out, the order may be
incorrect in the translated file, this cannot be helped!
Future Enhancements __________________________________________________
o Conversion of style changers (italic, bold, underline) into Ansi
codes (by way of command line option).
o Optional removal of 'index' node (suggested 23/07/93 Daniel Smith)
Disclaimer ___________________________________________________________
o I am not responsible to any damage caused through the use or misuse
of this product and so it must only be used at your own risk. All
efforts have been made to ensure the stability of the program but
this does not mean it is 100% safe. Please backup any important data
that could be damaged through the use of this software until you are
sure that it is stable...
Donations/Comments ___________________________________________________
Any comments or donations can be sent to:
PSR Software
Paul Ruane
26 Birdwood Close,
Selsdon, Surrey.
CR2 8QG.
I may also be contacted at the following addresses as Paul Ruane:
Fidonet_____
2:253/516.12
2:252/149.3
Amiganet____
39:135/13.12
_________________________________________________________________NULL_