Logtalk 2.14.3 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@589 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.14.2
|
||||
Release 2.14.3
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
@@ -23,6 +23,13 @@ the '$lgt_default_flag'/2 predicate. You can also choose a different
|
||||
.xsl file by using the xsl/1 compiler option in the logtalk_compile/2 or
|
||||
logtalk_load/2 calls. The default file is lgtxml.xsl (described below).
|
||||
|
||||
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
|
||||
option.
|
||||
|
||||
|
||||
Brief description of each file in this folder:
|
||||
|
||||
@@ -47,7 +54,9 @@ 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
|
||||
with Apache FOP processor (http://xml.apache.org/fop).
|
||||
with the XSL:FO processors Apache FOP 0.20.4 (http://xml.apache.org/fop),
|
||||
PassiveTeX (http://www.tei-c.org.uk/Software/passivetex/), and RenderX
|
||||
2.77 (http://www.renderx.com/).
|
||||
|
||||
|
||||
texml.xsl
|
||||
@@ -57,7 +66,7 @@ texml.xsl
|
||||
at: http://www.alphaworks.ibm.com/tech/texml/.
|
||||
|
||||
|
||||
ie5.xsl
|
||||
ie50.xsl
|
||||
|
||||
XSLT file for viewing .xml files in Microsoft Internet Explorer 5.x
|
||||
(using the outdated Microsoft XML Parser; works with both Macintosh
|
||||
@@ -116,7 +125,8 @@ pdf.sh
|
||||
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.
|
||||
Requires Apache FOP processor (http://xml.apache.org/fop).
|
||||
Requires Apache FOP processor (http://xml.apache.org/fop). Tested with
|
||||
version 0.20.4.
|
||||
|
||||
|
||||
pdf.bat
|
||||
@@ -124,7 +134,8 @@ pdf.bat
|
||||
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.
|
||||
Requires Apache FOP processor (http://xml.apache.org/fop).
|
||||
Requires Apache FOP processor (http://xml.apache.org/fop). Tested with
|
||||
version 0.20.4.
|
||||
|
||||
|
||||
Note that you can write other XSLT files for converting the XML files to
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
XT_PATH="."
|
||||
SAX_PATH="."
|
||||
XP_PATH="."
|
||||
XT_PATH="/Applications/XT"
|
||||
SAX_PATH="/Applications/XT"
|
||||
XP_PATH="/Applications/XT"
|
||||
|
||||
XSLT="lgthtml.xsl"
|
||||
|
||||
@@ -23,17 +23,17 @@ echo value as the title of the index.html file.
|
||||
echo
|
||||
echo converting XML files to HTML...
|
||||
|
||||
foreach file (*.xml)
|
||||
echo " "converting $file
|
||||
for file in *.xml; do
|
||||
echo " converting" $file
|
||||
name="`expr "$file" : '\(.*\)\.[^./]*$' \| "$file"`"
|
||||
eval java -cp ${XT_PATH}/xt.jar:${SAX_PATH}/sax.jar:${XP_PATH}/xp.jar -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.CommentDriver com.jclark.xsl.sax.Driver $file $XSLT $name.html
|
||||
end
|
||||
done
|
||||
|
||||
echo conversion done
|
||||
echo
|
||||
echo generating index file...
|
||||
|
||||
> index.html
|
||||
echo "" > index.html
|
||||
|
||||
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">" >> index.html
|
||||
echo "<html>" >> index.html
|
||||
@@ -45,11 +45,11 @@ echo "<body>" >> index.html
|
||||
echo "<h1>"$title"</h1>" >> index.html
|
||||
echo "<ul>" >> index.html
|
||||
|
||||
foreach file (*.xml)
|
||||
for file in *.xml; do
|
||||
name="`expr "$file" : '\(.*\)\.[^./]*$' \| "$file"`"
|
||||
echo " "indexing $name.html
|
||||
echo " indexing" $name.html
|
||||
echo " <li><a href=\""$name.html"\">"$name"</a></li>" >> index.html
|
||||
end
|
||||
done
|
||||
|
||||
echo "</ul>" >> index.html
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@@ -14,7 +14,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@@ -9,7 +9,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
@@ -39,11 +39,11 @@
|
||||
</fo:simple-page-master>
|
||||
</fo:layout-master-set>
|
||||
|
||||
<fo:page-sequence master-name="simple">
|
||||
<fo:page-sequence master-reference="simple">
|
||||
|
||||
<fo:static-content flow-name="xsl-region-before">
|
||||
<fo:block>
|
||||
<fo:leader leader-pattern="rule" leader-length="inherit"/>
|
||||
<fo:leader leader-pattern="rule" leader-length="100%"/>
|
||||
</fo:block>
|
||||
<fo:block
|
||||
text-align="end"
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<fo:static-content flow-name="xsl-region-after">
|
||||
<fo:block>
|
||||
<fo:leader leader-pattern="rule" leader-length="inherit"/>
|
||||
<fo:leader leader-pattern="rule" leader-length="100%"/>
|
||||
</fo:block>
|
||||
<fo:block
|
||||
text-align="end"
|
||||
@@ -71,7 +71,7 @@
|
||||
<fo:block
|
||||
font-size="18pt"
|
||||
font-family="sans-serif"
|
||||
font-weight="bold"
|
||||
font-weight="bold"
|
||||
space-after="8pt">
|
||||
<xsl:value-of select="logtalk/entity/name"/>
|
||||
</fo:block>
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
<xsl:if test="comment">
|
||||
<fo:block
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
font-style="italic"
|
||||
@@ -111,7 +111,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="authors"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -126,7 +126,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="version"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -141,7 +141,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="date"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -156,34 +156,27 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
space-after="8pt">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
|
||||
<fo:list-block>
|
||||
<xsl:if test="info">
|
||||
<xsl:for-each select="info">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</fo:list-block>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
@@ -271,7 +264,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -281,7 +274,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -291,7 +284,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="scope"/><xsl:text> </xsl:text><xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -411,127 +404,91 @@
|
||||
|
||||
<xsl:if test="comment">
|
||||
<fo:block
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
font-style="italic"
|
||||
space-before="4pt">
|
||||
space-before="4pt"
|
||||
space-after="8pt">
|
||||
<xsl:value-of select="comment"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<fo:list-block>
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
space-before="4pt"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
compilation:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
<xsl:if test="template">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="template"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
<xsl:if test="meta">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
metapredicate template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="meta"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
<xsl:if test="mode">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
mode - number of solutions:
|
||||
</fo:block>
|
||||
<xsl:for-each select="mode">
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="template"/> - <xsl:value-of select="solutions"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
</fo:list-block>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
compilation:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
|
||||
<xsl:if test="template">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="template"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="meta">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
metapredicate template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="meta"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="mode">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
mode - number of solutions:
|
||||
</fo:block>
|
||||
<xsl:for-each select="mode">
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="template"/> - <xsl:value-of select="solutions"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="info">
|
||||
<fo:list-block>
|
||||
<xsl:for-each select="info">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:for-each>
|
||||
</fo:list-block>
|
||||
<xsl:for-each select="info">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
@@ -39,11 +39,11 @@
|
||||
</fo:simple-page-master>
|
||||
</fo:layout-master-set>
|
||||
|
||||
<fo:page-sequence master-name="simple">
|
||||
<fo:page-sequence master-reference="simple">
|
||||
|
||||
<fo:static-content flow-name="xsl-region-before">
|
||||
<fo:block>
|
||||
<fo:leader leader-pattern="rule" leader-length="inherit"/>
|
||||
<fo:leader leader-pattern="rule" leader-length="100%"/>
|
||||
</fo:block>
|
||||
<fo:block
|
||||
text-align="end"
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<fo:static-content flow-name="xsl-region-after">
|
||||
<fo:block>
|
||||
<fo:leader leader-pattern="rule" leader-length="inherit"/>
|
||||
<fo:leader leader-pattern="rule" leader-length="100%"/>
|
||||
</fo:block>
|
||||
<fo:block
|
||||
text-align="end"
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
<xsl:if test="comment">
|
||||
<fo:block
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
font-style="italic"
|
||||
@@ -111,7 +111,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="authors"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -126,7 +126,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="version"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -141,7 +141,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="date"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
@@ -156,34 +156,27 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
space-after="8pt">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
|
||||
<fo:list-block>
|
||||
<xsl:if test="info">
|
||||
<xsl:for-each select="info">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</fo:list-block>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
@@ -271,7 +264,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -281,7 +274,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -291,7 +284,7 @@
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="scope"/><xsl:text> </xsl:text><xsl:value-of select="name"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
@@ -411,127 +404,91 @@
|
||||
|
||||
<xsl:if test="comment">
|
||||
<fo:block
|
||||
margin-left="1cm"
|
||||
margin-left="10mm"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
font-style="italic"
|
||||
space-before="4pt">
|
||||
space-before="4pt"
|
||||
space-after="8pt">
|
||||
<xsl:value-of select="comment"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<fo:list-block>
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
space-before="4pt"
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
compilation:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
<xsl:if test="template">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="template"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
<xsl:if test="meta">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
metapredicate template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="meta"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
<xsl:if test="mode">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
mode - number of solutions:
|
||||
</fo:block>
|
||||
<xsl:for-each select="mode">
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="template"/> - <xsl:value-of select="solutions"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:if>
|
||||
</fo:list-block>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
compilation:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="compilation"/>
|
||||
</fo:block>
|
||||
|
||||
<xsl:if test="template">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="template"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="meta">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
metapredicate template:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="meta"/>
|
||||
</fo:block>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="mode">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
mode - number of solutions:
|
||||
</fo:block>
|
||||
<xsl:for-each select="mode">
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="template"/> - <xsl:value-of select="solutions"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="info">
|
||||
<fo:list-block>
|
||||
<xsl:for-each select="info">
|
||||
<fo:list-item>
|
||||
<fo:list-item-label>
|
||||
<fo:block></fo:block>
|
||||
</fo:list-item-label>
|
||||
<fo:list-item-body>
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="1cm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</fo:list-item-body>
|
||||
</fo:list-item>
|
||||
</xsl:for-each>
|
||||
</fo:list-block>
|
||||
<xsl:for-each select="info">
|
||||
<fo:block
|
||||
font-size="10pt"
|
||||
font-family="serif"
|
||||
keep-with-next="always">
|
||||
<xsl:value-of select="key"/>:
|
||||
</fo:block>
|
||||
<fo:block
|
||||
font-size="9pt"
|
||||
font-family="monospace"
|
||||
margin-left="10mm">
|
||||
<xsl:value-of select="value"/>
|
||||
</fo:block>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@@ -3,7 +3,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@@ -15,7 +15,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@@ -1,6 +1,6 @@
|
||||
@ECHO off
|
||||
|
||||
SET FOP_PATH=c:\Fop-0.20.2
|
||||
SET FOP_PATH=c:\Fop-0.20.4
|
||||
|
||||
SET XSLT="lgtpdfa4.xsl"
|
||||
|
||||
@@ -8,7 +8,7 @@ ECHO This script converts all .xml files in the current directory to .pdf
|
||||
ECHO files applying the XSLT transformation defined in the $XSLT file
|
||||
ECHO using the Apache FOP processor
|
||||
|
||||
FOR %%f IN (*.xml) DO %FOP_PATH%\fop.bat -xsl %XSLT% -xml %%f -pdf %%f.pdf
|
||||
FOR %%f IN (*.xml) DO %FOP_PATH%\fop.bat -q -xsl %XSLT% -xml %%f -pdf %%f.pdf
|
||||
|
||||
REN *.xml.pdf *.pdf
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
FOP_PATH="/Applications/Fop-0.20.2"
|
||||
FOP_PATH="/Applications/fop-0.20.4"
|
||||
|
||||
XSLT="lgtpdfa4.xsl"
|
||||
|
||||
@@ -10,11 +10,11 @@ echo files applying the XSLT transformation defined in the $XSLT file
|
||||
echo using the Apache FOP processor
|
||||
echo
|
||||
|
||||
foreach file (*.xml)
|
||||
for file in *.xml; do
|
||||
echo converting $file
|
||||
name="`expr "$file" : '\(.*\)\.[^./]*$' \| "$file"`"
|
||||
eval sh $FOP_PATH/fop.sh -xsl $XSLT -xml $file -pdf $name.pdf
|
||||
end
|
||||
eval sh $FOP_PATH/fop.sh -q -xsl $XSLT -xml $file -pdf $name.pdf
|
||||
done
|
||||
|
||||
echo
|
||||
echo conversion done
|
||||
|
@@ -12,7 +12,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.14.2
|
||||
% Release 2.14.3
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
Reference in New Issue
Block a user