ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>
Subject: Re: \startquotation, \cite and footnotes
Date: Wed, 6 Dec 2006 21:26:11 +0100	[thread overview]
Message-ID: <D4CADAF7-A3D9-428E-A3AC-AC4998DEEB4D@mpq.mpg.de> (raw)
In-Reply-To: <4573EFAA.1050805@elvenkind.com>

>> Ok. As for the strange things happening I was able to hunt them down
>> and prepare a simple example (still with the standard  
>> \startquotation):
>
> We are looking into this. All footnotes in vertical mode are
> behaving oddly.

Thanks!

>> I tried that one but ran into several problems unfortunately. If
>> \cite inserts anything but a tiny string these words won't be wrapped
>> properly onto a new line. Also if I replace \cite[#1] by \footnote
>> {\cite[#1]} then there will be no footnote at all :-(
>
> The missing linebreak is probably realted to the problem as in the
> other thread, so you just have to wait a little bit longer, until that
> is fixed for this problem to magically go away as well.

Yep, I'll be waiting for some black magic ;-)

> The disappearing footnote may be unfixable within \startquotation. It
> would be easier to define your own start-stop pair for this, because
> \startquotation ... \stopquotation doesn't actually support tacking on
> stuff at the end. Try this instead:
>
>    \long\def\startcitedquotation[#1]#2\stopcitedquotation
>        {\bgroup \par
>         \startnarrower
>           \symbol[leftquotation]%
>           #2\removeunwantedspaces
>           \symbol[rightquotation]%
>           \cite[#1]
>         \stopnarrower
>         \par \egroup}

Works like a charm! Thanks very much for the workaround ... I've  
adapted it slightly so that the optional argument is treated as  
generic text ... in order to use \cite[], \footnote{\cite[]} or  
whatever else I need.

Could this optional argument perhaps be integrated directly in the  
usual \startquotation command some day? I guess a lot of people will  
need this ... every quotation calls for a proper reference ;-)

Cheers,
Oliver

  reply	other threads:[~2006-12-06 20:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-02 12:49 Oliver Buerschaper
2006-12-03 14:14 ` Taco Hoekwater
2006-12-03 21:18   ` Oliver Buerschaper
2006-12-04  9:51     ` Taco Hoekwater
2006-12-06 20:26       ` Oliver Buerschaper [this message]
2006-12-07 18:11         ` new context release Taco Hoekwater
2006-12-07 19:02           ` Renaud Aubin
2006-12-07 22:27             ` Hans Hagen
2006-12-08 18:07               ` Renaud Aubin
2006-12-08 18:11                 ` Renaud Aubin

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=D4CADAF7-A3D9-428E-A3AC-AC4998DEEB4D@mpq.mpg.de \
    --to=oliver.buerschaper@mpq.mpg.de \
    --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).