1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> |
2 |
<html> |
<html> |
3 |
<!-- Portions of texi2html |
<!-- Portions of texi2html |
4 |
Copyright C 1999, 2000 Lionel Cons |
Copyright C 1999, 2000 Lionel Cons |
5 |
Copyright C 1999, 2000 Karl Berry |
Copyright C 1999, 2000 Karl Berry |
6 |
Copyright C 1999, 2000 Olaf Bachmann |
Copyright C 1999, 2000 Olaf Bachmann |
30 |
conditions for modified versions, except that this |
conditions for modified versions, except that this |
31 |
permission notice may be stated in a translation approved |
permission notice may be stated in a translation approved |
32 |
by the Free Software Foundation. |
by the Free Software Foundation. |
33 |
--> |
--> |
34 |
<!-- Created on August, 28 2005 by texi2html @PACKAGE_VERSION@ --> |
<!-- Created on November, 14 2005 by texi2html 1.77 --> |
35 |
<!-- |
<!-- |
36 |
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) |
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) |
37 |
Karl Berry <karl@freefriends.org> |
Karl Berry <karl@freefriends.org> |
48 |
<meta name="keywords" content="Texi2HTML – Texinfo to HTML v1.77: Texi2HTML"> |
<meta name="keywords" content="Texi2HTML – Texinfo to HTML v1.77: Texi2HTML"> |
49 |
<meta name="resource-type" content="document"> |
<meta name="resource-type" content="document"> |
50 |
<meta name="distribution" content="global"> |
<meta name="distribution" content="global"> |
51 |
<meta name="Generator" content="texi2html @PACKAGE_VERSION@"> |
<meta name="Generator" content="texi2html 1.77"> |
52 |
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
53 |
<style type="text/css"> |
<style type="text/css"> |
54 |
<!-- |
<!-- |
130 |
<a name="SEC_Top"></a> |
<a name="SEC_Top"></a> |
131 |
|
|
132 |
|
|
133 |
<p>This manual, last updated 19 August 2005, describes version 1.77 |
<p>This manual, last updated 28 August 2005, describes version 1.77 |
134 |
of the <code>texi2html</code> Perl script which converts |
of the <code>texi2html</code> Perl script which converts |
135 |
<a href="http://www.texinfo.org">Texinfo</a> into <a href="http://w3c.org">HTML</a>. |
<a href="http://www.texinfo.org">Texinfo</a> into <a href="http://w3c.org">HTML</a>. |
136 |
</p> |
</p> |
5371 |
<h2 class="section"> 7.19 Bypassing normal formatting </h2> |
<h2 class="section"> 7.19 Bypassing normal formatting </h2> |
5372 |
|
|
5373 |
<p>It is possible to bypass completely the normal formatting of @-commands |
<p>It is possible to bypass completely the normal formatting of @-commands |
5374 |
with braces. In that case the @-commands and the text within |
with braces and raw regions |
5375 |
|
(<code>@html</code>, <code>@tex</code>, <code>@xml</code>… regions). |
5376 |
|
In that case the @-commands and the text within |
5377 |
are passed to a user defined function early, in a pass when no expansion |
are passed to a user defined function early, in a pass when no expansion |
5378 |
of output takes place, called the collecting pass. Another user defined |
of output takes place, called the collecting pass. Another user defined |
5379 |
function is called during the output expansion phase. |
function is called during the output expansion phase. |
5393 |
a hash used to specify the user defined function references. |
a hash used to specify the user defined function references. |
5394 |
The key of the hash reference are <code>'init'</code> for the function |
The key of the hash reference are <code>'init'</code> for the function |
5395 |
reference called during the collecting pass, and <code>'expand'</code> |
reference called during the collecting pass, and <code>'expand'</code> |
5396 |
during the expansion pass. Here is an example: |
during the expansion pass. Here is an example for an @-command with |
5397 |
|
braces: |
5398 |
</p> |
</p> |
5399 |
<table><tr><td> </td><td><pre class="example">$command_handler{'math'} = |
<table><tr><td> </td><td><pre class="example">$command_handler{'math'} = |
5400 |
{ 'init' => \&Texi2HTML::LaTeX2HTML::to_latex, |
{ 'init' => \&Texi2HTML::LaTeX2HTML::to_latex, |
5401 |
'expand' => \&Texi2HTML::LaTeX2HTML::do_tex |
'expand' => \&Texi2HTML::LaTeX2HTML::do_tex |
5402 |
}; |
}; |
5403 |
</pre></td></tr></table> |
</pre></td></tr></table> |
5404 |
|
<p>And an example for a raw region @-command: |
5405 |
|
</p> |
5406 |
|
<table><tr><td> </td><td><pre class="example">$command_handler{'tex'} = |
5407 |
|
{ 'init' => \&Texi2HTML::LaTeX2HTML::to_latex, |
5408 |
|
'expand' => \&Texi2HTML::LaTeX2HTML::do_tex |
5409 |
|
}; |
5410 |
|
</pre></td></tr></table> |
5411 |
<p>The function references are called like: |
<p>The function references are called like: |
5412 |
</p> |
</p> |
5413 |
<dl> |
<dl> |
6686 |
</tr></table> |
</tr></table> |
6687 |
<h1>About This Document</h1> |
<h1>About This Document</h1> |
6688 |
<p> |
<p> |
6689 |
This document was generated by <em>Patrice Dumas</em> on <em>August, 28 2005</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html @PACKAGE_VERSION@</em></a>. |
This document was generated by <em>Patrice Dumas</em> on <em>November, 14 2005</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.77</em></a>. |
6690 |
</p> |
</p> |
6691 |
<p> |
<p> |
6692 |
The buttons in the navigation panels have the following meaning: |
The buttons in the navigation panels have the following meaning: |
6788 |
<hr size="1"> |
<hr size="1"> |
6789 |
<p> |
<p> |
6790 |
<font size="-1"> |
<font size="-1"> |
6791 |
This document was generated by <em>Patrice Dumas</em> on <em>August, 28 2005</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html @PACKAGE_VERSION@</em></a>. |
This document was generated by <em>Patrice Dumas</em> on <em>November, 14 2005</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.77</em></a>. |
6792 |
</font> |
</font> |
6793 |
<br> |
<br> |
6794 |
|
|