ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bibliography (interaction)
@ 2013-03-21 21:14 Alan BRASLAU
  2013-03-21 21:32 ` Thomas A. Schmitz
  0 siblings, 1 reply; 7+ messages in thread
From: Alan BRASLAU @ 2013-03-21 21:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

1. Is there some way to enable interaction with bibliographies? (i.e.
hyperlinks from the citations to the list.)

2. Can one create an index of author names, for example, listing the
pages of citations?

Alan
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-21 21:14 bibliography (interaction) Alan BRASLAU
@ 2013-03-21 21:32 ` Thomas A. Schmitz
  2013-03-21 21:53   ` Hans Hagen
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-03-21 21:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/21/2013 10:14 PM, Alan BRASLAU wrote:
> Hello,
>
> 1. Is there some way to enable interaction with bibliographies? (i.e.
> hyperlinks from the citations to the list.)
>
> 2. Can one create an index of author names, for example, listing the
> pages of citations?
>
> Alan

Hi Alan,

1. should work by default when you have \setupinteraction[state=start] 
in your document preamble. 2. is not possible, AFAIK.

All best

Thomas
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-21 21:32 ` Thomas A. Schmitz
@ 2013-03-21 21:53   ` Hans Hagen
  2013-03-21 22:27   ` Alan BRASLAU
  2013-03-23  7:39   ` Alan BRASLAU
  2 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2013-03-21 21:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

On 3/21/2013 10:32 PM, Thomas A. Schmitz wrote:
> On 03/21/2013 10:14 PM, Alan BRASLAU wrote:
>> Hello,
>>
>> 1. Is there some way to enable interaction with bibliographies? (i.e.
>> hyperlinks from the citations to the list.)
>>
>> 2. Can one create an index of author names, for example, listing the
>> pages of citations?
>>
>> Alan
>
> Hi Alan,
>
> 1. should work by default when you have \setupinteraction[state=start]
> in your document preamble. 2. is not possible, AFAIK.

In principle you could mess with the list as bib's are using them:

\definelist
   [pubs]

\setuplist
   [pubs]
   [\c!state=\v!start,
    \c!criterium=\@@pbcriterium,
    \c!headnumber=\v!always,
    \c!width=]

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-21 21:32 ` Thomas A. Schmitz
  2013-03-21 21:53   ` Hans Hagen
@ 2013-03-21 22:27   ` Alan BRASLAU
  2013-03-23  7:39   ` Alan BRASLAU
  2 siblings, 0 replies; 7+ messages in thread
From: Alan BRASLAU @ 2013-03-21 22:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: thomas.schmitz

On Thu, 21 Mar 2013 22:32:25 +0100
"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> wrote:

> On 03/21/2013 10:14 PM, Alan BRASLAU wrote:
> > Hello,
> >
> > 1. Is there some way to enable interaction with bibliographies?
> > (i.e. hyperlinks from the citations to the list.)
> >
> > 2. Can one create an index of author names, for example, listing the
> > pages of citations?
> >
> > Alan
> 
> Hi Alan,
> 
> 1. should work by default when you have
> \setupinteraction[state=start] in your document preamble. 2. is not
> possible, AFAIK.

Hmmm. I do (\setupinteraction [state=start]), and it doesn't (work).
Other interactions work, of course.

I'll have to play around with it, starting with a *minimal example*
before I ask any further questions. :)

And I'll play around as well with Hans' suggestion regarding the index.

Thanks

Alan
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-21 21:32 ` Thomas A. Schmitz
  2013-03-21 21:53   ` Hans Hagen
  2013-03-21 22:27   ` Alan BRASLAU
@ 2013-03-23  7:39   ` Alan BRASLAU
  2013-03-23  9:15     ` Hans Hagen
  2 siblings, 1 reply; 7+ messages in thread
From: Alan BRASLAU @ 2013-03-23  7:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: thomas.schmitz

On Thu, 21 Mar 2013 22:32:25 +0100
"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> wrote:

> On 03/21/2013 10:14 PM, Alan BRASLAU wrote:
> > Hello,
> >
> > 1. Is there some way to enable interaction with bibliographies?
> > (i.e. hyperlinks from the citations to the list.)
> >
> > 2. Can one create an index of author names, for example, listing the
> > pages of citations?
> >
> > Alan
> 
> Hi Alan,
> 
> 1. should work by default when you have
> \setupinteraction[state=start] in your document preamble.

So, playing with a minimal example reveals that interaction does not
work when refcommand is set to authoryear, for example.
(removing the setuppublications below gives working hyperlinks).
Is this a bug?

Alan

---------------------------------------------------------------------

\setupinteraction  [state=start]
\setupbibtex       [database=test]
\setuppublications [refcommand=authoryear] % author (year)

\starttext

\startquotation
The mind cannot possibly grasp the full meaning of the term of a hundred million years.
\stopquotation
\rightaligned{\cite [Darwin1859]}

\completepublications [criterium=all]

\stoptext

---------------------------------------------------------------------

@BOOK{ Darwin1859,
	author = {Darwin, C.},
	year = {1859},
	title = {On the Origin of Species by Means of Natural Selection, or The Preservation of Favoured Races in the Struggle for Life.},
	publisher = {John Murray},
	address = {London}
}
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-23  7:39   ` Alan BRASLAU
@ 2013-03-23  9:15     ` Hans Hagen
  2013-03-23 11:50       ` Alan BRASLAU
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2013-03-23  9:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: thomas.schmitz

On 3/23/2013 8:39 AM, Alan BRASLAU wrote:
> On Thu, 21 Mar 2013 22:32:25 +0100
> "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> wrote:
>
>> On 03/21/2013 10:14 PM, Alan BRASLAU wrote:
>>> Hello,
>>>
>>> 1. Is there some way to enable interaction with bibliographies?
>>> (i.e. hyperlinks from the citations to the list.)
>>>
>>> 2. Can one create an index of author names, for example, listing the
>>> pages of citations?
>>>
>>> Alan
>>
>> Hi Alan,
>>
>> 1. should work by default when you have
>> \setupinteraction[state=start] in your document preamble.
>
> So, playing with a minimal example reveals that interaction does not
> work when refcommand is set to authoryear, for example.
> (removing the setuppublications below gives working hyperlinks).
> Is this a bug?

probably a mkii left-over (prevent breaking big hyperlinks) .. can you 
try with

\unexpanded\def\bibmaybeinteractive#1#2%
   {\doifbibinteractionelse{\gotobiblink{#2}[#1]}{#2}}

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bibliography (interaction)
  2013-03-23  9:15     ` Hans Hagen
@ 2013-03-23 11:50       ` Alan BRASLAU
  0 siblings, 0 replies; 7+ messages in thread
From: Alan BRASLAU @ 2013-03-23 11:50 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, thomas.schmitz

On Sat, 23 Mar 2013 10:15:41 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> > So, playing with a minimal example reveals that interaction does not
> > work when refcommand is set to authoryear, for example.
> > (removing the setuppublications below gives working hyperlinks).
> > Is this a bug?  
> 
> probably a mkii left-over (prevent breaking big hyperlinks) .. can
> you try with
> 
> \unexpanded\def\bibmaybeinteractive#1#2%
>    {\doifbibinteractionelse{\gotobiblink{#2}[#1]}{#2}}

Replacing bibmaybeinteractive in bibl-tra.mkiv with the above indeed
fixes the hyperlink. Thank you!



I have two further questions concerning bibliographies:

1. I would like to produce a list of authors, an index of names.
I am playing with list[pubs], but have not understood this yet. 
And I would like to add other names to this list, authors that are
named but not necessarily cited. I am sure that this is do-able and I
will try to figure it out, but would welcome any further hints. :)


2. Using \placepublications [criterium=chapter]
in order to put a list of references at the end of each chapter
has a side effect, probably a feature, that a citation in a later
chapter to a cited reference from an earlier chapter will *not* repeat
the reference in the later chapter's list of references. This seems
somewhat confusing to the reader but indeed is most likely a feature.

I see two solutions:

A. Better organization of the text so that this confusing situation
does not arise, either rewriting or else having the list of references
come at the end of all of the chapters involved, perhaps grouped in a
common structure such as a part.

B. Allowing a repeat of the publication in all the pertinent lists,
perhaps as an optional setting.

What do the bibliographical specialists think?

Alan
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2013-03-23 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21 21:14 bibliography (interaction) Alan BRASLAU
2013-03-21 21:32 ` Thomas A. Schmitz
2013-03-21 21:53   ` Hans Hagen
2013-03-21 22:27   ` Alan BRASLAU
2013-03-23  7:39   ` Alan BRASLAU
2013-03-23  9:15     ` Hans Hagen
2013-03-23 11:50       ` Alan BRASLAU

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