source: trunk/Bonmin/doc/genHtml.sh @ 1

Last change on this file since 1 was 1, checked in by andreasw, 13 years ago

imported initial code

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 378 bytes
Line 
1#!/bin/bash
2for f in $@ ;
3do
4NAME=`basename $f .tex`;
5rm -rf $NAME;
6awk -v NAME=$NAME '{sub(/FILENAME/,NAME);print}' Head.tex > tmp.tex;
7latex tmp.tex;
8latex2html -split 1 -no_navigation -info 0  tmp.tex;
9awk '{sub(/tmp.css/,"../bonmin.css") ; sub(/>tmp</,">BONMIN Users Manual<") ; print}' tmp/index.html > toto.html;
10mv toto.html tmp/index.html;
11mv tmp $NAME;
12rm tmp.*;
13done
Note: See TracBrowser for help on using the repository browser.