ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MKIV and bib module
@ 2010-06-09 19:12 Honza Pohanka
  2010-06-09 19:15 ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: Honza Pohanka @ 2010-06-09 19:12 UTC (permalink / raw)
  To: ntg-context

Hallo,
I have discovered a problem with bib module in MKIV.
Using \completepublications command typesets only the heading and no bib  
items. Numbers in citations are missing too.
\placepublications and MKII works fine.


example

\enableregime[utf]
\mainlanguage[cz]
\input pdfr-def.mkii % glyph to unicode

\usemodule[bib]

\setupbibtex[database={stereo}]
\setuppublications[alternative=num,autohang=yes]
\setuppublicationlist[before=\blank]

\setupexternalfigures[directory=./img]


\starttext

bla \cite[moltonetal1998] bla \cite[andersonetal2007]

\setuppublications[alternative=ams]
\completepublications


\stoptext


-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-09 19:12 MKIV and bib module Honza Pohanka
@ 2010-06-09 19:15 ` Aditya Mahajan
  2010-06-09 19:33   ` Honza Pohanka
  0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2010-06-09 19:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 9 Jun 2010, Honza Pohanka wrote:

> Hallo,
> I have discovered a problem with bib module in MKIV.
> Using \completepublications command typesets only the heading and no bib 
> items. Numbers in citations are missing too.
> \placepublications and MKII works fine.
>
>
> example
>
> \enableregime[utf]
> \mainlanguage[cz]
> \input pdfr-def.mkii % glyph to unicode
>
> \usemodule[bib]
>
> \setupbibtex[database={stereo}]
> \setuppublications[alternative=num,autohang=yes]
> \setuppublicationlist[before=\blank]
>
> \setupexternalfigures[directory=./img]
>
>
> \starttext
>
> bla \cite[moltonetal1998] bla \cite[andersonetal2007]
>
> \setuppublications[alternative=ams]
> \completepublications

\completepublications[criterium=all]

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-09 19:15 ` Aditya Mahajan
@ 2010-06-09 19:33   ` Honza Pohanka
  2010-06-10  4:33     ` Aditya Mahajan
  2010-06-10  5:56     ` Taco Hoekwater
  0 siblings, 2 replies; 10+ messages in thread
From: Honza Pohanka @ 2010-06-09 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

This helps, thank you.
But another error.
Specifying  \setuppublicationlist[title={\section}]

causes following error for MKIV


(E:/context/tex/texmf-context/tex/context/bib/bibl-ams.tex)
! Argument of \dosetuplist has an extra }.
<inserted text>
                 \par
<to be read again>
                    }
\doifelsenothing #1->\edef \!!stringa {#1}
                                           \ifx \!!stringa \empty  
\expandafte...
\docompletepublications ...istparameter \c!title }
                                                    {\systemsuppliedchapter  
[...
l.153 \completepublications[criterium=all]


regards
Jan

Dne Wed, 09 Jun 2010 21:15:36 +0200 Aditya Mahajan <adityam@umich.edu>  
napsal(a):

> On Wed, 9 Jun 2010, Honza Pohanka wrote:
>
>> Hallo,
>> I have discovered a problem with bib module in MKIV.
>> Using \completepublications command typesets only the heading and no  
>> bib items. Numbers in citations are missing too.
>> \placepublications and MKII works fine.
>>
>>
>> example
>>
>> \enableregime[utf]
>> \mainlanguage[cz]
>> \input pdfr-def.mkii % glyph to unicode
>>
>> \usemodule[bib]
>>
>> \setupbibtex[database={stereo}]
>> \setuppublications[alternative=num,autohang=yes]
>> \setuppublicationlist[before=\blank]
>>
>> \setupexternalfigures[directory=./img]
>>
>>
>> \starttext
>>
>> bla \cite[moltonetal1998] bla \cite[andersonetal2007]
>>
>> \setuppublications[alternative=ams]
>> \completepublications
>
> \completepublications[criterium=all]
>
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-09 19:33   ` Honza Pohanka
@ 2010-06-10  4:33     ` Aditya Mahajan
  2010-06-10  5:56     ` Taco Hoekwater
  1 sibling, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2010-06-10  4:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 9 Jun 2010, Honza Pohanka wrote:

> This helps, thank you.
> But another error.
> Specifying  \setuppublicationlist[title={\section}]

I am not sure what title=... is supposed to do. How about

\section{References}
\placepublications[criterium=all]

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-09 19:33   ` Honza Pohanka
  2010-06-10  4:33     ` Aditya Mahajan
@ 2010-06-10  5:56     ` Taco Hoekwater
  2010-06-10  6:00       ` Taco Hoekwater
  1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2010-06-10  5:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Honza Pohanka wrote:
> This helps, thank you.
> But another error.
> Specifying  \setuppublicationlist[title={\section}]
> 
> causes following error for MKIV

use

   \setuppublicationlist[title=section]

Best wishes,
Taco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-10  5:56     ` Taco Hoekwater
@ 2010-06-10  6:00       ` Taco Hoekwater
  2010-06-10  8:12         ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2010-06-10  6:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen

Taco Hoekwater wrote:
> Honza Pohanka wrote:
>> This helps, thank you.
>> But another error.
>> Specifying  \setuppublicationlist[title={\section}]
>>
>> causes following error for MKIV
> 
> use
> 
>   \setuppublicationlist[title=section]

Oh right, that is wrong also.  Hans, the title key is
supposed to be a sectioning command, not actual text.

How is this controlled in the new structure list setup?

Best wishes,
Taco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-10  6:00       ` Taco Hoekwater
@ 2010-06-10  8:12         ` Wolfgang Schuster
  2010-06-10 13:34           ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2010-06-10  8:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater

Am 10.06.10 08:00, schrieb Taco Hoekwater:
> Taco Hoekwater wrote:
>> Honza Pohanka wrote:
>>> This helps, thank you.
>>> But another error.
>>> Specifying  \setuppublicationlist[title={\section}]
>>>
>>> causes following error for MKIV
>>
>> use
>>
>>   \setuppublicationlist[title=section]
>
> Oh right, that is wrong also.  Hans, the title key is
> supposed to be a sectioning command, not actual text.
>
> How is this controlled in the new structure list setup?

Isn't this breaking with the normal ConTeXt rules because \complete...
makes a list with \chapter or \title as header and when you don't like
these headers use

   \section{Bibliography}
   \placepublications

BTW: Is there a rule when \complete... use \chapter and when \title as 
header command?

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-10  8:12         ` Wolfgang Schuster
@ 2010-06-10 13:34           ` Hans Hagen
  2010-06-10 14:38             ` Alan BRASLAU
  2010-06-10 20:52             ` Wolfgang Schuster
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2010-06-10 13:34 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users, Taco Hoekwater

On 10-6-2010 10:12, Wolfgang Schuster wrote:
> Am 10.06.10 08:00, schrieb Taco Hoekwater:
>> Taco Hoekwater wrote:
>>> Honza Pohanka wrote:
>>>> This helps, thank you.
>>>> But another error.
>>>> Specifying \setuppublicationlist[title={\section}]
>>>>
>>>> causes following error for MKIV
>>>
>>> use
>>>
>>> \setuppublicationlist[title=section]
>>
>> Oh right, that is wrong also. Hans, the title key is
>> supposed to be a sectioning command, not actual text.
>>
>> How is this controlled in the new structure list setup?
>
> Isn't this breaking with the normal ConTeXt rules because \complete...
> makes a list with \chapter or \title as header and when you don't like
> these headers use
>
> \section{Bibliography}
> \placepublications
>
> BTW: Is there a rule when \complete... use \chapter and when \title as
> header command?

i've considered removing the \complete... variants in mkiv ... after 
all, the few extra \title commands are not that much of a burden


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-10 13:34           ` Hans Hagen
@ 2010-06-10 14:38             ` Alan BRASLAU
  2010-06-10 20:52             ` Wolfgang Schuster
  1 sibling, 0 replies; 10+ messages in thread
From: Alan BRASLAU @ 2010-06-10 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thursday 10 June 2010 15:34:37 Hans Hagen wrote:
> 
> i've considered removing the \complete... variants in mkiv ... after
> all, the few extra \title commands are not that much of a burden
> 

Here, here! I do find the syntax \placecontents vs. \completecontents awkward.

However, the titles are predefined for each language, and it would be nice to 
be able to use them.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: MKIV and bib module
  2010-06-10 13:34           ` Hans Hagen
  2010-06-10 14:38             ` Alan BRASLAU
@ 2010-06-10 20:52             ` Wolfgang Schuster
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-06-10 20:52 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users, Taco Hoekwater

Am 10.06.10 15:34, schrieb Hans Hagen:
>> BTW: Is there a rule when \complete... use \chapter and when \title as
>> header command?
>
> i've considered removing the \complete... variants in mkiv ... after
> all, the few extra \title commands are not that much of a burden

I'm sorry but what i wanted to ask is why \complete... use sometimes 
\title to place the header text (e.g. for \completecontent) and 
sometimes \chapter (e.g. \completeindex) to place the header text. For 
bibliography this is even weirder because MKII use \systemsuppliedtitle 
while MkIV use \systemsuppliedchapter.

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-06-10 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-09 19:12 MKIV and bib module Honza Pohanka
2010-06-09 19:15 ` Aditya Mahajan
2010-06-09 19:33   ` Honza Pohanka
2010-06-10  4:33     ` Aditya Mahajan
2010-06-10  5:56     ` Taco Hoekwater
2010-06-10  6:00       ` Taco Hoekwater
2010-06-10  8:12         ` Wolfgang Schuster
2010-06-10 13:34           ` Hans Hagen
2010-06-10 14:38             ` Alan BRASLAU
2010-06-10 20:52             ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).