* Bib-module
@ 2011-08-14 18:53 Willi Egger
2011-08-14 19:52 ` Bib-module Steffen Wolfrum
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Willi Egger @ 2011-08-14 18:53 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]
Hi bib-module gurus!
I think I need some hints how to get enclosed example working...
The log sys:
(/Users/willi/Documents/TEXdata/Hufbeschlag/test/publist-test.tex
ConTeXt ver: 2011.08.08 23:54 MKIV fmt: 2011.8.12 int: english/english
...
(/Applications/lua-experimental/tex/texmf-context/tex/context/bib/bibl-apa.tex) (publist-test.bbl)
publications > loading database from publist-test.bbl
(publist-test.bbl)
publications > warning: unknown cite argument Hess1968 on line \the\inputlineno
publications > file criterium=text.bbl not found, waiting for bibtex
publications > placing all entries, use 'text' to be more selective
backend > xmp > using file '/Applications/lua-experimental/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
LuaTeX warning (ext4): destination with the same identifier (name{1:unknown}) has been already used, duplicate ignored
\actualshipout ...t \fi \box \shipoutscratchbox }}
\endgroup \else \message {...
\myshipout ...\@@ppmethod }\gobbleoneargument {#1}
\setnextrealpageno \afters...
\dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
\the \everyaftershipout \a...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
\resetselectiepagina \doin...
\sidefloatoutput ...e \else \finalsidefloatoutput
\global \sidefloatvsize \n...
\invokenormaloutputroutine ...\OTRcommand \output
\fi
...
l.46 \stoptext
The above stated warning is repeated 12 times...
Any update on how to use the bib module is welcome!
Willi
[-- Attachment #2: publist-test.bbl --]
[-- Type: application/octet-stream, Size: 1981 bytes --]
% Offiziersschule fuer Veterinaertruppen
% CONTEXT file
% by Willi Egger
% filename: literaturliste.tex
% 16-09-2006
% Abtippen
\startpublication[%
k=Hess1967,
t=article,
a=Hess,
y=1967,
n=16]
\artauthor[]{}[E.]{}{Hess}
\arttitle{Prophylaxe von Fleischverderb und Fleischvergiftungen}
\pages{802-811}
\pubyear{1967}
\issue{54}
\journal{Wien tier\"arztl. Mschr.}
\stoppublication
\startpublication[%
k=Hess1968,
t=article,
a=Hess,
y=1968,
n=17]
\artauthor[]{}[E.]{}{Hess}
\arttitle{Die Bestimmung des Ausblutungsgrades}
\pages{292-293}
\pubyear{1968}
\issue{20}
\journal{Die Fleischwirtschaft}
\stoppublication
\startpublication[%
k=Hess1971,
t=article,
a=Hess,
y=1971,
n=18]
\artauthor[]{}[E.]{}{Hess}
\arttitle{Entwicklung der tier\"arztlichen Lebensmittelhygiene}
\pages{293-298}
\pubyear{1971}
\issue{113}
\journal{Schweiz. Archiv Tierhk.}
\stoppublication
\startpublication[%
k=Hess1965,
t=article,
a=Hess und Lott,
y=1965,
n=19]
\artauthor[]{}[E.]{}{Hess}
\artauthor[]{}[G.]{}{Lott}
\arttitle{Die Zerkleinerung des Fleisches, ein haltbarkeitsvermindernder Faktor}
\pages{265-268}
\pubyear{1965}
\issue{16}
\journal{Arch. Lebensmittelhygiene}
\stoppublication
\startpublication[%
k=Hess1970,
t=article,
a=Hess und Lott,
y=1970,
n=20]
\artauthor[]{}[E.]{}{Hess}
\artauthor[]{}[G.]{}{Lott}
\arttitle{Kontamination des Fleisches w\"ahrend und nach der Schlachtung}
\pages{47-50}
\pubyear{1970}
\issue{22}
\journal{Die Fleischwirtschaft}
\stoppublication
\startpublication[%
k=Hess1962,
t=article,
a=Hess und Marthaler,
y=1962,
n=21]
\artauthor[]{}[E.]{}{Hess}
\artauthor[]{}[A.]{}{Marthaler}
\arttitle{Keimz\"ahlungen an abgepacktem Frischfleisch}
\pages{497}
\pubyear{1962}
\issue{14}
\journal{Die Fleischwirtschaft}
\stoppublication
[-- Attachment #3: publist-test.tex --]
[-- Type: application/octet-stream, Size: 927 bytes --]
% Context file
% Filename: publist-test.tex
%
% 04-08-2011
% Copyright (c) 2011 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]
\usetypescriptfile[type-seravek]
\usetypescript[Seravek]
\setupbodyfont[Seravek,ss,12pt]
\setuppagenumbering[location=]
\setuplayout
[topspace=2.5cm,
backspace=1.5cm,
header=0pt,
footer=0pt,
height=middle,
width=middle]
\mainlanguage[nl]
\setuppublications
[criterium=all,
alternative=apa, %ams, %aps, %ssa%apa-de,
refcommand=authornum,
numbering=yes,
sorttype=bbl]
\setupcite
[left={, },
right=,
inbetween=]
\input publist-test.bbl
%\showframe
\starttext
Beim Entbluten im H\"angen ist der Ausblutungsgrad der
Stammmuskulatur um 33 - 44\% besser als beim Entbluten im Liegen
(\cite[author][Hess1968]).
\usepublications[criterium=text]
\placepublications[criterium=all]
\stoptext
[-- Attachment #4: Type: text/plain, Size: 2 bytes --]
[-- Attachment #5: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Bib-module
2011-08-14 18:53 Bib-module Willi Egger
@ 2011-08-14 19:52 ` Steffen Wolfrum
2011-08-14 20:55 ` Bib-module Hans Hagen
[not found] ` <B361BBC2-AF4F-465A-9522-BE0E59CD65EA@boede.nl>
2 siblings, 0 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2011-08-14 19:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 14.08.2011 um 20:53 schrieb Willi Egger:
> Any update on how to use the bib module is welcome!
At least on the long run there is hope:
As far as I have seen in the ctx meeting's program
we will be able to join a comprehensive workshop on this:
Tuesday, 16:30h - 18:00h :o)
Steffen
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Bib-module
2011-08-14 18:53 Bib-module Willi Egger
2011-08-14 19:52 ` Bib-module Steffen Wolfrum
@ 2011-08-14 20:55 ` Hans Hagen
2011-08-14 21:09 ` Bib-module Willi Egger
[not found] ` <B361BBC2-AF4F-465A-9522-BE0E59CD65EA@boede.nl>
2 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2011-08-14 20:55 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Willi Egger
On 14-8-2011 8:53, Willi Egger wrote:
> backend> xmp> using file '/Applications/lua-experimental/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
> LuaTeX warning (ext4): destination with the same identifier (name{1:unknown}) has been already used, duplicate ignored
this means that you use the same cross ref several times
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] 6+ messages in thread
* Re: Bib-module
2011-08-14 20:55 ` Bib-module Hans Hagen
@ 2011-08-14 21:09 ` Willi Egger
2011-08-15 7:25 ` Bib-module Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Willi Egger @ 2011-08-14 21:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
Hoi Hans,
in the minimal example there is one \cite command. The argument hereof is not recognized. In the bbl file there are 6 article references with k=HessYYYY. YYYY is different in all 6 cases.
Not quite understandably I get 12 literature references in the output which are all the same (last record of the bbl-file)
- Either I do something completely wrong (I thought that this list worked back in the days)
- Or there might be a 'kink in de kabel' otherwise.
Willi
[-- Attachment #2: publist-test.pdf --]
[-- Type: application/pdf, Size: 10649 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1330 bytes --]
On 14 Aug 2011, at 22:55, Hans Hagen wrote:
> On 14-8-2011 8:53, Willi Egger wrote:
>
>> backend> xmp> using file '/Applications/lua-experimental/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
>> LuaTeX warning (ext4): destination with the same identifier (name{1:unknown}) has been already used, duplicate ignored
>
> this means that you use the same cross ref several times
>
> 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
> ___________________________________________________________________________________
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Bib-module
2011-08-14 21:09 ` Bib-module Willi Egger
@ 2011-08-15 7:25 ` Taco Hoekwater
0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2011-08-15 7:25 UTC (permalink / raw)
To: ntg-context
On 08/14/2011 11:09 PM, Willi Egger wrote:
> Hoi Hans,
>
> in the minimal example there is one \cite command. The argument hereof is not recognized. In the bbl file there are 6 article references with k=HessYYYY. YYYY is different in all 6 cases.
One \cite, but also a \usepublications, and I suspect that is the cause
of the problem (but it is an educated guess, nothing more).
Best wishes,
Taco
___________________________________________________________________________________
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] 6+ messages in thread
* Re: Fwd: Bib-module
[not found] ` <B361BBC2-AF4F-465A-9522-BE0E59CD65EA@boede.nl>
@ 2011-08-15 18:01 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2011-08-15 18:01 UTC (permalink / raw)
To: Willi Egger, mailing list for ConTeXt users
On 15-8-2011 4:31, Willi Egger wrote:
> Hoi Hans,
>
> in het erste mail hierover waren er twee attachments.
>
> Hier dit mail voor jou.
>
> Groet!
>
> Willi
>
> Begin forwarded message:
>
>> From: Willi Egger<w.egger@boede.nl>
>> Date: 14 August 2011 20:53:47 CEST
>> To: NTG-Context ConTeXt users<ntg-context@ntg.nl>
>> Subject: Bib-module
>>
>> Hi bib-module gurus!
>>
>> I think I need some hints how to get enclosed example working...
>>
>> The log sys:
>> (/Users/willi/Documents/TEXdata/Hufbeschlag/test/publist-test.tex
>>
>> ConTeXt ver: 2011.08.08 23:54 MKIV fmt: 2011.8.12 int: english/english
>> ...
>>
>> (/Applications/lua-experimental/tex/texmf-context/tex/context/bib/bibl-apa..tex) (publist-test.bbl)
>> publications> loading database from publist-test.bbl
>> (publist-test.bbl)
>> publications> warning: unknown cite argument Hess1968 on line \the\inputlineno
>> publications> file criterium=text.bbl not found, waiting for bibtex
>> publications> placing all entries, use 'text' to be more selective
>> backend> xmp> using file '/Applications/lua-experimental/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
>> LuaTeX warning (ext4): destination with the same identifier (name{1:unknown}) has been already used, duplicate ignored
Two issues:
(1) Don't include the bbl files as it already gets included (and you
will get duplicate entries). This is a more minumal test file:
\setuppublications
[alternative=apa,
refcommand=authornum,
numbering=yes,
sorttype=bbl]
\starttext
blabla (\cite[author][Hess1968])
\placepublications[criterium=all]
\stoptext
(2) The fact that you get the same entries n times is due to the fact
that % is no comment:
%D Now prohibits comments, so % can be used for urls
However, you can patch the bibl-tra.mkiv file:
\def\dostartpublication[#1]%
{\begingroup
\doifassignmentelse{#1}%
{\getparameters[\??pb][k=\s!unknown,t=article,n=,s=,a=,y=,o=,u=,#1]}%
{\getparameters[\??pb][k=#1,t=article,n=,s=,a=,y=,o=,u=]}%
\ctxlua{bibtex.hacks.register("\@@pbk")}%
\catcode\commentasciicode\othercatcode
\dodostartpublication}
\def\dodostartpublication#1\stoppublication
{\setxvalue{pbd:\@@pbk}##1{\noexpand\ifcase##1\noexpand\or
\@@pbk\noexpand\or
\@@pba\noexpand\or
\@@pby\noexpand\or
\@@pbs\noexpand\or
\@@pbn\noexpand\or
\@@pbt\noexpand\or
\@@pbo\noexpand\or
\@@pbu\noexpand\or
\normalunexpanded{#1}\noexpand\fi}%
\endgroup
\ignorespaces}
so that comments in the [] argument keep their meaning.
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] 6+ messages in thread
end of thread, other threads:[~2011-08-15 18:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-14 18:53 Bib-module Willi Egger
2011-08-14 19:52 ` Bib-module Steffen Wolfrum
2011-08-14 20:55 ` Bib-module Hans Hagen
2011-08-14 21:09 ` Bib-module Willi Egger
2011-08-15 7:25 ` Bib-module Taco Hoekwater
[not found] ` <B361BBC2-AF4F-465A-9522-BE0E59CD65EA@boede.nl>
2011-08-15 18:01 ` Fwd: Bib-module Hans Hagen
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).