.latex2html-init 6.7 KB

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