## 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:

1. %% 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 -->.
2. %% Do not edit unless you really know what you are doing.
3. \documentclass[finnish]{article}
4. \usepackage{mathptmx}
5. \usepackage[T1]{fontenc}
6. \usepackage[utf8]{inputenc}
7. \usepackage[authoryear]{natbib}
8.
9. \makeatletter
10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
11. %\usepackage{bibtex8bit}
12.
13. \makeatother
14.
15. \usepackage{babel}
16. \begin{document}
17. \bibliographystyle{apalike}
18. \nocite{*}
19. \bibliography{sortingtest}
20.
21. \end{document}

1. %Encoding: UTF-8
2.
3. @Book{Aeauthor2001,
4. title = {Test book one},
5. publisher = {Springer},
6. year = {2001},
7. author = {P. Äauthor},
8. }
9.
10. @Book{Aacauthor2002,
11. title = {Test book two},
12. publisher = {Springer},
13. year = {2002},
14. author = {K. Åcauthor},
15. }
16.
17. @Book{Oebauthor2003,
18. title = {Test book three},
19. publisher = {Springer},
20. year = {2003},
21. author = {J. Öbauthor},
22. }
23.
24. @Comment{jabref-meta: databaseType:bibtex;}

Tags: