Changeset 139 for trunk/SRC/Documentation/xmldoc/makehtml.sh
- Timestamp:
- 07/12/06 18:08:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/makehtml.sh
r123 r139 3 3 # update : 4 4 # $Id$ 5 # 6 # ++ one day we can add accessibility check with tidy with -access 3 7 # diagnostics are not so good so far because tidy (HTML Tidy for Mac OS X 8 # released on 1 September 2005) doesn't handle carriage returns 9 # 10 # fplod 2006-07-12T11:57:24Z aedon.locean-ipsl.upmc.fr (Darwin) 11 # add style.css 12 # fplod 2006-07-11T08:25:30Z aedon.locean-ipsl.upmc.fr (Darwin) 13 # use of tidy and titlepage.saxo.xml 14 # replace /sw/share/xml/xsl/docbook-xsl/html/docbook.xsl 15 # by saxo_html.xsl 5 16 # fplod 2006-07-05T13:18:56Z aedon.locean-ipsl.upmc.fr (Darwin) 6 17 # add infoupdatecm … … 181 192 ## 182 193 cd .. # ie <working space of saxo>/SRC/Documentation/xmldoc 183 194 # 195 # production of titlepage.saxo.xsl 196 # 197 # si pb reseau remplacer sur mac par la ligne suivante 198 titlepagexsl=http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl 199 titlepagexsl=/sw/share/xml/xsl/docbook-xsl/template/titlepage.xsl 200 # 201 xsltproc \ 202 --xinclude \ 203 -o titlepage.saxo.xsl \ 204 ${titlepagexsl} \ 205 titlepage.saxo.xml 206 # 184 207 case "${1}" in 185 208 getsaxo) … … 234 257 /sw/share/xml/xsl/docbook-xsl/extensions/saxon653.jar" 235 258 export CLASSPATH 236 #java com.icl.saxon.StyleSheet \ 237 # -o ${1}.html ${1}.xml \ 238 # /sw/share/xml/xsl/docbook-xsl/html/docbook.xsl \ 239 # use.extensions=1 section.autolabel=1 html.stylesheet="saxo.css" css.decoration=1 240 # 241 # callout.graphics.path="/sw/share/xml/xsl/docbook-xsl/images/callouts/" 242 243 java com.icl.saxon.StyleSheet -o ${1}.html ${1}_${$}.xml \ 244 /sw/share/xml/xsl/docbook-xsl/html/docbook.xsl \ 245 section.autolabel=1 html.stylesheet="saxo.css" css.decoration=1 246 259 # 260 java com.icl.saxon.StyleSheet -o ${1}.html ${1}_${$}.xml \ 261 saxo_html.xsl \ 262 section.autolabel=1 html.stylesheet="style.css saxo.css" css.decoration=1 \ 263 callout.graphics.extension=".png" \ 264 callout.graphics="1" \ 265 callout.graphics.path="images/callouts/" \ 266 use.extensions=1 \ 267 callouts.extension=1 268 # 247 269 case "${1}" in 248 270 firststeps) 249 java 271 java com.icl.saxon.StyleSheet -o all_plots_${$}.xml ${1}_${$}.xml \ 250 272 all_plots_docbook.xsl 251 273 java com.icl.saxon.StyleSheet -o all_plots.html all_plots_${$}.xml \ 252 /sw/share/xml/xsl/docbook-xsl/html/docbook.xsl\253 section.autolabel=1 html.stylesheet="s axo.css" css.decoration=1274 saxo_html.xsl \ 275 section.autolabel=1 html.stylesheet="style.css saxo.css" css.decoration=1 254 276 rm -f all_plots_${$}.xml 255 277 # not very nice... but useful !! … … 265 287 ;; 266 288 esac 289 # 290 # use of tidy to have a W3C compliant html file 291 tidy -m ${1}.html 292 # 293 # clean 267 294 rm -f ${1}_${$}.xml 295 rm titlepage.saxo.xsl 296 # 297 # exit 298 exit 0
Note: See TracChangeset
for help on using the changeset viewer.