From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MFatJjs4ymXEHQAA62LTzQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 16:24:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MFatJjs4ymXEHQAA62LTzQ (envelope-from ) for ; Mon, 12 Feb 2024 16:24:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YFy4eOVm; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707751483; a=rsa-sha256; cv=none; b=ScY7yfRzgIp1b2JBC1xRcVHI/Cv66yNmEGwNUae9bA0wiFeo7o+miK9/FdrlO4iAEZ1fx0 7DyDhMhYKyqsEViHU/dkNVwo4XpMj/qa/Bai1P43IukPTENb2YZuUwd3axKRoTa75Xm2iJ zlUzg+ujW3rxL6K8yzL3lhpCkJwdi9oQ6jAi4NuTCfcIEoFglXLAA8d84/tEr6NdSfhf4d qk5TSujMJifOP9Sy5F3mSKQO7BF5DkJ7XwQHFW0wiq/KwzOywMolOvZgGmNgO8TzV3Zy/I xPO2jAF3IgK1DwJQbgyn/QCH7OCrqMUrQL/JzQ9zMqhHogJ3vUpHU6x/572qKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YFy4eOVm; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707751483; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZOlJ5josP1oUjP4eEMrFmbXSb987chToCCjOECzMz6A=; b=nW3Hrlhh3yAQpFG+bKJKglDmSW+R9v6NTQMSFjAWd/Ucjpw7t3p1iU/2I2f/eurxpomU/9 B3N+OuHEnfrWCPdJEsCy54cD7gPA/dbwWpAT1qI69vKwzZZF4YCQCanww5lP+xFVQjxylB 9ccWY/AFUdG6dbVu+Bmqc3ir9DzJa5gkIVLOEfrxOmXlAHOvm5Ai/kKFKnWUkpQQtvEPCg G2JPXd9/P3p4tCTrRse74cwfoGa8pbafHIZO7xQ1ZN7gwk4vfbE9ZpWyro0AKem2A0Orow PLjABP3S7AvusOQkJqjHAiNk2eD19u351nxZ55+ApCm118fxeYF/taOJg7d1tA== 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 83C51716B5 for ; Mon, 12 Feb 2024 16:24:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZYAa-0008Ku-F1; Mon, 12 Feb 2024 10:24:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZYAW-0008FH-Ei for emacs-orgmode@gnu.org; Mon, 12 Feb 2024 10:24:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZYAT-0000JE-Qi for emacs-orgmode@gnu.org; Mon, 12 Feb 2024 10:24:28 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 59006240103 for ; Mon, 12 Feb 2024 16:24:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707751463; bh=qZbuExuPq7zVj1EVlIajvP87+QBkpqRvbHG81eAnjis=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=YFy4eOVmEBzgJ8W1r0i5aEWKr97ra/bo1P17yB2hFbcVEX01jXoRvZpSVCtAyZ9K9 YR0qkatVhQe7mq6td1L3sLnqLxAjGYX+F4UJZloLZVGuBxLgsuKLxSuR2uCGs7ceru h0YFXY3mK4S0gPoHEON4oAXA6hevmOrBCQF/b6nJlNgZa3Rzv2UJ05MTyLmudDxv6/ /AwNC9cZhPuNVdCP5rmynmrrLezeL2yTyoro+IufcSUdMTwVpjMEkNhOkxyiBtuyqK Sy9DfHEZmwCSrjVWDjQ5dR0wnqQd7Icp7+ecYZkCmSq5m9HUnqCjsS5cJ3oZPuoAtB Y+llctvp/Wt0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYStG5z1jz9rxB for ; Mon, 12 Feb 2024 16:24:22 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: [patch] ox.latex.el: Add missing character warnings Date: Mon, 12 Feb 2024 15:24:20 +0000 Message-ID: <87zfw5zowr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -9.90 X-Migadu-Queue-Id: 83C51716B5 X-Migadu-Spam-Score: -9.90 X-TUID: PPPGp77ScEcb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rationale for the attached patch: It seems that a common problem that users have with exporting to LaTeX is unicode characters that cannot be represented in pdfLaTeX or LuaLaTeX/XelaTeX. In the Unicode TeX engines the warning is insidious, since the missing character warning is not preceded by a 'warning' string. Naturally, the added Org warnings do not solve the problem, but at least they give some clues on how to properly adjust the document. Best regards, Juan Manuel=20 --=20 Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-ox-latex.el-Add-missing-character-warnings.patch >From 03c4c94c22f720e38f1ffb180aaa8a23abd90406 Mon Sep 17 00:00:00 2001 From: Juan Manuel Macias Date: Mon, 12 Feb 2024 16:10:28 +0100 Subject: [PATCH] lisp/ox-latex.el: Add missing character warnings * (org-latex-known-warnings): Two missing character warnings are added: one for LuaLaTeX/XelaTeX and another for pdfLaTeX. --- lisp/ox-latex.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index cfa2b8178..80d992160 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1511,6 +1511,8 @@ logfiles to remove, set `org-latex-logfiles-extensions'." ("Underfull \\hbox" . "[underfull hbox]") ("Overfull \\hbox" . "[overfull hbox]") ("Citation.*?undefined" . "[undefined citation]") + ("LaTeX Error: Unicode character" . "[character(s) not set up for use with pdflatex. You can run lualatex or xelatex instead]") + ("Missing character: There is no" . "[Missing character(s): please load an appropriate font with the fontspec package]") ("Undefined control sequence" . "[undefined control sequence]")) "Alist of regular expressions and associated messages for the user. The regular expressions are used to find possible warnings in the -- 2.43.1 --=-=-=--