LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Sorting bibliography with umlauts according to a non-English alphabet

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Cosm
Posts: 10
Joined: Thu Nov 07, 2013 12:53 pm

Sorting bibliography with umlauts according to a non-English alphabet

I'm trying to have bibliography entries ordered according to the Swedish/Finnish alphabet which is like the English one but ends in Å,Ä,Ö. I found the following very short explanation on how to make it work: http://newsgroups.derkeiler.com/Archive ... 00657.html

I know some people have made it work, my problem is that because I always use Lyx I'm not quite sure how to implement that solution. Let's forget about Lyx for the moment, how would you use that advice. I have to use bibtex because of a custom bibliography style, but forget about the custom style for this question.

The file 88591sca.csf mentioned in that link seems to be part of the package bibtex8bit which Miktex has already installed, I can locate that .csf file on my hard drive so I know I already have it and the ordering there specified is correct as far as I can tell. So I have my "sortingtest.bib" and "testingsorting.tex" files ready in the same folder, on the command line I navigate to that folder and then I type:

pdflatex testingsorting.tex
bibtex8 testingsorting.aux --csfile 88591sca.csf
pdflatex testingsorting.tex

These do produce a .pdf but the bibliography entries are not sorted correctly like the .csf file is supposed to specify. After the second command it reports:
The 8-bit codepage and sorting file: 88591sca.csf The top-level auxiliary file: testingsorting.aux The style file: apalike.bst Database file #1: sortingtest.bib

So it looks as if it should work (?). Basically is there something I'm doing obviously wrong in the above description. I can give you examples of the .tex and .bib files I use for testing:

%% LyX 2.2.3 created this file.  For more info, see <!-- m --><a class="postlink" href="http://www.lyx.org/">http://www.lyx.org/</a><!-- m -->.%% Do not edit unless you really know what you are doing.\documentclass[finnish]{article}\usepackage{mathptmx}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[authoryear]{natbib} \makeatletter%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.%\usepackage{bibtex8bit} \makeatother \usepackage{babel}\begin{document}\bibliographystyle{apalike}\nocite{*}\bibliography{sortingtest} \end{document}

%Encoding: UTF-8 @Book{Aeauthor2001,  title     = {Test book one},  publisher = {Springer},  year      = {2001},  author    = {P. Äauthor},} @Book{Aacauthor2002,  title     = {Test book two},  publisher = {Springer},  year      = {2002},  author    = {K. Åcauthor},} @Book{Oebauthor2003,  title     = {Test book three},  publisher = {Springer},  year      = {2003},  author    = {J. Öbauthor},} @Comment{jabref-meta: databaseType:bibtex;}

Tags:

Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 3 guests