Re: [NTG-context] BibTeX/Publications

2009-11-16 Thread Andreas Harder
Thomas and Taco, thank you for your explanations.

Am 16.11.2009 um 08:34 schrieb Taco Hoekwater:

 
 Thomas A. Schmitz wrote:
 
 On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:
 
 Hi all!
 
 I've two or more problems with bibliographies:
 
 1) look at the attached attachment, the first brace.
 
 I guess you mean the parenthesis.

Yes, thank you ;)

 That appears to be a bug with the
 refcommands author and authoryears. If you use refcommand=authoryear,
 the output looks right. Hans, Taco?
 
 The dangling ( is a mkiv artifict only for me (mkii is fine), and
 it goes away when the .bib file is patched as below, so I believe this
 problem can be safely ignored as a side-effect of another error.
 
 2) @book{b,
  title={B Titel B},
  author={Brüser}, % error - ü!!!
  year={2000},
  publisher={VS Verlag}
 }
 
 
 Something is fishy with your file. 
 
 No, it is bibtex, which is not utf-8 aware so it breaks the encoding
 for the ü in the middle.

What about bibtex8, isn't it utf-8 aware?

 You need
 
  author={Br{ü}ser},
 
 To prevent bibtex from creating an invalid short key.

Thanks that helped! I tried it already with {\char00FC}, that worded too.

 
 3) I want just get a typeset version of the used database (without
 \cite[a,b,c,d]), how to achieve this?
 
 I was going to write add criterium=all to the \setuppublications
 command, but it worketh not.
 
 This is only in mkiv, but yes:  \setuppublications[criterium=all] does
 not seem to work in mkiv. Input that should have worked is attached.
 Hans?
 
 Best wishes,
 Taco
 
 
 
 \usemodule[bib]
 \setuppublications[state=start,alternative=apa-de,sorttype=bbl,criterium=all] 
 % ,sorttype=bbl
 \setupbibtex[database=test-bib,sort=author]
 
 \starttext
 
 \title{Literatur}
 \placepublications[criterium=all]
 \stoptext

Greetings
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] BibTeX/Publications

2009-11-16 Thread Thomas A. Schmitz


On Nov 16, 2009, at 10:56 AM, Andreas Harder wrote:



No, it is bibtex, which is not utf-8 aware so it breaks the encoding
for the ü in the middle.


What about bibtex8, isn't it utf-8 aware?


No, it's 8-bit aware, thusly it can handle some latin encodings, but  
not utf8. I think this means it will not play with mkiv (since it  
needs an encoding such as iso-latin-8859-1 whereas mkiv uses utf8).


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] BibTeX/Publications

2009-11-15 Thread Andreas Harder
Hi all!I've two or more problems withbibliographies:1) look at the attached attachment, the first brace.2)@book{b,title={B Titel B},author={Brüser}, % error - ü!!!year={2000},publisher={VS Verlag}}3) I want "just get a typeset version of the used database" (without \cite[a,b,c,d]), how to achieve this?

test-bib.bib
Description: Binary data


test-bibtex.tex
Description: Binary data


test-bibtex.pdf
Description: Adobe PDF document
Many thanks and greetings	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] BibTeX/Publications

2009-11-15 Thread Thomas A. Schmitz


On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:


Hi all!

I've two or more problems with bibliographies:

1) look at the attached attachment, the first brace.


I guess you mean the parenthesis. That appears to be a bug with the  
refcommands author and authoryears. If you use refcommand=authoryear,  
the output looks right. Hans, Taco?




2) @book{b,
  title={B Titel B},
  author={Brüser}, % error - ü!!!
  year={2000},
  publisher={VS Verlag}
}



Something is fishy with your file. I suspect your editor doesn't  
really support utf8. If you look into the bbl-file which is produced,  
you'll see the effect. When I try here with a file in a proper utf  
encoding, I don't get the error.


3) I want just get a typeset version of the used database (without  
\cite[a,b,c,d]), how to achieve this?


I was going to write add criterium=all to the \setuppublications  
command, but it worketh not.


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
___


Re: [NTG-context] BibTeX/Publications

2009-11-15 Thread Bernhard Rosensteiner
Hello,

i had the same problem with the refcommand=authoryears for a while. Since 
nobody had an answer in the mailing list i tried to investigate the problem for 
myself.
Apparently when the conversion from the bibtex file to the .bbl file takes 
place the .bbl file gets the same name as the document and this, i don´t know 
why, is the reason for the line break after the first parenthesis. Solution: 
rename the .bbl file in whatever you want and do \input filename.bbl in your 
document (delete or remove the original bibtex file from the document folder!). 
For me this solution worked, but since i´m no programmer i´ve no idea to solve 
this problem professionally.

best regards
Bernhard

Am 15.11.2009 um 18:05 schrieb Thomas A. Schmitz:

 
 On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:
 
 Hi all!
 
 I've two or more problems with bibliographies:
 
 1) look at the attached attachment, the first brace.
 
 I guess you mean the parenthesis. That appears to be a bug with the 
 refcommands author and authoryears. If you use refcommand=authoryear, the 
 output looks right. Hans, Taco?
 
 
 2) @book{b,
  title={B Titel B},
  author={Brüser}, % error - ü!!!
  year={2000},
  publisher={VS Verlag}
 }
 
 
 Something is fishy with your file. I suspect your editor doesn't really 
 support utf8. If you look into the bbl-file which is produced, you'll see the 
 effect. When I try here with a file in a proper utf encoding, I don't get the 
 error.
 
 3) I want just get a typeset version of the used database (without 
 \cite[a,b,c,d]), how to achieve this?
 
 I was going to write add criterium=all to the \setuppublications command, 
 but it worketh not.
 
 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
 ___

___
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] BibTeX/Publications

2009-11-15 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 
 On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:
 
 Hi all!

 I've two or more problems with bibliographies:

 1) look at the attached attachment, the first brace.
 
 I guess you mean the parenthesis. That appears to be a bug with the
 refcommands author and authoryears. If you use refcommand=authoryear,
 the output looks right. Hans, Taco?

The dangling ( is a mkiv artifict only for me (mkii is fine), and
it goes away when the .bib file is patched as below, so I believe this
problem can be safely ignored as a side-effect of another error.

 2) @book{b,
   title={B Titel B},
   author={Brüser}, % error - ü!!!
   year={2000},
   publisher={VS Verlag}
 }

 
 Something is fishy with your file. 

No, it is bibtex, which is not utf-8 aware so it breaks the encoding
for the ü in the middle. You need

  author={Br{ü}ser},

To prevent bibtex from creating an invalid short key.

 3) I want just get a typeset version of the used database (without
 \cite[a,b,c,d]), how to achieve this?

 I was going to write add criterium=all to the \setuppublications
 command, but it worketh not.

This is only in mkiv, but yes:  \setuppublications[criterium=all] does
not seem to work in mkiv. Input that should have worked is attached.
Hans?

Best wishes,
Taco



\usemodule[bib]
\setuppublications[state=start,alternative=apa-de,sorttype=bbl,criterium=all] % ,sorttype=bbl
\setupbibtex[database=test-bib,sort=author]

\starttext

\title{Literatur}
\placepublications[criterium=all]
\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 
___
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
___