ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "J.A.J. Pater" <jajpater@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: BibTeX again: citing without parenthesis
Date: Wed, 28 Jan 2009 22:06:02 +0100	[thread overview]
Message-ID: <4980C8BA.7010002@gmail.com> (raw)
In-Reply-To: <4980C051.2070904@gmail.com>

I think I've got it.

The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]}
- with [] around the first #1
now \onlinecite[myRef] works

should I change the wiki?

> The wiki suggests to make a macro: 
> \def\onlinecite#1{\cite[left=,right=][#1]}
> for inline citations.
>
> However it says you can use this macro with: \onlinecite[myRef]
>
> It works for me with: \onlinecite{myRef}
>
> But not with \onlinecite[myRef] for in that case it produces: 
> "Xxxxxxxxxx, 0000myRef]"
>
> Is the wiki wrong?
> Or is something else wrong?
>
> Thanks in advance,
>
> Adriaan.
>

___________________________________________________________________________________
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:[~2009-01-28 21:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 20:30 J.A.J. Pater
2009-01-28 21:06 ` J.A.J. Pater [this message]
2009-01-28 23:00   ` Aditya Mahajan
2009-01-29  0:07     ` Pau
2009-01-29  0:38       ` Aditya Mahajan
2009-01-29 10:59         ` J.A.J. Pater
2009-01-29 13:40           ` Pau
2009-01-29 13:53             ` Taco Hoekwater

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=4980C8BA.7010002@gmail.com \
    --to=jajpater@gmail.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).