From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uOULBq7O6WCKBgAAgWs5BA (envelope-from ) for ; Sat, 10 Jul 2021 18:45:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oIm2Aa7O6WDgFAAA1q6Kng (envelope-from ) for ; Sat, 10 Jul 2021 16:45:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 256E01AA69 for ; Sat, 10 Jul 2021 18:45:33 +0200 (CEST) Received: from localhost ([::1]:47026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2G6d-0008Dq-Ab for larch@yhetil.org; Sat, 10 Jul 2021 12:45:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2G60-0008Dh-Fm for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 12:44:52 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:40628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2G5y-0007oH-CG for emacs-orgmode@gnu.org; Sat, 10 Jul 2021 12:44:51 -0400 From: Stefan Nobis DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1625935482; bh=h+y/DXSf3hleBY2SbNNSZUjo3n0CZKHygk3kzx6SuKQ=; h=From:To:Subject:References:Date:In-Reply-To:From; b=D3PrdbDuviaUr81YexfpFDJ3rYJdSs7z4byaXuR3TDdqkQH1Mn4dfLt2ifzkNsZsS irioqwqk2VXaa6Jt1Dh3ltS36xKOlZWZzEu7Ngycc1QQ7wyTfqQE59fO3atvqlcJmw HzfLvv8sbrCBBnRSRorQ0Y6bsYjbpqZ0LnXM15NY= To: emacs-orgmode@gnu.org Subject: Re: org-mode export to (latex) PDF References: <5A0DCCA5-7B49-46CC-BD49-B5F0D46DA5B8@traduction-libre.org> <87pmvq8ef2.fsf@posteo.net> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 10 Jul 2021 18:44:41 +0200 In-Reply-To: (Maxim Nikulin's message of "Sat, 10 Jul 2021 23:13:30 +0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625935533; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h+y/DXSf3hleBY2SbNNSZUjo3n0CZKHygk3kzx6SuKQ=; b=g2k28mNQw4H8mnS+Avite1BdlsvAZ6/L4XY6tbGSvKa3PLndVC8q0Pv0rb5DzXwFnaVeAM It0TULs7SI/CwHtf+XQJU4t/jUKPwBYcMWpq0erCSJZFME3Ww3dwHyMfcWcwUSa9oQEstj fm7ZpGIA/XsBUH8NZZAC8JGFmC9070krcOat9NLHRdj26mXx3RDjIgDlgw4yjhpyAEMYyq b/7eA3htu8/kcixwjT4XORK2FyZQrJTt82PuMcf8VneEOHbSOmyYdJMvnOMoAlimwbJs3O GEwbt3ijabRhblyew0lP/AZgmTvg3Zfe3R1O2J6MYaTSaxFlZdMuxboVPPUM5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625935533; a=rsa-sha256; cv=none; b=iTgGF87E+g2Kp78aea3Lumldlbah8t3KNGck3xu7R+n2EMhHdmq4pp7+TWAKoPGM4LkSO0 HmNp5C9/5HTwU2mj9FW9Y86MeECw1v9u+g1ifXkfTvaEKH8G5Ia/3v9+SF3eOypakaNT80 3a1QfAI6HEti4KX3jfEF1q5U8XXQMEQagRQijle0GphLeg8xIUmdixwBH52CoiqUaFTRY9 ivbQ1yq2sKpvzeUPi/1wecVbaAE59aQtRXjAuSQ3tMTld3UBPwBgYSWdKd6H4qWPb9W45c AoIdTcNwbPeYVBz1mJcB+hq200mEkdQYVFpGaZ6Qqq8/+1HNTneBW57j04SKpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=D3PrdbDu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=D3PrdbDu; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 256E01AA69 X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: 93jTzLHmIG6w Maxim Nikulin writes: > (add-to-list 'org-latex-inputenc-alist '("utf8" . "utf8x")) Do not do this. Both, utf8x and ucs, are obsolete and deprecated for quite some time. For proper unicode support, switch from pdflatex to lualatex or xelatex. With these newer backends (and proper adjustments for the LaTeX preamble generated by Org) Unicode should work out of the box (if the font supports the requested Unicode characters). My current packages setup to support all three engines looks like this (should work for normal documents and beamer): --8<---------------cut here---------------start------------->8--- (setq org-latex-default-packages-alist '(("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "fontspec" t ("lualatex" "xelatex")) ("AUTO" "babel" t ("pdflatex" "lualatex")) ("AUTO" "polyglossia" t ("xelatex")) ("" "graphicx" t) ("" "grffile" t) ("" "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "mathtools" t) ("" "amssymb" t) ("" "textcomp" t ("pdflatex")) ("warnings-off={mathtools-colon,mathtools-overbracket}" "unicode-math" t ("lualatex" "xelatex")) ("" "caption" nil) ("" "booktabs" t) ("" "hyperref" nil) "\\tolerance=1000")) --8<---------------cut here---------------end--------------->8--- To switch e.g. to lualatex (and e.g. use latexmk for compiling), I use: --8<---------------cut here---------------start------------->8--- (setq org-latex-compiler "lualatex") (setq org-latex-bib-compiler "biber") (setq org-latex-pdf-process '("latexmk -f -pdf -%latex -outdir=%o %f")) --8<---------------cut here---------------end--------------->8--- -- Until the next mail..., Stefan.