BibTeX, biblatex and biberSorting bibliography with umlauts according to a non-English alphabet

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

Sorting bibliography with umlauts according to a non-English alphabet

Post by Cosm »

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:

Code: Select all

%% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
%% 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}

Code: Select all

%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;}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply