From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8BVWK3RLrGPxdwEAbAwnHQ (envelope-from ) for ; Wed, 28 Dec 2022 14:58:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AI94KnRLrGOVfgAAG6o9tA (envelope-from ) for ; Wed, 28 Dec 2022 14:58:12 +0100 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 4099D162BA for ; Wed, 28 Dec 2022 14:58:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAWvv-000109-8F; Wed, 28 Dec 2022 08:57:27 -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 1pAWvs-0000vX-79 for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 08:57:24 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAWvo-0005Va-VY for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 08:57:22 -0500 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 6151EBFA9E for ; Wed, 28 Dec 2022 14:57:12 +0100 (CET) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 5B799A0045 for ; Wed, 28 Dec 2022 14:57:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 4A5BDA013C for ; Wed, 28 Dec 2022 14:57:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 4A5BDA013C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1672235832; bh=GwTqx1zJXZ+776qkCpBbkHjn+2ZiNUJF0liX1ovkLJM=; h=MIME-Version:Message-ID:Date:From:To; b=UFsOnukCl7eRFmKv3ayhGtXVhe710HNT6Ti9qrkfkMutWqYkF7f39s6B0pvXukdk/ UsI1BSeKfjfA6IcJ5f+uHlAEABwh2TwRu0Wada6RdpcNdrw1ls+3io7BMSNDUaVB7o 8jyhqiW2683jlUIVfNSMZVI4h/0x233JENP0e0/6P2LfuDHQDfVom6nrSJsHIryuhN 1oJ6KHWPgTHhRX9SEkx37f19A5PXIUiRLJAG68bRLOkTeeGNRC6S7jgOV0ByLke5/d JqrrOLUOBwSXNAT4P3ev5SWEey+eZlFYUFGr5LdO2BQ7lJQ0/WeUTLavijWR4mcT2O gQ4QtpONEjjOw== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EuArzc5OzERZ for ; Wed, 28 Dec 2022 14:57:12 +0100 (CET) Received: from 37.170.208.224 (unknown [194.254.241.249]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id E3FD1A0045 for ; Wed, 28 Dec 2022 14:57:11 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25516.19256.621545.995694@gargle.gargle.HOWL> Date: Wed, 28 Dec 2022 14:57:12 +0100 From: Alain.Cochard@unistra.fr To: emacs-orgmode@gnu.org Subject: Problems with LaTeX export for $x\text{foo $x$}$-like construts? X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav02 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedriedvgdehlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgggtgffkfffhvffuofhrsehtqhertdertdejnecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeejffeguefftdevvddugeefvefhheefjefhvedvveevkeekhfeuieehhfegieevteenucffohhmrghinhepohhrghhmohguvgdrohhrghenucfkphepudelgedrvdehgedrvdeguddrvdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvgeelpdhhvghlohepfeejrddujedtrddvtdekrddvvdegpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672235892; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GwTqx1zJXZ+776qkCpBbkHjn+2ZiNUJF0liX1ovkLJM=; b=WVi5duH/D5du8YAfeWt2DVtNghsyfa1LlGchJgj7PCRJ4JrENmyBcxsLU7IF/naWkmhOV7 h5oasJ2IrHUtcCO/7Kin8rsHeES/lO23ff4QjiPveOaB8o8pIsIK2BIB4Ai5L7kJ313Cua NwP/Tvpwkdj8QFrYQ6aZuFx4xtAA6N8gSHGsyG1H9baZutqXbdsDpB6deATQ0IBVuo88yj RLUv7pR7ZjddJX0GMiU2hJyduLHVY0e2XnXFIZ98jIvpjjlmuwUVvBHFxn1TfPXGGqKHsF tVMjL2m9Z/hp4ncm8JBIPrdkuE8Dnpkv1cr6v07+nlsU2tG1Aje/wnpA3g2hEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=UFsOnukC; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672235892; a=rsa-sha256; cv=none; b=feU7u9+l7cMhXz3+QaKPULB1tJbxC1W/93zrUMlFQ4lH2LQcjUdN7jsgHFK7zgi0rn4sS3 hG+juP1rF29GbTz5SiC9Dcb7RkvgbAS23X06UagqKQAJH4a+eBxwTouoYjq4BOvp5t4Cuw hIlv/TzOLaYL98GR8kFJj61U6sBOyFeYUAA7F1D+XGYgESDzukkobGSbRiOcm5uuQUu0dd PyiGtbJtgEdYTAgzKs9EYUEcdk+n0oNZ0zW4mpPjGFRYX16p9mdzNUIZMOyBrVukQG1HPd lF8MhwJo0V5lRThVmAibg9H41BDdjevzEoMYBW6H9+MLY7T+KfaHBsLP//EJbg== X-Spam-Score: -4.48 X-Migadu-Queue-Id: 4099D162BA Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=UFsOnukC; 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=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.48 X-TUID: y7D6Z+tx6Tur Version used: release=5F9.6-149-g554935=20 With an org file containing only #+begin=5Fexport latex $x \text{foo $y$}$ \(x \text{foo \(y\)}\) $x \text{foo \(y\)}$ \(x \text{foo $y$}\) #+end=5Fexport the pdf generated upon latex export gives as expected, i.e., with 'x' and 'y' in mathematical font. Maybe this is fully normal, but I find it annoying: when the 4 lines above are not within a latex block, only the last 2 (that is, with mixed "$...$" and "\(...\)" constructs), are shown correctly on the resulting pdf. The 1st one shows, on the pdf $x foo y$ =20 (with 'y' in mathematical font). The 2nd one (if alone in the org file) gives File "/home/cochard/Org/debug.pdf" wasn=E2=80=99t produced. See "*O= rg PDF LaTeX Output*" for details PS/incidentally: if one adds a blank line and another line to that 2nd one, i.e., if the org file contains something like \(x \text{foo \(y\)}\) foo then a pdf is generated, which shows x foo The *Messages* buffer contains PDF file produced with errors. Running /usr/bin/xdg-open /home/cochard/Org/debug.pdf...done but only the last of those lines is seen in the minibuffer. So this adds another example to those discussed in thread https://list.orgmode.org/25477.57044.35186.766042@gargle.gargle.HOWL/ where one (at least I) would like to more permanently see "PDF file produced with errors." --=20 EOST (=C3=89cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=C3=A9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44= =20 F-67084 Strasbourg Cedex, France | [ slot available for rent ]