Re: [NTG-context] bibliography (interaction)

2013-03-23 Thread Alan BRASLAU
On Thu, 21 Mar 2013 22:32:25 +0100
Thomas A. Schmitz thomas.schm...@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
___


Re: [NTG-context] bibliography (interaction)

2013-03-23 Thread Hans Hagen

On 3/23/2013 8:39 AM, Alan BRASLAU wrote:

On Thu, 21 Mar 2013 22:32:25 +0100
Thomas A. Schmitz thomas.schm...@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
___


Re: [NTG-context] bibliography (interaction)

2013-03-23 Thread Alan BRASLAU
On Sat, 23 Mar 2013 10:15:41 +0100
Hans Hagen pra...@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
___


[NTG-context] bibliography (interaction)

2013-03-21 Thread Alan BRASLAU
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
___


Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Thomas A. Schmitz

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
___


Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Hans Hagen

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
___


Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Alan BRASLAU
On Thu, 21 Mar 2013 22:32:25 +0100
Thomas A. Schmitz thomas.schm...@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
___