ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: Re: t-bib and hyperlinkded references?
Date: Tue, 20 Jun 2006 15:18:44 -0700	[thread overview]
Message-ID: <e79s8j$257$1@sea.gmane.org> (raw)
In-Reply-To: <4498624E.1050907@elvenkind.com>

Taco Hoekwater wrote:

> Johannes Graumann wrote:
>> I run across three problems:
>> 1) with my setup (XML mapped into ConTeXt convolution) the links from
>> citations exists, but don't point to the right pages in the chapter
>> specific bibliographies - at least after a single texexec run. Another
>> run is necessary and everything seems all right.
> 
> I expected that. I'm not sure how to explain to texexec that the
> module needs another TeX run to resolved the secondary references.
> Will talk to Hans about that.
Not a biggie ... I can deal for now.

>> 2) While the linking works for the 'authoryears' citation style, I don't
>> get any hyperlinks from plain 'authoryear' formated references as well as
>> for
> 
> For authoryear, you need a separate \setupcite[authoryear][compress=no]
> because the single-argument \setupcite only works for the default type.
> Is that the problem (it works for me)?
Thanks!


>> the custom-defined 'authoryearx' ones that go as follows:
>> \setupcite
>>     [authoryearx]
> 
> This new defn should do it (untested):
> 
>    % Enable 'authoryearx' citation
>    \def\bibauthoryearxref[#1]%
>      {\ixbibauthoryear{#1}%
>        {\bibmaybeinteractive{#1}{{\currentbibauthor}%
>         \bibalternative\c!inbetween
>         \bibalternative\v!left
>         {\currentbibyear}%
>         \bibalternative\v!right}}
>        {\bibalternative\c!pubsep
>         \bibmaybeinteractive{#1}{{\currentbibauthor}%
>         \bibalternative\c!inbetween
>         \bibalternative\v!left
>         {\currentbibyear}%
>         \bibalternative\v!right}}
>        {\bibalternative\c!lastpubsep
>         \bibmaybeinteractive{#1}{{\currentbibauthor}%
>         \bibalternative\c!inbetween
>         \bibalternative\v!left
>         {\currentbibyear}%
>         \bibalternative\v!right}}}
This produces the following error:
Runaway argument?
klose:75,ofarrell:75]\else \processcommalist [authoryearx]\docitation \ETC.
! File ended while scanning use of \bibauthoryearxref.
<inserted text>
                \par
<to be read again>
                   \relax
\dodoreadfile ...\preprocesssuffix \or \fi \relax
                                                  \the \everyafterreadfile
\processXMLfilegrouped ...bleXML \processfile {#1}
                                                  \relax \ifmmode \else
\par...
l.65     <include file="../XML/intro.xml"/>

?
I've been unable to pin down where there might be a missing brace ...

> I'll implement some interaction controls for \cite/\setupcite tomorrow,
> since that is the easiest way out. So: new version tomorrow.

Thanks, Taco!

Joh

  reply	other threads:[~2006-06-20 22:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 17:05 Johannes Graumann
2006-06-19 17:25 ` Taco Hoekwater
2006-06-19 19:08   ` Johannes Graumann
2006-06-20 13:42     ` Taco Hoekwater
2006-06-20 17:37       ` Johannes Graumann
2006-06-20 18:42         ` Johannes Graumann
2006-06-20 21:02         ` Taco Hoekwater
2006-06-20 22:18           ` Johannes Graumann [this message]
2006-06-21  8:57             ` Taco Hoekwater
2006-06-21 18:25               ` Johannes Graumann
2006-06-21  7:46           ` Hans Hagen

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='e79s8j$257$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).