.latex2html-init 6.7 KB

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