ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: \startquotation, \cite and footnotes
Date: Mon, 04 Dec 2006 10:51:38 +0100	[thread overview]
Message-ID: <4573EFAA.1050805@elvenkind.com> (raw)
In-Reply-To: <0639BEE2-F1DF-4CDB-A759-AC63768F13D3@mpq.mpg.de>



Oliver Buerschaper wrote:
>>
>>There is no other way. If you strangeness as a result from this,
>>then it is a bug in the footnote handling that is (should be)
>>unrelated to the bibliography module.
> 
> 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.

> 
>>>2. When typesetting a quotation block I'd like to add a reference
>>>directly after the closing quotation marks. However, including the
>>>\cite command before \stopquotation places the reference before the
>>>closing marks, and moving \cite out of the \start \stop block makes
>>>the reference appear on a new line ...
>>
>>The next solution is a bit rude, but works:
...
> 
> 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.

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}

Greetings, Taco

  reply	other threads:[~2006-12-04  9:51 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 [this message]
2006-12-06 20:26       ` Oliver Buerschaper
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=4573EFAA.1050805@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).