From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oCt2MeOLymWkfwAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 22:21:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oCt2MeOLymWkfwAAe85BDQ (envelope-from ) for ; Mon, 12 Feb 2024 22:21:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qgHmt9BH; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707772899; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EqNCCxNx9IkqCYyTBtZsE+759ci6cWzvSz/G3KQ0Jp0=; b=Jc3ZUqDfwsUpHI6fdoqmV/FW5OtiGzZb75VpX+F+gigj3WS4s7TdMKUd11jzjpwRPH8joH fVOaIuUF5qvAlosXyestSBH9W5CpbHKs6pqNyDG7GCtiWXx4V0wA3CdWFuA190jV7efOdq FC2Mf9THbUausAEez05HvzqK0f1+ADshHPQa3HrnCtfhuksGXENSKDRWriXhxpHiQFx5Ni A0MwKTEGFdGM8OhPGWLAk9TtSWXhhTpimqfo4fHGV0G2wO0ST1WFeqdtbSyIehu/UE/8+U 5HMadnmtFwx2gEdG0B53/0f0wwCF8pZGc6w8znfpPPLhSJ92hXJqF4DFGk426w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qgHmt9BH; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707772899; a=rsa-sha256; cv=none; b=IBxqrwyAlyqGJ1C2nJ4ccWUoIixFvi0/jsoYgXxXQbrM8aBjYnkT6WaTMN4xv8ipBhtmkI tGw5eE/c7Oquwg5PwX/7srgkTnH7FZERqPPLMwqap+rrgYY4l/ov1g2SsRTOL+3XWIwp6y yrICiTQvJIFEJV/57G7Z3MpgBDVpzSMikt7/Mnsf6K2FnQAK22RU100viUWE9iynCfiWFs JWGSnhN9TeSoFyDv9hnYEUnItXuRxfCHg9I4/hTuK2B8DMptBwQ/w4ewX1l7BJBuje6Ut3 eq4sKesXgfJ66pCb7QCI8z2DFmtEhvy7O3BxlcQJus8LFnL5PlIoXVJehuRJvQ== 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 B66AB44719 for ; Mon, 12 Feb 2024 22:21:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZdjI-0005sU-SV; Mon, 12 Feb 2024 16:20:44 -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 1rZdjG-0005r3-VQ for emacs-orgmode@gnu.org; Mon, 12 Feb 2024 16:20:42 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZdjF-0000S3-4W for emacs-orgmode@gnu.org; Mon, 12 Feb 2024 16:20:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AF998240027 for ; Mon, 12 Feb 2024 22:20:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707772837; bh=nCiBZSGQG2l+qB/pSM0W+51QRyQwumTA4PavSJT4cwU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=qgHmt9BHTbiZMg2uDPmSPwxUBMfSOpE07ogDIoIcI4myIi5qcSfEgeO64zpfJXHzz ePI/fP19/0RF+BSljmy6IH/clXxb0qXP0wDvB/6yk3Tl6M6trRAfh1RXXQlSCOG5i7 gH/nUOVaHaQquLsqh0dvurYNshSRAhcONU0fOdC7+KiM7cUKefOZGRD1WQYhvku2c+ SnPQwlE5o2AgsnvDh2xoc3vhHT9Km0rUTu1mTqgZZ3i0Mt6PZO0k89obEKha7babPh OXZdY2DRrVqKyEaL33WlVsyjA7fyEHUNI2GxtLQPfdV6gLkjgEJ2dRrK+/EgJvcuAX EV3WJdQ63UsnQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYcnK0rxNz9rxG; Mon, 12 Feb 2024 22:20:36 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode Subject: Re: [patch] ox.latex.el: Add missing character warnings In-Reply-To: <87cyt1fojc.fsf@localhost> (Ihor Radchenko's message of "Mon, 12 Feb 2024 19:52:39 +0000") References: <87zfw5zowr.fsf@posteo.net> <87sf1xzh04.fsf@posteo.net> <874jedmtcj.fsf@localhost> <87mss5ze4i.fsf@posteo.net> <87cyt1fojc.fsf@localhost> Date: Mon, 12 Feb 2024 21:20:34 +0000 Message-ID: <87wmr9v0pp.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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_H3=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-Spam-Score: -9.16 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -9.16 X-Migadu-Queue-Id: B66AB44719 X-TUID: qZBAP500cmzN Ihor Radchenko writes: > Juan Manuel Mac=C3=ADas writes: > >>> When I try the patch with a simple file like >>> >>> Hello. =E4=BD=A0=E5=A5=BD=E3=80=82 >>> >>> I do not see any warnings or errors indicated. >> >> How weird... And don't they at least appear in the *Messages* buffer? >> With your example, they appear to me with pdfLaTeX, lualatex and XelaTeX >> (I have used the default value of org-latex-pdf-process): > > I did > > 1. Install your patch on top of the latest main > 2. make repro > 3. Open /tmp/1.org and enter > Hello. =E4=BD=A0=E5=A5=BD. > 4. C-c C-e l o > > In *Messages* I see > For information about GNU Emacs and the GNU system, type C-h C-a. > Org mode version 9.7-pre (release_9.6.18-1196-g8bd0dd @ /home/yantar92/Gi= t/org-mode/lisp/) > (New file) > Making completion list... [3 times] > Loading quail/PY (native compiled elisp)...done > Saving file /tmp/1.org... > Wrote /tmp/1.org > Wrote /tmp/1.tex > Processing LaTeX file 1.tex... > PDF file produced. > Running xdg-open /tmp/1.pdf...done > > My `org-latex-pdf-process' is > ("latexmk -f -pdf -%latex -interaction=3Dnonstopmode -output-directory=3D= %o %f") > since I have latexmk installed. I have done the same, on a clean Emacs init. Warning appears. And in *Messages*: PDF file produced with warnings: [unicode character(s) not set up for use w= ith pdflatex. You can run lualatex or xelatex instead] In *Org PDF LaTeX Output*: ! LaTeX Error: Unicode character =E4=BD=A0 (U+4F60) not set up for use with LaTeX. (this error is the one that passes as a warning in my patch when compiled with pdfLaTeX).