"Fossies" - the Fresh Open Source Software Archive

Member "latex2html-2021.2/dot.latex2html-init" (1 Jul 2021, 7726 Bytes) of package /linux/www/latex2html-2021.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "dot.latex2html-init": 2021_vs_2021.2.

    1 #LaTeX2HTML Version 96.1 : dot.latex2html-init
    2 #
    3 ### Command Line Argument Defaults #######################################
    4 
    5 $MAX_SPLIT_DEPTH = 8;	# Stop making separate files at this depth
    6 
    7 $MAX_LINK_DEPTH = 4;    # Stop showing child nodes at this depth   
    8 
    9 $NOLATEX = 0;           # 1 = do not pass unknown environments to Latex
   10 
   11 $EXTERNAL_IMAGES = 0;   # 1 = leave the images outside the document 
   12 
   13 $ASCII_MODE = 0;        # 1 = do not use any icons or internal images
   14 
   15 $USE_PDFTEX = 1;	# 0 = use plain dvi-producing latex
   16 
   17 $USE_DVIPNG = 1;	# 0 = use dvips -> pstoimg
   18 
   19 # 1 =  use links to external postscript images rather than inlined bitmap
   20 # images.
   21 $PS_IMAGES = 0;
   22 
   23 $TITLE = $default_title;      # The default is "No Title" 
   24 
   25 $DESTDIR = '';         # Put the result in this directory 
   26 
   27 # When this is set, the generated HTML files will be placed in the 
   28 # current directory. If set to 0 the default behaviour is to create (or reuse)
   29 # another file directory.
   30 $NO_SUBDIR = 0;
   31 
   32 
   33 # Supply your own string if you don't like the default <Name> <Date>
   34 $ADDRESS = "<I>$address_data[0] <BR>\n$address_data[1]</I>";
   35 
   36 $NO_NAVIGATION = 0;	# 1 = do not put a navigation panel at the top of each page
   37 
   38 # Put navigation links at the top of each  page.  If  the page  exceeds
   39 # $WORDS_IN_PAGE  number of words then put one at the bottom of the page.
   40 $AUTO_NAVIGATION = 1;
   41 
   42 # Put a link to the index page in  the  navigation  panel
   43 $INDEX_IN_NAVIGATION = 1;
   44 
   45 # Put a link to the table of contents  in  the  navigation  panel
   46 $CONTENTS_IN_NAVIGATION = 1;
   47 
   48 # Put a link to the next logical page  in  the  navigation  panel
   49 $NEXT_PAGE_IN_NAVIGATION = 1;
   50 
   51 # Put a link to the previous logical page  in  the  navigation  panel
   52 $PREVIOUS_PAGE_IN_NAVIGATION = 1;
   53 
   54 $INFO = 1;              # 0 = do not make a "About this document..." section 
   55 
   56 # Reuse images generated during previous runs
   57 $REUSE = 2;
   58 
   59 # When this is 1, the section numbers are shown. The section numbers should 
   60 # then match those that would have bee produced by LaTeX.
   61 # The correct section numbers are obtained from the $FILE.aux file generated 
   62 # by LaTeX.
   63 # Hiding the seciton numbers encourages use of particular sections 
   64 # as standalone documents. In this case the cross reference to a section 
   65 # is shown using the default symbol rather than the section number.
   66 $SHOW_SECTION_NUMBERS = 0;
   67 
   68 ### Other global variables ###############################################
   69 $CHILDLINE = "<BR> <HR>\n";
   70 
   71 # This is the line width measured in pixels and it is used to right justify
   72 # equations and equation arrays; 
   73 $LINE_WIDTH = 500;		
   74 
   75 # Used in conjunction with AUTO_NAVIGATION
   76 $WORDS_IN_PAGE = 300;	
   77 
   78 # Affects ONLY the way accents are processed 
   79 $default_language = 'english';	
   80 
   81 # The value of this variable determines how many words to use in each 
   82 # title that is added to the navigation panel, see below (-1 is no limit).
   83 # If $SHOW_SECTION_NUMBERS == 1, then one additional word counts
   84 # for the section number.
   85 # 
   86 $WORDS_IN_NAVIGATION_PANEL_TITLES = 4;
   87 
   88 # The value of this variable determines how many words to use in each 
   89 # Index entry (analogous to $WORDS_IN_NAVIGATION_PANEL_TITLES).
   90 # If not set, it equals to $WORDS_IN_NAVIGATION_PANEL_TITLES by default.
   91 # 
   92 #$WORDS_IN_INDEX = 4;
   93 
   94 # This number will determine the size of the equations, special characters,
   95 # and anything which will be converted into an inlined image
   96 # *except* "image generating environments" such as "figure", "table" 
   97 # or "minipage".
   98 # Effective values are those greater than 0.
   99 # Sensible values are between 0.1 - 4.
  100 $MATH_SCALE_FACTOR = 1.6;
  101 
  102 # This number will determine the size of 
  103 # image generating environments such as "figure", "table" or "minipage".
  104 # Effective values are those greater than 0.
  105 # Sensible values are between 0.1 - 4.
  106 $FIGURE_SCALE_FACTOR = 1.6;
  107 
  108 
  109 #  If this is set then intermediate files are left for later inspection.
  110 #  This includes $$_images.tex and $$_images.log created during image
  111 #  conversion.
  112 #  Caution: Intermediate files can be *enormous*.
  113 $DEBUG = 0;
  114 
  115 #  If both of the following two variables are set then the "Up" button
  116 #  of the navigation panel in the first node/page of a converted document
  117 #  will point to $EXTERNAL_UP_LINK. $EXTERNAL_UP_TITLE should be set
  118 #  to some text which describes this external link.
  119 $EXTERNAL_UP_LINK = "";
  120 $EXTERNAL_UP_TITLE = "";
  121 
  122 # If this is set then the resulting HTML will look marginally better if viewed 
  123 # with Netscape.
  124 $NETSCAPE_HTML = 0;
  125 
  126 # Valid paper sizes are "letter", "legal", "a4","a3","a2" and "a0"
  127 # Paper sizes has no effect other than in the time it takes to create inlined
  128 # images and in whether large images can be created at all ie
  129 #  - larger paper sizes *MAY* help with large image problems 
  130 #  - smaller paper sizes are quicker to handle
  131 $PAPERSIZE = "a4";
  132 
  133 # Replace "english" with another language in order to tell LaTeX2HTML that you 
  134 # want some generated section titles (eg "Table of Contents" or "References")
  135 # to appear in a different language. Currently only "english" and "french"
  136 # is supported but it is very easy to add your own. See the example in the
  137 # file "latex2html.config" 
  138 $TITLES_LANGUAGE = "english";
  139 
  140 ### Navigation Panel ##########################################################
  141 #
  142 # The navigation panel is constructed out of buttons and section titles.
  143 # These can be configured in any combination with arbitrary text and 
  144 # HTML tags interspersed between them. 
  145 # The buttons available are:
  146 # $PREVIOUS - points to the previous section
  147 # $UP  - points up to the "parent" section
  148 # $NEXT - points to the next section
  149 # $NEXT_GROUP - points to the next "group" section
  150 # $PREVIOUS_GROUP - points to the previous "group" section
  151 # $CONTENTS - points to the contents page if there is one
  152 # $INDEX - points to the index page if there is one
  153 #
  154 # If the corresponding section exists the button will contain an
  155 # active link to that section. If the corresponding section does
  156 # not exist the button will be inactive.
  157 #
  158 # Also for each of the $PREVIOUS $UP $NEXT $NEXT_GROUP and $PREVIOUS_GROUP
  159 # buttons there are equivalent $PREVIOUS_TITLE, $UP_TITLE, etc variables
  160 # which contain the titles of their corresponding sections. 
  161 # Each title is empty if there is no corresponding section.
  162 #
  163 # The subroutine below constructs the navigation panels in each page.
  164 # Feel free to mix and match buttons, titles, your own text, your logos,
  165 # and arbitrary HTML (the "." is the Perl concatenation operator).
  166 sub top_navigation_panel {
  167 
  168     # Now add a few buttons with a space between them
  169     "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
  170     
  171     "<BR>\n" .		# Line break
  172 	
  173     # If ``next'' section exists, add its title to the navigation panel
  174     ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . 
  175     
  176     # Similarly with the ``up'' title ...
  177     ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . 
  178  
  179     # ... and the ``previous'' title
  180     ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) .
  181    
  182     #  Line Break, horizontal rule (3-d dividing line) and new paragraph  
  183     "<BR> <P>\n"		
  184 }
  185 
  186 sub bot_navigation_panel {
  187 
  188     #  Start with a horizontal rule (3-d dividing line)
  189     "<HR>".			
  190     
  191     # Now add a few buttons with a space between them
  192     "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
  193     
  194     "<BR>\n" .		# Line break
  195 	
  196     # If ``next'' section exists, add its title to the navigation panel
  197     ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) . 
  198     
  199     # Similarly with the ``up'' title ...
  200     ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . 
  201  
  202     # ... and the ``previous'' title
  203     ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) 
  204    
  205 }
  206 
  207 1;	# This must be the last line