From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68913 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: Re: undefined control sequence bug with German umlaut in bibliography Date: Sat, 4 Jun 2011 12:32:31 +0200 Message-ID: References: <20110604003158.GK20248@rae.vm.bytemark.co.uk> <20110604100730.GL20248@rae.vm.bytemark.co.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714826626==" X-Trace: dough.gmane.org 1307183578 2506 80.91.229.12 (4 Jun 2011 10:32:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 10:32:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 04 12:32:53 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSoA1-0008Nd-5E for gctc-ntg-context-518@m.gmane.org; Sat, 04 Jun 2011 12:32:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9B01CAD8D; Sat, 4 Jun 2011 12:32:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5i53OFNJVTKa; Sat, 4 Jun 2011 12:32:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C9DDCAD80; Sat, 4 Jun 2011 12:32:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46125CAD80 for ; Sat, 4 Jun 2011 12:32:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7mft2sBNlYvY for ; Sat, 4 Jun 2011 12:32:32 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 95C85CAD3F for ; Sat, 4 Jun 2011 12:32:32 +0200 (CEST) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p54AWVV7009753 for ; Sat, 4 Jun 2011 12:32:32 +0200 Original-Received: by eyd9 with SMTP id 9so1293596eyd.14 for ; Sat, 04 Jun 2011 03:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/iaQC5JIl4NLF8GHTXeiHGXGkXFAxHA4axWbJ7OBOOw=; b=iGiWmGPRISnbJmZPLlkr49k1gRCO4CI2l2L7nA9lNo/sGQaYOSstkIWkbT8J1QQk81 DUt7iTiD5pcmJlN6OeR3Lspcqs0KK6fean6eFuOzL428ulaj5BkLnuFmQTMgcFCiKxAM i3sTNckGEvel46BtLxcFz2oCgpyb833zLuHEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rLtUTjnVvDRVCi8b28GUDSrigmSzLKDiJW3cc/mUz6+Yl7LCKMIAON8vXhpvPpPnQy JW2GCWmfKkA4CiL1XaEORvdjbhnOyJbI0piohO2VE25lzdg43y4Zhq/Jy1qZq3zBnLTn HXYBg+peNooJn1QXxLZ1IAZGeNSHqylnfIQE0= Original-Received: by 10.14.187.138 with SMTP id y10mr1162146eem.145.1307183551383; Sat, 04 Jun 2011 03:32:31 -0700 (PDT) Original-Received: by 10.14.29.77 with HTTP; Sat, 4 Jun 2011 03:32:31 -0700 (PDT) In-Reply-To: <20110604100730.GL20248@rae.vm.bytemark.co.uk> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEPKwvsw - a604f1165586 - 20110604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68913 Archived-At: --===============0714826626== Content-Type: multipart/alternative; boundary=bcaec52be5753c8b9404a4e063a1 --bcaec52be5753c8b9404a4e063a1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I think I'll go for the piping option then, which seems to be the easiest way out. Thanks for the insights, I didn't actually know much about the interplay of context and bibtex until this little problem occured to me... Julian 2011/6/4 Pontus Lurcock > On Sat 04 Jun 2011, Julian Becker wrote: > > > I'm not familiar with the intricacies and details of UTF8 encoding, > > but is it possible that there is a byte missing from the "=E4" which > > has been cut off during the abbreviation process? > > Well, there *is* more than one way to represent =E4 in UTF-8, but it's > my understanding that anything beyond ASCII is simply not supported by > BibTeX. You can get away with it in fields that just get pasted > verbatim into the output (usually), but the first three letters of the > first author's name are used to construct the key (which is why > =91Schr=E4ger=92 worked) so there's no way around using the officially > sanctioned {\"a} form. > > > > unfortunately, I'm using Mendeley Desktop for the management of my > > > bibtex file and I can't seem to be able to influence the way in > > > which it encodes the special characters. > > This is one reason why I still use plain emacs as a bibliography > manager -- sooner or later you need a hack, and that's harder when the > raw BibTeX is hidden or generated. In this case you may need to > put the hack between Mendeley and BibTeX: pipe the file through > =91sed -e 's/=E4/{\\"a}/g'=92 or something similar. And/or ask in the Men= deley > support forums, since this is a fairly well-known BibTeX =91feature=92 > so perhaps someone else has had to deal with it there. > > Hope this helps, > > Pont > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --=20 Julian Becker Institut f=FCr Angewandte Physik, R.123 Westf=E4lische Wilhelms-Universit=E4t M=FCnster Corrensstr. 2/4 48149 M=FCnster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_beck16@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." --bcaec52be5753c8b9404a4e063a1 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I think I'll go for the piping option then, which seems to be the = easiest way out.

Thanks for the insights, I di= dn't actually know much about the interplay of context and bibtex until= this little problem occured to me...

Julian


2011/6/4 Pontus Lurcock <pont@talvi.net>
On Sat 04 Jun 2011, Julian Becker wrote:

> I'm not familiar with the intricacies and details of UTF8 encoding= ,
> but is it possible that there is a byte missing from the "=E4&quo= t; which
> has been cut off during the abbreviation process?

Well, there *is* more than one way to represent =E4 in UTF-8, but it&= #39;s
my understanding that anything beyond ASCII is simply not supported by
BibTeX. You can get away with it in fields that just get pasted
verbatim into the output (usually), but the first three letters of the
first author's name are used to construct the key (which is why
=91Schr=E4ger=92 worked) so there's no way around using the officially<= br> sanctioned {\"a} form.

> > unfortunately, I'm using Mendeley Desktop for the management = of my
> > bibtex file and I can't seem to be able to influence the way = in
> > which it encodes the special characters.

This is one reason why I still use plain emacs as a bibliography
manager -- sooner or later you need a hack, and that's harder when the<= br> raw BibTeX is hidden or generated. In this case you may need to
put the hack between Mendeley and BibTeX: pipe the file through
=91sed -e 's/=E4/{\\"a}/g'=92 or something similar. And/or ask= in the Mendeley
support forums, since this is a fairly well-known BibTeX =91feature=92
so perhaps someone else has had to deal with it there.

Hope this helps,

Pont
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



--
Jul= ian Becker
Institut f=FCr Angewandte Physik, R.123
Westf=E4lische Wil= helms-Universit=E4t M=FCnster
Corrensstr. 2/4
48149 M=FCnster / Westfalen
Tel. 0251 83-3 61 53
M= ob. 0151 599 848 29
e-mail: = j_beck16@uni-muenster.de

"Keep thy heart with all diligence= ; for it is the wellspring of life."
--bcaec52be5753c8b9404a4e063a1-- --===============0714826626== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0714826626==--