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 |
#
|
87 |
#
|
88 |
#
|
89 |
#
|
90 |
FILENAME="SCRAM.tex"
|
91 |
LATEX2HTML=/usr/local/bin/latex2html; export LATEX2HTML
|
92 |
|
93 |
# List of arguments to latex2html:
|
94 |
ARGLIST="-font_size 12pt -ps_images"
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 |
#
|
101 |
echo "Running $LATEX2HTML....please wait....."
|
102 |
|
103 |
$LATEX2HTML $ARGLIST $FILENAME
|