Ignore:
Timestamp:
08/17/06 16:02:12 (18 years ago)
Author:
pinsard
Message:

new savesaxo.sh to have paragraph written wtih a non-proportional
font in some idldoc html files

File:
1 edited

Legend:

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

    r144 r156  
    33# update : 
    44# $Id$ 
     5# fplod 2006-08-17T09:19:06Z aedon.locean-ipsl.upmc.fr (Darwin) 
     6# add transformation after idldoc to force non-proportionnal font 
     7# on bloc delimited by 
     8# ; <fixe> 
     9# ; </fixe> 
     10# in .pro files (with modification of css) 
     11# !! do not replace \ by \\ inside this block 
     12# !! replace \ by an other character is a good idea 
     13# cf. example in ToBeReviewed/TRIANGULATION/definetri.pro 
    514# fplod 2006-07-21T08:23:52Z aedon.locean-ipsl.upmc.fr (Darwin) 
    615# add mini_notice production 
     
    216225    # suivant l'occurence de Last modification 
    217226    # add ?format=raw to links on html files 
     227    cat << EOF > /tmp/css_modification 
     228p.preformat { 
     229  font-family: Courier; 
     230} 
     231EOF 
    218232    list_html=$(find ${output} -name "*.html") 
    219233    for file_html in ${list_html} 
     
    230244     -e 's@<div class="value">@<div class="preformat">@' \ 
    231245     -e 's/div\#file_comments {/div\#file_comments { white-space: pre;/' \ 
     246     -e 's@^; <fixe>@<p class="preformat">@' \ 
     247     -e 's@^; </fixe>@</p>@' \ 
     248     -e '/Main styles/r /tmp/css_modification' \ 
    232249     ${file_html} > ${file_html}_modify 
    233250     mv ${file_html}_modify ${file_html} 
    234251    done 
     252    rm /tmp/css_modification 
    235253    # suppress ".html" in idldoc-index*.html in lines like 
    236254    # a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html 
Note: See TracChangeset for help on using the changeset viewer.