pararaph indent in footnote
How does one get ConTeXt to indent and space paragraphs in footnotes according to the same rules as the body text? I have checked the manual but do not see how to adapt \setupfootnotes to do this, and my attempts thus far with \setupfootnotedefinition have not been unsuccessful either. Thanks for any help or pointers. Alan
My solution (worked out with Steve Peter and Hans at PracTeX Chapel Hill:
\def\MyNum#1{\hskip2em\relax#1. }%\hskip your indent here
\setupnote[footnote][numbercommand=\MyNum]
\setupnotedefinition[footnote][location=left,hang=1]
Of course, to have a superscripted number you say
\def\MyNum#1{\hskip2em\relax$^{#1}$
Steve
On 6/22/05, Alan Bowen
How does one get ConTeXt to indent and space paragraphs in footnotes according to the same rules as the body text?
I have checked the manual but do not see how to adapt \setupfootnotes to do this, and my attempts thus far with \setupfootnotedefinition have not been unsuccessful either.
Thanks for any help or pointers.
Alan
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- Steve Grathwohl || Digital Content Developer Duke University Press Journals || +1 919 687 3634 905 W Main St || Durham, NC 27701 USA sgrathwohl@dukeupress.edu
Steve— Thanks for the reply, but it seems to me that this will affect only the spacing and placement of a footnote number in relation to the footnote proper—which is very cool and I will use what you have relayed. My immediate problem, however, is the paragraph indent in footnotes that have more than one paragraph. Still, I take it that \setupnote and \setupnotedefinition are the commands I need. Do you know where the documentation is for these commands? Is there a way to turn on indentation? I have checked the various PDF manuals and they are not mentioned. Alan On Jun 22, 2005, at 11:40 AM, Steve Grathwohl wrote:
My solution (worked out with Steve Peter and Hans at PracTeX Chapel Hill:
\def\MyNum#1{\hskip2em\relax#1. }%\hskip your indent here \setupnote[footnote][numbercommand=\MyNum] \setupnotedefinition[footnote][location=left,hang=1]
Of course, to have a superscripted number you say \def\MyNum#1{\hskip2em\relax$^{#1}$
Steve
On 6/22/05, Alan Bowen
wrote: How does one get ConTeXt to indent and space paragraphs in footnotes according to the same rules as the body text? I have checked the manual but do not see how to adapt \setupfootnotes to do this, and my attempts thus far with \setupfootnotedefinition have not been unsuccessful either.
Thanks for any help or pointers.
Alan
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- Steve Grathwohl || Digital Content Developer Duke University Press Journals || +1 919 687 3634 905 W Main St || Durham, NC 27701 USA sgrathwohl@dukeupress.edu _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
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 Cheers, Peter -- http://pmrb.free.fr/contact/
Peter— Many thanks for your help! This solves the problem very nicely. All best, Alan On Jun 22, 2005, at 1:09 PM, Peter Münster wrote:
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
Cheers, Peter
-- http://pmrb.free.fr/contact/ _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
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
Cheers, Peter
-- http://pmrb.free.fr/contact/ _______________________________________________ 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
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 =======================================================
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
The latest version of ConTeXt (ver: 2005.07.20 fmt: 2005.7.21 int: english mes: english) seems to have changed \setupindenting in such a way that % for footnotes with paragraphs \let\myfn\footnote \def\footnote{\dosingleempty\mydofootnote} \long\def\mydofootnote[#1]#2{% \iffirstargument \myfn[#1]{\setupindenting[big]#2}% \else \myfn{\setupindenting[big]#2}% \fi } which was suggested by Vít Zyka and used to work perfectly, now does not. All my footnote paragraphs are now set without an indent. Changing \setupindenting to \indenting does not seem to work (though it does in the body text for normal paragraphing). What am I missing? Alan On Jun 23, 2005, at 4:59 AM, Vit Zyka wrote:
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
Alan Bowen wrote: how about: \setupnotedefinition[footnote][indenting={medium,yes}] (i'll introduce a normal keyword to reinstate the previously set one)
The latest version of ConTeXt (ver: 2005.07.20 fmt: 2005.7.21 int: english mes: english) seems to have changed \setupindenting in such a way that
% for footnotes with paragraphs \let\myfn\footnote \def\footnote{\dosingleempty\mydofootnote} \long\def\mydofootnote[#1]#2{% \iffirstargument \myfn[#1]{\setupindenting[big]#2}% \else \myfn{\setupindenting[big]#2}% \fi } which was suggested by Vít Zyka and used to work perfectly, now does not. All my footnote paragraphs are now set without an indent.
Changing \setupindenting to \indenting does not seem to work (though it does in the body text for normal paragraphing). What am I missing?
Alan
On Jun 23, 2005, at 4:59 AM, Vit Zyka wrote:
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
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans— That does it perfectly. Many thanks, again! Best, Alan On Jul 22, 2005, at 4:10 AM, Hans Hagen wrote:
Alan Bowen wrote:
how about:
\setupnotedefinition[footnote][indenting={medium,yes}]
(i'll introduce a normal keyword to reinstate the previously set one)
The latest version of ConTeXt (ver: 2005.07.20 fmt: 2005.7.21 int: english mes: english) seems to have changed \setupindenting in such a way that
% for footnotes with paragraphs \let\myfn\footnote \def\footnote{\dosingleempty\mydofootnote} \long\def\mydofootnote[#1]#2{% \iffirstargument \myfn[#1]{\setupindenting[big]#2}% \else \myfn{\setupindenting[big]#2}% \fi } which was suggested by Vít Zyka and used to work perfectly, now does not. All my footnote paragraphs are now set without an indent.
Changing \setupindenting to \indenting does not seem to work (though it does in the body text for normal paragraphing). What am I missing?
Alan
On Jun 23, 2005, at 4:59 AM, Vit Zyka wrote:
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
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (6)
-
Alan Bowen
-
Alan Bowen
-
Hans Hagen
-
Peter Münster
-
Steve Grathwohl
-
Vit Zyka