Vit—

That’s got it nicely. Many thanks!

Best, Alan

On Jun 23, 2005, at 4:59 AM, Vit Zyka wrote:

Alan Bowen wrote:

Peter—
On further testing, I see that while I now have indented paragraphs in my footnotes, I no longer have the ability to name and cross- reference them. \footnote{footnote text} works well, but \footnote [name]{footnote text} now seems broken.
Alan

On Wed, 22 Jun 2005, Alan Bowen wrote:




My immediate problem, however, is the paragraph indent in
footnotes that have more than one paragraph.




I don't know better, but this works:

\setupindenting[small]
\let\footnoteO\footnote
\long\def\footnote#1{\footnoteO{\setupindenting[small]#1}}
%% or
%\long\def\footnote#1{\footnoteO{\setupindenting[small]\indent#1}}
\def\SomePars{\dorecurse5{\dorecurse{50}{bla }\par}}
\starttext
\SomePars bla\footnote{\SomePars}
\stoptext


Try:

-------------------------------------
\setupindenting[small]

\let\footnoteO\footnote
\def\footnote{\dosingleempty\mydofootnote}
\long\def\mydofootnote[#1]#2{%
  \iffirstargument
    \footnoteO[#1]{\setupindenting[small]#2}%
  \else
    \footnoteO{\setupindenting[small]#2}%
  \fi
}
\def\SomePars{\dorecurse5{\dorecurse{50}{bla }\par}}
\starttext
  \SomePars bla\footnote{\SomePars}
\stoptext
--------------------------------------

cheers
vit


--
=======================================================
Ing. Vít Zýka, Ph.D.                         TYPOkvítek

database publishing              databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189     www: http://typokvitek.com
=======================================================

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to