Logtalk 2.14.1 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@563 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
d1a8c23e62
commit
6176d1bb08
BIN
Logtalk/manuals/madewithmac.png
Normal file
BIN
Logtalk/manuals/madewithmac.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 561 B |
BIN
Logtalk/manuals/valid-css.png
Normal file
BIN
Logtalk/manuals/valid-css.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
Logtalk/manuals/valid-xhtml10.png
Normal file
BIN
Logtalk/manuals/valid-xhtml10.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
21
Logtalk/xml/htmldos.bat
Normal file
21
Logtalk/xml/htmldos.bat
Normal file
@ -0,0 +1,21 @@
|
||||
@ECHO off
|
||||
|
||||
SET JAVA_HOME=c:\jdk1.3
|
||||
|
||||
SET XT_PATH=c:\xt
|
||||
SET SAX_PATH=c:\xt
|
||||
SET XP_PATH=c:\xt
|
||||
|
||||
SET XSLT="lgthtml.xsl"
|
||||
|
||||
ECHO This script converts all .xml files in the current directory to .html
|
||||
ECHO files applying the XSLT transformation defined in the $XSLT file
|
||||
ECHO using the James Clark XT XSLT Java processor
|
||||
|
||||
FOR %%f IN (*.xml) DO %JAVA_HOME%\bin\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 %%f %XSLT% %%f.html
|
||||
|
||||
REN *.xml.html *.html
|
||||
|
||||
ECHO conversion done
|
||||
|
||||
@ECHO on
|
58
Logtalk/xml/htmlnt.cmd
Executable file
58
Logtalk/xml/htmlnt.cmd
Executable file
@ -0,0 +1,58 @@
|
||||
@ECHO off
|
||||
|
||||
SET JAVA_HOME=c:\jdk1.3
|
||||
|
||||
SET XT_PATH=c:\xt
|
||||
SET SAX_PATH=c:\xt
|
||||
SET XP_PATH=c:\xt
|
||||
|
||||
SET XSLT=lgthtml.xsl
|
||||
|
||||
IF "%1" == "" SET INDEX_TITLE=Entity documentation index
|
||||
IF NOT "%1" == "" SET INDEX_TITLE=%1%
|
||||
|
||||
ECHO This script converts all .xml files in the current directory to .html
|
||||
ECHO files applying the XSLT transformation defined in the $XSLT file
|
||||
ECHO using the James Clark XT XSLT Java processor
|
||||
ECHO.
|
||||
ECHO An index.html file, containing links to all .html documenting files,
|
||||
ECHO is automatically generated. This file uses the script optional parameter
|
||||
ECHO value as the title of the index.html file.
|
||||
ECHO.
|
||||
ECHO converting XML files to HTML...
|
||||
|
||||
FOR /f "tokens=1-2 delims=." %%f IN ('DIR /b *.xml') DO IF EXIST %%f.html DEL %%f.html
|
||||
|
||||
FOR /f "tokens=1-2 delims=." %%f IN ('DIR /b *.xml') DO %JAVA_HOME%\bin\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 %%f.xml %XSLT% %%f.html
|
||||
|
||||
ECHO conversion done
|
||||
ECHO.
|
||||
ECHO generating index file...
|
||||
|
||||
IF EXIST index.html DEL 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
|
||||
ECHO ^<head^> >> index.html
|
||||
ECHO ^<title^>%INDEX_TITLE%^</title^> >> index.html
|
||||
ECHO ^<link rel="stylesheet" href="logtalk.css" type="text/css"^> >> index.html
|
||||
ECHO ^</head^> >> index.html
|
||||
ECHO ^<body^> >> index.html
|
||||
ECHO ^<h1^>%INDEX_TITLE%^</h1^> >> index.html
|
||||
ECHO ^<ul^> >> index.html
|
||||
|
||||
FOR /f "tokens=1-2 delims=." %%f IN ('DIR /b *.xml') DO ECHO ^<li^>^<a href="%%f.html"^>%%f^</a^>^</li^> >> index.html
|
||||
|
||||
ECHO ^</ul^> >> index.html
|
||||
|
||||
ECHO ^<p^>Generated on >> index.html
|
||||
DATE/T >> index.html
|
||||
TIME/T >> index.html
|
||||
ECHO ^</p^> >> index.html
|
||||
|
||||
ECHO ^</body^> >> index.html
|
||||
ECHO ^</html^> >> index.html
|
||||
|
||||
ECHO index file generated
|
||||
|
||||
@ECHO on
|
Reference in New Issue
Block a user