List of Tables
Amigaguide is a file format and application for AmigaOS[1]. It enables to author and view hypertext documentation to some extend comparable to HTML or WinHelp. Most of the online documentation written for Amiga applications or about developing Amiga applications uses Amigaguide. Outside of AmigaOS however Amigaguide is unused and consequently hardly any viewers exist.
Altough most Amigaguide documents are not particular useful without access to an Amiga (real or emulated), occasionally a need arises to read such documentation on other platforms. Grotag is designed to address this need. It allows to convert Amigaguide documents to the platform independent HTML format, for which viewers exist on any reasonably modern system. Furthermore you can convert to DocBook, a format popular for technical documentations, allowing to bring along existing manuals into the 21st century for further editing.
Grotag is written in Java (version 1.5 or later), which is supported by many current platforms such as Mac OS X (version 10.5 or later), Windows and Linux to name just a few.
To find out what is new in this version, see the revision history. For updates and support, visit the Grotag homepage at http://grotag.sourceforge.net.
[1] The original Amigaguide is still available from any Aminet mirror, for example http://aminet.net/text/hyper/aguide34.lha.
For Mac OS X, visit http://grotag.sourceforge.net
and download Grotag-x.y-z.dmg
, where
x.y.z
refers to the current version number. Double
click the disk archive to mount its contents as new device and open it
in the Finder. It contains an application named Grotag resp. Grotag.app.
Simply drag and drop this application in any folder you like to launch
it from, for example /Applications
or
~/Applications
.
For other platforms, visit http://grotag.sourceforge.net
and download Grotag-x.y.zip
, where
x.y.z
refers to the current version number. After
extracting the archive, you should see at least the following
files:
Grotag.jar
- The application Java
archive.
license.txt
- A text file describing your
rights related to Grotag. In short: It is an Open Source application
and you do not have to pay money for it.
Now simply move Grotag.jar to a folder from where you want to
start it. Under Windows, this could be in C:\Programe
Files
, under Unix it might be
/usr/local/bin
or
~/bin
.
To launch Grotag from most Desktop environtments, simply double
click Grotag.jar
. In case this does not work you
have to use the command line as described in Chapter 3, Command line usage.
This chapter describes how to perform common tasks with Grotag using the graphical user interface. This provides a comfortable way to access most functions using the mouse and keyboard. For repetetive tasks and automatization a probaly better choice is described in Chapter 3, Command line usage.
To launch Grotag on most other platforms, simply double click
Grotag.jar
on the desktop.
In case this does not work, open a terminal window (console) and enter:
In order to read an Amigaguide document, you have to open one using the menu entry → . In the resulting dialog select the file and click the button. Grotag loads the document, including all linked documents. For complex guides (such as the Amiga ROM Kernel Reference Manuals) this may take a while. Watch the progress bar in the lower right corner of the window to estimate how long it still going to take.
Grotag offers several toolbar buttons and menu items to easily access all these pages, refer to Table 2.1, “Browsing a document” for details.
In order to read a document without an Amigaguide reader, you can export it to HTML or XHTML by using the menu entry → . After you choose a base folder for the converted documents, Grotag creates a folder with the same name as the Amigaguide document without the suffix ".guide".
To launch Grotag from the command line, open a terminal window (console) and enter:
java -jar .../path/to/Grotag.jar
--help
alias grotag="java -jar
.../path/to/Grotag.jar"
To read a short description of all options available for Grotag, run:
To learn which version of Grotag you are using, run:
Furthermore Grotag cleans up formatting and upper/lower case in mark up.
In order to clean up the file ugly.guide
,
run:
In case you want to clean up multiple files, you can pass all of them along at once.
To convert an Amigaguide document named
some.guide
to a set of HTML documents, run:
The following ressources have been helpful for developing Grotag:
MRJAdapter allows to integrate Java applications nicely into Mac OS X.
Crystal is the icon set use in the toolbar.
Salfara's website documents the Amigaguide format quite dilligently.
The agr command line Amigaguide reader includes a couple of interesting test documents.
This chapter describes improvements compared to earlier versions of Grotag.
Fixed launching under Mac OS X 10.6, which could not execute the included PPC Java launcher.
Added menu item → to export the document currently viewing to other formats.
Added GUI settings to be preserved using the Java Preferences API.
Fixed button, which seemingly navigated to random pages.
Changed toolbar buttons to use icons instead of text lables.
Added button.