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: t-bib: URL and '%'; spacing between number and text
Date: Fri, 04 Apr 2008 12:53:33 +0200	[thread overview]
Message-ID: <47F608AD.1060505@elvenkind.com> (raw)
In-Reply-To: <47F60504.5090701@net-b.de>

Tobias Burnus wrote:
> Taco Hoekwater wrote:
>> Does this fix I wrote (back in September) actually work?
>>
>> % start fix
>> \unprotect
>> \def\dousepublications#1%
>>   {\doonlyonce
>>      {#1.\f!bibextension}
>>      {\readfile{#1.\f!bibextension}
>>      {\catcode`\%=12
>>       \showmessage\m!bib{4}{#1.\f!bibextension}}
>>      {\showmessage\m!bib{2}{#1.\f!bibextension}}}}
>> \protect
>> % end fix
> It does not seem to work here :-(

It redefines the bbl loader, so inlined \startpublication blocks
will not work. It should work if your publications are in the bbl
file. I can add a similar instruction to \startpublication, but
I want to be sure it works, first.

> The attached test case uses \% but replacing it by \% causes TeX errors. 
> (publication block as found in the bbl file.)

Using \% is wrong in any case, you should be able to write the
url with just percent signs, that is what we are aiming for.

>> Not too hard, if you don't mind editting the bib / bbl a bit;
>> making it truly automatic and still configurable would be hard.
>> Example attached.
> It does not seem to work here. 

I am an idiot. Please add the \doglobal in this  line:

   {\doglobal\addtocommalist{cite-\jobname-\recurselevel}\pagerefs}

Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-04 10:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 17:48 Tobias Burnus
2008-03-31 14:17 ` Taco Hoekwater
2008-04-03 22:41   ` Tobias Burnus
2008-04-04  9:39     ` Taco Hoekwater
2008-04-04 10:37       ` Tobias Burnus
2008-04-04 10:53         ` Taco Hoekwater [this message]
2008-04-04 12:52           ` Tobias Burnus
2008-04-04 13:37             ` Taco Hoekwater
2008-04-12 19:46               ` Tobias Burnus

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=47F608AD.1060505@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).