ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: pararaph indent in footnote
Date: Thu, 23 Jun 2005 11:28:16 -0400	[thread overview]
Message-ID: <A2992D00-4AEC-4232-B94A-5E803777E48F@princeton.edu> (raw)
In-Reply-To: <42BA7A09.1010709@seznam.cz>

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
>

  reply	other threads:[~2005-06-23 15:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 11:58 Alan Bowen
2005-06-22 15:40 ` Steve Grathwohl
2005-06-22 16:11   ` Alan Bowen
2005-06-22 17:09     ` Peter Münster
2005-06-22 21:58       ` Alan Bowen
2005-06-22 22:48       ` Alan Bowen
2005-06-23  8:59         ` Vit Zyka
2005-06-23 15:28           ` Alan Bowen [this message]
2005-07-22  2:11           ` pararaph indent in footnote (again) Alan Bowen
2005-07-22  8:10             ` Hans Hagen
2005-07-22 10:26               ` Alan Bowen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A2992D00-4AEC-4232-B94A-5E803777E48F@princeton.edu \
    --to=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).