custhtml.texi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 are the informations about customizing HTML
  34. @c BODY, PRE- and AFTER Body.
  35. @c
  36. @c ========================================================
  37. @chapter Customizing HTML
  38. If you like to read the following section, it is assumed
  39. you are famillar with @acronym{HTML}. If not, you shouldn't
  40. read this, cause you don't know what we are talking about.
  41. Here you can find information how to change the
  42. @acronym{HTML} parts of a document. These are the
  43. header, body etc.
  44. These are the defaults which are
  45. part of the distribution as @file{texi2html.init}.
  46. How to do changes of the customization...
  47. needed steps.
  48. @c examples.
  49. @menu
  50. * CustHTMLBody:: Customizing BODY Text.
  51. * CustHTMLHead:: Customizing Head.
  52. * CustHTMLBodyText:: Customizing Head.
  53. * CustHTMLPreBodyText:: Customizing Head.
  54. * CustHTMLAfterBody:: Customizing Head.
  55. @end menu
  56. @c --------------------------------------------------------
  57. @node CustHTMLBody,CustHTMLBodyText,,CustHTML
  58. @section Body
  59. @menu
  60. * CustHTMLBodyText:: Body Text.
  61. * CustHTMLPreBodyText:: PRE Body Text.
  62. * CustHTMLAfterBody:: After Body Text.
  63. @end menu
  64. @c -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  65. @node CustHTMLBodyText,CustHTMLPreBodyText,CustHTMLBody,CustHTML
  66. @subsection Body Text
  67. @vindex T2H_BODYTEXT
  68. @example
  69. $T2H_BODYTEXT =
  70. . 'LANG="' . $T2H_LANG . '" BGCOLOR="#FFFFFF" '
  71. . 'TEXT="#000000" LINK="#0000FF" '
  72. . 'VLINK="#800080" ALINK="#FF0000"';
  73. @end example
  74. If you like to change the basic color combination, you can
  75. change the entry @var{T2H_BODYTEXT}.
  76. @c -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  77. @node CustHTMLPreBodyText,CustHTMLAfterBody,CustHTMLBodyText,CustHTML
  78. @subsection Body Text
  79. @c -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  80. @node CustHTMLAfterBody,CustHTMLHead,CustHTMLPreBodyText,CustHTML
  81. @subsection After Body Text
  82. @vindex T2H_AFTER_BODY_OPEN
  83. @vindex T2H_PRE_BODY_CLOSE
  84. @vindex T2H_EXTRA_HEAD
  85. @example
  86. # text inserted after <BODY ...>
  87. $T2H_AFTER_BODY_OPEN = '';
  88. #text inserted before </BODY>
  89. $T2H_PRE_BODY_CLOSE = '';
  90. # this is used in footer
  91. $T2H_ADDRESS = "by <I>$T2H_USER</I> " if $T2H_USER;
  92. $T2H_ADDRESS .= "on <I>$T2H_TODAY</I>";
  93. # this is added inside <HEAD></HEAD> after <TITLE> and some META NAME stuff
  94. # can be used for <style> <script>, <meta> tags
  95. $T2H_EXTRA_HEAD = '';
  96. @end example
  97. The default output into the @acronym{HTML} file.
  98. @xref{OptionDocType}.
  99. The following code is produced by
  100. @code{T2H_DEFAULT_print_page_head}.
  101. Detailed information can be found at
  102. @ref{CustPagePageHead}.
  103. @example
  104. @include custhtml-header.htmltexi
  105. @end example
  106. @c --------------------------------------------------------
  107. @node CustHTMLHead,,CustHTMLAfterBody,CustHTML
  108. @section Head