[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texi2html-cvs] Changes to texi2html/doc/texi2html.texi
From: |
Patrice Dumas |
Subject: |
[Texi2html-cvs] Changes to texi2html/doc/texi2html.texi |
Date: |
Mon, 14 Nov 2005 06:16:27 -0500 |
Index: texi2html/doc/texi2html.texi
diff -u texi2html/doc/texi2html.texi:1.40 texi2html/doc/texi2html.texi:1.41
--- texi2html/doc/texi2html.texi:1.40 Sun Aug 28 08:39:57 2005
+++ texi2html/doc/texi2html.texi Mon Nov 14 11:14:01 2005
@@ -3408,7 +3408,9 @@
@section Bypassing normal formatting
It is possible to bypass completely the normal formatting of @@-commands
-with braces. In that case the @@-commands and the text within
+with braces and raw regions
+(@code{@@html}, @code{@@tex}, @code{@@address@hidden regions).
+In that case the @@-commands and the text within
are passed to a user defined function early, in a pass when no expansion
of output takes place, called the collecting pass. Another user defined
function is called during the output expansion phase.
@@ -3427,10 +3429,20 @@
a hash used to specify the user defined function references.
The key of the hash reference are @code{'init'} for the function
reference called during the collecting pass, and @code{'expand'}
-during the expansion pass. Here is an example:
+during the expansion pass. Here is an example for an @@-command with
+braces:
@example
address@hidden'math'@} =
+ @{ 'init' => \&Texi2HTML::LaTeX2HTML::to_latex,
+ 'expand' => \&Texi2HTML::LaTeX2HTML::do_tex
+ @};
address@hidden example
+
+And an example for a raw region @@-command:
+
address@hidden
address@hidden'tex'@} =
@{ 'init' => \&Texi2HTML::LaTeX2HTML::to_latex,
'expand' => \&Texi2HTML::LaTeX2HTML::do_tex
@};
- [Texi2html-cvs] Changes to texi2html/doc/texi2html.texi,
Patrice Dumas <=