ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: t-bib (extra special experimental version), XML and nocite
Date: Tue, 23 May 2006 15:27:35 -0700	[thread overview]
Message-ID: <e50296$7a3$1@sea.gmane.org> (raw)

Hello,

I'm trying to get my XML citation definitions, which look like so:

<cite id="verma:04,mayor:05a,griffin:05" opt="no"/>

to differentiate between "no" and t-bib options I hand into the "opt" flag
like this:

\defineXMLargument
  [cite]
  [opt=]
  {%
    \doifelse{\XMLop{opt}}{no}
      {%
        \expanded{\nocite[\XMLop{id}]}%
      }
      {%
        \expanded{\cite[\XMLop{opt}][\XMLop{id}]}%
      }
  }

With this definition something like:

<cite id="verma:04,mayor:05a,griffin:05" opt="authoryears"/>

works just fine, but 

<cite id="verma:04,mayor:05a,griffin:05" opt="no"/> fails to show up in the
biblist.
I'm not sure whether this is related to the fact that I'm using an
experimental t-bib version which Taco provided to enable correct chapter
specific bibliographies.

If you have any insight into what I'm doing wrong: please help.

Joh

             reply	other threads:[~2006-05-23 22:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 22:27 Johannes Graumann [this message]
2006-05-24  7:46 ` Taco Hoekwater
2006-05-24 15:47   ` Johannes Graumann

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='e50296$7a3$1@sea.gmane.org' \
    --to=johannes_graumann@web.de \
    --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).