[OS X TeX] Texshop, bibtex and utf-8

Martin Bergren martin.berggren at cs.umu.se
Mon Nov 16 14:45:20 CET 2015


> On 16 Nov 2015, at 14:25 , Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
>> On Nov 16, 2015, at 7:11 AM, Martin Bergren <martin.berggren at cs.umu.se> wrote:
>> 
>> I just noticed that when creating my bibliography  within Texshop, it gracefully handles utf-8 characters like ü and ö in the .bib file although Bibtex is 7 bits!  How does that magic work? (Bibtex is set as the engine in the preferences.a)  When running bibtex from the command line or from Texstudio I seem to get the ü:s and the like mangled.
>> 
>> 
>> 
>> 
>> Martin Berggren
> 
> Howdy,
> 
> Hmmm... very interesting.
> 
> When you say ``creating my bibliography within TeXShop'' do you mean creating the .bib file or going through the (pdf/xe)latex processes running bibtex in-between or are you using one of the latexmk engines, (pdf/xe)latexmk?

I mean typesetting from within Texshop with a .bib-file created elsewhere, typically with Bibdesk.

> Could you make a minimal example along with a correspondingly minimal .bib file so I can play with it?

Attached.

> 
> If you happen to be using one of the latexmk engines and you are using the biblatex package (which defaults to biber use unless specified to be bibtex) that engine will override the use of bibtex and use biber instead.
> 

I’m using default stuff, I think, with bibtex and not biblatex.

I’ve attached a minimal example. When being more careful, I noticed that the terminal commands 

pdflatex umlauttest
bibtex umlauttest
pdflatex umlauttest

actually also works fine! Why is that? When googling the issue, everybody seem to say that bibtex cannot handle anything else but 7 bits.

When I typeset from within Texshop it also works fine, but Texstudio complains when it tries to run bibtex.

Cheers,


Martin Berggren
-------------------------------------------------------------------
Department of Computing Science, 
UMIT Research Lab
Umeå Universitet
Campustorget 5, S-901 87 Umeå, Sweden. Ph: +46-70-732 8111
http://www.cs.umu.se/~martinb, Martin.Berggren at cs.umu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umlauttest.bib
Type: application/octet-stream
Size: 483 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20151116/0f33d142/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umlauttest.tex
Type: application/octet-stream
Size: 280 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20151116/0f33d142/attachment-0001.obj>


More information about the macostex-archives mailing list