ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* m-bib problem after upgrade
@ 2001-11-14 18:55 Marko Schuetz
  2001-11-15  9:54 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Marko Schuetz @ 2001-11-14 18:55 UTC (permalink / raw)


[-- Attachment #1: Type: Text/Plain, Size: 229 bytes --]

I have a problem with ConTeXt 2001.11.13 and m-bib 2001.6.25. There
are no publications in the bibliography. This used to work with an
earlier version of ConTeXt.  Attached are files demonstrating the
error.

Please help.

Marko

[-- Attachment #2: test4.tex --]
[-- Type: Text/Plain, Size: 150 bytes --]

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

\language[de]

\starttext

\cite[demarco-lister:99]\ sollte man lesen.

\completepublications

\stoptext

[-- Attachment #3: test.bib --]
[-- Type: Text/Plain, Size: 219 bytes --]

@Book{demarco-lister:99,
  author = 	 {Tom DeMarco AND Timothy Lister},
  title = 	 {Peopleware: Productive Projects and Teams},
  publisher = 	 {Dorset House Publishing},
  year = 	 1999,
  edition = 	 {2nd edition}
}

[-- Attachment #4: test4.log --]
[-- Type: Text/Plain, Size: 2903 bytes --]

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (format=cont-en 2001.11.14)  14 NOV 2001 19:47
entering extended mode
**&cont-en test4
(test4.tex[/usr/local/share/texmf/pdftex/config/pdftex.cfg]

ConTeXt  ver: 2001.11.13  fmt: 2001.11.14  int: english  mes: english

language       : language de is active
system         : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 473] \ifcsname 
)
system         : cont-old loaded
(/usr/local/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2-de-2 2-en-2 2-uk-2 2-fr-2 2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `test4.tui'.

system         : test4.top loaded
(./test4.top
specials       : tex,postscript,rokicki is reset
specials       : loading definition file tpd
(/usr/local/share/texmf/tex/context/base/spec-tpd.tex
systems        : please update your pdfTeX binaries
specials       : loading definition file fdf
(/usr/local/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
) (./test4.tuo) (./test4.tuo) (./test4.tuo) (./test4.tuo) (./test4.tuo)
(./test4.tuo) (./test4.tuo) (./test4.tuo) (./test4.tuo) (./test4.tuo)
(./test4.tuo)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

system         : macros of module bib loaded
(/usr/local/share/texmf/tex/context/base/m-bib.tex
problems       : set k!author to author overloads auteur
system         : macros of module list loaded
(/usr/local/share/texmf/tex/context/base/m-list.tex)
publications   : loading formatting style from bibl-apa
(/usr/local/share/texmf/tex/generic/context/bibl-apa.tex))
\openout0 = `test4.aux'.

publications   : wrote a new auxiliary file test4.aux
(./test4.tuo) (./test4.tuo)
publications   : loading database from test4.bbl
(test4.bbl)
systems        : begin file test4 at line 6
[1.1[/usr/local/share/texmf/dvips/config/pdftex.map]]
title          : - \headtext {pubs}
(./test4.tuo)
system         : pubs not found/processed
[2.2]
systems        : end file test4 at line 12
 ) 
Here is how much of TeX's memory you used:
 1437 strings out of 27432
 18149 string characters out of 327815
 369996 words of memory out of 1100001
 27289 multiletter control sequences out of 10000+25000
 9347 words of font info for 29 fonts, out of 400000 for 1000
 22 hyphenation exceptions out of 1000
 50i,15n,66p,179b,475s stack positions out of 1500i,500n,1500p,50000b,5000s
<cmr12.pfb>
Output written on test4.pdf (2 pages, 8566 bytes).

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

* Re: m-bib problem after upgrade
  2001-11-14 18:55 m-bib problem after upgrade Marko Schuetz
@ 2001-11-15  9:54 ` Taco Hoekwater
  2001-11-15 16:09   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2001-11-15  9:54 UTC (permalink / raw)
  Cc: ntg-context

"Marko Schuetz" <MarkoSchuetz@web.de> wrote:
> I have a problem with ConTeXt 2001.11.13 and m-bib 2001.6.25. There
> are no publications in the bibliography. This used to work with an
> earlier version of ConTeXt.  Attached are files demonstrating the
> error.

I ran into this as well when trying to test something for Karsten. Hans,
could you have a look at this? It might be a problem with the 'pubs' list, that is the list of publications (perhaps even a bugfix in a newer context that breaks something).

-- 
groeten,

Taco


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

* Re: m-bib problem after upgrade
  2001-11-15  9:54 ` Taco Hoekwater
@ 2001-11-15 16:09   ` Hans Hagen
       [not found]     ` <20011115180345A.marko@kinetic.ki.informatik.uni-frankfurt. de>
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2001-11-15 16:09 UTC (permalink / raw)
  Cc: Marko Schuetz, ntg-context

At 10:54 AM 11/15/2001 +0100, Taco Hoekwater wrote:
>"Marko Schuetz" <MarkoSchuetz@web.de> wrote:
> > I have a problem with ConTeXt 2001.11.13 and m-bib 2001.6.25. There
> > are no publications in the bibliography. This used to work with an
> > earlier version of ConTeXt.  Attached are files demonstrating the
> > error.
>
>I ran into this as well when trying to test something for Karsten. Hans,
>could you have a look at this? It might be a problem with the 'pubs' list, 
>that is the list of publications (perhaps even a bugfix in a newer context 
>that breaks something).

hm, just send me a zip with:

(1) the version of m-bin that you use
(2) a test file + usable bib file
(3) the tuo file and any aux file needed

[i don't have any bibs here]

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: m-bib problem after upgrade
       [not found]       ` <20011116152500X.marko@kinetic.ki.informatik.uni-frankfurt. de>
@ 2001-11-16 16:00         ` Hans Hagen
  2001-11-16 16:42           ` Marko Schuetz
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2001-11-16 16:00 UTC (permalink / raw)
  Cc: ntg-context

Hi,

Well, not knowing what the m-bib module is supposed to deliver, it took me 
a while to track down the problem, and surprise, the problem lays in an 
optimized system macro

\long\def\doifnotempty#1%
   {\def\!!stringa{#1}%
    \ifx\!!stringa\empty
      \expandafter\gobbleoneargument
    \else
      \expandafter\firstofoneargument
    \fi}

[if you look info syst-gen.tex you'll see that I forgot a %]

now, since only the math module and the bibliography module use this 
command, if went unnoticed when i did my tests -)

I could track it down because when i displayed onte of the lists a funny , 
was showing up (this is probably the reason why the empty test is needed):

     \xdef\allrefs{\ifx\allrefs\empty\else\allrefs,\fi\@@pbk}%

so, taco, maybe this is a better alternative for building the list ^^^

When this module is stable i will go over it (multilingual, hyperthings) 
because there are some things in there that should go to system modules but 
i happily await tacos signal -)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* Re: m-bib problem after upgrade
  2001-11-16 16:00         ` Hans Hagen
@ 2001-11-16 16:42           ` Marko Schuetz
  0 siblings, 0 replies; 5+ messages in thread
From: Marko Schuetz @ 2001-11-16 16:42 UTC (permalink / raw)
  Cc: marko, ntg-context

Hans,

From: Hans Hagen <pragma@wxs.nl>
Subject: Re: m-bib problem after upgrade
Date: Fri, 16 Nov 2001 17:00:29 +0100

> Hi,
> 
> Well, not knowing what the m-bib module is supposed to deliver, it took me 
> a while to track down the problem, and surprise, the problem lays in an 
> optimized system macro
> 
> \long\def\doifnotempty#1%
>    {\def\!!stringa{#1}%
>     \ifx\!!stringa\empty
>       \expandafter\gobbleoneargument
>     \else
>       \expandafter\firstofoneargument
>     \fi}
> 
> [if you look info syst-gen.tex you'll see that I forgot a %]

Thanks a lot for the quick solution to the problem!

Marko


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

end of thread, other threads:[~2001-11-16 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-14 18:55 m-bib problem after upgrade Marko Schuetz
2001-11-15  9:54 ` Taco Hoekwater
2001-11-15 16:09   ` Hans Hagen
     [not found]     ` <20011115180345A.marko@kinetic.ki.informatik.uni-frankfurt. de>
     [not found]       ` <20011116152500X.marko@kinetic.ki.informatik.uni-frankfurt. de>
2001-11-16 16:00         ` Hans Hagen
2001-11-16 16:42           ` Marko Schuetz

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