ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bibmod
@ 2006-01-12 16:49 Hans van der Meer
  2006-01-12 18:10 ` bibmod Taco Hoekwater
  2006-01-12 19:13 ` Your format does not match the base files! Jilani Khaldi
  0 siblings, 2 replies; 9+ messages in thread
From: Hans van der Meer @ 2006-01-12 16:49 UTC (permalink / raw)


I want to use a bibtex database but get from \cite[key] only some  
reference like "(Xxxxxxxxxxx, 0000)".
I gues I am doing something wrong.
My setup comes from the instructions in the document bibmod-doc and  
there are both a syllabus.bib and a syllabus.bbl file present (and  
syllabus.aux is made by tex'ing):

\usemodule[bib]
\setupbibtex[database=syllabus]
\setuppublications[numbering=yes]

What details am I missing?

yours sincerely,
dr. H. van der Meer

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

* Re: bibmod
  2006-01-12 16:49 bibmod Hans van der Meer
@ 2006-01-12 18:10 ` Taco Hoekwater
  2006-01-12 21:42   ` bibmod Hans van der Meer
  2006-01-13 11:52   ` bibmod Hans van der Meer
  2006-01-12 19:13 ` Your format does not match the base files! Jilani Khaldi
  1 sibling, 2 replies; 9+ messages in thread
From: Taco Hoekwater @ 2006-01-12 18:10 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Hans van der Meer wrote:
> 
> \usemodule[bib]
> \setupbibtex[database=syllabus]
> \setuppublications[numbering=yes]

Should have worked, AFAICT. Please try the attached
minimal file. You should run:

    texexec mini
    bibtex mini
    texexec mini

Cheers, taco


	

[-- Attachment #2: mini.tex --]
[-- Type: application/x-tex, Size: 144 bytes --]

[-- Attachment #3: mini.bib --]
[-- Type: text/x-bibtex, Size: 122 bytes --]

@ARTICLE{key,
  author  = {Mien de Muis},
  title   = {Kaas, een overzicht},
  journal = {Muizenissen},
  year    = 2005
}

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Your format does not match the base files!
  2006-01-12 16:49 bibmod Hans van der Meer
  2006-01-12 18:10 ` bibmod Taco Hoekwater
@ 2006-01-12 19:13 ` Jilani Khaldi
  2006-01-12 20:03   ` Hans Hagen
  2006-01-12 20:07   ` Taco Hoekwater
  1 sibling, 2 replies; 9+ messages in thread
From: Jilani Khaldi @ 2006-01-12 19:13 UTC (permalink / raw)


I just have updated my ConTeXt system (*) to the new one, and now I get 
this error:
...
ConTeXt  ver: 2005.12.19  fmt: 2006.1.9  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(C:\texmf\tex\context\base\cont-new.tex

FatalError      : Your format does not match the base files!

FormatVersion   : 2005.12.19
FilesVersion    : 2006.01.12 10:38
...
Why did this happen?
However, I deleted the file "cont-new.tex" and copied the one from la 
last distribution (06.0.1.2006) and now it works.

jk

(*)MiKTeX (Windows 2000)

-- 
Jilani KHALDI
http://jkhaldi.oltrelinux.com

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

* Re: Your format does not match the base files!
  2006-01-12 19:13 ` Your format does not match the base files! Jilani Khaldi
@ 2006-01-12 20:03   ` Hans Hagen
  2006-01-12 20:07   ` Taco Hoekwater
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2006-01-12 20:03 UTC (permalink / raw)


Jilani Khaldi wrote:

> I just have updated my ConTeXt system (*) to the new one, and now I 
> get this error:
> ...
> ConTeXt  ver: 2005.12.19  fmt: 2006.1.9  int: english  mes: english
>
> language        : language en is active
> <protectionstate 0>
> system          : cont-new loaded
> (C:\texmf\tex\context\base\cont-new.tex
>
> FatalError      : Your format does not match the base files!
>
> FormatVersion   : 2005.12.19
> FilesVersion    : 2006.01.12 10:38
> ...
> Why did this happen?
> However, I deleted the file "cont-new.tex" and copied the one from la 
> last distribution (06.0.1.2006) and now it works.

well, now you really have a messed up system -)

you get this message and abortion when your format is not matching your 
base files, so instead of deleting the new cont-new.tex, you have to 
make a format

i added this feature in order to prevent such problems -)

    FatalError      : Your format does not match the base files!

is the problem

Hans

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

* Re: Your format does not match the base files!
  2006-01-12 19:13 ` Your format does not match the base files! Jilani Khaldi
  2006-01-12 20:03   ` Hans Hagen
@ 2006-01-12 20:07   ` Taco Hoekwater
  1 sibling, 0 replies; 9+ messages in thread
From: Taco Hoekwater @ 2006-01-12 20:07 UTC (permalink / raw)


Jilani Khaldi wrote:
> I just have updated my ConTeXt system (*) to the new one, and now I get 
> this error:
> ...
> ConTeXt  ver: 2005.12.19  fmt: 2006.1.9  int: english  mes: english
> 
> language        : language en is active
> <protectionstate 0>
> system          : cont-new loaded
> (C:\texmf\tex\context\base\cont-new.tex
> 
> FatalError      : Your format does not match the base files!
> 
> FormatVersion   : 2005.12.19
> FilesVersion    : 2006.01.12 10:38
> ...
> Why did this happen?

I love it when things work out.  The following is straight from my
announcement:

   New features since 2006.01.09:

   * ConTeXt now does a runtime vs. format version check.
     If they do not match, the run is aborted.

You were still running the old format from 19 december, which is why
the new cont-new.tex refused to process your file.

> However, I deleted the file "cont-new.tex" and copied the one from la 
> last distribution (06.0.1.2006) and now it works.

No, the update still doesn't work. You only made the error go away.
You have to unpack the new zip again (to recover the cont-new) and
run texexec --make to start using the new version.

Cheers, Taco

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

* Re: bibmod
  2006-01-12 18:10 ` bibmod Taco Hoekwater
@ 2006-01-12 21:42   ` Hans van der Meer
  2006-01-13 11:52   ` bibmod Hans van der Meer
  1 sibling, 0 replies; 9+ messages in thread
From: Hans van der Meer @ 2006-01-12 21:42 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 816 bytes --]

That example worked. So the system should be ok. I will have to dig a  
litle deeper in my bibtex database, I am afrraid.
Thanks for the example.

yours sincerely,
dr. H. van der Meer



On Jan 12, 2006, at 19:10, Taco Hoekwater wrote:

> Hans van der Meer wrote:
>> \usemodule[bib]
>> \setupbibtex[database=syllabus]
>> \setuppublications[numbering=yes]
>
> Should have worked, AFAICT. Please try the attached
> minimal file. You should run:
>
>    texexec mini
>    bibtex mini
>    texexec mini
>
> Cheers, taco
>
>
> 	
> <mini.tex>
> @ARTICLE{key,
>   author  = {Mien de Muis},
>   title   = {Kaas, een overzicht},
>   journal = {Muizenissen},
>   year    = 2005
> }_______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


[-- Attachment #1.2: Type: text/html, Size: 4945 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: bibmod
  2006-01-12 18:10 ` bibmod Taco Hoekwater
  2006-01-12 21:42   ` bibmod Hans van der Meer
@ 2006-01-13 11:52   ` Hans van der Meer
  2006-01-13 12:07     ` bibmod Taco Hoekwater
  1 sibling, 1 reply; 9+ messages in thread
From: Hans van der Meer @ 2006-01-13 11:52 UTC (permalink / raw)


Although the setup below works, there is still another problem when  
the project setup is more involved.
The problem can now be described as follows:

\project setup with \products in subdirectories, no problem in  
finding environments higher up when texexec-ing.

Setup of bibtext database is done with \setupbibtex[literature] .
Directory structure is:
	project/                (containing \project-file, literature.bib  
and literature.bbl)
	project/xyz          (containing xyz \product-file)

Running job xyz.tex within project/xyz, produces xyz.aux, which is  
useless for bibtex; therefore I tried to use the bbl file directly  
and thought to find this in coding:
	\usepublications[literature] instead of \setupbibtex[literature]
putting this in an \environment at the \project level.

However, texexec-ing xyz in its subdirectory again does not find  
literature.bbl, the log file says:
	publications    : file literature.bbl not found, don't forget to run  
bibtex

But, it does find the bibtex database literature.bbl when I put the  
\product files in the same directory as the \product; correctly saying:
	publications    : loading database from literature.bbl

It looks as if the bib-module does not look higher up in the  
directory hierarchy as is done for other elements in an \environment.
I would expect that from the project structure, being the main  
benefit of this structuring.

Is this really a problem in the bib-module or am I overseeing something.

yours sincerely,
dr. H. van der Meer



On Jan 12, 2006, at 19:10, Taco Hoekwater wrote:

> Hans van der Meer wrote:
>> \usemodule[bib]
>> \setupbibtex[database=syllabus]
>> \setuppublications[numbering=yes]
>
> Should have worked, AFAICT. Please try the attached
> minimal file. You should run:
>
>    texexec mini
>    bibtex mini
>    texexec mini

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

* Re: bibmod
  2006-01-13 11:52   ` bibmod Hans van der Meer
@ 2006-01-13 12:07     ` Taco Hoekwater
  2006-01-13 14:21       ` bibmod Hans van der Meer
  0 siblings, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2006-01-13 12:07 UTC (permalink / raw)


Hi,

Hans van der Meer wrote:
> It looks as if the bib-module does not look higher up in the  directory 
> hierarchy as is done for other elements in an \environment.
> I would expect that from the project structure, being the main  benefit 
> of this structuring.
> 
> Is this really a problem in the bib-module or am I overseeing something.

It really is a problem in the module. This improved definition of
\dousepublications should fix it:

   \def\dousepublications#1%
     {\readfile{#1.bbl} % not \readsysfile
       {\showmessage{bib}{4}{#1.bbl}}
       {\showmessage{bib}{2}{#1.bbl}}}

You should put it somewhere after \usemodule, but before
\usepublications. Thanks for the bug report!

Cheers, Taco

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

* Re: bibmod
  2006-01-13 12:07     ` bibmod Taco Hoekwater
@ 2006-01-13 14:21       ` Hans van der Meer
  0 siblings, 0 replies; 9+ messages in thread
From: Hans van der Meer @ 2006-01-13 14:21 UTC (permalink / raw)


So it really is a bug.
Makes my day! It is not that often one stumbles onto a bug.
After all these years ConTeXt seems pretty robust to me.
And thanks for quickly providing the fix.

yours sincerely,
dr. H. van der Meer



On Jan 13, 2006, at 13:07, Taco Hoekwater wrote:

> Hi,
>
> Hans van der Meer wrote:
>> It looks as if the bib-module does not look higher up in the   
>> directory hierarchy as is done for other elements in an \environment.
>> I would expect that from the project structure, being the main   
>> benefit of this structuring.
>> Is this really a problem in the bib-module or am I overseeing  
>> something.
>
> It really is a problem in the module. This improved definition of
> \dousepublications should fix it:
>
>   \def\dousepublications#1%
>     {\readfile{#1.bbl} % not \readsysfile
>       {\showmessage{bib}{4}{#1.bbl}}
>       {\showmessage{bib}{2}{#1.bbl}}}
>
> You should put it somewhere after \usemodule, but before
> \usepublications. Thanks for the bug report!
>
> Cheers, Taco
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-01-13 14:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 16:49 bibmod Hans van der Meer
2006-01-12 18:10 ` bibmod Taco Hoekwater
2006-01-12 21:42   ` bibmod Hans van der Meer
2006-01-13 11:52   ` bibmod Hans van der Meer
2006-01-13 12:07     ` bibmod Taco Hoekwater
2006-01-13 14:21       ` bibmod Hans van der Meer
2006-01-12 19:13 ` Your format does not match the base files! Jilani Khaldi
2006-01-12 20:03   ` Hans Hagen
2006-01-12 20:07   ` Taco Hoekwater

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