2001-06-06 20:40:57 +01:00
|
|
|
=================================================================
|
|
|
|
Logtalk - Object oriented extension to Prolog
|
2002-11-04 21:29:14 +00:00
|
|
|
Release 2.14.4
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2002-01-08 00:05:10 +00:00
|
|
|
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
2001-06-06 20:40:57 +01:00
|
|
|
=================================================================
|
|
|
|
|
2002-04-03 14:26:59 +01:00
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
This folder contains several files that enables .xml documentation files
|
2002-02-08 19:57:23 +00:00
|
|
|
created when compiling objects, categories, or protocols, to be converted
|
|
|
|
to PDF files, to be viewed in a web browser that supports the W3C standards
|
|
|
|
XML, XSLT, CSS and HTML 4, or to be converted to LateX for printing.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
You will need to either copy your .xml files to this directory or copy
|
2002-02-08 19:57:23 +00:00
|
|
|
these files to the directory where the .xml files reside.
|
|
|
|
|
2002-11-04 21:29:14 +00:00
|
|
|
Regarding conversion to HTML, the links to the .xsl files on the .xml
|
2002-02-08 19:57:23 +00:00
|
|
|
files and the links to the .css files in the generated .html files assume
|
|
|
|
that all files reside in the same directory.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
The choice of the default .xsl file to use is made in the config files by
|
2002-08-01 00:34:42 +01:00
|
|
|
the '$lgt_default_flag'/2 predicate. You can also choose a different
|
2001-06-06 20:40:57 +01:00
|
|
|
.xsl file by using the xsl/1 compiler option in the logtalk_compile/2 or
|
2001-12-05 23:57:48 +00:00
|
|
|
logtalk_load/2 calls. The default file is lgtxml.xsl (described below).
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2002-09-14 19:14:17 +01:00
|
|
|
The .xml documenting files can be either generated as standalone XML files
|
|
|
|
or contain a reference to the Logtalk DTD file, logtalk.dtd. The reference
|
|
|
|
to the logtalk.dtd file can be either a local reference or a URI reference.
|
|
|
|
By default, all .xml documenting files contain a local reference but that
|
|
|
|
can be changed either in the config files or by using the doctype/1 compiler
|
2002-11-04 21:29:14 +00:00
|
|
|
option. Choose the option value that works best for your XSLT tools.
|
2002-09-14 19:14:17 +01:00
|
|
|
|
2002-04-03 14:26:59 +01:00
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
Brief description of each file in this folder:
|
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
lgthtml.xsl
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
XSLT file to output HTML files from the .xml files. The links in the
|
|
|
|
generated HTML files point to related HTML files. It can be used
|
|
|
|
to batch convert XML files to HTML files.
|
|
|
|
|
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
lgtxml.xsl
|
|
|
|
|
|
|
|
XSLT file for viewing .xml files directly in in a browser such as Mozilla
|
|
|
|
(version 0.9.2 or later) or Microsoft Internet Explorer 5.5 for Windows
|
|
|
|
(after installing the latest Microsoft XML Parser Release that is needed
|
|
|
|
for XSL standard compliance). The links in the (internally generated)
|
|
|
|
HTML files point to related XML files.
|
|
|
|
|
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
lgtpdfa4.xsl lgtpdfus.xsl
|
|
|
|
|
|
|
|
XSLT files to generate PDF files from the .xml files (formatted either
|
|
|
|
for A4 paper or US Letter paper) using XSL Formatting Objects. Tested
|
2002-09-14 19:14:17 +01:00
|
|
|
with the XSL:FO processors Apache FOP 0.20.4 (http://xml.apache.org/fop),
|
2002-11-04 21:29:14 +00:00
|
|
|
PassiveTeX 1.21 (http://www.tei-c.org.uk/Software/passivetex/), and
|
|
|
|
RenderX 2.77 (http://www.renderx.com/).
|
2002-02-08 19:57:23 +00:00
|
|
|
|
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
texml.xsl
|
|
|
|
|
|
|
|
XSLT file to output TeXML files that can be further processed by
|
|
|
|
TeXMLatte to produce LaTeX files. The TeXMLatte program can be found
|
|
|
|
at: http://www.alphaworks.ibm.com/tech/texml/.
|
|
|
|
|
|
|
|
|
2002-09-14 19:14:17 +01:00
|
|
|
ie50.xsl
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2001-12-05 23:57:48 +00:00
|
|
|
XSLT file for viewing .xml files in Microsoft Internet Explorer 5.x
|
2002-02-08 19:57:23 +00:00
|
|
|
(using the outdated Microsoft XML Parser; works with both Macintosh
|
|
|
|
and Windows versions). The links in the (internally generated) HTML
|
|
|
|
files point to related XML files. It can be used to browse and view
|
|
|
|
the XML files directly.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
logtalk.dtd
|
|
|
|
|
|
|
|
Document type description describing the structure of the .xml files
|
|
|
|
generated by Logtalk.
|
2001-12-05 23:57:48 +00:00
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
logtalk.xsd
|
|
|
|
|
|
|
|
XML Schema describing the structure of the .xml files generated by
|
2001-12-05 23:57:48 +00:00
|
|
|
Logtalk.
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
logtalk.css
|
|
|
|
|
|
|
|
Cascade style sheet file to render the HTML output of the .xsl files
|
|
|
|
in a web browser.
|
|
|
|
|
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
html.sh
|
|
|
|
|
|
|
|
Sample Unix shell script to batch convert .xml files to .html files.
|
2002-08-01 00:34:42 +01:00
|
|
|
The script also generates an index.html file that contains links to all
|
|
|
|
converted files. The title of the index.html can be given as a parameter
|
|
|
|
to the script.
|
2002-02-08 19:57:23 +00:00
|
|
|
Edit the script to match your environment before running it.
|
|
|
|
Requires James Clarck XT processor (http://www.jclark.com/xml/xt.html).
|
|
|
|
|
|
|
|
|
2002-08-01 00:34:42 +01:00
|
|
|
htmlnt.cmd
|
|
|
|
|
|
|
|
Sample Windows NT batch script to convert .xml files to .html files.
|
|
|
|
The script also generates an index.html file that contains links to all
|
|
|
|
converted files. The title of the index.html can be given as a parameter
|
|
|
|
to the script.
|
|
|
|
Edit the script to match your environment before running it.
|
|
|
|
Requires James Clarck XT processor (http://www.jclark.com/xml/xt.html).
|
|
|
|
|
|
|
|
|
|
|
|
htmldos.bat
|
2002-02-08 19:57:23 +00:00
|
|
|
|
|
|
|
Sample DOS batch script to convert .xml files to .html files.
|
|
|
|
Edit the script to match your environment before running it.
|
|
|
|
Requires James Clarck XT processor (http://www.jclark.com/xml/xt.html).
|
|
|
|
|
|
|
|
|
|
|
|
pdf.sh
|
2001-12-05 23:57:48 +00:00
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
Sample Unix shell script to batch convert .xml files to .pdf files.
|
|
|
|
Edit the script to match your environment and paper format preference
|
|
|
|
before running it.
|
2002-09-14 19:14:17 +01:00
|
|
|
Requires Apache FOP processor (http://xml.apache.org/fop). Tested with
|
|
|
|
version 0.20.4.
|
2001-12-05 23:57:48 +00:00
|
|
|
|
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
pdf.bat
|
2001-12-05 23:57:48 +00:00
|
|
|
|
2002-02-08 19:57:23 +00:00
|
|
|
Sample DOS batch script to convert .xml files to .pdf files.
|
|
|
|
Edit the script to match your environment and paper format preference
|
|
|
|
before running it.
|
2002-09-14 19:14:17 +01:00
|
|
|
Requires Apache FOP processor (http://xml.apache.org/fop). Tested with
|
|
|
|
version 0.20.4.
|
2001-12-05 23:57:48 +00:00
|
|
|
|
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
Note that you can write other XSLT files for converting the XML files to
|
2002-02-08 19:57:23 +00:00
|
|
|
other formats besides PDF, HTML, or LaTeX. You can also write alternative
|
|
|
|
CSS and XSLT files to change the appearance of the HTML and LaTeX files.
|