ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/runLatex2HTML
Revision: 1.5
Committed: Mon Nov 18 17:50:34 2002 UTC (22 years, 5 months ago) by sashby
Branch: MAIN
CVS Tags: V1_0_3-p4, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V110p2, V110p1, V1_0_4p1, V1_0_3-p1, V1_0_3, V1_0_2, V1_0_2_p1, v102p1, V1_0_1, V1_0_0, V1_pre0, V0_19_7
Branch point for: v103_with_xml, v103_branch, SCRAM_V1_BRANCH
Changes since 1.4: +3 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 sashby 1.1 #!/bin/sh
2     #
3     # Simple script to run latex2html with correct args
4     #
5     #
6     # latex2html
7     # [-split num]
8     # [-link num]
9     # [-toc_depth num]
10     # [-short_extn]
11     # [-iso_language]
12     # [-nolatex]
13     # [-no_fork]
14     # [-external_images]
15     # [-ps_images]
16     # [-font_size (10pt | 11pt | 12pt | ...)]
17     # [-no_tex_defs]
18     # [-ascii_mode]
19     # [-lcase_tags]
20     # [-t top_page_title]
21     # [-dir output_directory]
22     # [-no_subdir]
23     # [-root]
24     # [-rootdir output_directory]
25     # [-address author_address]
26     # [-long_titles num ]
27     # [-custom_titles]
28     # [-no_navigation]
29     # [-top_navigation]
30     # [-bottom_navigation]
31     # [-auto_navigation]
32     # [-index_in_navigation]
33     # [-contents_in_navigation]
34     # [-next_page_in_navigation]
35     # [-previous_page_in_navigation]
36     # [-prefix output_filename_prefix]
37     # [-auto_prefix]
38     # [-up_url up_url]
39     # [-up_title up_title]
40     # [-down_url down_url]
41     # [-down_title down_title]
42     # [-prev_url prev_url]
43     # [-prev_title prev_title]
44     # [-index index_url]
45     # [-biblio biblio_url]
46     # [-contents toc_url]
47     # [-external_file external.aux_file]
48     # [-info string]
49     # [-no_auto_link]
50     # [-discard]
51     # [-reuse reuse_option]
52     # [-no_reuse]
53     # [-no_images]
54     # [-no_math]
55     # [-no_math_parsing]
56     # [-no_accent_images]
57     # [-no_parbox_images]
58     # [-entities]
59     # [-images_only]
60     # [-transparent]
61     # [-no_transparent]
62     # [-antialias]
63     # [-no_antialias]
64     # [-antialias_text]
65     # [-no_antialias_text]
66     # [-white]
67     # [-no_white]
68     # [-local_icons]
69     # [-scalable_fonts]
70     # [-show_section_numbers]
71     # [-numbered_footnotes]
72     # [-no_footnode]
73     # [-init_file Perl_file]
74     # [-show_init]
75     # [-html_version (2.0|3.0|3.2|4.0)[,(math|i18n|table|frame|latin[1-9]|unicode)]* ]
76     # [-short_index]
77     # [-unsegment]
78     # [-debug]
79     # [-ldump]
80     # [-tmp]
81     # [-timing]
82     # [-verbosity num]
83     # [-h(elp)]
84     # [-v]
85     # file(s)
86 sashby 1.2 DOCDIR=$1
87    
88     # Exit if no base dir is given:
89     if [[ $DOCDIR == "" ]]; then
90     echo "** You must specify a SCRAM DOC directory!**"
91     exit 1
92     fi
93    
94 sashby 1.5 cd $DOCDIR
95    
96 sashby 1.2 # Which file to process (note that the .tex is not needed):
97     FILENAME=$DOCDIR/SCRAM
98 sashby 1.1 LATEX2HTML=/usr/local/bin/latex2html; export LATEX2HTML
99 sashby 1.3 HTMLDIR=`echo $DOCDIR |sed -e 's/tex\/manual/html/g'`
100 sashby 1.1
101     # List of arguments to latex2html:
102 sashby 1.5 ARGLIST="-font_size 12pt -show_section_numbers -dir $HTMLDIR -address scram-developers@cern.ch -no_footnode -numbered_footnotes"
103 sashby 1.2 echo
104     echo "`basename $0`: Doc directory is $DOCDIR"
105     echo
106     echo "Running $LATEX2HTML using args "
107     echo "$ARGLIST"
108     echo
109     echo "....please wait....."
110     echo
111 sashby 1.1
112 sashby 1.2 # Run the command:
113 sashby 1.1 $LATEX2HTML $ARGLIST $FILENAME
114 sashby 1.4
115 sashby 1.3 echo
116     echo "--- done ---"