From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Biblatex issue with pdflatex and biber and special chars Date: Thu, 18 Apr 2019 04:45:03 +0200 Message-ID: <861s20821c.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="126983"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: emacs-devel@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 18 04:45:31 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGx3K-000Wrk-Iy for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2019 04:45:30 +0200 Original-Received: from localhost ([127.0.0.1]:34549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGx3J-00077P-Ej for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 22:45:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGx38-000777-2l for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 22:45:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGx36-0007lA-CU for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 22:45:18 -0400 Original-Received: from [195.159.176.226] (port=59220 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGx34-0007ie-DJ for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 22:45:16 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hGx30-000WSj-En for help-gnu-emacs@gnu.org; Thu, 18 Apr 2019 04:45:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Followup-To: gmane.emacs.help Mail-Copies-To: never Cancel-Lock: sha1:bedytuQLE+zhKA694eJgLnsGwNw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119972 gmane.emacs.devel:235610 Archived-At: Biblatex won't compile with pdflatex and biber [versions in Elisp code, last] if a book entry key contains wierd chars. This wasn't an issue until I upgraded my system, but now it is. I think the effect of this workaround should be added to `bibtex-autokey-titleword-change-strings' by default, as wierd chars in keys in computer systems (keys that are never shown anyway) are only confusing and, as we have seen now, from time to time cause problems. It once worked, so it isn't a bug in Emacs, it is either a bug or a policy change in the pdflatex a/o biber camps, but still, I don't think it makes any real sense having such chars in keys. Note that this only affects the *key* themselves, not the Biblatex entries (examples below) nor the PDF output [1] once compiled. @book{3-x-kapuscinski, author = {Ryszard Kapuściński}, ISBN = {978-91-7429-206-0}, publisher = {Bonnier}, title = {3 x Kapuściński}, year = 1993 } @book{med-ornen-mot-polen, author = {Salomon August Andrée and Knut Frænkel and Nils Strindberg}, ISBN = {91-7102-085-3}, publisher = {Niloé (Bonniers)}, title = {Med Örnen mot polen}, year = {1978 (1930)} } ;; away with Swedish chars ;; and other special chars ;; as DNC w/ either ;; pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) ;; kpathsea version 6.2.2 ;; or ;; biber version: 2.7 (beta) (cl-loop for (r w) in `( ("ä" "a") ("Ä" "A") ("å" "a") ("Å" "A") ("é" "e") ("ö" "o") ("Ö" "O") ("ń" "n") ("ś" "s") ;; add more here ) do (map-put bibtex-autokey-titleword-change-strings r w) ) [1] http://user.it.uu.se/~embe8573/books/books.pdf -- underground experts united http://user.it.uu.se/~embe8573