Changeset 4220
- Timestamp:
- 04/24/08 12:26:10 (2 months ago)
- Location:
- trunk
- Files:
-
- 3 added
- 8 modified
-
RELEASE_NOTES.txt (modified) (1 diff)
-
scripts/cplgtdirs.js (modified) (1 diff)
-
scripts/cplgtdirs.sh (modified) (1 diff)
-
scripts/debian/postinst (modified) (1 diff)
-
scripts/install.sh (modified) (1 diff)
-
scripts/linux/logtalk.spec (modified) (4 diffs)
-
scripts/uninstall.sh (modified) (1 diff)
-
xml/lgt2txt.js (added)
-
xml/lgt2txt.sh (added)
-
xml/lgttxt.xsl (added)
-
xml/NOTES.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/RELEASE_NOTES.txt
r4217 r4220 106 106 category relations introduced in version 2.31.0. 107 107 108 Updated the "lgtxml.xsl" XSLT stylesheet to ensure that the generated 108 Added a "lgttxt.xsl" XSLT style-sheet and two shell scripts, "lgt2txt.sh" 109 and "lgt2txt.js", for converting XML documenting files into text files. 110 111 Updated the "lgtxml.xsl" XSLT style-sheet to ensure that the generated 109 112 HTML files are fully compliant with the HTML 4.01 standard. 110 113 -
trunk/scripts/cplgtdirs.js
r4102 r4220 117 117 link.Save(); 118 118 119 link = WshShell.CreateShortcut(logtalk_user + "\\xml\\lgt2txt.js.lnk"); 120 link.Description = "Shortcut to lgt2txt script"; 121 link.TargetPath = logtalk_home + "\\xml\\lgt2txt.js"; 122 link.Save(); 123 119 124 link = WshShell.CreateShortcut(logtalk_user + "\\xml\\logtalk.dtd.lnk"); 120 125 link.Description = "Shortcut to Logtalk DTD"; -
trunk/scripts/cplgtdirs.sh
r4102 r4220 94 94 ln -sf "$LOGTALKHOME"/xml/lgt2pdf.sh "$LOGTALKUSER"/xml/lgt2pdf 95 95 ln -sf "$LOGTALKHOME"/xml/lgt2xml.sh "$LOGTALKUSER"/xml/lgt2xml 96 ln -sf "$LOGTALKHOME"/xml/lgt2txt.sh "$LOGTALKUSER"/xml/lgt2txt 96 97 ln -sf "$LOGTALKHOME"/xml/logtalk.dtd "$LOGTALKUSER"/xml/logtalk.dtd 97 98 ln -sf "$LOGTALKHOME"/xml/logtalk.rng "$LOGTALKUSER"/xml/logtalk.rng -
trunk/scripts/debian/postinst
r4208 r4220 31 31 32 32 echo 33 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", and \"lgt2xml\" scripts have"34 echo " been created on \"/usr/bin\"."33 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", \"lgt2xml\", and " 34 echo "\"lgt2txt\" scripts have been created on \"/usr/bin\"." 35 35 echo 36 36 echo "The following integration scripts are installed for running Logtalk" -
trunk/scripts/install.sh
r4132 r4220 56 56 ln -sf ../share/logtalk/xml/lgt2html.sh lgt2html 57 57 ln -sf ../share/logtalk/xml/lgt2xml.sh lgt2xml 58 ln -sf ../share/logtalk/xml/lgt2txt.sh lgt2txt 58 59 59 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", and \"lgt2xml\" scripts"60 echo " have been created on \"$prefix/bin\"; you may need to add this directory"61 echo " to your execution path."60 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", \"lgt2xml\", and" 61 echo "\"lgt2txt\" scripts have been created on \"$prefix/bin\";" 62 echo "you may need to add this directory to your execution path." 62 63 echo 63 64 -
trunk/scripts/linux/logtalk.spec
r4208 r4220 52 52 ln -sf ../share/logtalk/xml/lgt2html.sh lgt2html 53 53 ln -sf ../share/logtalk/xml/lgt2xml.sh lgt2xml 54 ln -sf ../share/logtalk/xml/lgt2txt.sh lgt2txt 54 55 55 56 %clean … … 67 68 rm -f lgt2pdf 68 69 rm -f lgt2xml 70 rm -f lgt2txt 69 71 rm -f plclgt 70 72 rm -f qplgt … … 104 106 /usr/local/bin/lgt2html 105 107 /usr/local/bin/lgt2xml 108 /usr/local/bin/lgt2txt 106 109 /usr/local/bin/bplgt 107 110 /usr/local/bin/ciaolgt … … 123 126 echo "Installed Logtalk on \"$RPM_INSTALL_PREFIX/share\"." 124 127 echo 125 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", and \"lgt2xml\" scripts"126 echo " have been created on \"$RPM_INSTALL_PREFIX/bin\"; you may need to add this directory"127 echo " to your execution path."128 echo "Links to the \"cplgtdirs\", \"lgt2pdf\", \"lgt2html\", \"lgt2xml\", and" 129 echo "\"lgt2txt\" scripts have been created on \"$RPM_INSTALL_PREFIX/bin\";" 130 echo " you may need to add this directoryto your execution path." 128 131 echo 129 132 echo "The following integration scripts are installed for running Logtalk" -
trunk/scripts/uninstall.sh
r4132 r4220 53 53 rm -f lgt2pdf 54 54 rm -f lgt2xml 55 rm -f lgt2txt 55 56 rm -f plclgt 56 57 rm -f qplgt -
trunk/xml/NOTES.txt
r4205 r4220 78 78 Edit the file if you use a different encoding. 79 79 80 lgttxt.xsl 81 82 XSLT file to output simple text files from the XML files. UTF-8 encoding 83 is assumed. Edit the file if you use a different encoding. 80 84 81 85 lgtpdf.xsl … … 218 222 219 223 224 lgt2txt.sh 225 (bash shell script) 226 lgt2txt.js 227 (JScript command-line script for Windows; requires WSH 5.6 or 228 later version) 229 230 Sample scripts to batch convert XML files to text files. 231 232 These scripts assumes that the LOGTALKHOME and LOGTALKUSER environment 233 variables are defined. 234 235 The scripts should be called from the directory containing the XML files 236 you wish to convert. Call the scripts with the help option for a description 237 of the available optional parameters (type "cscript lgt2txt.js help" or 238 "lgt2txt.sh -h"; depending on your Logtalk installation, you may simply 239 need to type "lgt2txt" in order to run the script). 240 241 220 242 Note that you can write other XSL files for converting the XML files to 221 243 other formats besides PDF or (X)HTML. You can also write alternative CSS
