[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
0.6
Latex Footnotes
<..
configure htmlw Preamble
..>
\:CheckOption{fn-out}\if:Option
\else
\Log:Note{for
offline
footnotes
use
command
line
option
‘fn-out’}
\edef\Preamble{\Preamble,fn-in}
\fi
-_-_-
<..
configure htmlw latex
..>
+
\:CheckOption{fn-in}\if:Option
<.
inline footnote mark
.>
<.
inline footnote text
.>
<.
inline footnote css
.>
\fi
-_-_-
<..
inline
footnote
mark
..>
\Configure{footnotemark}
{\leavevmode
<.
inline fn mark /Link
.>
%
\NoFonts
\Tag{
<.
footnote id
.>
}{}}
{\EndNoFonts
<.
end inline fn mark /Link
.>
%
\expandafter\global\expandafter
\let\csname
(
<.
footnote id
.>
-bk)\endcsname\def}
-_-_-
<..
inline
footnote
text
..>
\Configure{footnotetext}
{
<.
open inline footnote box
.>
%
\leavevmode
<.
inline fn text /Link
.>
%
\NoFonts
\Tag{
<.
footnote id
.>
-bk}{}
}
{\EndNoFonts
<.
end inline fn text /Link
.>
}
{\expandafter\global\expandafter
\let\csname
(
<.
footnote id
.>
)\endcsname\def
<.
close inline footnote box
.>
}
-_-_-
<..
open
inline
footnote
box
..>
\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
<.
footnote par
.>
%
\ifvoid\fn:box\else
\csname
unvbox\endcsname\fn:box\fi
-_-_-
<..
close
inline
footnote
box
..>
\EndP\egroup\RecallEndP
-_-_-
<..
inline
fn
text
/Link
..>
\ifTag{
<.
footnote id
.>
}
{\expandafter\ifx\csname
(
<.
footnote id
.>
)\endcsname\def
\Link{
<.
footnote id
.>
-bk}{}%
\HCode{<span
class="MsoFootnoteReference">}%
\else
\Link{
<.
footnote id
.>
-bk}{
<.
footnote id
.>
}%
\HCode{<span
class="MsoFootnoteReference">}%
\fi
}
{\expandafter\ifx\csname
(
<.
footnote id
.>
)\endcsname\def
\else
\Link{}{
<.
footnote id
.>
}%
\HCode{<span
class="MsoFootnoteReference">}%
\fi
}%
-_-_-
<..
end
inline
fn
text
/Link
..>
\ifTag{
<.
footnote id
.>
}
{\space\HCode{</span>}\EndLink
}
{\expandafter\ifx\csname
(
<.
footnote id
.>
)\endcsname\def
\else
\space\HCode{</span>}\EndLink
\fi
}%
-_-_-
<..
mouseover inline fn mark /Link
..>
<.
start js
.>
%
\ifTag{
<.
footnote id
.>
-bk}
{\expandafter\ifx\csname
(
<.
footnote id
.>
-bk)\endcsname\def
\Link[
<.
mouseover-footnote arguments
.>
\Hnewline
]{
<.
footnote id
.>
}{}%
\else
\Link[
<.
mouseover-footnote arguments
.>
\Hnewline
]{
<.
footnote id
.>
}{
<.
footnote id
.>
-bk}%
\fi
}
{\expandafter\ifx\csname
(
<.
footnote id
.>
-bk)\endcsname\def
\else
\Link[
<.
mouseover-footnote arguments
.>
\Hnewline
]{}{
<.
footnote id
.>
-bk}\fi
}%
-_-_-
<..
inline
fn
mark
/Link
..>
\ifTag{
<.
footnote id
.>
-bk}
{\expandafter\ifx\csname
(
<.
footnote id
.>
-bk)\endcsname\def
\Link{
<.
footnote id
.>
}{}%
\HCode{<span
class="MsoFootnoteReference">}%
\else
\Link{
<.
footnote id
.>
}{
<.
footnote id
.>
-bk}%
\HCode{<span
class="MsoFootnoteReference">}%
\fi
}
{\expandafter\ifx\csname
(
<.
footnote id
.>
-bk)\endcsname\def
\else
\Link{}{
<.
footnote id
.>
-bk}
\HCode{<span
class="MsoFootnoteReference">}%
\fi
}%
-_-_-
<..
end
inline
fn
mark
/Link
..>
\ifTag{
<.
footnote id
.>
-bk}
{\HCode{</span>}\EndLink}
{\expandafter\ifx\csname
(
<.
footnote id
.>
-bk)\endcsname\def
\else
\HCode{</span>}\EndLink\fi
}%
-_-_-
<..
inline
footnote
css
..>
\Css{span.footnotetext{
font-size:80\%;
font-style:italic;
}
}
\Css{div.footnotes{border-bottom:0;}}
-_-_-
<..
ams footnotes
..>
\:CheckOption{fn-in}\if:Option
\Css{span.MsoFootnoteReference
{vertical-align:super;}}
\fi
-_-_-
<..
footnote
id
..>
fn\FNnum
x\minipageNum
-_-_-
<..
configure htmlw amsart
..>
<.
ams footnotes
.>
-_-_-
<..
configure htmlw amsproc
..>
<.
ams footnotes
.>
-_-_-
<..
configure htmlw amsbook
..>
<.
ams footnotes
.>
-_-_-
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]