ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: t-bib and hyperlinkded references?
Date: Tue, 20 Jun 2006 23:02:06 +0200	[thread overview]
Message-ID: <4498624E.1050907@elvenkind.com> (raw)
In-Reply-To: <e79bpr$8fl$1@sea.gmane.org>

Johannes Graumann wrote:
> Taco Hoekwater wrote:
> 
> 
>>I've just uploaded a new beta to the modules section at contextgarden.
>>
>>It took me much longer than I had anticipated, mainly because there
>>was a massive bug in the per-chapter bibliography code: it generated
>>duplicate named references for all but the simplest of documents.
>>
>>I hope to have the bug fixed now, and interaction working as it should.
>>
>>There is only one limitation, and that will stay: you cannot have
>>hyperlinks while \setupcite[compress=yes] is in effect.
> 
> 
> Thanks Taco!
> 
> 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.

> 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)?

> 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}}}

> 3) The structure of my document looks as follows

> I cited some references in the Abstract, which my proofreader wanted to have
> listed in the chapter-specific bibliography of the "introduction" chapter,
> which I accomplished by re-citing the stuff in the respective chapter
> using 'nocite'. Naturally, links in the 'Abstract' don't have anywhere to
> point to and the citations appear empty. Do you have any idea how to
> overcome that? I'd be already happy if I could override the linking
> behavior for the handfull of references in the abstract - meaning: have
> hyperlinked references everywhere in the document BUT the abstract.

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

Taco

  parent reply	other threads:[~2006-06-20 21:02 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 [this message]
2006-06-20 22:18           ` Johannes Graumann
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=4498624E.1050907@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).