ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Invalid UTF-8 sequence in bbl file
@ 2008-10-23 19:57 Oleg Kolosov
  2008-10-23 22:14 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Kolosov @ 2008-10-23 19:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Hi all, Taco!

I was experimenting with bib module and discovered something which looks like
a bug.

'texexec' ('texexec bibtest') runs fine but typesets references ('s' key)
incorrectly.

As MkIV does not run bibtex on input files automatically, I run 'bibtex'
manually once ('bibtex bibtest'), then 'context' ('context bibtest') gives
'Invalid UTF-8 sequence' error.

The resulting .bbl is the same in both cases.

It seems that 'author' field and 's' key in bbl file are generated
incorrectly, while others like 'title', 'city', etc. are fine.

See the attached files.

I'm using just updated minimals. t-bib version 2008.04.17.

-- 
Regards,
Oleg Kolosov

[-- Attachment #2: bibtest.bbl --]
[-- Type: text/plain, Size: 351 bytes --]

\setuppublicationlist[samplesize={АÐ02},totalnumber=1]

\startpublication[k=parintro,t=book,
a={{Антонов}},y=2002,
n=1,s=АÐ02]
\author[]{А.~С.}[Ð.~Ð.]{}{Антонов}
\pubyear{2002}
\title{Введение в параллельные вычисления}
\city{Москва}
\pubname{МГУ им. Ломоносова}
\stoppublication


[-- Attachment #3: bibtest.tex --]
[-- Type: text/x-tex, Size: 176 bytes --]

\enableregime[utf]
\useregime[utf]

\usemodule[bib]
\setupbibtex[database=bibtest.bib]

\starttext
\section Bibmodule test

Cite\cite[parintro].

\placepublications

\stoptext

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: bibtest.bib --]
[-- Type: text/x-bibtex; name="bibtest.bib", Size: 306 bytes --]

@book{parintro,
  author = "А. С. Антонов",
  title = "Введение в параллельные вычисления",
  type = "Методическое пособие",
  pages = "69",
  address = "Москва",
  publisher = "МГУ им. Ломоносова",
  year = "2002"
}

[-- Attachment #5: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2008-10-23 22:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 19:57 Invalid UTF-8 sequence in bbl file Oleg Kolosov
2008-10-23 22:14 ` Taco Hoekwater
2008-10-23 22:43   ` Oleg Kolosov

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