MakeDocJ v3.14.0, MakeDocGUI v1.5.2, ReadDocJ v2.0.0

The MakeDocJ and MakeDocGUI programs were created to make it easier to create PilotDOCs for use on the Palmtm. The biggest features this program offers over the other text file to PilotDOC programs is the ability to create preset bookmarks and the fact it runs on multiple platforms. I found MakeDocJ originally written by Pat Beirne, fixed the bugs, and added the ability to generate bookmarks directly into the PilotDOC.

The ReadDocJ program was created to allow viewing of PilotDOCs on any platform that has a Java Runtime Environment. It supports bookmarks that are embedded in the PilotDOC as well as allowing new ones to be added. The PilotDOC is NOT modified.

The regular expression text search routines are provided by the package gnu.regexp. The full package can be found at http://www.cacas.org/java/gnu/regexp/.

It is possible to process more than one file by using a file to indicate the options. To indicate the file containing the options, precede the file with '@'. MakeDocJ will read this and each line is considered a complete command line. See Example\options.BSA_Advancement for more information.

Terms of Use The MakeDocJ/MakeDocGUI/MakeDocG is distributed under the terms of the GNU Lesser General Public License. The COPYING.txt file included in the distribution contains the details. This program is free software. You are encouraged to adapt it to your own needs, and contribute to the program's ongoing development.

NOTE: The default build requires Java Runtime Environment or Java Development Kit 1.2.2 or higher. NOTE: The sources for MakeDocJ can be recompiled for Java Development Kit 1.1.8. See JDK 1.1.x comments in Sources for the necessary stuff.

Hosted on SourceForge.net
InstallAnywhere NOW! Editions: Windows 95/98/NT/2000
This is intended for use with a Java 2 Runtime.
  Windows 95/98/NT/2000 with Java Runtime included
This is intended for use with a Java 2 Runtime and has one included, just in case you need one (version 1.4.2 to be exact).
  Windows 95/98/NT/2000 for Microsoft VM
This will use the Microsoft Java Runtime (if you've installed version 4.0 - 5.5 of IE, you probably have this).
  Mac OS 10
This is intended for use with the Java 2 Runtime that Apple has so nicely included in their OS.
  MacOS Classic
This version is for Mac OS 8 - 9. This installation does not have a Java Runtime includes, but should allow you to download and install one.
  MacOS Classic with Java Runtime included
This version is for Mac OS 8 - 9. This installation does not have a Java Runtime includes, but should allow you to download and install one.
  Linux
This is intended for use with a Java 2 Runtime.
  Solaris
This is intended for use with a Java 2 Runtime.
  Generic Unix (Other than Linux/Solaris)
This is intended for use with a Java 2 Runtime.
  Generic Java 2
This is intended for use with a Java 2 Runtime.
  Update for Mac OS 8.x, 9.x, or if you are using the Microsoft Java Runtime
  Update for Mac OS 10.x or higher, or if you are using a Java 2 runtime environment.

MakeDocJ
Encode a PilotDOC file:
  java -jar MakeDocJ.jar [-options] <text-file> <PilotDOC-file> <story-name> <bookmark-file>
-a auto-bookmark
These are processed after the bookmarks specified with the -B option and the <bookmark-file>.
To tag the text for auto-bookmarking: the very last line should have the charcter sequence you are using as a tag in the main text, surrounded by < and >. Each line that you wish bookmarked needs to start with the characters between < and >. See Examples\BSA_Advancement_embedded_bookmarks.txt for how to tag the text file "properly".
-c {number} category number of document
-i {database ID} four character database ID
Known IDs (will only decode these)
ReaderID 'REAd' default if none specified
TealDocID 'TlDc'
HandStoryID 'hsIB'
-n builds the PilotDOC file without compression
-m compress multi-linefeeds out of <text-file>
-q quiet (i.e. minimal reporting during encoding process)
-r remove binary
-s {number} sort bookmarks {number}: 1 = By location, 2 = Alphabetically
-u {number} unwrap text, single LF is removed
  If {number} is specified, line length must be greater than {number} to unwrap, default: 0
-w remove spaces at the beginning of the bookmark text
-B {bookmark} Used to specify a bookmark in addition to using <bookmark-file>
These are searched for before the <bookmark-file>.
  Multiple of these are allow to specify more that one bookmark

Decode a PilotDOC file:
  java -jar MakeDocJ.jar -d [-options] <PilotDOC-file> <text-file>
-d decodes the PilotDOC file into a text file
-0 end of line is based on OS
-1 end of line is CR/LF (i.e. DOS)
-2 end of line is CR (i.e. MAC)
-b generate a bookmark file (<text-file>.bm) if there are any bookmarks
-q quiet (i.e. minimal reporting during decoding process)

Format of <bookmark-file>: <bookmark>,<string-to-search>,<bookmark-name-string>,<starting-bookmark>,<ending-bookmark>
NOTE: do not surround the text with the "<" or ">" character unless they are to be searched for.
<bookmark>
= Text to be displayed as bookmark, can be up to 16 characters.
NOTE: do not surround the text with "<" or ">" unless you wish them in the bookmark text.
If bookmark is set to "-", then the text that matches <string-to-search> is used as the bookmark name. The search is done once.
If bookmark is set to "+", then the text that matches <string-to-search> is used as the bookmark name. The search is done until no more matches.
<string-to-search>
= optional (if not specified, <bookmark> is used), it is assumed to be a regular expression.
NOTE: Except as noted above, only the first occurrence of a given bookmark is recorded.
<bookmark-name-string>
= optional, if specified, will use this regular expression to generate the name of the bookmark. This is most useful when using subexpressions and backreferences regular expression in the regular expression. Substitute the results of this match to create a new string. This is patterned after PERL, so the tokens to watch out for are $0 through $9. $0 matches the full substring matched; $n matches subexpression number n. A string consisting of literals and $n tokens.
<starting-bookmark>
= optional, when the "+" feature is used, this is the first found bookmark to add. If the regular expression will match 50 different items, and you which to skip the first 9, set this to 10, and the first 9 matches will be ignored.
<ending-bookmark>
= optional, when the "+" feature is used, this is the last found bookmark to add. If the regular expression will match 50 different items, and you which to stop after the 20th, set this to 20, and the 21st on will not be added.

MakeDocGUI
To launch MakeDocGUI
  java -cp MakeDocJ.jar MakeDocGUI or if you used the InstallAnywhere installation, just use the shortcut.
Encode Tab
Button Description
Process Starts encoding the text file into a PilotDoc file
Reset If you have loaded a configuration, it will reset to those values, otherwise it will be reset to default values.
Configuration Allows the loading and saving of named preconfigured encoding options
Decode Tab
Button Description
Process Starts decoding the PilotDoc file into a text file
Reset If you have loaded a configuration, it will reset to those values, otherwise it will be reset to default values.
Configuration Allows the loading and saving of named preconfigured decoding options

ReadDocJ
To launch ReadDocJ
  java -cp MakeDocJ.jar ReadDocJ [<PilotDOC-file>] or if you used the InstallAnywhere installation, just use the shortcut.

Button Description
Open A file selector will be displayed allowing selection of a PilotDOC file to be open and displayed.
Load A dialog with a list of the last 10 PilotDoc file that you can choose to load.
Info Shows various information about the current PilotDoc file.
Search Allows you to search for text in the PilotDOC. Regular expressions are supported.
Bookmarks Allows you to go to, add, or delete bookmarks in the PilotDOC. NOTE: The PilotDOC file is not modified.
Top Go to the top of the PilotDOC file.
Bottom Go to the bottom of the PilotDOC file.

MakeDocG
To launch MakeDocG
  java -cp MakeDocJ.jar MakeDocG.

Command: This editable ComboBox is used to enter the command line that will be processed by the MakeDocJ engine. Type in the command line and press <ENTER> to process the command entered.
It remembers that last ten commands entered for a recallable history.
NOTE:Enter a blank line to get "help".
The area in the middle: The center area is were the output from processing the command line will be display after the processing has finished.
Directory: This editable ComboBox is used to enter the current working directory. Type in the directory and press <ENTER> to process the command entered.
It remembers that last ten directories entered.
The button labeled "..." is a graphical directory selector.

History of MakeDocJ/MakeDocGUI/MakeDocG


MakeDocJ v3.14.0/MakeDocGUI v1.5.2
MakeDocJ v3.13.2
MakeDocJ v3.13.1/MakeDocGUI v1.5.1/MakeDocG v1.2.1
MakeDocJ v3.13.0/MakeDocGUI v1.5.0/MakeDocG v1.2.0
MakeDocJ v3.12.0/MakeDocGUI v1.4.0
MakeDocJ v3.11.0/MakeDocGUI v1.3.0/MakeDocG v1.1.1
MakeDocJ v3.10.0/MakeDocGUI v1.2.0/MakeDocG v1.1.1
MakeDocJ v3.9.1/MakeDocGUI v1.1.1/MakeDocG v1.1.1
MakeDocJ v3.9.0/MakeDocGUI v1.1.0/MakeDocG v1.1.0
MakeDocJ v3.8.2/MakeDocGUI v1.0.1/MakeDocG v1.0.1
MakeDocJ v3.8.1/MakeDocGUI v1.0.0/MakeDocG v1.0.1
MakeDocJ v3.8.0/MakeDocG v1.0.0
MakeDocJ v3.7.1
MakeDocJ v3.7.0
MakeDocJ v3.6.2
MakeDocJ v3.6.1
MakeDocJ v3.6.0
MakeDocJ v3.5.1
MakeDocJ v3.5
MakeDocJ v3.4
MakeDocJ v3.3
MakeDocJ v3.2
MakeDocJ v3.1
MakeDocJ v3.0
MakeDocJ v2.1
MakeDocJ v2.0
History of ReadDocJ


ReadDocJ v2.0.0
ReadDocJ v1.3.0
ReadDocJ v1.2
ReadDocJ v1.1
ReadDocJ v1.0