ifo.texi 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. @c
  2. @c This file is part of the ``Texinfo to HTML Converter'' manual
  3. @c which is part of the ``texi2html'' distribution.
  4. @c
  5. @c License:
  6. @c Copyright (C) 1999, 2000 Free Software Foundation, Inc.
  7. @c
  8. @c This program is free software; you can redistribute it
  9. @c and/or modify it under the terms of the GNU General Public
  10. @c License as published by the Free Software Foundation;
  11. @c either version 2 of the License, or (at your option) any
  12. @c later version.
  13. @c
  14. @c This program is distributed in the hope that it will be
  15. @c useful, but WITHOUT ANY WARRANTY; without even the implied
  16. @c warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  17. @c PURPOSE. See the GNU General Public License for more
  18. @c details.
  19. @c
  20. @c You should have received a copy of the GNU General
  21. @c Public License along with this program; if not, write to
  22. @c the Free Software Foundation, Inc., 59 Temple Place, Suite
  23. @c 330, Boston, MA 02111-1307 USA
  24. @c
  25. @c
  26. @c Revisions:
  27. @c
  28. @c
  29. @c Author:
  30. @c Karl Heinz Marbaise <khmarbaise@gmx.de>
  31. @c
  32. @c Description:
  33. @c Here you can find the description on the
  34. @c initialization files options.
  35. @c
  36. @c --------------------------------------------------------
  37. @section Initialization file options
  38. This section describes in detail all options that can be used
  39. only in the initialization file (@file{texi2html.init}),
  40. and cannot be specified on the command line.
  41. This means the only way to change those
  42. options is first to copy the original @file{texi2html.init}
  43. to e.g.@: @file{texi2html.init.myown} and make changes to fit
  44. your needs.
  45. @menu
  46. * IFOnumber:: Number sectioning.
  47. * IFOmenu:: Avoid menu redundancy.
  48. * IFOCenterImage:: Center Image.
  49. * IFOExampleIndentCell:: Example Indent Cell.
  50. * IFOSampleIndentCell:: Sample Indent Cell.
  51. * IFOSmallFontSize:: Small Font Size.
  52. * IFOTopHeading:: Top Heading.
  53. * IFOIndexChapter:: Index Chapter.
  54. * IFOSplitIndex:: Split Index.
  55. * IFOhrefDirInsteadFile:: HREF Dir Instead file.
  56. @end menu
  57. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  58. @node IFOnumber, IFOmenu, IFOs, IFOs
  59. @subsection Number sections.
  60. @vindex T2H_NUMBER_SECTIONS
  61. @vindex T2H_NODE_NAME_IN_MENU
  62. if set, and @var{$T2H_NUMBER_SECTIONS} is set, then use node
  63. names in menu entries, instead of section names
  64. @var{$T2H_NODE_NAME_IN_MENU} = 0;
  65. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  66. @node IFOmenu, IFOCenterImage, IFOnumber, IFOs
  67. @subsection Avoid menu redundancy
  68. @c not sure if correct?
  69. @cindex menu, redundancy
  70. @vindex T2H_AVOID_MENU_REDUNDANCY
  71. If set, and menu entry equals menu description, then do not print
  72. menu description. Likewise, if node name equals entry name, do
  73. not print entry name.
  74. @var{$T2H_AVOID_MENU_REDUNDANCY} = 1;
  75. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  76. @node IFOCenterImage, IFOExampleIndentCell, IFOmenu, IFOs
  77. @subsection Center Image
  78. @cindex images, center
  79. @vindex T2H_CENTER_IMAGE
  80. if set, center @@image by default
  81. otherwise, do not center by default
  82. @var{$T2H_CENTER_IMAGE} = 1;
  83. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  84. @node IFOExampleIndentCell, IFOSampleIndentCell, IFOCenterImage, IFOs
  85. @subsection Example Indent Cell
  86. @cindex example, indentation
  87. @vindex T2H_EXAMPLE_INDENT_CELL
  88. used as indentation for block enclosing command
  89. @code{@@example}, etc If not empty, must be enclosed in
  90. @code{<td></td>}
  91. @var{$T2H_EXAMPLE_INDENT_CELL} = '<td>&nbsp;</td>';
  92. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  93. @node IFOSampleIndentCell, IFOSmallFontSize, IFOExampleIndentCell, IFOs
  94. @subsection Small Example Indent
  95. @cindex example, small indent
  96. @vindex T2H_SMALL_EXAMPLE_INDENT_CELL
  97. same as above, only for @code{@@small}
  98. $T2H_SMALL_EXAMPLE_INDENT_CELL = "<td>&nbsp;</td>";
  99. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  100. @node IFOSmallFontSize, IFOTopHeading, IFOSampleIndentCell, IFOs
  101. @subsection Small Font Size
  102. @cindex Font Size, small
  103. @vindex T2H_SMALL_FONT_SIZE
  104. # font size for @@small
  105. $T2H_SMALL_FONT_SIZE = "-1";
  106. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  107. @node IFOTopHeading, IFOIndexChapter, IFOSmallFontSize, IFOs
  108. @subsection Top Heading
  109. @vindex T2H_TOP_HEADING
  110. if non-empty, and no @code{@@..heading} appeared in Top
  111. @c here should be a reference to Texinfo Manual
  112. @c @@heading ??
  113. node, then use this as header for top node/section,
  114. otherwise use value of @code{@@settitle} or
  115. @code{@@shorttitle} (in that order)
  116. $T2H_TOP_HEADING = "";
  117. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  118. @node IFOIndexChapter, IFOSplitIndex, IFOTopHeading, IFOs
  119. @subsection Index Chapter
  120. @cindex Chapter, Index
  121. @vindex T2H_INDEX_CHAPTER
  122. if set, use this chapter for @strong{Index} button, else
  123. use first chapter whose name matches @strong{index} (case insensitive)
  124. $T2H_INDEX_CHAPTER = "";
  125. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  126. @node IFOSplitIndex, IFOhrefDirInsteadFile, IFOIndexChapter, IFOs
  127. @subsection Split Index
  128. @cindex Index, split
  129. @vindex T2H_SPLIT_INDEX
  130. if set and @var{$T2H_SPLIT} is set, then split index pages
  131. at the next letter after they have more than that many
  132. entries
  133. $T2H_SPLIT_INDEX = 100;
  134. @c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  135. @node IFOhrefDirInsteadFile, , IFOSplitIndex, IFOs
  136. @subsection HREF Dir Instead File.
  137. @c Not very good? :-/
  138. @cindex HREF Dir instead file
  139. @vindex T2H_HREF_DIR_INSTEAD_FILE
  140. if set (e.g., to @file{index.html}) replace @strong{HREF}'s
  141. to this file (i.e., to @file{index.html}) by @file{./}
  142. $T2H_HREF_DIR_INSTEAD_FILE = "";