Ignore:
Timestamp:
07/12/06 18:08:41 (18 years ago)
Author:
pinsard
Message:

modification of some .xml (add Id, aspell checking), add style.css file and titlepage technique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/makehtml.sh

    r123 r139  
    33# update :  
    44# $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 
    516# fplod 2006-07-05T13:18:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
    617# add infoupdatecm 
     
    181192## 
    182193cd .. # 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 
     198titlepagexsl=http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl 
     199titlepagexsl=/sw/share/xml/xsl/docbook-xsl/template/titlepage.xsl 
     200# 
     201xsltproc \ 
     202--xinclude \ 
     203-o titlepage.saxo.xsl \ 
     204${titlepagexsl} \ 
     205titlepage.saxo.xml 
     206# 
    184207case "${1}" in 
    185208   getsaxo) 
     
    234257/sw/share/xml/xsl/docbook-xsl/extensions/saxon653.jar" 
    235258export 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# 
     260java com.icl.saxon.StyleSheet -o ${1}.html ${1}_${$}.xml  \ 
     261saxo_html.xsl \ 
     262section.autolabel=1 html.stylesheet="style.css saxo.css" css.decoration=1 \ 
     263callout.graphics.extension=".png" \ 
     264callout.graphics="1" \ 
     265callout.graphics.path="images/callouts/" \ 
     266use.extensions=1 \ 
     267callouts.extension=1 
     268# 
    247269case "${1}" in 
    248270   firststeps) 
    249       java  com.icl.saxon.StyleSheet -o all_plots_${$}.xml ${1}_${$}.xml  \ 
     271      java com.icl.saxon.StyleSheet -o all_plots_${$}.xml ${1}_${$}.xml  \ 
    250272      all_plots_docbook.xsl 
    251273      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="saxo.css" css.decoration=1 
     274      saxo_html.xsl \ 
     275      section.autolabel=1 html.stylesheet="style.css saxo.css" css.decoration=1 
    254276      rm -f all_plots_${$}.xml 
    255277# not very nice... but useful !! 
     
    265287   ;; 
    266288esac 
     289#  
     290# use of tidy to have a W3C compliant html file 
     291tidy -m ${1}.html 
     292# 
     293# clean 
    267294rm -f ${1}_${$}.xml 
     295rm titlepage.saxo.xsl 
     296# 
     297# exit 
     298exit 0 
Note: See TracChangeset for help on using the changeset viewer.