ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* indentnext for footnotes wanted
@ 2006-07-26  9:07 Steffen Wolfrum
  2006-07-26 16:23 ` indentnext for footnotes wanted (solved) Steffen Wolfrum
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2006-07-26  9:07 UTC (permalink / raw)


Hi,

I need an indentnext=auto for footnotes having more than one paragraph.
But the assumed command don't work - see below.

Someone knows the solution?


\setupheads[indentnext=auto]
\setupindenting[small,yes]
\setupitemize [indentnext=auto]
\setuptyping  [indentnext=auto]
\setupformulas[indentnext=auto]

\setupfootnotes[numbercommand=\quad]
\setupfootnotedefinition[distance=1em,location=serried,indentnext=yes]
\starttext

text\footnote{\input knuth\par \input knuth\par }

\stoptext



Thank you,
Steffen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: indentnext for footnotes wanted (solved)
  2006-07-26  9:07 indentnext for footnotes wanted Steffen Wolfrum
@ 2006-07-26 16:23 ` Steffen Wolfrum
  0 siblings, 0 replies; 2+ messages in thread
From: Steffen Wolfrum @ 2006-07-26 16:23 UTC (permalink / raw)


...just taking a break and wandering trough the GARDEN I found the  
answer – Vit's solution from last summer:

\let\footnoteO\footnote
\def\footnote{\dosingleempty\mydofootnote}
\long\def\mydofootnote[#1]#2{%
    \iffirstargument
      \footnoteO[#1]{\setupindenting[small,yes]#2}%
    \else
      \footnoteO{\setupindenting[small,yes]#2}%
    \fi
}

Beautiful, isn't it?

Steffen



Am 26.07.2006 um 11:07 schrieb Steffen Wolfrum:

> Hi,
>
> I need an indentnext=auto for footnotes having more than one  
> paragraph.
> But the assumed command don't work - see below.
>
> Someone knows the solution?
>
>
> \setupheads[indentnext=auto]
> \setupindenting[small,yes]
> \setupitemize [indentnext=auto]
> \setuptyping  [indentnext=auto]
> \setupformulas[indentnext=auto]
>
> \setupfootnotes[numbercommand=\quad]
> \setupfootnotedefinition[distance=1em,location=serried,indentnext=yes]
> \starttext
>
> text\footnote{\input knuth\par \input knuth\par }
>
> \stoptext
>
>
>
> Thank you,
> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-26 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26  9:07 indentnext for footnotes wanted Steffen Wolfrum
2006-07-26 16:23 ` indentnext for footnotes wanted (solved) Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).