ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography bug
Date: Mon, 28 Feb 2011 09:00:21 +0100	[thread overview]
Message-ID: <4D6B5615.2000005@elvenkind.com> (raw)
In-Reply-To: <20110227224850.GN29732@rae.vm.bytemark.co.uk>

On 02/27/2011 11:48 PM, Pontus Lurcock wrote:
> After some further staring at the code and bibmod-doc, I've come up with
> the following patch:

That patch looks fine. Hans, can you include it?

Best wishes,

Taco

> --- bibl-apa.tex.orig	2011-02-28 11:32:05.996248627 +1300
> +++ bibl-apa.tex	2011-02-28 11:32:47.576251922 +1300
> @@ -133,13 +133,13 @@
>
>   \def\insertorg#1#2#3%
>      {\insertorganization
>          {\insertcity
>               {#1}
> -            {\insertcountry{, }{}{#2}: }%
> -            {\insertcountry{}{: }{#2}}}%
> -       {}%
> +            {\insertcountry{, }{}{}: }%
> +            {\insertcountry{}{: }{}}}%
> +       {#2}%
>          {\insertcity
>               {#1}
>               {\insertcountry{, }{}{#2}}%
>               {\insertcountry{}{#2}{#3}}}%
>       }
>
> This fixes my example, and makes (to me) better sense according to the
> semantics of the \insert... commands: the<after>  argument to
> \insertorg gets passed down to the<after>  of \insertcity rather than
> spliced into the<before>. It's also closer to the definition of
> \insertpublisher immediately preceding it in the file.
>
> I hope that this can be integrated into the next beta, if it doesn't
> turn out to be a horrendous mistake...
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2011-02-28  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27  1:28 Pontus Lurcock
2011-02-27 22:48 ` Pontus Lurcock
2011-02-28  8:00   ` Taco Hoekwater [this message]

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=4D6B5615.2000005@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).