Re: [NTG-context] bib module - urgent!

2015-01-20 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Keith,

On Tue, 20 Jan 2015 06:07:23 -0700, Keith Schultz  
 wrote:



setuppublications[alternative=apa]


Thank you very much. The strange thing is that that exact line is in the  
previously attached bib-env.tex (forgot to put it in the minimal file I  
sent to the list) but I was still getting an error. Yet now it seems to  
work. There must have been something else I was doing wrong in the  
original file.


The \usemodule[bib] is just ignored -- ' > modules > 'bib' is not found'  
--, so that was not causing it (per Robert's suggestion). Anyway, it seems  
I'm back in business. Here is a complete working file (output attached):


===
\starttext
% \usemodule[bib]
\input bib-env

\startpublication[k=haq,
  t=book,
  a=Haq,
  y=1994,
  s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication

\cite[haq]

\citepage[haq][p.~20]

\citeypage[haq][p.~20]

\citeapypage[haq][p.~20]

\citeyear[haq]

\citeauthor[haq]

\citeauthorp[haq]

\stoptext
===

Note the extra cite definitions. Perhaps Alan and Hans could add similar  
functionality (with better names of course) to the upcoming new bib  
mechanism. Thanks again, Keith and Robert, and


Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

test-bib.pdf
Description: Adobe PDF document
___
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] bib module - urgent!

2015-01-20 Thread Keith Schultz
Hi Irdis,

The answer to your question is quite simple,

You are missing \setuppublications

Here the MWE:
setuppublications[alternative=apa]

\starttext
\startpublication[k=haq,
 t=book,
 a=Haq,
 y=1994,
 s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication


this is a cite from \cite[haq]
\stoptext

regards
Keith.

> Am 20.01.2015 um 00:16 schrieb Idris Samawi Hamid ادريس سماوي حامد 
> :
> 
> Dear gang,
> 
> I am currently writing an article (mkiv) with lots of bibliographical 
> references. But t-bib.tex seems to have disappeared, and the following simple 
> file fails:
> 
> 
> \starttext
> \usemodule[bib]
> 
> \startpublication[k=haq,
>  t=book,
>  a=Haq,
>  y=1994,
>  s=Haq94]
> \author[]{Syed Nomanul}[S.]{}{Haq}
> \title{Names, Natures, and Things}
> \pubname{Kluwer}
> \city{Dordrecht}
> \pubyear{1994}
> \stoppublication
> 
> \cite[haq]
> 
> \stoptext
> 
> C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to 
> call field 'markasupdated' (a nil value)
> stack traceback:
>   C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in 
> function 'addbtxentry'
>   [\directlua]:1: in main chunk
> 
> 4 \startpublication[k=haq,
> 5   t=book,
> 6   a=Haq,
> 7   y=1994,
> 8   s=Haq94]
> 9 \author[]{Syed Nomanul}[S.]{}{Haq}
> 10 \title{Names, Natures, and Things}
> 11 \pubname{Kluwer}
> 12 \city{Dordrecht}
> 13 \pubyear{1994}
> 14 >>  \stoppublication
> 15
> 16 \cite[haq]
> 17
> 18 \stoptext
> ?
> 
> 
> Now my understanding is that the new biblio system does not use bbl files 
> yet. But I stopped using .bib files the moment Taco released the original 
> bibliography module. Biblio databases are all in .bbl format.
> 
> I also set up an extensive bib environment (attached) to take care of all 
> sorts of things.
> 
> If this is broken, can it be fixed asap? Please don't make me have to convert 
> bbl to bib; that will be beyond depressing. Also don't want to lose my 
> environment commands.
> 
> This is urgent because there is only a short time to finish this article, and 
> I really want to spend more time writing the content than debugging Context! 
> :-) :-) :-)
> 
> Best wishes
> Idris
> -- 
> Idris Samawi Hamid
> Professor of Philosophy
> Colorado State University
> Fort Collins, CO 
> 80523___
> 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
> ___

___
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] bib module - urgent!

2015-01-20 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Robert,

On Tue, 20 Jan 2015 03:20:10 -0700, Robert Blackstone  
 wrote:



On 20 Jan 2015, at 10:16 ,  Idris Samawi Hamid ادريس سماوي حامد wrote


I also set up an extensive bib environment (attached) to take care of  
all

sorts of things.

If this is broken, can it be fixed asap? Please don't make me have to
convert bbl to bib; that will be beyond depressing. Also don't want to
lose my environment commands.

This is urgent because there is only a short time to finish this  
article,

and I really want to spend more time writing the content than debugging
Context! :-) :-) :-)

Best wishes


What happens if you do not load the bib-module, in other words, omit   
\usemodule[bib],  and input only your existing .bbl-files and your  
bibliograhy setups?
This is what I always do and it still works with the standalone that I  
installed on january 13 this year.


Best regards,
Robert Blackstone


I get the exact same lua error.

Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] bib module - urgent!

2015-01-20 Thread Robert Blackstone

On 20 Jan 2015, at 10:16 ,  Idris Samawi Hamid ادريس سماوي حامد wrote
> 
> I also set up an extensive bib environment (attached) to take care of all  
> sorts of things.
> 
> If this is broken, can it be fixed asap? Please don't make me have to  
> convert bbl to bib; that will be beyond depressing. Also don't want to  
> lose my environment commands.
> 
> This is urgent because there is only a short time to finish this article,  
> and I really want to spend more time writing the content than debugging  
> Context! :-) :-) :-)
> 
> Best wishes

What happens if you do not load the bib-module, in other words, omit  
\usemodule[bib],  and input only your existing .bbl-files and your bibliograhy 
setups?
This is what I always do and it still works with the standalone that I 
installed on january 13 this year.

Best regards,
Robert Blackstone


___
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] bib module - urgent!

2015-01-19 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,

I am currently writing an article (mkiv) with lots of bibliographical  
references. But t-bib.tex seems to have disappeared, and the following  
simple file fails:



\starttext
\usemodule[bib]

\startpublication[k=haq,
  t=book,
  a=Haq,
  y=1994,
  s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication

\cite[haq]

\stoptext

C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to  
call field 'markasupdated' (a nil value)

stack traceback:
	C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in  
function 'addbtxentry'

[\directlua]:1: in main chunk

 4 \startpublication[k=haq,
 5   t=book,
 6   a=Haq,
 7   y=1994,
 8   s=Haq94]
 9 \author[]{Syed Nomanul}[S.]{}{Haq}
10 \title{Names, Natures, and Things}
11 \pubname{Kluwer}
12 \city{Dordrecht}
13 \pubyear{1994}
14 >>  \stoppublication
15
16 \cite[haq]
17
18 \stoptext
?


Now my understanding is that the new biblio system does not use bbl files  
yet. But I stopped using .bib files the moment Taco released the original  
bibliography module. Biblio databases are all in .bbl format.


I also set up an extensive bib environment (attached) to take care of all  
sorts of things.


If this is broken, can it be fixed asap? Please don't make me have to  
convert bbl to bib; that will be beyond depressing. Also don't want to  
lose my environment commands.


This is urgent because there is only a short time to finish this article,  
and I really want to spend more time writing the content than debugging  
Context! :-) :-) :-)


Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

bib-env.tex
Description: TeX document
___
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] Bib module -> master thesis title not displayed in placepublications

2012-09-28 Thread Xan

Hi,

I have this:

@mastersthesis{meva-memoria,
author = "Bordoy, Xavier",
title = "Algunes contribucions a l'estudi del problema de la paraula per 
a grups",
school = "Departament de Ciències Matemàtiques i Informàtica. 
Universitat de les Illes Balears",

year = "2009",
address = "Palma de Mallorca",
note = "Available in \from[bib:memoria-master] (in catalan)"
}

and when I put

\placepublications[criterium=text]

I only recive:

"X. Bordoy, Master's thesis, Departament Univeritat... Palma de 
Mallorca (2009). Avaliable in  (catalan)."


but not title? Why? Can I display title in that?


Thanks in advance,
Xan.
___
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] Bib-module

2011-08-15 Thread Taco Hoekwater

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=Hess. 
 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
___


Re: [NTG-context] Bib-module

2011-08-14 Thread Willi Egger
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=Hess. 
 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



publist-test.pdf
Description: Adobe PDF document

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

___
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] Bib-module

2011-08-14 Thread Hans Hagen

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
___


Re: [NTG-context] Bib-module

2011-08-14 Thread Steffen Wolfrum

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
___


[NTG-context] Bib-module

2011-08-14 Thread Willi Egger
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



publist-test.bbl
Description: Binary data


publist-test.tex
Description: Binary data


___
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] bib module (again)

2011-07-15 Thread Steffen Wolfrum
Hi,

Am 07.07.2011 um 23:50 schrieb Andreas Schneider:

> I  hope  I  haven't  killed  any functionality while toying around and
> hunting the bug, but at least my Diploma Thesis looks still right when
> processed with that "module".


could you provide a (minimal) example that demonstrates the functionality you 
have intended?


Thanks a lot for your efforts,
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
___


Re: [NTG-context] bib module (again)

2011-07-07 Thread Andreas Schneider
On Thursday, July 7, 2011 22:41 Steffen Wolfrum wrote:
> Hi Stefan,

> thanks for the note. Unfortunately Andreas' module doesn't work anymore.

> I had a correspondence with him on that in April this year: 
> he could reproduce the error, but had no idea what the reason might be,
> resp. what changes in MkIV now cause a conflict with his module.

> Maybe Hans knows?

> Steffen

After  a  lot of work with ConTeXt the past few weeks, I had some more
thoughts  on  possible  causes  for  this problem. I finally found the
culprits:

\expandoneargafter doesn't seem to be around anymore ... it works fine
without, though.

\doifnotempty  doesn't quite seem to work (the way I intend it to), so
I replaced them with \doifnot{...}{}{...}

I  attached  the  current "module" (yes, it's not really a module, but
it's  slightly  more convenient to use that way ... the whole thing is
nothing more than a workaround anyway).

I  hope  I  haven't  killed  any functionality while toying around and
hunting the bug, but at least my Diploma Thesis looks still right when
processed with that "module".

Since  I currently don't use that module actively, I will probably not
enhance  or  otherwise  improve  it.  So  if  anyone  else  feels like
providing a better solution for the Ibidem-problem: please do!

-- 
Best Regards,
Andreas\def\mycite{\dodoubleempty\domycite}
\def\defaultciterepeat{Ebenda}
\def\defaultciteprefix{Vgl. }
\def\defaultcitepage{S. }
\def\defaultcitechapter{Kap. }

\def\domycite[#1][#2]{%
  \ifsecondargument%
\getparameters[MCP][prefix={\defaultciteprefix},page=,chapter=,suffix=,repeat=,#2]%
\doinsertmycite[#1]{\MCPprefix}{%
  \doifnot{\MCPpage}{}{\ \defaultcitepage\MCPpage.}%
  \doifnot{\MCPchapter}{}{\ \defaultcitechapter\MCPchapter.}%
  \doifnot{\MCPsuffix}{}{\ \MCPsuffix}%
}%
  \else%
\doinsertmycite[#1]{\defaultciteprefix}{}%
  \fi%
}

\def\doinsertmycite[#1]#2#3{%
  \footnote{%
\doifelse{\MCPrepeat}{yes}{\global\setvalue{mycitelast}{#1}}{\doif{\MCPrepeat}{no}{\global\setvalue{mycitelast}{}}}%
#2\doifnot{#2}{}{\strut}%prefix
\doifelse{\getvalue{mycitelast}}{#1}%
  {\doifelse{#2}{}%
{\defaultciterepeat}%
{\lowercase{\defaultciterepeat}}%If there's a prefix, lower-case the cite-repeat string
.%
  }%
  {\doifelse{\getvalue{mycitepast #1}}{used}%
{\bgroup%
 \getcitedata[title][#1] to \bibtitle%
 \getcitedata[arttitle][#1] to \bibarttitle%
 \cite[alternative=authoryear][#1]. {\it\bibtitle\bibarttitle}.%
 \egroup}%
{\cite[alternative=data][#1]}%
  }%
#3%suffix
\global\setvalue{mycitelast}{#1}%
\global\setvalue{mycitepast #1}{used}%
  }%
}

%Reset last citation on page break (which we check when placing footnotes)
\appendtoks
  \doifnoteonsamepageelse[footnote]{}{\global\setvalue{mycitelast}{}}
\to\everyinsidenoteinsert

smime.p7s
Description: S/MIME Cryptographic Signature
___
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] bib module (again)

2011-07-07 Thread Steffen Wolfrum

Am 07.07.2011 um 15:18 schrieb Stefan Müller:

> On 07.07.2011 11:25, Steffen Wolfrum wrote:
>> Am 06.07.2011 um 12:47 schrieb Hans Hagen:
>>> you can write a script that does it for you ... maybe at some point I will 
>>> provide some extra hooks in the bib module but it has no priority on my 
>>> agenda
>> 
>> an even more challenging option, that might need some extra hooks, is the 
>> "ibid" option:
>> 
>> an article is cited in a footnote.
>> the macro looks if this article is already cited before.
>> if so it looks if this is exactly the same article as cited directly before.
>> and it makes sure that it is not the first cite on the current page (resp. 
>> spread).
>> 
>> if all these are true, the \cite command gives an "Ibid." instead of the 
>> full cite.
>> 
>> 
>> as this is provided for latex users by Philipp Lehman with his biblatex 
>> package, it is considered to be kind of standard by some publisher today.
>> 
>> Steffen
> 
> Hi Steffen,
> 
> I think Andreas Schneider posted a working solution for this some time ago. 
> http://archive.contextgarden.net/message/20100121.112244.d88e2646.en.html
> 
> But it is possible that this does not work anymore with the current beta 
> (untested).
> 
> Best regards,
> Stefan.


Hi Stefan,

thanks for the note. Unfortunately Andreas' module doesn't work anymore.

I had a correspondence with him on that in April this year: 
he could reproduce the error, but had no idea what the reason might be, 
resp. what changes in MkIV now cause a conflict with his module.

Maybe Hans knows?

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
___


Re: [NTG-context] bib module (again)

2011-07-07 Thread Stefan Müller

On 07.07.2011 11:25, Steffen Wolfrum wrote:

Am 06.07.2011 um 12:47 schrieb Hans Hagen:

you can write a script that does it for you ... maybe at some point I will 
provide some extra hooks in the bib module but it has no priority on my agenda


an even more challenging option, that might need some extra hooks, is the 
"ibid" option:

an article is cited in a footnote.
the macro looks if this article is already cited before.
if so it looks if this is exactly the same article as cited directly before.
and it makes sure that it is not the first cite on the current page (resp. 
spread).

if all these are true, the \cite command gives an "Ibid." instead of the full 
cite.


as this is provided for latex users by Philipp Lehman with his biblatex 
package, it is considered to be kind of standard by some publisher today.

Steffen


Hi Steffen,

I think Andreas Schneider posted a working solution for this some time 
ago. 
http://archive.contextgarden.net/message/20100121.112244.d88e2646.en.html


But it is possible that this does not work anymore with the current beta 
(untested).


Best regards,
Stefan.
___
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] bib module (again)

2011-07-07 Thread Steffen Wolfrum

Am 06.07.2011 um 12:47 schrieb Hans Hagen:

> On 6-7-2011 12:03, Steffen Wolfrum wrote:
> 
>> as databases usually have *lots* of entries this really is a daring venture 
>> :o)
>> 
>> skimming through hundreds, thousands of entries,
>> finding those how have exactly 3 authors
>> and stuffing the information from the three "\author" fields into the one 
>> "a" field!
>> 
>> hope that nothing will go wrong ...
> 
> you can write a script that does it for you ... maybe at some point I will 
> provide some extra hooks in the bib module but it has no priority on my agenda


an even more challenging option, that might need some extra hooks, is the 
"ibid" option:

an article is cited in a footnote.
the macro looks if this article is already cited before.
if so it looks if this is exactly the same article as cited directly before.
and it makes sure that it is not the first cite on the current page (resp. 
spread).

if all these are true, the \cite command gives an "Ibid." instead of the full 
cite.


as this is provided for latex users by Philipp Lehman with his biblatex 
package, it is considered to be kind of standard by some publisher today.

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
___


Re: [NTG-context] bib module (again)

2011-07-06 Thread Hans Hagen

On 6-7-2011 12:03, Steffen Wolfrum wrote:


as databases usually have *lots* of entries this really is a daring venture :o)

skimming through hundreds, thousands of entries,
finding those how have exactly 3 authors
and stuffing the information from the three "\author" fields into the one "a" 
field!

hope that nothing will go wrong ...


you can write a script that does it for you ... maybe at some point I 
will provide some extra hooks in the bib module but it has no priority 
on my agenda


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] bib module (again)

2011-07-06 Thread Steffen Wolfrum

Am 06.07.2011 um 11:47 schrieb Taco Hoekwater:

> 
> 
> On 07/06/11 11:38, Steffen Wolfrum wrote:
>> 
>> What is required is
>> 
>> ... as explained in AuthorA/AuthorB/AuthorC (1990).
>> 
>> [Is is required not until *four* authors to set an authoretallimit like
>> ... as explained in AuthorX et al. (1991)]
>> 
>> 
>> Where/how can the current limitation be changed?
> 
> I have long since forgotten how to write bst files, and (more
> worryingly) I have no idea how to change the mkiv bib 'macros',
> so my proposal (especially since you want odd separators as well)
> would is: fix the bbl manually so that it looks like this:
> 
> \startpublication[k=schlechtriemschmidtkessel,t=book,
> a={{Schlechtriem/Konzen/Schmidt}},y=,
> n=2,s=SKS]
> \author[]{Peter}[P.]{}{Schlechtriem}
> \author[]{Horst}[H.]{}{Konzen}
> \author[]{Karsten}[K.]{}{Schmidt}
> \stoppublication


as databases usually have *lots* of entries this really is a daring venture :o)

skimming through hundreds, thousands of entries, 
finding those how have exactly 3 authors 
and stuffing the information from the three "\author" fields into the one "a" 
field!

hope that nothing will go wrong ...


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
___


Re: [NTG-context] bib module (again)

2011-07-06 Thread Taco Hoekwater


On 07/06/11 11:38, Steffen Wolfrum wrote:
> 
> What is required is
> 
> ... as explained in AuthorA/AuthorB/AuthorC (1990).
> 
> [Is is required not until *four* authors to set an authoretallimit like
> ... as explained in AuthorX et al. (1991)]
> 
> 
> Where/how can the current limitation be changed?

I have long since forgotten how to write bst files, and (more
worryingly) I have no idea how to change the mkiv bib 'macros',
so my proposal (especially since you want odd separators as well)
would is: fix the bbl manually so that it looks like this:

\startpublication[k=schlechtriemschmidtkessel,t=book,
a={{Schlechtriem/Konzen/Schmidt}},y=,
n=2,s=SKS]
\author[]{Peter}[P.]{}{Schlechtriem}
\author[]{Horst}[H.]{}{Konzen}
\author[]{Karsten}[K.]{}{Schmidt}
\stoppublication

___
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] bib module (again)

2011-07-06 Thread Steffen Wolfrum

Am 06.07.2011 um 11:19 schrieb Taco Hoekwater:

> Hi,
> 
> On 07/06/11 11:00, Steffen Wolfrum wrote:
>> 
>> So the three authors *are* already shortened to "a={{Schlechtriem},{}}" only!
> 
> This is a limitation of both the bst and the macros, you cannot have
> 
>  ... as explained in AuthorA, AuthorB and AuthorC (1990).


What is required is

... as explained in AuthorA/AuthorB/AuthorC (1990).

[Is is required not until *four* authors to set an authoretallimit like
... as explained in AuthorX et al. (1991)]


Where/how can the current limitation be changed?

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
___


Re: [NTG-context] bib module (again)

2011-07-06 Thread Taco Hoekwater
Hi,

On 07/06/11 11:00, Steffen Wolfrum wrote:
> 
> So the three authors *are* already shortened to "a={{Schlechtriem},{}}" only!

This is a limitation of both the bst and the macros, you cannot have

  ... as explained in AuthorA, AuthorB and AuthorC (1990).


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
___


[NTG-context] bib module (again)

2011-07-06 Thread Steffen Wolfrum
Hi,

I have a basic problem with the very first step of using bibliographies in 
ConTeXt: converting BBI to BBL files.

And, as far as I have understood, the only thing that ".bst" files do is 
sorting. This means that a plain run of bibtex like this ...

\setupbibtex[database=mytry_x.bib]
\starttext
Test
\completepublications
\stoptext

... should convert the entire database (eg. from a ".bib" file) in TeX-parsable 
records, written in a ".bbl" file.

If I want to shorten many authors to just one followed by "et al." there is the 
otion "authoretallimit" that specifies the number needed to trigger 'et al.' 
handling.
This can be set *later* in setuppublicationlist.

But when I run the minimal exmaple above against this database "mytry_x.bib":

@BOOK{daunerliebkonzenschmidt,
author = {Peter Schlechtriem and Horst Konzen},
}

@BOOK{schlechtriemschmidtkessel,
author = {Peter Schlechtriem and Horst Konzen and Karsten Schmidt},
}

... the resulting bbl lookes like this:

\setuppublicationlist[samplesize={SKS},totalnumber=2]

\startpublication[k=daunerliebkonzenschmidt,t=book,
a={{Schlechtriem},{Konzen}},y=,
n=1,s=SK]
\author[]{Peter}[P.]{}{Schlechtriem}
\author[]{Horst}[H.]{}{Konzen}
\stoppublication

\startpublication[k=schlechtriemschmidtkessel,t=book,
a={{Schlechtriem},{}},y=,
n=2,s=SKS]
\author[]{Peter}[P.]{}{Schlechtriem}
\author[]{Horst}[H.]{}{Konzen}
\author[]{Karsten}[K.]{}{Schmidt}
\stoppublication


So the three authors *are* already shortened to "a={{Schlechtriem},{}}" only!

Is this a bug or a hidden preset that I just didn't found yet?


Any help would be appreciated

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
___


[NTG-context] bib module cripples authors?

2011-07-04 Thread Steffen Wolfrum
Hi,

an other issue with bib: already at the stage of running bibtex three or more 
authors are "shortened".


See an easy example:

\setupbibtex[database=mytry_x.bib]
\starttext
Test
\completepublications
\stoptext


The referenced "mytry_x.bib" looks like this:

@BOOK{daunerliebkonzenschmidt,
author = {Peter Schlechtriem and Horst Konzen},
}

@BOOK{schlechtriemschmidtkessel,
author = {Peter Schlechtriem and Horst Konzen and Karsten Schmidt},
}


And the resulting bbl lookes like this:

\setuppublicationlist[samplesize={SKS},totalnumber=2]

\startpublication[k=daunerliebkonzenschmidt,t=book,
a={{Schlechtriem},{Konzen}},y=,
n=1,s=SK]
\author[]{Peter}[P.]{}{Schlechtriem}
\author[]{Horst}[H.]{}{Konzen}
\stoppublication

\startpublication[k=schlechtriemschmidtkessel,t=book,
a={{Schlechtriem},{}},y=,
n=2,s=SKS]
\author[]{Peter}[P.]{}{Schlechtriem}
\author[]{Horst}[H.]{}{Konzen}
\author[]{Karsten}[K.]{}{Schmidt}
\stoppublication


Why is "a=" now {{Schlechtriem},{}} and not {{Schlechtriem},{Konzen},{Schmidt}} 
??

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
___


Re: [NTG-context] bib module makes titles lowercase?

2011-07-03 Thread yoraxe
Am 03.07.2011 21:20, schrieb Steffen Wolfrum:
> 
> Am 03.07.2011 um 20:48 schrieb yoraxe:
> 
>> Am 03.07.2011 18:45, schrieb Steffen Wolfrum:
>>> Hi,
>>>
>>> maybe I just overlooked some very basic (german?) settings, 
>>> but when I am running the bib module it rewrites entries of "title" in my 
>>> bbi file to lowercase!
>>>
>>> See an example:
>>>
>>> \usemodule[bib]
>>> \setupbibtex[database=mytry_x.bib]
>>> \starttext
>>> Test
>>> \completepublications
>>> \stoptext
>>>
>>>
>>> The referenced "mytry_x.bib" looks like this:
>>>
>>> @ARTICLE{altmeppendb20011399,
>>> author = {Holger Altmeppen},
>>> gender = {sm},
>>> title = {Untaugliche Regeln zum Vertrauensschaden und Erf¸llungsinteresse 
>>> im Schuldrechtsmodernisierungsentwurf},
>>> shorttitle = {DB 2001, 1399},
>>> journal = {Der Betrieb},
>>> year = {{\noopsort{2001a}}2001},
>>> pages = {S.~1399 - 1405}
>>> }
>>>
>>>
>>> And the resulting bbl lookes like this:
>>>
>>> \setuppublicationlist[samplesize={Alt01},totalnumber=1]
>>>
>>> \startpublication[k=altmeppendb20011399,t=article,
>>> a={{Altmeppen}},y=2001,
>>> n=1,s=Alt01]
>>> \artauthor[]{Holger}[H.]{}{Altmeppen}
>>> \pubyear{{\noopsort{2001a}}2001}
>>> \arttitle{Untaugliche regeln zum vertrauensschaden und erf¸llungsinteresse 
>>> im
>>>  schuldrechtsmodernisierungsentwurf}
>>> \journal{Der Betrieb}
>>> \pages{S.~1399 - 1405}
>>> \stoppublication
>>>
>>>
>>>
>>> Any ideas??
>>
>> Look here:
>> http://www.ntg.nl/pipermail/ntg-context/2011/059359.html
>>
>> Yoraxe
> 
> 
> 
> Did I use the "bst" style?

"bst" style just stands for BibTex Style as far as I know.

btw: The bibmodule was added to the core, so you don't need the line

\usemodule[bib]

any longer (depending on the version you're using).

Yoraxe
___
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] bib module makes titles lowercase?

2011-07-03 Thread Steffen Wolfrum

Am 03.07.2011 um 20:48 schrieb yoraxe:

> Am 03.07.2011 18:45, schrieb Steffen Wolfrum:
>> Hi,
>> 
>> maybe I just overlooked some very basic (german?) settings, 
>> but when I am running the bib module it rewrites entries of "title" in my 
>> bbi file to lowercase!
>> 
>> See an example:
>> 
>> \usemodule[bib]
>> \setupbibtex[database=mytry_x.bib]
>> \starttext
>> Test
>> \completepublications
>> \stoptext
>> 
>> 
>> The referenced "mytry_x.bib" looks like this:
>> 
>> @ARTICLE{altmeppendb20011399,
>> author = {Holger Altmeppen},
>> gender = {sm},
>> title = {Untaugliche Regeln zum Vertrauensschaden und Erf¸llungsinteresse im 
>> Schuldrechtsmodernisierungsentwurf},
>> shorttitle = {DB 2001, 1399},
>> journal = {Der Betrieb},
>> year = {{\noopsort{2001a}}2001},
>> pages = {S.~1399 - 1405}
>> }
>> 
>> 
>> And the resulting bbl lookes like this:
>> 
>> \setuppublicationlist[samplesize={Alt01},totalnumber=1]
>> 
>> \startpublication[k=altmeppendb20011399,t=article,
>> a={{Altmeppen}},y=2001,
>> n=1,s=Alt01]
>> \artauthor[]{Holger}[H.]{}{Altmeppen}
>> \pubyear{{\noopsort{2001a}}2001}
>> \arttitle{Untaugliche regeln zum vertrauensschaden und erf¸llungsinteresse im
>>  schuldrechtsmodernisierungsentwurf}
>> \journal{Der Betrieb}
>> \pages{S.~1399 - 1405}
>> \stoppublication
>> 
>> 
>> 
>> Any ideas??
> 
> Look here:
> http://www.ntg.nl/pipermail/ntg-context/2011/059359.html
> 
> Yoraxe



Did I use the "bst" style?

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
___


Re: [NTG-context] bib module makes titles lowercase?

2011-07-03 Thread yoraxe
Am 03.07.2011 18:45, schrieb Steffen Wolfrum:
> Hi,
> 
> maybe I just overlooked some very basic (german?) settings, 
> but when I am running the bib module it rewrites entries of "title" in my bbi 
> file to lowercase!
> 
> See an example:
> 
> \usemodule[bib]
> \setupbibtex[database=mytry_x.bib]
> \starttext
> Test
> \completepublications
> \stoptext
> 
> 
> The referenced "mytry_x.bib" looks like this:
> 
> @ARTICLE{altmeppendb20011399,
> author = {Holger Altmeppen},
> gender = {sm},
> title = {Untaugliche Regeln zum Vertrauensschaden und Erf¸llungsinteresse im 
> Schuldrechtsmodernisierungsentwurf},
> shorttitle = {DB 2001, 1399},
> journal = {Der Betrieb},
> year = {{\noopsort{2001a}}2001},
> pages = {S.~1399 - 1405}
> }
> 
> 
> And the resulting bbl lookes like this:
> 
> \setuppublicationlist[samplesize={Alt01},totalnumber=1]
> 
> \startpublication[k=altmeppendb20011399,t=article,
> a={{Altmeppen}},y=2001,
> n=1,s=Alt01]
> \artauthor[]{Holger}[H.]{}{Altmeppen}
> \pubyear{{\noopsort{2001a}}2001}
> \arttitle{Untaugliche regeln zum vertrauensschaden und erf¸llungsinteresse im
>   schuldrechtsmodernisierungsentwurf}
> \journal{Der Betrieb}
> \pages{S.~1399 - 1405}
> \stoppublication
> 
> 
> 
> Any ideas??

Look here:
http://www.ntg.nl/pipermail/ntg-context/2011/059359.html

Yoraxe
___
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] bib module makes titles lowercase?

2011-07-03 Thread Steffen Wolfrum
Hi,

maybe I just overlooked some very basic (german?) settings, 
but when I am running the bib module it rewrites entries of "title" in my bbi 
file to lowercase!

See an example:

\usemodule[bib]
\setupbibtex[database=mytry_x.bib]
\starttext
Test
\completepublications
\stoptext


The referenced "mytry_x.bib" looks like this:

@ARTICLE{altmeppendb20011399,
author = {Holger Altmeppen},
gender = {sm},
title = {Untaugliche Regeln zum Vertrauensschaden und Erf¸llungsinteresse im 
Schuldrechtsmodernisierungsentwurf},
shorttitle = {DB 2001, 1399},
journal = {Der Betrieb},
year = {{\noopsort{2001a}}2001},
pages = {S.~1399 - 1405}
}


And the resulting bbl lookes like this:

\setuppublicationlist[samplesize={Alt01},totalnumber=1]

\startpublication[k=altmeppendb20011399,t=article,
a={{Altmeppen}},y=2001,
n=1,s=Alt01]
\artauthor[]{Holger}[H.]{}{Altmeppen}
\pubyear{{\noopsort{2001a}}2001}
\arttitle{Untaugliche regeln zum vertrauensschaden und erf¸llungsinteresse im
  schuldrechtsmodernisierungsentwurf}
\journal{Der Betrieb}
\pages{S.~1399 - 1405}
\stoppublication



Any ideas??

Thanks,
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
___


Re: [NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Andreas Schneider

On Sun, 15 Aug 2010 20:09:07 +0200, taco  wrote:
> Thomas Schmitz wrote:
>> Ugly workaround:
>> 
>> \def\prefix{Vgl. \strut} % or \null
>> 
>> But I have no idea what's happening here, maybe Hans or Taco can come
up 
>> with a real solution. \cite[alternative=data] seems to eat any 
>> horizontal space before it; I don't know if this is a bug or a feature.
> 
> It probably does an \unskip to get rid of bad vertical space in
> the publication list. Use the workaround Thomas offered, as it
> is not safe to change that.
> 
> Best wishes,
> Taco

I always learn something new here. And by the way: you guys are really
damn fast :-)

Thank you very much! (once again :-))

Best Regards,
Andreas.
___
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] Bib Module: \cite can kill spaces

2010-08-15 Thread taco

Thomas Schmitz wrote:

On Sun, 15 Aug 2010 19:14:53 +0200
 Andreas Schneider  wrote:

Hi,

I don't know how exactly it happens, but in the attached example the last
footnote is missing a space before the inserted \cite. In my real 
document

that happens a lot and kills the layout. Anything I can do to fix that?

Best Regards,
Andreas.


Ugly workaround:

\def\prefix{Vgl. \strut} % or \null

But I have no idea what's happening here, maybe Hans or Taco can come up 
with a real solution. \cite[alternative=data] seems to eat any 
horizontal space before it; I don't know if this is a bug or a feature.


It probably does an \unskip to get rid of bad vertical space in
the publication list. Use the workaround Thomas offered, as it
is not safe to change that.

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
___


Re: [NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Thomas Schmitz

On Sun, 15 Aug 2010 19:14:53 +0200
 Andreas Schneider  wrote:

Hi,

I don't know how exactly it happens, but in the attached 
example the last
footnote is missing a space before the inserted \cite. 
In my real document
that happens a lot and kills the layout. Anything I can 
do to fix that?


Best Regards,
Andreas.


Ugly workaround:

\def\prefix{Vgl. \strut} % or \null

But I have no idea what's happening here, maybe Hans or 
Taco can come up with a real solution. 
\cite[alternative=data] seems to eat any horizontal space 
before it; I don't know if this is a bug or a feature.


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
___


[NTG-context] Bib Module: \cite can kill spaces

2010-08-15 Thread Andreas Schneider
Hi,

I don't know how exactly it happens, but in the attached example the last
footnote is missing a space before the inserted \cite. In my real document
that happens a lot and kills the layout. Anything I can do to fix that?

Best Regards,
Andreas.\mainlanguage[de]

\usemodule[bib]
\setuppublications[alternative=apa-de]

\startpublication[k=Bellinger2004,t=article,
a={{Bellinger},{}},y=2004,
n=3,s=BCM04]
\artauthor[]{G.}[G.]{}{Bellinger}
\artauthor[]{D.}[D.]{}{Castro}
\artauthor[]{A.}[A.]{}{Mills}
\pubyear{2004}
\arttitle{Data, information, knowledge, and wisdom}
\journal{Retrieved August}
\volume{31}
\pages{2004}
\stoppublication

\def\prefix{Vgl. }

\starttext
\footnote{\prefix\cite[alternative=data][Bellinger2004]}
\footnote{\prefix{}other text}
\footnote{\prefix\cite[alternative=authorkey][Bellinger2004]}
\footnote{\prefix\cite[alternative=data][Bellinger2004]}
\stoptext___
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] bib module, inproceedings & mkii/mkiv incompatibility

2010-03-07 Thread Taco Hoekwater

Mojca Miklavec wrote:


Just curious (you do not need to consider my question at all): is
there any reason for not printing the day next to month and year as
well (only if present of course)? Or maybe that's against the rules of
other publication layout? Maybe possible to make it configurable?


You would have to ask Oren Patashnik, but at a guess this is likely
because when bibtex was written there were no weekly (let alone daily)
journals, and the internet was not in wide use yet.


It may be sensible to have some reference about which fields are
sensible for what type of publication also among the ConTeXt manuals.

Well, for mkii I was aiming for the same fields as for bibtex,
(plus/minus the [art]author/[art]title differences). It just
so happens that I missed 'month' and perhaps others as well.


The output in mkiv is still weird though. Also, try the following


I know. The problem is that I have not had time yet to look at the
mkiv code at all so I have very little idea of how it works (Hans
converted mkii into mkiv).

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
___


Re: [NTG-context] bib module, inproceedings & mkii/mkiv incompatibility

2010-03-07 Thread Mojca Miklavec
On Sun, Mar 7, 2010 at 11:26, Taco Hoekwater wrote:
> Mojca Miklavec wrote:
>>
>> Hello Taco,
>>
>> the following example (I need to admit that I'm not sure how to
>> properly cite inproceedings) returns a different result in mkii and
>> mkiv. My citation (the fields I use) is probably a bit wrong, but the
>> results should be the same in my opinion. (Only mkii shows the year,
>> in mkiv there's an extra space; the month is not shown anywhere,
>
> Please try the attached patched version of bibl-num.tex, that should
> give you the month back in mkii. (if it works, similar patches are
> needed to the other files, of course).

Thanks a lot. It solves my particular problem (at least in MKII), I
have no idea how all the other references should be printed properly.

Just curious (you do not need to consider my question at all): is
there any reason for not printing the day next to month and year as
well (only if present of course)? Or maybe that's against the rules of
other publication layout? Maybe possible to make it configurable?

>> pubname is only shown  in mkii although it's probably not needed
>> anyway since it's already the title (= booktitle in bibtex?) that
>> takes that role. It's also not really clear to me why I need to use
>> author and not artauthor, but well ...)
>
> In hindsight, artauthor would have been better, but it would be
> a bad idea to change that after all that time.
>
>> It may be sensible to have some reference about which fields are
>> sensible for what type of publication also among the ConTeXt manuals.
>
> Well, for mkii I was aiming for the same fields as for bibtex,
> (plus/minus the [art]author/[art]title differences). It just
> so happens that I missed 'month' and perhaps others as well.

The output in mkiv is still weird though. Also, try the following
example in MKIV. It gives the number 42 in italic, which should not
happen.

\usemodule
   [bib]
\setuppublications
   [alternative=num,
criterium=all,
sorttype=cite]

\startpublication
[k=X,
 t=article,
 a=Someone,
 s=,
 u=]
\arttitle{Title}
\journal{IEEE Transactions on Nuclear Science}
\artauthor[]{I.}[I.]{}{Someone}
\volume{42}
\issue{1}
\pubyear{2010}
\pages{100-200}
\abstract{}
\stoppublication

\starttext

\nocite[X]

\placepublications

\stoptext

Mojca
___
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] bib module, inproceedings & mkii/mkiv incompatibility

2010-03-07 Thread Taco Hoekwater

Mojca Miklavec wrote:

Hello Taco,

the following example (I need to admit that I'm not sure how to
properly cite inproceedings) returns a different result in mkii and
mkiv. My citation (the fields I use) is probably a bit wrong, but the
results should be the same in my opinion. (Only mkii shows the year,
in mkiv there's an extra space; the month is not shown anywhere,


Please try the attached patched version of bibl-num.tex, that should
give you the month back in mkii. (if it works, similar patches are
needed to the other files, of course).


pubname is only shown  in mkii although it's probably not needed
anyway since it's already the title (= booktitle in bibtex?) that
takes that role. It's also not really clear to me why I need to use
author and not artauthor, but well ...)


In hindsight, artauthor would have been better, but it would be
a bad idea to change that after all that time.


It may be sensible to have some reference about which fields are
sensible for what type of publication also among the ConTeXt manuals.


Well, for mkii I was aiming for the same fields as for bibtex,
(plus/minus the [art]author/[art]title differences). It just
so happens that I missed 'month' and perhaps others as well.

Best wishes,
Taco


bibl-num.tex
Description: TeX document
___
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] bib module, inproceedings & mkii/mkiv incompatibility

2010-03-04 Thread James Fisher
I confirm the above -- with the exception that mkiv does show the year, just
after the authors.

On Thu, Mar 4, 2010 at 5:55 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> Hello Taco,
>
> the following example (I need to admit that I'm not sure how to
> properly cite inproceedings) returns a different result in mkii and
> mkiv. My citation (the fields I use) is probably a bit wrong, but the
> results should be the same in my opinion. (Only mkii shows the year,
> in mkiv there's an extra space; the month is not shown anywhere,
> pubname is only shown  in mkii although it's probably not needed
> anyway since it's already the title (= booktitle in bibtex?) that
> takes that role. It's also not really clear to me why I need to use
> author and not artauthor, but well ...)
>
>
> It may be sensible to have some reference about which fields are
> sensible for what type of publication also among the ConTeXt manuals.
>
> From some unofficial BibTeX reference
> (http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-14.html
> ):
>
> Format:
> @INPROCEEDINGS{citation_key,
>required_fields [, optional_fields] }
>
> Required fields: author, title, booktitle, year
> Optional fields: editor, pages, organization, publisher, address,
> month, note, key
>
> \usemodule
>[bib]
> \setuppublications
>[alternative=num,
> criterium=all,
> sorttype=cite]
>
> \startpublication
>[k=3Ddosimetry,
> t=inproceedings,
> a=Kormoll,
> s=,
> u=]
>\arttitle{3D In-vivo Dosimetry for Photon Radiotherapy Based on Pair
> Production}
>\title{IEEE Nuclear Science Symposium Medical Imaging Conference
> Record}
>\author[]{Thomas}[T.]{}{Kormoll}
>\author[]{Daniela}[D.]{}{Kunath}
>\author[]{Wolfgang}[W.]{}{Enghardt}
>\volume{}
>\issue{}
>\city{Orlando, Florida}
>\pubyear{2009}
>\pubname{IEEE Nuclear Science Symposium Conference Record}
>\month{October}
>\day{25-31}
>\pages{2969-2975}
>\doi{}
>\abstract{}
> \stoppublication
>
> \starttext
>
> \cite[3Ddosimetry]
>
> \placepublications
>
> \stoptext
>
> Thanks,
>Mojca
>
> ___
> 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
>
> ___
>
___
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] bib module, inproceedings & mkii/mkiv incompatibility

2010-03-04 Thread Mojca Miklavec
Hello Taco,

the following example (I need to admit that I'm not sure how to
properly cite inproceedings) returns a different result in mkii and
mkiv. My citation (the fields I use) is probably a bit wrong, but the
results should be the same in my opinion. (Only mkii shows the year,
in mkiv there's an extra space; the month is not shown anywhere,
pubname is only shown  in mkii although it's probably not needed
anyway since it's already the title (= booktitle in bibtex?) that
takes that role. It's also not really clear to me why I need to use
author and not artauthor, but well ...)


It may be sensible to have some reference about which fields are
sensible for what type of publication also among the ConTeXt manuals.

>From some unofficial BibTeX reference
(http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-14.html):

Format:
 @INPROCEEDINGS{citation_key,
required_fields [, optional_fields] }

Required fields: author, title, booktitle, year
Optional fields: editor, pages, organization, publisher, address,
month, note, key

\usemodule
[bib]
\setuppublications
[alternative=num,
 criterium=all,
 sorttype=cite]

\startpublication
[k=3Ddosimetry,
 t=inproceedings,
 a=Kormoll,
 s=,
 u=]
\arttitle{3D In-vivo Dosimetry for Photon Radiotherapy Based on Pair
Production}
\title{IEEE Nuclear Science Symposium Medical Imaging Conference Record}
\author[]{Thomas}[T.]{}{Kormoll}
\author[]{Daniela}[D.]{}{Kunath}
\author[]{Wolfgang}[W.]{}{Enghardt}
\volume{}
\issue{}
\city{Orlando, Florida}
\pubyear{2009}
\pubname{IEEE Nuclear Science Symposium Conference Record}
\month{October}
\day{25-31}
\pages{2969-2975}
\doi{}
\abstract{}
\stoppublication

\starttext

\cite[3Ddosimetry]

\placepublications

\stoptext

Thanks,
Mojca
___
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] bib module, mkiv, and

2009-12-06 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 06 Dec 2009 01:35:44 -0700, Taco Hoekwater   
wrote:



Idris Samawi Hamid ادريس سماوي حامد wrote:

If i uncomment
 \subject{References}
 the bibliography disappears. Am I missing something


You need \placepublications[criterium=all] if you use sectioning.


Thanks for the clarification, Taco. It's been a while since I have used  
the module, and missed this update in behavior -- as well as others I'm  
sure.


Thnx again and

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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] bib module, mkiv, and

2009-12-06 Thread Taco Hoekwater

Idris Samawi Hamid ادريس سماوي حامد wrote:

If i uncomment

\subject{References}

the bibliography disappears. Am I missing something


You need \placepublications[criterium=all] if you use sectioning.

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
___


[NTG-context] bib module, mkiv, and

2009-12-05 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear Taco and gang,

MTXrun | current version: 2009.12.01 14:54


\usemodule[bib]

\starttext
In this connection, it is worthy to note that, according to Ibn Daud's
{\em Kitābu ãl-Maṣāḥif}
\cite[jeffery1937], Ḥamzaḧ states that he carefully copied his own copy
directly from the copy sent to Kufa by ʿUṯmān himself.

% \subject{References}

\startpublication[k=jeffery1937,
  t=book,
  a=Jeffery,
  y=1937,
  s=]
\author[]{Arthur}[]{}{Jeffery}
\title{Materials for the History of the Text of the Qurʾãn}
\pubyear{{1937}}
\pubname{}
\city{Leiden}
\notes{AMS photocopy edition, 1975}
\stoppublication

\tfx\setupinterlinespace\placepublications
\stoptext


If i uncomment

\subject{References}

the bibliography disappears. Am I missing something or is this a bug?

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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] bib module problem with mkiv

2009-11-23 Thread Chen Shen
Hi all,

I tried digging mailing list and the source file. I am afraid that the
bibl-tra module has a few problems:

==
\usemodule[bibl-tra]
\setupbibtex[database=xampl]
\starttext

\section{aaa}
\cite[a]
\placepublications

\section{bbb}
\cite[b]
\placepublications

\stoptext
===

1. Documentation says that without a criterium option, only bibl cited in
local section is included in the list, but actually all cited bibl are
listed.

2. In MkII, the solutioin to problem 1 is to use [criterium=section] in
\placepublications, but this does not work in MkIV.

3. \placepublications only works once in the document, the second time you
call this macro, it outputs nothing.

I wonder if there is a chance to see this fixed in the forthcoming beta.
Otherwise, I will need to revert to some (very) old version, as I need
per-chapter reference lists. Thanks a lot~

regards,
shenchen
___
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] bib module problem with mkiv

2009-11-20 Thread Chen Shen
Hi all,

I was trying the following bib example on MkIV beta 2009.11.20 and
luatex beta-0.44.0-2009103007.
There isn't an apparent error message, but neither the bib reference or the
publication list appears in the pdf.

Observations:
1. In MkII, it works well.
2. In MkIV, if you use the [criterium=all] option, both bib ref and pub list
show properly. Other criterium, e.g. [criterium=section] doesn't work.

thanks a lot.

regards,
shenchen

= test.tex ===
\usemodule[bib,bibltx]
\setupbibtex[database=xampl]
\starttext

  \cite[a] .
  \completepublications
  %\completepublications[criterium=all]

\stoptext


= xampl.bib ===
@Book{a,
  editor =   {John D. Barnsford and Ann L. Brown and Rodney R. Cocking},
  title ={{How people learn: Brain, mind, experience, and school}},
  publisher ={National Academy Press},
  year = {2000},
  address =  {Washington, DC}
}

___
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] Bib-Module and ibid / ibidem

2009-11-07 Thread Marcel Nohl

Andreas Schneider schrieb:


If I understand you right, you want footnote citations with a special
 handling of repeated citations? In that case I indeed have a
workaround. I attached it to this mail.


Thanks, that's exactly what I was looking for.

Marcel
___
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] Bib-Module and ibid / ibidem

2009-11-06 Thread Taco Hoekwater

Marcel Nohl wrote:

Hello,

are there any plans for the bib-module to support ibid. 


No, but Andreas' workaround looks pretty good.

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
___


[NTG-context] bib module in ConTeXt MKIV - first cite problem

2009-10-07 Thread Bernhard Rosensteiner

Hello all,

following minimal example:

\usemodule[bib]
\setupbibtex[database=Grundexkursionen]
\setupheadtext[de][pubs=Literaturverzeichnis]
\setuppublications[alternative=apa-de,  numbering=yes, autohang=yes,  
refcommand=author]

\unprotect\def\scAuthorname#1#2#3#4#5%
  {\bibdoif{#2}{#2\bibalternative\c!vonsep}%
   \sc{#3}\bibalternative\c!surnamesep\tf
   \bibdoif{#5}{#5\bibalternative\c!juniorsep}%
   \bibdoif{#4}{#4\unskip}}
\protect
\def\textcite#1{\sc\cite[authoryear][#1]\tf}
\def\ccite#1{\cite[authoryears][#1]}
\setuppublicationlist[artauthor=\scAuthorname, author=\scAuthorname]

\starttext

That´s a literature test \ccite{Burrows:2003rm}. Another literature  
test \textcite{Pareyvogel}. And the last literature test \ccite 
{Burrows:2003rm}. That´s all.



\completepublications[criterium=all]
\stoptext

when I do it with ConTeXt MKII all is ok, but in ConTeXt MKIV the  
first \cite (in my example \ccite) always breaks the line after the  
first left delimiter (when i use refcommand "authorstyles"). Is this a  
bug? Are there any workarounds? refcommand=num and refcommand=key don 
´t break the lines  but all others do. Thanks for help.


Bernhard Rosensteiner
___
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] bib module in ConTeXt MKIV - first cite problem

2009-10-07 Thread Bernhard Rosensteiner

Hello all,

following minimal example:

\usemodule[bib]
\setupbibtex[database=Grundexkursionen]
\setupheadtext[de][pubs=Literaturverzeichnis]
\setuppublications[alternative=apa-de,  numbering=yes, autohang=yes,  
refcommand=author]

\unprotect\def\scAuthorname#1#2#3#4#5%
   {\bibdoif{#2}{#2\bibalternative\c!vonsep}%
\sc{#3}\bibalternative\c!surnamesep\tf
\bibdoif{#5}{#5\bibalternative\c!juniorsep}%
\bibdoif{#4}{#4\unskip}}
\protect
\def\textcite#1{\sc\cite[authoryear][#1]\tf}
\def\ccite#1{\cite[authoryears][#1]}
\setuppublicationlist[artauthor=\scAuthorname, author=\scAuthorname]

\starttext

That´s a literature test \ccite{Burrows:2003rm}. Another literature  
test \textcite{Pareyvogel}. And the last literature test \ccite 
{Burrows:2003rm}. That´s all.



\completepublications[criterium=all]
\stoptext

when I do it with ConTeXt MKII all is ok, but in ConTeXt MKIV the  
first \cite (in my example \ccite) always breaks the line after the  
first left delimiter (when i use refcommand "authorstyles"). Is this a  
bug? Are there any workarounds? refcommand=num and refcommand=key don 
´t break the lines  but all others do. Thanks for help.


Bernhard Rosensteiner
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Taco Hoekwater


Mojca Miklavec wrote:
> 
> The confusing fact is that it still works with normal cite even if one
> loads bibliography at the end, else I would probably figure out that I
> need to load bibliography at the beginning of document earlier :) I
> normally do that, but I had a component with all bibliography being
> loaded at the end this time and it worked so far until I have tried
> this.

Bibliographies are never really loaded at the end, it just looks
that way to the user :)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Mojca Miklavec
On Fri, Aug 21, 2009 at 16:04, Derek CORDEIRO wrote:
> Try taking the \startpublication ... \stoppublication before \starttext.
> Seems to work for me that way.

Oh, true, thanks a lot.

But it seems that it's not so much related to before or after
\starttext but more related to whether one loads bibliography before
or after one cites it. (I cannot put it before starttext since I'm
using project-component setup).

The confusing fact is that it still works with normal cite even if one
loads bibliography at the end, else I would probably figure out that I
need to load bibliography at the beginning of document earlier :) I
normally do that, but I had a component with all bibliography being
loaded at the end this time and it worked so far until I have tried
this.

Anyway, thanks a lot for pointing it out. I'll be more careful about
that next time.

Mojca

> On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec
>  wrote:
>>
>> Hello (Taco or anyone else),
>>
>> I have an impression that it used to be possible to say
>> \cite[author][reference], but I'm obviously doing something wrong
>> here, I only get Xxx or in case of [data] I don't get anything at
>> all (I'm using mkii). Here's an almost-minimal example:
>>
>> \usemodule
>>        [bib]
>> \setuppublications
>>        [alternative=num,
>>         criterium=all,
>>         sorttype=cite]
>> \setuppublicationlist
>>        [artauthor=\normalshortauthor,
>>         author=\normalshortauthor]
>>
>> \starttext
>>
>> first: \cite[Knoll]
>>
>> second: \cite[author][Knoll], \cite[alternative=author][Knoll]
>>
>> third: \cite[data][Knoll]
>>
>> \startpublication[k=Knoll,t=book,a=Knoll]
>>        \title{Radiation Detection and Measurement}
>>        \author[]{Glenn Frederick}[G.~F.]{}{Knoll}
>>        \pubname{Wiley, John \& Sons, Incorporated}
>>        \pubyear{1979}
>> \stoppublication
>>
>> \placepublications
>>
>> \stoptext
>>
>> Thanks in advance for any hints,
>>    Mojca
>>
>> ___
>> 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  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>>
>> ___
>
>
>
> --
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Blog: http://www.derekcordeiro.com
> Follow Me: http://twitter.com/derekcordeiro
> Get a great webhosting deal: http://is.gd/jrA2
>
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module: changing citation style locally

2009-08-21 Thread Derek CORDEIRO
Try taking the \startpublication ... \stoppublication before \starttext.
Seems to work for me that way.

On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> Hello (Taco or anyone else),
>
> I have an impression that it used to be possible to say
> \cite[author][reference], but I'm obviously doing something wrong
> here, I only get Xxx or in case of [data] I don't get anything at
> all (I'm using mkii). Here's an almost-minimal example:
>
> \usemodule
>[bib]
> \setuppublications
>[alternative=num,
> criterium=all,
> sorttype=cite]
> \setuppublicationlist
>[artauthor=\normalshortauthor,
> author=\normalshortauthor]
>
> \starttext
>
> first: \cite[Knoll]
>
> second: \cite[author][Knoll], \cite[alternative=author][Knoll]
>
> third: \cite[data][Knoll]
>
> \startpublication[k=Knoll,t=book,a=Knoll]
>\title{Radiation Detection and Measurement}
>\author[]{Glenn Frederick}[G.~F.]{}{Knoll}
>\pubname{Wiley, John \& Sons, Incorporated}
>\pubyear{1979}
> \stoppublication
>
> \placepublications
>
> \stoptext
>
> Thanks in advance for any hints,
>Mojca
>
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA2
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module: changing citation style locally

2009-08-21 Thread Mojca Miklavec
Hello (Taco or anyone else),

I have an impression that it used to be possible to say
\cite[author][reference], but I'm obviously doing something wrong
here, I only get Xxx or in case of [data] I don't get anything at
all (I'm using mkii). Here's an almost-minimal example:

\usemodule
[bib]
\setuppublications
[alternative=num,
 criterium=all,
 sorttype=cite]
\setuppublicationlist
[artauthor=\normalshortauthor,
 author=\normalshortauthor]

\starttext

first: \cite[Knoll]

second: \cite[author][Knoll], \cite[alternative=author][Knoll]

third: \cite[data][Knoll]

\startpublication[k=Knoll,t=book,a=Knoll]
\title{Radiation Detection and Measurement}
\author[]{Glenn Frederick}[G.~F.]{}{Knoll}
\pubname{Wiley, John \& Sons, Incorporated}
\pubyear{1979}
\stoppublication

\placepublications

\stoptext

Thanks in advance for any hints,
Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-20 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> 
> On Apr 20, 2009, at 12:55 PM, Taco Hoekwater wrote:
> 
>> Hans replied to Thomas Schmitz with:
>>
>>> as i'm clueless about what the code does, can you add this to t-bib.mkiv
>>> \def\preparebibreflist#1%
>>>  {\let\bibreflist\empty}
>>> and see if it solves the problem?
>>
>> Thomas has not reported back yet, so can you try that please?
>>
>> Best wishes,
>> Taco
> 
> Oh, I'm very sorry, I was under the impression that this had been
> superseded by newer developments... So: with this \def, the success is
> striking: no more error messages - and no bibliography either :-)

I would call that a great success, then! :)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-20 Thread Thomas A. Schmitz


On Apr 20, 2009, at 12:55 PM, Taco Hoekwater wrote:


Hans replied to Thomas Schmitz with:

as i'm clueless about what the code does, can you add this to t- 
bib.mkiv

\def\preparebibreflist#1%
 {\let\bibreflist\empty}
and see if it solves the problem?


Thomas has not reported back yet, so can you try that please?

Best wishes,
Taco


Oh, I'm very sorry, I was under the impression that this had been  
superseded by newer developments... So: with this \def, the success is  
striking: no more error messages - and no bibliography either :-)


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-20 Thread Taco Hoekwater

Hi Thomas,

Thomas Prochaska wrote:


and with the new t-bib module with this:
structure  : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator


...

what is the latest status on this? is this example sufficient or is there 
another thing i can do to get this resolved?


Hans replied to Thomas Schmitz with:


as i'm clueless about what the code does, can you add this to t-bib.mkiv

\def\preparebibreflist#1%
  {\let\bibreflist\empty}

and see if it solves the problem? 


Thomas has not reported back yet, so can you try that please?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-20 Thread Thomas Prochaska
Am Freitag, 17. April 2009 19:49:22 schrieb Thomas Prochaska:
> Am Freitag, 17. April 2009 19:30:10 schrieb Hans Hagen:
> > Wolfgang Schuster wrote:
> > > Am 17.04.2009 um 19:05 schrieb Hans Hagen:
> > >> Wolfgang Schuster wrote:
> > >>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
> >  i'll look into it, but then need a zip with a minimal set of files
> >  that i can use for testing
> > >>>
> > >>> With the filecontents environment you need only one file:
> > >>> http://wiki.contextgarden.net/Filecontents
> > >>
> > >> is this related to bibliographies?
> > >
> > > No but you don't need multiple files for a example.
> >
> > runs ok here
> >
> >
> > -
> >Hans Hagen | PRAGMA ADE
> >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> >   tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
> > wiki : http://contextgarden.net
> > _
> >__ 
>
> hi!
>
> can you please test the attached example? (context dipla.tex)
> it doesn't work with the latest beta and fails with the following without
> using the new t-bib module:
>
> structure  : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
> ! Undefined control sequence.
> \preparebibrefprefix ...lltoclevels \alltoclevels
>   \let \savedcurrentlevel
> \c...
> \expandrefs #1->\bgroup \preparebibrefprefix
>  \preparebibreflist {#1}\global
> ... \next1 #1,->\expandrefs {#1}
> \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
>   ]\relax \global \advance
> \...
> \bibnumref ...y \processcommalist [#1]\expandrefs
>   \sortcommacommand
> [\theref...
> \docite ...alue {bib\@@currentalternative ref}[#2]
>   \else \processcommalist
> [#...
> l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
>\ldots
> ?
>
> and with the new t-bib module with this:
> structure  : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
> ! Undefined control sequence.
>  ... [\bibrefprefix ][\sectionseparator
>   ]
> \expanded ...\long \xdef \@@expanded {\noexpand #1
>   }\@@expanded
> \preparebibreflist ...refix ][\sectionseparator ]}
>   \storeitem
> \expandrefs ...ibrefprefix \preparebibreflist {#1}
>   \global \bibreffoundfalse
> ... \next1 #1,->\expandrefs {#1}
> \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
>   ]\relax \global \advance
> \...
> ...
> l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
>\ldots
> ?
>
>
> thank you,
> regards thomas prochaska

hi!

what is the latest status on this? is this example sufficient or is there 
another thing i can do to get this resolved?

regards
thomas prochaska
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-18 Thread Hans Hagen

Peter Münster wrote:

On Fri, 17 Apr 2009, Wolfgang Schuster wrote:


With the filecontents environment you need only one file:
http://wiki.contextgarden.net/Filecontents


Hello Hans,

It would be great, if this piece of code could find its way into the
distribution!


as we're talking mkiv here ... remind me to look at it later, once we 
have completely split the tex end of the buffer code


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Peter Münster
On Fri, 17 Apr 2009, Wolfgang Schuster wrote:

> With the filecontents environment you need only one file:
> http://wiki.contextgarden.net/Filecontents

Hello Hans,

It would be great, if this piece of code could find its way into the
distribution!

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Taco Hoekwater wrote:

Hans Hagen wrote:
just to clarify things: on the download site in the garden, you 
write: "This release has support for the new mkiv structure code, but 
it needs a very new beta (2009.04.16 23:52)" The latest beta I could 
find was 2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator


as i'm clueless about what the code does, can you add this to t-bib.mkiv


There is actually a pretty elaborate documentation string in the code :(


\def\preparebibreflist#1%
  {\let\bibreflist\empty}

and see if it solves the problem?


Unlikely. It will remove the error message, though. ;)


we use lists instead of references so it's probably ok

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Taco Hoekwater

Hans Hagen wrote:
just to clarify things: on the download site in the garden, you write: 
"This release has support for the new mkiv structure code, but it 
needs a very new beta (2009.04.16 23:52)" The latest beta I could find 
was 2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator


as i'm clueless about what the code does, can you add this to t-bib.mkiv


There is actually a pretty elaborate documentation string in the code :(


\def\preparebibreflist#1%
  {\let\bibreflist\empty}

and see if it solves the problem?


Unlikely. It will remove the error message, though. ;)

Here is the relevant bit of docs:

%D \macros{preparebibrefprefix}
%D
%D The reference list only writes bare references when the criterium
%D is `all'. Otherwise, a prefix is added to make sure that pdfTeX
%D does not encounter duplicate named references. On the generation
%D side, this is not a big problem. \type{\preparebibrefprefix}
%D creates a suitable string to prepend if a prefix is needed.

Or, in pseudo-input:

 \chapter{...}
 \section{...}
 \placepublications[section]
 \section{..}
 \placepublications[section]
 \section{All chapter refs}
 \placepublications[chapter]

Can now work without crossreference key clashes, even though
each of the publication lists contains the same items (which
would all result in the same key names begin defined as cross-
reference labels if that prefix trickery was not in place)

But:

%D \macros{preparebibreflist}
%D
%D But this optional prefixing is a bit of a problem on the
%D other side. We would like to do \type{\goto{}[article-full]}
%D but can't do it like that, because the actual label may be
%D \type{1:2:0:3:4:article-full]} or so. The problem is solved
%D by building a commalist that looks like this:
%D \starttyping
%D \def\bibreflist%
%D{1:2:0:3:4:article-full,
%D 1:2:0:3:article-full,
%D 1:2:0:article-full,
%D 1:2:article-full,
%D 1:article-full,
%D article-full}
%D \stoptyping


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 17.04.2009 um 19:30 schrieb Hans Hagen:


Wolfgang Schuster wrote:

Am 17.04.2009 um 19:05 schrieb Hans Hagen:

Wolfgang Schuster wrote:

Am 17.04.2009 um 12:08 schrieb Hans Hagen:
i'll look into it, but then need a zip with a minimal set of files 
that i can use for testing
With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents


is this related to bibliographies?

No but you don't need multiple files for a example.


runs ok here


that's not what I mean, here is a example, the bib entry comes from a 
external

file but you need only one file for the example because the filecontents
environment creates the bib file at compile time.


ah, ok; although figuring out how to make a bib file and how to use it 
is not something that i've ever done before, i only looked into a big 
one when i wrote the parser -)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster


Am 17.04.2009 um 19:30 schrieb Hans Hagen:


Wolfgang Schuster wrote:

Am 17.04.2009 um 19:05 schrieb Hans Hagen:

Wolfgang Schuster wrote:

Am 17.04.2009 um 12:08 schrieb Hans Hagen:
i'll look into it, but then need a zip with a minimal set of  
files that i can use for testing

With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents


is this related to bibliographies?

No but you don't need multiple files for a example.


runs ok here


that's not what I mean, here is a example, the bib entry comes from a  
external

file but you need only one file for the example because the filecontents
environment creates the bib file at compile time.


% defintion of the filecontents environment

\unprotect

\definemessageconstant {filecontents}

\startmessages all library: filecontents
title: filecontents
1: Overwriting file --
2: Writing file --
\stopmessages

\def\startfilecontents
  {\begingroup
   \protectbuffersfalse
   \dostartfilecontents}

\def\dostartfilecontents[#1]%
  {\doiffileexistselse{#1}
 {\showmessage\m!filecontents{1}{#1}}
 {\showmessage\m!filecontents{2}{#1}}%
   \beforesplitstring#1\at.\to\filename
   \aftersplitstring #1\at.\to\extension
   \let\f!temporaryextension\extension
   \dostartbuffer[\filename][startfilecontents][stopfilecontents]}

\def\stopfilecontents
  {\doifmode{mkiv}{\savebuffer[\filename]\ctxlua{file.copy("\jobname- 
\filename.tmp","\filename.\f!temporaryextension")}}%

   \endgroup}

\protect

% start of the real document

\startfilecontents[example.bib]
@manual{me,
author = "Taco Hoekwater",
title  = "\CONTEXT\ Publication Module, The user documententation",
year   = 2006,
note   = "In case you didn't know: it's the document you are  
reading now",

pages  = 14
}
\stopfilecontents

\usemodule[bib]
\setupbibtex[database=example]

\starttext
\cite[me]
\placepublications
\stoptext


Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:


Hi,

Hans sent me a patch for the bib module so that it now should
work with the latest mkiv once again, but the code needs testing
before being included in the context distribution, so please
do so. You can get the new version of the module from

 http://modules.contextgarden.net/bib

Note: you need the latest context beta, because the bib module
required a small extension to the core.

Best wishes,
Taco


Hi Taco,

just to clarify things: on the download site in the garden, you write: 
"This release has support for the new mkiv structure code, but it needs 
a very new beta (2009.04.16 23:52)" The latest beta I could find was 
2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator


as i'm clueless about what the code does, can you add this to t-bib.mkiv

\def\preparebibreflist#1%
  {\let\bibreflist\empty}

and see if it solves the problem?

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 17.04.2009 um 19:05 schrieb Hans Hagen:


Wolfgang Schuster wrote:

Am 17.04.2009 um 12:08 schrieb Hans Hagen:
i'll look into it, but then need a zip with a minimal set of files 
that i can use for testing
With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents


is this related to bibliographies?


No but you don't need multiple files for a example.


runs ok here


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster


Am 17.04.2009 um 19:05 schrieb Hans Hagen:


Wolfgang Schuster wrote:

Am 17.04.2009 um 12:08 schrieb Hans Hagen:
i'll look into it, but then need a zip with a minimal set of files  
that i can use for testing

With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents


is this related to bibliographies?


No but you don't need multiple files for a example.

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:


Hi,

Hans sent me a patch for the bib module so that it now should
work with the latest mkiv once again, but the code needs testing
before being included in the context distribution, so please
do so. You can get the new version of the module from

 http://modules.contextgarden.net/bib

Note: you need the latest context beta, because the bib module
required a small extension to the core.

Best wishes,
Taco


Hi Taco,

just to clarify things: on the download site in the garden, you write: 
"This release has support for the new mkiv structure code, but it needs 
a very new beta (2009.04.16 23:52)" The latest beta I could find was 
2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator


probably that whole bit of code should be disabled in mkiv as there is 
no need for it



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 17.04.2009 um 12:08 schrieb Hans Hagen:

i'll look into it, but then need a zip with a minimal set of files 
that i can use for testing


With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents


is this related to bibliographies?



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster


Am 17.04.2009 um 12:08 schrieb Hans Hagen:

i'll look into it, but then need a zip with a minimal set of files  
that i can use for testing


With the filecontents environment you need only one file: 
http://wiki.contextgarden.net/Filecontents

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:


Hi,

Hans sent me a patch for the bib module so that it now should
work with the latest mkiv once again, but the code needs testing
before being included in the context distribution, so please
do so. You can get the new version of the module from

 http://modules.contextgarden.net/bib

Note: you need the latest context beta, because the bib module
required a small extension to the core.

Best wishes,
Taco


Hi Taco,

just to clarify things: on the download site in the garden, you write: 
"This release has support for the new mkiv structure code, but it needs 
a very new beta (2009.04.16 23:52)" The latest beta I could find was 
2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator
  ]
\expanded ...\long \xdef \@@expanded {\noexpand #1
  }\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
  \storeitem
\expandrefs ...ibrefprefix \preparebibreflist {#1}
  \global 
\bibreffoundfalse ...

\next2 #1,->\expandrefs {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global 
\advance \...


l.182 ...lications[criterium=cite,option=continue]

Should we wait for a still newer beta, or is this a typo and I need to 
dig deeper?


i'll look into it, but then need a zip with a minimal set of files that 
i can use for testing



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Thomas A. Schmitz


On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:


Hi,

Hans sent me a patch for the bib module so that it now should
work with the latest mkiv once again, but the code needs testing
before being included in the context distribution, so please
do so. You can get the new version of the module from

 http://modules.contextgarden.net/bib

Note: you need the latest context beta, because the bib module
required a small extension to the core.

Best wishes,
Taco


Hi Taco,

just to clarify things: on the download site in the garden, you write:  
"This release has support for the new mkiv structure code, but it  
needs a very new beta (2009.04.16 23:52)" The latest beta I could find  
was 2009.04.16 22:27, and with this, I still get the error


! Undefined control sequence.
 ... [\bibrefprefix ][\sectionseparator
  ]
\expanded ...\long \xdef \@@expanded {\noexpand #1
  }\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
  \storeitem
\expandrefs ...ibrefprefix \preparebibreflist {#1}
  \global  
\bibreffoundfalse ...

\next2 #1,->\expandrefs {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global  
\advance \...

...
l.182 ...lications[criterium=cite,option=continue]

Should we wait for a still newer beta, or is this a typo and I need to  
dig deeper?


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bib module in mkiv

2009-04-17 Thread Taco Hoekwater
Hi,

Hans sent me a patch for the bib module so that it now should
work with the latest mkiv once again, but the code needs testing
before being included in the context distribution, so please
do so. You can get the new version of the module from

  http://modules.contextgarden.net/bib

Note: you need the latest context beta, because the bib module
required a small extension to the core.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-08 Thread Taco Hoekwater

Mohamed Bana wrote:

Taco, hi,

I've said this before, but I think you need to include a complete 
example (i.e., the source) with your bib PDF somehow.  It wasn't as 
straight forward as I would have wanted it to be.


The manual is a complete example: doc/context/bib/bibmod-doc.tex

If you (or someone else) want a different example, just send
me a file with a suitable license attached, and I will add it
to the distro.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-07 Thread Mohamed Bana
I've heard PDF now supports attaching text files.  Not sure accurate 
that is.


Thanks Taco

Mohamed Bana wrote:

Taco, hi,

I've said this before, but I think you need to include a complete 
example (i.e., the source) with your bib PDF somehow.  It wasn't as 
straight forward as I would have wanted it to be.


Taco Hoekwater wrote:

Willi Egger wrote:

Hi,

I should typeset an article...

Now I tried out different approaches but I do not get a complete list 
of references.


I am puzzled why I do get only Taco's reference in the list and why 
there is no journal mentioned in Taco's reference.


You are missing the journal entry because a "manual" is not an
"article", and you are missing the Allan et al. reference because
"Allan-eighty" is not the same as [Allan80]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 



___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-07 Thread Mohamed Bana

Taco, hi,

I've said this before, but I think you need to include a complete 
example (i.e., the source) with your bib PDF somehow.  It wasn't as 
straight forward as I would have wanted it to be.


Taco Hoekwater wrote:

Willi Egger wrote:

Hi,

I should typeset an article...

Now I tried out different approaches but I do not get a complete list 
of references.


I am puzzled why I do get only Taco's reference in the list and why 
there is no journal mentioned in Taco's reference.


You are missing the journal entry because a "manual" is not an
"article", and you are missing the Allan et al. reference because
"Allan-eighty" is not the same as [Allan80]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-07 Thread Thomas A. Schmitz


On Mar 7, 2009, at 10:47 PM, Willi Egger wrote:

Hi Taco, thanks for your reply. Unfortunately correcting/changing  
the example file does not result in what I would expect. I purged  
all files first, then compiled the example.


Hi Willi,

I don't know why, but if you correct lines 22-23

\startpublication[%
  k=Allan80,

to look like this

\startpublication
  [k=Allan80,

you get the expected result.

(Is there a reason why you write your entries manually and don't use  
bibTeX and let that handle such stuff for you? On OS X, you can use  
Bibdesk, which is a very nice editor for bibTeX files; it'll make your  
life much easier.)


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-07 Thread Willi Egger
Hi Taco, thanks for your reply. Unfortunately correcting/changing the  
example file does not result in what I would expect. I purged all  
files first, then compiled the example.
The result is the same in ConTeXt  ver: 2009.03.03 22:15 MKIV  fmt:  
2009.3.5  int: english/english as also in ConTeXt  ver: 2009.01.14  
11:29 MKIV  fmt: 2009.1.22  int: english/english


I get now Taco's article correctly but still no Allan80...

I do not know weather the following is relevant: Only at the first  
run after purging the auxiliary I see the following error messages in  
the first two passes:


...
publications   : warning: cite argument me unknown on 172
references : unknown reference [][0]
publications   : warning: cite argument Allan80 unknown on 172
references : unknown reference [][0]
...

Kind regards
Willi

\usemodule[bib]
\setuppublicationlist[totalnumber=2,criterium=all]

\startpublication
[k=me,
t=article,
a=Hoekwater,
y=2006,
s=TH2006,
n=2,
u=http://contextgarden.net/Bibliography]
\artauthor{Taco}[T.]{}{Hoekwater}
\arttitle{\CONTEXT\ Publication Module, The user documententation}
\note{In case you didn’t know: it’s the document you are reading now}
\pages{14}
\journal{MAPS}
\pages{100-114}
\pubyear{2008}
\stoppublication


\startpublication[%
   k=Allan80,
   t=article,
   a=Allan et al.,
   y=1980,
   n=1]
   \artauthor[]{}[E.M.]{}{Allan}
   \artauthor[]{}[H M.]{}{Pirle}
   \artauthor[]{}[P. M.]{}{Msolla}
   \artauthor[]{}[I.E.]{}{Selman}
   \artauthor[]{}[A.]{}{Wiseman}
   \arttitle{The pathological features of severe cases of infectious  
bovine rhinotracheitis}

   \journal{Vet. Rec.}
   \volume{107}
   \pages{441-445}
   \pubyear{1980}
\note{From my thesis}
\stoppublication

\setuppublications[alternative=ams, refcommand=num]
\setupcite[num][pubsep={,},left={[},right={]}]

\starttext

Lorem ipsum dolor sit amet\cite[me], consectetuer adipiscing elit. Ut
venenatis, ipsum a ultricies molestie, arcu quam mollis arcu, id
facilisis dui justo nec purus. Vivamus vitae est a dolor consequat
pellentesque. \unknown Aliquam posuere scelerisque ipsum. Sed eget  
risus. Cras

blandit risus in lorem\cite[Allan80].


\placepublications[criterium=all]
\stoptext

On Mar 7, 2009, at 8:27 PM, Taco Hoekwater wrote:


Willi Egger wrote:

Hi,
I should typeset an article...
Now I tried out different approaches but I do not get a complete  
list of references.
I am puzzled why I do get only Taco's reference in the list and  
why there is no journal mentioned in Taco's reference.


You are missing the journal entry because a "manual" is not an
"article", and you are missing the Allan et al. reference because
"Allan-eighty" is not the same as [Allan80]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module...

2009-03-07 Thread Taco Hoekwater

Willi Egger wrote:

Hi,

I should typeset an article...

Now I tried out different approaches but I do not get a complete list of 
references.


I am puzzled why I do get only Taco's reference in the list and why 
there is no journal mentioned in Taco's reference.


You are missing the journal entry because a "manual" is not an
"article", and you are missing the Allan et al. reference because
"Allan-eighty" is not the same as [Allan80]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bib module...

2009-03-07 Thread Willi Egger

Hi,

I should typeset an article...

Now I tried out different approaches but I do not get a complete list  
of references.


I am puzzled why I do get only Taco's reference in the list and why  
there is no journal mentioned in Taco's reference.


Here is a minimal example:

\setuppublicationlist[totalnumber=2,criterium=all]

\startpublication
[k=me,
t=manual,
a=Hoekwater,
y=2006,
s=TH2006,
n=2,
u=http://contextgarden.net/Bibliography]
\artauthor{Taco}[T.]{}{Hoekwater}
\arttitle{\CONTEXT\ Publication Module, The user documententation}
\note{In case you didn’t know: it’s the document you are reading now}
\pages{14}
\journal{MAPS}
\pages{100-114}
\pubyear{2008}
\stoppublication


\startpublication[%
   k=Allan-eighty,
   t=article,
   a=Allan et al.,
   y=1980,
   n=1]
   \artauthor[]{}[E.M.]{}{Allan}
   \artauthor[]{}[H M.]{}{Pirle}
   \artauthor[]{}[P. M.]{}{Msolla}
   \artauthor[]{}[I.E.]{}{Selman}
   \artauthor[]{}[A.]{}{Wiseman}
   \arttitle{The pathological features of severe cases of infectious  
bovine rhinotracheitis}

   \journal{Vet. Rec.}
   \volume{107}
   \pages{441-445}
   \pubyear{1980}
\stoppublication

\setuppublications[alternative=ams, refcommand=num]
\setupcite[num][pubsep={,},left={[},right={]}]

\starttext

Lorem ipsum dolor sit amet\cite[me], consectetuer adipiscing elit. Ut
venenatis, ipsum a ultricies molestie, arcu quam mollis arcu, id
facilisis dui justo nec purus. Vivamus vitae est a dolor consequat
pellentesque. \unknown Aliquam posuere scelerisque ipsum. Sed eget  
risus. Cras

blandit risus in lorem\cite[Allan80].

\bank[1cm]

\placepublications[criterium=all]
\stoptext

Thanks for enlightening me!

Willi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module: more \setupcite options?

2009-02-26 Thread Jeff Smith
Hi Taco,

On Wed, Feb 11, 2009 at 09:43, taco  wrote:
> Hi Jeff,

> I thought I had created something like a 'authoretallimit' for \cite
> keys, but I am not completely certain. I am on the road right now so
> I won't have a chance to look at this until next week.
>
> Best wishes,
> Taco


Would you have some time now to look at this issue? I will copy-paste
what I explained earlier below:



My a-key to use with the \cite command and my bib database doesn't
seem to work when I have more than two authors/editors. Here is my
data:

\startpublication[n=40,t=editedbook,k=Burton-RobertsEtAl2000,a={{Burton-Roberts},{Carr},{Docherty}},y=2000]
\editor[]{Noël}[N.]{}{Burton-Roberts}
\editor[]{Philip}[P.]{}{Carr}
\editor[]{Gerard}[G.]{}{Docherty}
\title{Phonological knowledge. Conceptual and empirical issues}
\pubname{Oxford University Press}
\city{New York/Oxford}
\pages{352}
\pubyear{2000}
\stoppublication

My setup is simple, I use all the defaults. Meaning, I don't have any
\setupcite specification in my environment file.

So, when I use the following command:

\cite{Burton-RobertsEtAl2000}

I get the following output:

 (2000)

If I just remove one name in the a key, like this:

\startpublication[n=40,t=editedbook,k=Burton-RobertsEtAl2000,a={{Burton-Roberts},{Carr}},y=2000]
\editor[]{Noël}[N.]{}{Burton-Roberts}
\editor[]{Philip}[P.]{}{Carr}
\editor[]{Gerard}[G.]{}{Docherty}
\title{Phonological knowledge. Conceptual and empirical issues}
\pubname{Oxford University Press}
\city{New York/Oxford}
\pages{352}
\pubyear{2000}
\stoppublication

With the above \cite command I get the expected:

Roberts et Carr (2000)

Where can I setup this? I see nothing regarding that in the BibTeX
manual. There's a lot covering the publication list at the end, but I
have no problems there, with as many authors (or editors, like in this
case) I want. I get only this behaviour with the \cite command.

Have I missed something?

I'm running mkii version 2008.11.10.

Thanks for any help!
Jeff
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module: more \setupcite options?

2009-02-13 Thread Jeff Smith
No problem, Taco. There's no rush. If needs be I'll remind you of this
issue in the next weeks. In any case thanks for the heads up.

Jeff


On Wed, Feb 11, 2009 at 09:43, taco  wrote:
> Hi Jeff,
>
> Jeff Smith wrote:
>>
>> Hi all (or Taco? :-)),
>>
>> My a-key to use with the \cite command and my bib database doesn't
>> seem to work when I have more than two authors/editors. Here is my
>> data:
>>
>
> I thought I had created something like a 'authoretallimit' for \cite
> keys, but I am not completely certain. I am on the road right now so
> I won't have a chance to look at this until next week.
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module: more \setupcite options?

2009-02-13 Thread taco

Hi Jeff,

Jeff Smith wrote:

Hi all (or Taco? :-)),

My a-key to use with the \cite command and my bib database doesn't
seem to work when I have more than two authors/editors. Here is my
data:



I thought I had created something like a 'authoretallimit' for \cite
keys, but I am not completely certain. I am on the road right now so
I won't have a chance to look at this until next week.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Bib module: more \setupcite options?

2009-02-09 Thread Jeff Smith
Hi all (or Taco? :-)),

My a-key to use with the \cite command and my bib database doesn't
seem to work when I have more than two authors/editors. Here is my
data:

\startpublication[n=40,t=editedbook,k=Burton-RobertsEtAl2000,a={{Burton-Roberts},{Carr},{Docherty}},y=2000]
\editor[]{Noël}[N.]{}{Burton-Roberts}
\editor[]{Philip}[P.]{}{Carr}
\editor[]{Gerard}[G.]{}{Docherty}
\title{Phonological knowledge. Conceptual and empirical issues}
\pubname{Oxford University Press}
\city{New York/Oxford}
\pages{352}
\pubyear{2000}
\stoppublication

My setup is simple, I use all the defaults. Meaning, I don't have any
\setupcite specification in my environment file.

So, when I use the following command:

\cite{Burton-RobertsEtAl2000}

I get the following output:

 (2000)

If I just remove one name in the a key, like this:

\startpublication[n=40,t=editedbook,k=Burton-RobertsEtAl2000,a={{Burton-Roberts},{Carr}},y=2000]
\editor[]{Noël}[N.]{}{Burton-Roberts}
\editor[]{Philip}[P.]{}{Carr}
\editor[]{Gerard}[G.]{}{Docherty}
\title{Phonological knowledge. Conceptual and empirical issues}
\pubname{Oxford University Press}
\city{New York/Oxford}
\pages{352}
\pubyear{2000}
\stoppublication

With the above \cite command I get the expected:

Roberts et Carr (2000)

Where can I setup this? I see nothing regarding that in the BibTeX
manual. There's a lot covering the publication list at the end, but I
have no problems there, with as many authors (or editors, like in this
case) I want. I get only this behaviour with the \cite command.

Have I missed something?

I'm running mkii version 2008.11.10.

Thanks for any help!
Jeff
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module and prefix=+

2008-12-19 Thread Dave
For what it is worth, it fails using the latest 'minimals' installation.  I
was under the impression that this patch would eventually make its way into
the main brach and the patch would no longer be required.  It works with the
texlive-2008 basic install but I'm now without quite a few fixes which
breaks other things.  Working references, however, are much more important
than the formatting/table bugs... I now remember why I never upgrade ConTeXt
by choice.
I'll try to post a reminder if I haven't heard anything from you by mid-Jan.

Thanks,
Dave

On Fri, Dec 19, 2008 at 3:52 AM, Taco Hoekwater  wrote:

>
>
> Dave wrote:
> > I've just upgraded to the latest and greatest version and found that my
> > previous fixes for a bibliography quirk no longer work.
>
> > Taco, do you have any ideas on why this is failing again?
>
> Probably that fix was patching an internal macro the handling of
> which has changed in the context core. Just a guess, though.
>
> I have no time today to delve into this, sorry. As I wrote to
> Aditya last week, you will probably have to wait until January.
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bib module and prefix=+

2008-12-19 Thread Taco Hoekwater


Dave wrote:
> I've just upgraded to the latest and greatest version and found that my
> previous fixes for a bibliography quirk no longer work.  

> Taco, do you have any ideas on why this is failing again?

Probably that fix was patching an internal macro the handling of
which has changed in the context core. Just a guess, though.

I have no time today to delve into this, sorry. As I wrote to
Aditya last week, you will probably have to wait until January.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module error with context 2008.10.23

2008-10-27 Thread Michael Green

Taco Hoekwater wrote:

Michael Green wrote:


I noticed that the modules.contextgarden.net/bib page says you're
editing the apa style. Here are two corrections I made. Perhaps they
will help.


I just uploaded a new version to the garden, with your patches
for bibl-apa.tex. Please give it a try:

  http://modules.contextgarden.net/bib

Best wishes,
Taco


Thanks! It works fine.

I found a different problem with footnotes that I'm pretty sure is  
unrelated. I'll post a separate message.


mjg___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module error with context 2008.10.23

2008-10-27 Thread Taco Hoekwater


Michael Green wrote:
> 
> I noticed that the modules.contextgarden.net/bib page says you're  
> editing the apa style. Here are two corrections I made. Perhaps they  
> will help.

I just uploaded a new version to the garden, with your patches
for bibl-apa.tex. Please give it a try:

   http://modules.contextgarden.net/bib

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module error with context 2008.10.23

2008-10-26 Thread Michael Green
Taco Hoekwater wrote:
> Hans Hagen wrote:
>
>> Michael Green wrote:
>>
>>> After updating the minimals for OSX-intel, I get an error when using
>>> the bib module. Here's the relevant bit of the log.
>>>
>>
>> you need a new bib module
>>
>
> Not just that, you need a bib module that doesn't exist yet.
> I will do a new upload to modules.contextgarden on monday.
>
> Best wishes,
> Taco


Great!

I noticed that the modules.contextgarden.net/bib page says you're  
editing the apa style. Here are two corrections I made. Perhaps they  
will help.

1. line 286: changed  \insertpublisher{. }{.}{.} to  \insertpublisher 
{ }{.}{.}

Why: prevents double periods after the title. It's what you did for  
several other publication types in the version you sent me on August 10.

2. line 384: commented out insertpublisher line

Why: this is the entry for unpublished documents so I wasn't sure why  
it was there. More importantly, if it is left uncommented, there are  
two periods after the title.

Thanks!

mjg
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module error with context 2008.10.23

2008-10-25 Thread Taco Hoekwater
Hans Hagen wrote:
> Michael Green wrote:
>> After updating the minimals for OSX-intel, I get an error when using  
>> the bib module. Here's the relevant bit of the log.
> 
> you need a new bib module

Not just that, you need a bib module that doesn't exist yet.
I will do a new upload to modules.contextgarden on monday.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module error with context 2008.10.23

2008-10-25 Thread Hans Hagen
Michael Green wrote:
> After updating the minimals for OSX-intel, I get an error when using  
> the bib module. Here's the relevant bit of the log.

you need a new bib module

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module error with context 2008.10.23

2008-10-24 Thread Michael Green
After updating the minimals for OSX-intel, I get an error when using  
the bib module. Here's the relevant bit of the log.

Thanks!

p.s. this isn't urgent for me. I'm just rolling back to the previous,  
working installation.

ConTeXt  ver: 2008.10.23 17:32 MKIV  fmt: 2008.10.24  int: english/ 
english

[snip]

system : module bib loaded
(/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ 
tex/context/bib/t-bib.tex
! Undefined control sequence.
 \v!author

\p!compareprocessaction ...]->\edef \!!stringb {#1
   }\ifx \!!stringb \s! 
defaul...
\next2 #1,->\p!doprocessaction {#1}
\doprocesscommaitem
 ...v!author =>\def \bibstyle {cont-au},
\v!title =>\def  
\bibstyle...
\processnextcommalist ...dodoprocesscommaitem #4#5
   ,]\relax \global  
\advance ...
\dosetupbibtex ...nown =>\def \bibstyle {cont-no}]
   \ifx \@@pbdatabase  
\empty ...
l.314 \dosetupbibtex[bibtex=bibtex]

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module not to break page?

2008-10-20 Thread Zhaopeng Xing
Thanks. I got it!

2008/10/20 Taco Hoekwater <[EMAIL PROTECTED]>

>
>
> Zhaopeng Xing wrote:
> > Hi,
> >
> > I am using the bib module in context. The problem is that
> > \completepublications always starts a new page to place reference list.
> > Is there any configuration available such that not to break pages
> > between main part and the reference? Thanks.
>
> \completepublications is roughly equivalent to
>
>   \title{References}
>   \placepublications[criterium=previous]
>
> so whether or not you get a page break depends on the settings
> for \title. You could change those settings using \setuphead, or you
> could make \completepublications use a different sectioning command,
> like so
>
>   \setuppublicationlist[title=\section]
>
> or you could just use explicit
>
>\section {...}
>\placepublications[criterium=previous]
>
> so, there are multiple options.
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module not to break page?

2008-10-20 Thread Taco Hoekwater


Zhaopeng Xing wrote:
> Hi,
> 
> I am using the bib module in context. The problem is that 
> \completepublications always starts a new page to place reference list. 
> Is there any configuration available such that not to break pages 
> between main part and the reference? Thanks.

\completepublications is roughly equivalent to

   \title{References}
   \placepublications[criterium=previous]

so whether or not you get a page break depends on the settings
for \title. You could change those settings using \setuphead, or you
could make \completepublications use a different sectioning command,
like so

   \setuppublicationlist[title=\section]

or you could just use explicit

\section {...}
\placepublications[criterium=previous]

so, there are multiple options.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module not to break page?

2008-10-20 Thread Zhaopeng Xing
Hi,

I am using the bib module in context. The problem is that
\completepublications always starts a new page to place reference list. Is
there any configuration available such that not to break pages between main
part and the reference? Thanks.

-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module or other in luatex

2008-10-14 Thread Andrea Valle

Ok, thanks, I'll update

Best
-a-

On 13 Oct 2008, at 09:56, Taco Hoekwater wrote:




Andrea Valle wrote:


What am I missing?


It could be a bug in that beta, it works for me
(with the latest beta, 2008.10.09)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> [EMAIL PROTECTED]
--


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module or other in luatex

2008-10-13 Thread Taco Hoekwater


Andrea Valle wrote:
> 
> What am I missing?

It could be a bug in that beta, it works for me
(with the latest beta, 2008.10.09)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module or other in luatex

2008-10-12 Thread Andrea Valle

Hi,

this works in mk II but not in ma IV

\enableregime[utf]
\usemodule[bib]
\mainlanguage[en]


\setuppublications[alternative=apa,criterium=all]
\setupbibtex [database=/mio/pubblicazioni/pubblicazioni.bib,  
sort=author]

\starttext
\setupheadtext[en][pubs={Andrea Valle: publications}]
\nocite[*]
\completepublications
\stoptext

(Stack below)

What am I missing?

Thanks

Best

-a-


Setting "/Applications/ConTeXtMinimals/tex" as TEXROOT.
(/mio/pubblicazioni/pubdoc.tex

ConTeXt  ver: 2008.07.14 18:07 MKIV  fmt: 2008.7.15  int: english/ 
english


language   : language en is active
system : cont-new loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
cont-new.tex

systems : beware: some patches loaded from cont-new.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
cont-new.mkiv
lua: used config path - /Applications/ConTeXtMinimals/tex/ 
texmf/web2c/texmf.cnf
lua: used cache path - /Applications/ConTeXtMinimals/tex/ 
texmf-cache/luatex-cache/context/aac20ce207a097b4b480d7b5eb76554a
) (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
cont-mtx.tex))

system : cont-old loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
cont-old.tex

loading: Context Old Macros
)
system : cont-fil loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
cont-fil.tex

loading: Context File Synonyms
)
system : cont-sys loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/ 
cont-sys.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/ 
context/base/type-tmf.tex) (/Applications/ConTeXtMinimals/tex/texmf- 
context/tex/context/base/type-siz.tex) (/Applications/ConTeXtMinimals/ 
tex/texmf-context/tex/context/base/type-otf.tex))

bodyfont   : 12pt rm is loaded
specials   : tex loaded
system : pubdoc.top loaded
(pubdoc.top
specials   : loading definition file tpd
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
spec-tpd.tex

specials   : loading definition file fdf
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
spec-fdf.tex (/Applications/ConTeXtMinimals/tex/texmf-context/tex/ 
context/base/spec-fdf.mkiv))

specials   : fdf loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ 
spec-tpd.mkiv))

specials   : fdf loaded
)
system : module bib loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/bib/t- 
bib.tex

publications   : loading formatting style from bibl-apa
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/bib/bibl- 
apa.tex))

publications   : loading formatting style from bibl-apa
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/bib/bibl- 
apa.tex)

publications   : wrote a new auxiliary file pubdoc.aux
utilityfile | not present (pubdoc.tuo) (pubdoc.tuo)
publications   : loading database from pubdoc.bbl
(pubdoc.bbl)
systems: begin file pubdoc at line 8
{vertical mode: \tracingstats}
{\tracingpages}
{\tracingoutput}
{\tracinglostchars}
{\tracingmacros}
{\tracingparagraphs}
{\tracingrestores}
{\showboxbreadth}
{\showboxdepth}
{\tracinggroups}
{\tracingifs}
{\tracingscantokens}
{\tracingnesting}
{\tracingassigns}
{into \tracingassigns=2}
{\errorstopmode}

{\tracingonline}
{changing \tracingonline=1}
! Undefined control sequence.
\dogetupsometextprefix ...rrenttextprefixlanguage
  {#1}\ifcsname #2 
\currentte...

\docompletepublications ...anguage \c!title {pubs}
  }\doifdefinedelse  
{\??pv d...


   \stoptext
l.12 \stoptext

?
! Emergency stop.
\dogetupsometextprefix ...rrenttextprefixlanguage
  {#1}\ifcsname #2 
\currentte...

\docompletepublications ...anguage \c!title {pubs}
  }\doifdefinedelse  
{\??pv d...


   \stoptext
l.12 \stoptext

!  ==> Fatal error occurred, no output PDF file produced!
MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/ 
texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex- 
cache/context/aac20ce207a097b4b480d7b5eb76554a/trees/ 
d9ef00871d7b11751a275cffd8a85753
MtxRun | run 1: luatex --fmt="/Applications/ConTeXtMinimals/tex/texmf- 
cache/luatex-cache/context/aac20ce207a097b4b480d7b5eb76554a/formats/ 
cont-en" --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex- 
cache/context/aac20ce207a097b4b480d7b5eb76554a/formats/cont-en.lua" "/ 
mio/pubblicazioni/pubdoc.tex"

MtxRun | fatal error, code: 1


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> [EMAIL PROTECTED]
---

Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Peter Münster
On Mon, Jul 28 2008, Aditya Mahajan wrote:

> Any particular reason why \goto does not break the link across lines? I 
> thought that PS could not handle links split across multiple lines while 
> PDF could. Is it just because \goto was implement lng time back?

It's perhaps just a matter of time, see also:

http://foundry.supelec.fr/tracker/index.php?func=detail&aid=59&group_id=21&atid=164

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Hans Hagen
Aditya Mahajan wrote:
> On Mon, 28 Jul 2008, Taco Hoekwater wrote:
> 
>> Aditya Mahajan wrote:
>>> I think that the trouble is due to interaction. If I switch off
>>> interaction, I get complelely different linebreaks, but no troubles with
>>> margin.
>> Ah, yes. The \cite basically expands into \goto{}[ref],
>> and context does not hyphenate the word(s) in the braced argument of
>> \goto. Sorry, looks like you are stuck.
> 
> Thanks for confirming this. For this project, I will go without 
> interaction since the output must look good on print.
> 
> Any particular reason why \goto does not break the link across lines? I 
> thought that PS could not handle links split across multiple lines while 
> PDF could. Is it just because \goto was implement lng time back?

goto breaks but does not hyphenate ...

- indeed it dates from the multiple backend time
- also, this gives us more control over proper clickable areas
- it'a also related to more complex nnotations (chained, inheritance etc)

in mkiv i might reimplement this at some point using attributes

Hans




-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Aditya Mahajan
On Mon, 28 Jul 2008, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
>>
>> I think that the trouble is due to interaction. If I switch off
>> interaction, I get complelely different linebreaks, but no troubles with
>> margin.
>
> Ah, yes. The \cite basically expands into \goto{}[ref],
> and context does not hyphenate the word(s) in the braced argument of
> \goto. Sorry, looks like you are stuck.

Thanks for confirming this. For this project, I will go without 
interaction since the output must look good on print.

Any particular reason why \goto does not break the link across lines? I 
thought that PS could not handle links split across multiple lines while 
PDF could. Is it just because \goto was implement lng time back?

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Taco Hoekwater
Aditya Mahajan wrote:
> 
> I think that the trouble is due to interaction. If I switch off 
> interaction, I get complelely different linebreaks, but no troubles with 
> margin.

Ah, yes. The \cite basically expands into \goto{}[ref],
and context does not hyphenate the word(s) in the braced argument of
\goto. Sorry, looks like you are stuck.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Aditya Mahajan

On Mon, 28 Jul 2008, Taco Hoekwater wrote:




Aditya Mahajan wrote:

Hi,

I am using the bib module with ssa style. Quite often while citing
articles with long author names, I find author names
protruding into the margin. Does bib module not support hyphenating author
names, or is something wrong in my setup?


Hyphenation seems to work OK here, so you had better post an example.


I am attaching an example from a document that I am working on. It is 
rather big, because I need the same setup (fonts and layout) to create the 
problem. The word "Kontoyiannis" is not hyphenated and protrudes to the 
margin. I have tried to add it to \hyphenation, but that does not work.


I think that the trouble is due to interaction. If I switch off 
interaction, I get complelely different linebreaks, but no troubles with 
margin.


The document was compiled using
ConTeXt  ver: 2008.07.13 22:32 MKIV  fmt: 2008.7.15  int: english/english 
and

LuaTeX, Version snapshot-0.28.0-2008070423


Thanks,
Aditya\usetypescript  [serif]   [hanging] [pure]
\setupalign [hanging] 

\definetypeface [mainface] [rm] [serif] [palatino] [default] [features=oldstyle]
\definetypeface [mainface] [ss] [sans]  [delicious] [default] [features=default,
rscale=1.1]
\definetypeface [mainface] [tt] [mono]  [modern] [default] [features=default,
rscale=1.1]
\definetypeface [mainface] [mm] [math]  [palatino] [default]  [encoding=texnansi]

\setupbodyfont[mainface,12pt]

\setfontfeature{oldstyle}

\setuppapersize [letter]
[letter]

\setuplayout[
  width=middle,
 height=middle,
  %location=middle,
topspace=1.0in,
  bottomspace=.5in,
  bottomdistance=0in,
   bottom=.5in,
   backspace=1.5in,
cutspace=1.0in,
  leftmargin=1.0in,
 rightmargin=0.5in,
  leftmargindistance=0.1in,
 rightmargindistance=0.1in,
  header=0.0in,
 footer=0.25in,
   headerdistace=0.0in,
 footerdistance=0.25in,
marking=on,
]

\setupitemgroup
  [itemize]
  [each]
  [margin=1pc,
   distance=0pt,
   itemalign=left,
   headstyle=bolditalic,
   headcolor=darkred,
   afterhead=,
   before={\blank[small]},
   after={\blank[small]},
   indentnext=no]

\setupitemgroup
  [itemize]
  [each]
  [broad,fit]

\usemodule  [bib]

\setuppublications[alternative=ssa,sorttype=bbl]

\startpublication[k=Witsenhausen:1978b,t=conference,
a={Witsenhausen},y=1978,
n=193,s=Wit78]
\author[]{Hans~S.}[H.~S.]{}{Witsenhausen}
\pubyear{1978}
\arttitle{Informational aspects of stochastic control}
\title{{P}roceedings of the Oxford Conference on Stochastic Optimization}
\stoppublication
\startpublication[k=Teneketzis:phd,t=phdthesis,
a={Teneketzis},y=1979,
n=172,s=Ten79]
\author[]{Demosthenis}[D.]{}{Teneketzis}
\title{Communication in Decentralized Control}
\pubyear{1979}
\bibtype{Ph.D. Thesis}
\month{9}
\pubname{Department of EECS, MIT}
\city{Cambridge, MA}
\stoppublication
\startpublication[k=Munson:phd,t=phdthesis,
a={Munson},y=1981,
n=123,s=Mun81]
\author[]{G.}[G.]{}{Munson}
\title{Causal Information Transmission with Feedback}
\pubyear{1981}
\bibtype{Ph.D. Thesis}
\pubname{Department of Electrical Engineering, Cornell University}
\city{Ithaca, NY}
\stoppublication
\startpublication[k=GorbunovPinsker:1987,t=article,
a={{Pinsker},{Gorbunov}},y=1987,
n=67,s=PG87]
\artauthor[]{P.S.}[P.]{}{Pinsker}
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\pubyear{1987}
\arttitle{Epsilon entropy with delay with small mean-square reproduction error}
\journal{Problems in Information Transmission}
\volume{23}
\issue{2}
\pages{3-8}
\month{April-June}
\stoppublication
\startpublication[k=GorbunovPinsker:1973,t=article,
a={{Gorbunov},{Pinsker}},y=1973,
n=65,s=GP73]
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\artauthor[]{P.S.}[P.]{}{Pinsker}
\pubyear{1973}
\arttitle{Non-anticipatory and prognostic epsilon entropies and message
  generation rates}
\journal{Problems in Information Transmission}
\volume{9}
\pages{1840191}
\stoppublication
\startpublication[k=GorbunovPinsker:1974,t=article,
a={{Gorbunov},{Pinsker}},y=1974,
n=66,s=GP74]
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\artauthor[]{P.S.}[P.]{}{Pinsker}
\pubyear{1974}
\arttitle{Prognostic epsilon entropy of a {Gaussian} message and a {Gaussian}
  source}
\journal{Problems in Information Transmission}
\volume{10}
\pages{184-191}
\stoppublication
\startpublication[k=Munson:phd,t=phdthesis,
a={Munson},y=1981,
n=123,s=Mun81]
\author[]{G.}[G.]{}{Munson}
\title{Causal Information Transmission with Feedback}
\pubyear{1981}
\bibtype{Ph.D. Thesis}
\pubname{Department of Electrical Engineering, Cornell University}
\city{Ithaca, NY}
\stoppublication
\startpublication[k=GorbunovPinsker:1987,t=article,
a={{Pinsker},{Gorbunov}},y=1987,
n=67,s=PG87]
\artauthor[]{P.S.}[P.]{}{Pinsker}
\artauthor[]{A.K.}[A.]{}{Gorbunov}
\pubyear{1987}
\arttitle{Epsilon entropy with delay with small mea

Re: [NTG-context] bib module and hypehnation

2008-07-28 Thread Taco Hoekwater


Aditya Mahajan wrote:
> Hi,
> 
> I am using the bib module with ssa style. Quite often while citing 
> articles with long author names, I find author names 
> protruding into the margin. Does bib module not support hyphenating author 
> names, or is something wrong in my setup?

Hyphenation seems to work OK here, so you had better post an example.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bib module and hypehnation

2008-07-27 Thread Aditya Mahajan
Hi,

I am using the bib module with ssa style. Quite often while citing 
articles with long author names, I find author names 
protruding into the margin. Does bib module not support hyphenating author 
names, or is something wrong in my setup?

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


  1   2   3   >