[NTG-context] t-bib cannot do with Chinese.
Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains publications : loading database from bibtry.bbl (bibtry.bbl ! Text line contains an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? I'm using MkIV(current trunk) and t-bib(march 2, 2009). BTW. Is only absolute path can be used in \setupbibtex? Thanks. Best wishes, Wei-Wei Guo bibtry.tex === \usemodule[bib] \setupbibtex[database=~/mytry.bib] \starttext English Bibliogrphy \cite[article-full]. \cite[c-article-full] ?? \completepublications \stoptext == = mytry.bib == @ARTICLE{article-full, author = {L[eslie] A. Aamport and L[eslie] A. Aamport and L[eslie] A. Aamport and L[eslie] A. Aamport}, title = {The Gnats and Gnus Document Preparation System}, journal = {\mbox{G-Animal's} Journal}, year = 1986, volume = 41, number = 7, pages = 73--83, month = jul, note = This is a full ARTICLE entry, } @ARTICLE{c-article-full, author = {?? and ?? and ?? and ??}, title = {}, journal = {??}, year = 1986, volume = 41, number = 7, pages = 73--82, month = jul, note = This is a full ARTICLE entry, language = chinese } ___ 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] t-bib cannot do with Chinese.
Wei-Wei Guo wrote: Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains publications : loading database from bibtry.bbl (bibtry.bbl ! Text line contains an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? I'm using MkIV(current trunk) and t-bib(march 2, 2009). BTW. Is only absolute path can be used in \setupbibtex? Thanks. Best wishes, Wei-Wei Guo bibtry.tex === \usemodule[bib] \setupbibtex[database=~/mytry.bib] \starttext English Bibliogrphy \cite[article-full]. \cite[c-article-full] ?? \completepublications \stoptext == = mytry.bib == @ARTICLE{article-full, author = {L[eslie] A. Aamport and L[eslie] A. Aamport and L[eslie] A. Aamport and L[eslie] A. Aamport}, title = {The Gnats and Gnus Document Preparation System}, journal = {\mbox{G-Animal's} Journal}, year = 1986, volume = 41, number = 7, pages = 73--83, month = jul, note = This is a full ARTICLE entry, } @ARTICLE{c-article-full, author = {?? and ?? and ?? and ??}, title = {}, journal = {??}, year = 1986, volume = 41, number = 7, pages = 73--82, month = jul, note = This is a full ARTICLE entry, language = chinese } you might want to look into mlbibtex then (it supports context) 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] t-bib cannot do with Chinese.
Wei-Wei Guo wrote: Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains publications : loading database from bibtry.bbl (bibtry.bbl ! Text line contains an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? The bib module should be able to handle anything as long as it is encoded in utf-8 (especially in mkiv). I have no idea what bibtex does/doesn't accept as input, but I am sure it will not reencode the database for you, so perhaps it is just a simple encoding issue. BTW. Is only absolute path can be used in \setupbibtex? No, but bibtex needs BIBINPUTS and BSTINPUTS variables that have to be set up correctly (and probably are not, if you are using garden minimals) 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] t-bib cannot do with Chinese.
Thanks for answering my questions. Taco Hoekwater : Wei-Wei Guo wrote: Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains publications : loading database from bibtry.bbl (bibtry.bbl ! Text line contains an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? The bib module should be able to handle anything as long as it is encoded in utf-8 (especially in mkiv). I have no idea what bibtex does/doesn't accept as input, but I am sure it will not reencode the database for you, so perhaps it is just a simple encoding issue. I'm sure that the files are encoded in UTF-8. Do you get any error with the example files posted in my previous email? Best wishes, Taco Best wishes, Wei-Wei ___ 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] t-bib cannot do with Chinese.
Thanks for replying. I'm just a ordinary user. Studying another package might be too cost for me. :) Best wishes, Wei-Wei Hans Hagen : Wei-Wei Guo wrote: you might want to look into mlbibtex then (it supports context) Hans ___ 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] t-bib cannot do with Chinese.
Wei-Wei Guo wrote: Thanks for answering my questions. Taco Hoekwater : Wei-Wei Guo wrote: Dear all, My .tex and .bib files are at the end of the email. The commands I run are context bibtry context bibtry The first `context bibtry` is ok but no .bbl file generated. The second one complains publications : loading database from bibtry.bbl (bibtry.bbl ! Text line contains an invalid utf-8 sequence. l.22 n=2,s= ?0?2?0?2?0?2?0?286] Can t-bib do with Chinese bib entry? or is it just a problem of bibtex? The bib module should be able to handle anything as long as it is encoded in utf-8 (especially in mkiv). I have no idea what bibtex does/doesn't accept as input, but I am sure it will not reencode the database for you, so perhaps it is just a simple encoding issue. I'm sure that the files are encoded in UTF-8. Do you get any error with the example files posted in my previous email? I tried now: bibtex outputs rubbish for the 's' key (probably because it takes the first byte of an utf-8 sequence only). You'll have to edit or remove those keys by hand in the generated bbl. 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 ___