* Re: Bibtex with ConTeXt mkiv
[not found] ` <4F8D2CD7.6080503@elvenkind.com>
@ 2012-04-18 5:12 ` Kip Warner
0 siblings, 0 replies; only message in thread
From: Kip Warner @ 2012-04-18 5:12 UTC (permalink / raw)
To: Taco Hoekwater; +Cc: mailing list for ConTeXt users, Hans Hagen
[-- Attachment #1.1: Type: text/plain, Size: 1330 bytes --]
On Tue, 2012-04-17 at 10:41 +0200, Taco Hoekwater wrote:
> That's weird. It is probably a bug in Hans' reimplementation of the
> bib module for mkiv.
I've cc'd Hans in case he has something to offer on that.
> But it is fairly simple to work around, using a
> new macro definition like this:
>
> \unexpanded\def\mycite{\dodoubleempty\domycite}
> \def\domycite[#1][#2]%
> {\ifsecondargument
> \footnote{\cite[alternative=data,#1][#2]}%
> \else
> \footnote{\cite[data][#1]}%
> \fi}
>
> Then \mycite[<key>] also inserts the \footnote command automatically,
> and you can still use \mycite[extras={...}][<key>].
That works awesome Taco. Thanks a lot. It doesn't matter that it can't
accept multiple keys easily and put on their own lines, since it
wouldn't make sense if you've got extra={} data to add anyways.
> Perhaps, but I have never seen it done like that, and it takes more
> than a bit of programming to make the bibliography module do that.
> Sorry, no time for that.
It's ok. You've done more than enough.
> No, you can't do that. Hans would have to write an extension for
> that, I do not even know where to start.
Understandable.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-18 5:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1334212197.11310.36.camel@kip-laptop>
[not found] ` <4F8C1196.6020707@elvenkind.com>
[not found] ` <1334618089.3748.59.camel@kip-laptop>
[not found] ` <4F8D2CD7.6080503@elvenkind.com>
2012-04-18 5:12 ` Bibtex with ConTeXt mkiv Kip Warner
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).