From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 7Qt2JKIyCWGSGQAAgWs5BA (envelope-from ) for ; Tue, 03 Aug 2021 14:12:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mBiZH6IyCWGnTAAAB5/wlQ (envelope-from ) for ; Tue, 03 Aug 2021 12:12:18 +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 B769E1E29A for ; Tue, 3 Aug 2021 14:12:17 +0200 (CEST) Received: from localhost ([::1]:42414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAtHM-0007n0-RG for larch@yhetil.org; Tue, 03 Aug 2021 08:12:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9U5D-0002zw-PR for emacs-orgmode@gnu.org; Fri, 30 Jul 2021 11:05:58 -0400 Received: from mail-qb1can01on0722.outbound.protection.outlook.com ([2a01:111:f400:fe5c::722]:10912 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9U5A-0001Bw-Pb for emacs-orgmode@gnu.org; Fri, 30 Jul 2021 11:05:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R+EoF3tOhgU/qevCvo98+88f8tRkUihcZm+aE4TwC5RY4k0dYT8Cnjh4vS0OTCPQq2yIX0iPqzSz/MrhPyzMo3bBhGLzH5ft4qPDDfCYXafXFSEAJ+wNwWi+LnISAcy66P5NxkVzFbSUn3nD7XOxW2TKbiW3+Dy0Y+bwMSDcFz9EGBYdrYZRmjDhDzMeE+HFtXgIug8jh0TuijvVEHayo2Ldd60haiZVV1wH1kp1Sq6tS97w7l/g6mh6AWlO5iyTyzuCQZSefw5FX8cst8YxK07Pz/WladuqB14vd28gbc4xjpYK8W4LGarZa59IbecnGjx+WgMyZCBu/RCNi9UodQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=toFPmuPfnyCFfm876PKUHJM1vo9Ige8txu7H/0099Ec=; b=gqu6BGho3g0NeKj3k73TA1zUlctcgO3VVR6n3lPY52+0PsUVLmQOm1BAQrihzilfJ60brDkgG05NbpMkwfGkP/AIUTJcdl+HsQYwc73pJBIZ0F1xKZHPJcJbJ21LuRDEnWeLnWmfxX+LisSlYID8uY+bz9z3xTkDDDSz1x6CNdWBPVS5LwpR78+5s80MAT+/QtI4iR6/0fmcouBGcwwYlx24tO2YGLiSf1nelK0K9qftTII7w3wnMrdpxU5BdG0XbEi3knbFBC/J+v8Esufpv4ICz6FbAyvgO4vngRIccDGW8Yb3+QAYH0r/7H1HjBfixlmwlE+vf2nmcWxLdSvp1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hydroquebec.com; dmarc=pass action=none header.from=hydroquebec.com; dkim=pass header.d=hydroquebec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hydroquebec.onmicrosoft.com; s=selector2-hydroquebec-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=toFPmuPfnyCFfm876PKUHJM1vo9Ige8txu7H/0099Ec=; b=GGiLIUFnMheAadX+upy6Xi7EmrvHWrxGFNSLhxv9LVCmHAlSOKyyoCxXynH5FROvvdMp5qSSqQVaG5VGi2URhiy9S99FogLwcmumMWnturgGuDHaKRKNftm5GJN4Zp1DFpYe35GAjQ+naSmngI34s73N9rQljxd2P7JyKFjDVt0= Received: from YT2PR01MB4510.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:3d::5) by YTOPR0101MB1372.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:20::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Fri, 30 Jul 2021 15:00:47 +0000 Received: from YT2PR01MB4510.CANPRD01.PROD.OUTLOOK.COM ([fe80::f103:e35a:8063:a16]) by YT2PR01MB4510.CANPRD01.PROD.OUTLOOK.COM ([fe80::f103:e35a:8063:a16%4]) with mapi id 15.20.4373.025; Fri, 30 Jul 2021 15:00:47 +0000 From: "Charest, Luc" To: "emacs-orgmode@gnu.org" Subject: Bug: Percentage in caption (even escaped) does not work in LaTeX export Thread-Topic: Bug: Percentage in caption (even escaped) does not work in LaTeX export Thread-Index: AdeFUzS3GOyFkNOrQ7+v5o0A8lXFCQ== Date: Fri, 30 Jul 2021 15:00:47 +0000 Message-ID: Accept-Language: en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 464df632-bc6e-4044-7155-08d9536ad085 x-ms-traffictypediagnostic: YTOPR0101MB1372: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: B1AWOx3c8qeIjRhJO9sGAWApEaw3F/SnfpQmSePhfL5Sgq5gC8MmSQq3lHfdApeFC+dLX/J44Ig4af4ynyPLvqZ6x5Zf8nntvS46UdpZYzBh8cN6E0BHOVSDuw+n2QKQz1WlOp2wctrXnXl5FIXp03wLATGe2fvUiXemjZy6qHXopMtiq2iScqSlHwNPzdakcgCswWIFer8DqrLmt/ISkS8bvfBPxdOlD+LZcEbqFFFz8DHYFNDy8ehoH4aFpmMTJVKvRdvqIlpqn1xYbX5GBvmq6t0QpxDyFg8CASN46SVavGFdvEK4gfTxSefvsD6MAuurNpcheKU9AGPNqUbmbPlZMAVyyOXesATfppSqKYC1PbJA+oEaE+a/QuwO98khXJZ6aQ8XrzjHCAZfWw8A4kDDHLuukQitD18SOLFHLymyjnIMUXjnzfLud4vgffqs1wfD6EYbmGn+bP9j+ENZ3oprrJYYwFlVcMX2OexWXMjm6ivOscNBShUHJau2rhkJQILUGsCqOQwxFH8PM2/0WTNJVI0heMFZ2bURJ02Fj9WUs3m3r6JzSFsAEggsURlWu1fNgiL1H1KQT/uv5oWAfN/iRruzdBRMRey2mjChHqyCpMsoUAsM30df57RwVkdTQr9++WOYETyCCEPledgCugiVRbLgJ3yukDcVz+IEpVPNaPW8w5DQyJchJk9LIFeVyfwCKTBnDr6NakK/8X1AjVKuVo0vfvMd3kt7VhPe+c83BM3OVw/y97kzjk4+hT+c4bla8SfHQGwsdCnxllys4KRT6UBd96StsSfwv2pX6a+yGJjSqyByP+d6b0BIK/eepaQwyw//xftjFuaLBtTx+Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT2PR01MB4510.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(6029001)(4636009)(376002)(396003)(39860400002)(346002)(136003)(366004)(64756008)(66476007)(66446008)(9686003)(2906002)(76116006)(122000001)(38100700002)(166002)(66556008)(6916009)(52536014)(66946007)(55016002)(33656002)(71200400001)(4744005)(5660300002)(6506007)(478600001)(8676002)(83380400001)(316002)(66574015)(186003)(86362001)(8936002)(8990500004)(26005)(7696005)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?yo1XKZB6vC3PJFep5YgzOxD2aF9P73M2ZBS+T/STm6xOltJykAjg54iytn?= =?iso-8859-1?Q?XURUjGiZjFgzTgM6JORB9Vamcec7FEVa3OhVlxZFLMuzuS3gXppMu7hMTp?= =?iso-8859-1?Q?ToQRIdhkQQ0fSwAaHQxS8YbLtz4TurOP2idS0r8hGY85j3d/K12LLajehm?= =?iso-8859-1?Q?VgJWwQ6Ld5zQl2EMTGqOa1RTGLI9W3AlLviyvJ0wc8ytt0t6FOgxs1V10z?= =?iso-8859-1?Q?QoHHeIUnNKo9ofDfUGGwFiBoBuXTbENx0MMMex+a0TTjOdQ4kzpSV9rbb/?= =?iso-8859-1?Q?qfwWANkmXIBuZHHSP6qFKy41AnDbUgIH1m73ywQX0q7jZ5Fr+QBUEEcASN?= =?iso-8859-1?Q?kV0JYFhKRR0XbAUFfy99lfiKJ4cENXXwTxuMqeTJVQ+6bso0QrIn7HcvpG?= =?iso-8859-1?Q?+T/6tI2RC0xNfONSj3eLJwM0cp8JjbLmmVwyiHSXywRbu9furscp2sVtSx?= =?iso-8859-1?Q?tGWZ84RORhu7E03AaeUvSdKNgR5pPvdBdOFYEUBUbMwwRi9VsxJfDpPzKq?= =?iso-8859-1?Q?y/IdJ7Jsn9trX3H6jIGoXX0WarB19BkfjrziDPCuwM7JsvKiCAXZf3BS9G?= =?iso-8859-1?Q?hjeq6bKfLA8iNpI3VXIyJtRifawc5XSCuvnHBmqMJH9JQNsHcavtMoWgZ9?= =?iso-8859-1?Q?pbtp2jZtovIxpDiSCQbTQkn1JqGG9Xyq8NCKZw/dlc2WGQPNZI8ECPGQT2?= =?iso-8859-1?Q?tBhiYckLKSpCljOsccK1dwtTUcoCjfVa81gstJAV6lK8JTkbs46/n1SG2Y?= =?iso-8859-1?Q?9Oi7ha4AU+UgjSE3onnsCRqqEEsl1beDTPdWO1mKSlVNN9YP5fFmxdeH3H?= =?iso-8859-1?Q?hG+J1Tz4AL00KJ7BsgKn6QA5nFvvJfW0qA+N1xlCWgqLlso4lC8vsCO4t+?= =?iso-8859-1?Q?uPGHDvYw5DPek5lRQBesr8mtAdwPTIA90ZhUdH0/vXE6gKRtoSfwrrUZc+?= =?iso-8859-1?Q?B5rukzcdkwmPCSv/2dVkSip1m/3DAPYbopaRKTCyVN3X8WIAOfxMn/NA21?= =?iso-8859-1?Q?XqoBHXKgdSY+vO+4IvA30aoJ7PwkkhciBDmmzUgEwJPRvH07ufXqfgL++H?= =?iso-8859-1?Q?Sg+1fdyUrA0TpDbva35VyEKma3/BYLBXGdPA4xi5OAyB0JgvITZl0ZjWwy?= =?iso-8859-1?Q?XhFV8Y0FYGxNmmA1r3U+5mIiD9jUvgLqhXUDuSKyWTt+finUC7nOKAjpzF?= =?iso-8859-1?Q?aNGm2mBlTCjEX9ZACfxHsoxkzIih21Zjyu6Zy/3tRhYqmxermULhQehJD8?= =?iso-8859-1?Q?l2Rxr9YjHBDme3Gfk3M7nMN9erbqzjWd+8KvQP9slLjPvsGjv9Btd5txGS?= =?iso-8859-1?Q?scFHKMI8RAt0Rk/76BNClwki6mWgI6povUTle2iXoMPaoKU=3D?= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_YT2PR01MB45101E27DC6251D8F8B7B366F6EC9YT2PR01MB4510CANP_" MIME-Version: 1.0 X-OriginatorOrg: hydroquebec.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB4510.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 464df632-bc6e-4044-7155-08d9536ad085 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 15:00:47.8814 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f40a10f0-50ee-4880-9a37-6e1dd4ac2ff3 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aH9gMCmeCZ3JXq4JpDJANzLJwjPCwva1QXx/j/aKaiTH368DGoShAdo+fr7bbDFobr0gyVbDeL/jjPPjc4Jv88rWFM3+D7mQM4zhcxyNYks= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1372 Received-SPF: pass client-ip=2a01:111:f400:fe5c::722; envelope-from=charest.luc@hydroquebec.com; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 03 Aug 2021 08:11:27 -0400 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627992738; 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=toFPmuPfnyCFfm876PKUHJM1vo9Ige8txu7H/0099Ec=; b=UiuFycfEcZ33O3cCFZgtNcZ/GcblJeF3N5rFyBuznSStCBZ3n0/bkZiMpPrgGzP2YBy5K6 tyF/bSFyFjHUZF3lN3pblahZJb31IOCj/NPslwXfmzhUmSHiYdraBI12RUNQcVoNQZ97bn bSUmizhBK/JNAEb66n2s++GxbcawaREKed/jRl2CFc2yBQhd4sl2IFNMM4vA9REfmuwHMr WOceotiDUY+HwdmLmeP0X9AmpZ7bQo9NUgo/tyqxT4va100ESt/yl85IM29MH7nt39vS4g e+yKVwbilxppaC3V7MJEkI1pW2aO0ilh9HaTccfjo1O4mytTAcHwvZCgxqKR6A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1627992738; a=rsa-sha256; cv=pass; b=aC8hWDx7RD24jIttVhgF407NwtmWpmKCR8BQwaKtlA0DLXNLBFWuY3M9yvdZJyifH+ho+k CPwrLQuu1Gp7XJvXG4NZS5heairGanUxrk/XaRXt8WwU+y0HEHux2nmKkjSUuLeJbiXEaO /5JGY+vGkH6iZOhvUdnjPeowNkCD47tixJbUWw3fYH/QsPRt7S15vweRQVNI3WpHa8uL6M cVDbXgl0ufkUf07rdg9YjVFkRWgkCQgzpEzI9isR4hM4v9fix/QgXbBnRDCvpQQdgMSEJL WVYdbPomhh87qSy8QkWAUZZq1dGSfSKSXOuILzT/vWLMc0noGNht5Nxvd1X0gw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hydroquebec.onmicrosoft.com header.s=selector2-hydroquebec-onmicrosoft-com header.b=GGiLIUFn; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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: -0.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hydroquebec.onmicrosoft.com header.s=selector2-hydroquebec-onmicrosoft-com header.b=GGiLIUFn; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=hydroquebec.com (policy=none); 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: B769E1E29A X-Spam-Score: -0.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: UCqz1AvhrLRL --_000_YT2PR01MB45101E27DC6251D8F8B7B366F6EC9YT2PR01MB4510CANP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I simplified the problem down to : #+CAPTION: Org Mode works 99.99\% of the time. #+BEGIN_SRC -n // this is only a proof of concept #+END_SRC As soon as I put the percentage sign in the caption, the LaTeX export backe= nd fails with this message : org-latex-src-block: Not enough arguments for format string I tried "%", "\%", "\\%", "%%"... nothing works ! If I get it wrong, sorry but please update the documentation accordingly, a= s I found nothing in the specs regarding this matter specifically. My versions : Emacs : GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 Package: Org mode version 9.4.6 (9.4.6-4-g093c94-elpa) Thanks ! [http://www.hydroquebec.com/images/logo-hqp-courriel.gif] Luc Charest Conseiller Optimisation I Optimisation Mod=E9lisation Math=E9matique Direction Production et Exploitation Hydro-Qu=E9bec Production =C9difice Jean-Lesage 75, boulevard Ren=E9-L=E9vesque Ouest, 9e =E9tage Montr=E9al (Qu=E9bec) H2Z 1A4 T=E9l. : 514 289-2211,7049 Interne0-289-7049 www.hydroquebec.com [http://www.hydroquebec.com/images/2019g289-signature-courriel-bandeau.gif] --_000_YT2PR01MB45101E27DC6251D8F8B7B366F6EC9YT2PR01MB4510CANP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

 

Hello,

 

   I simplified the p= roblem down to :

 

= #+CAPTION: Org Mode works 99.99\% of the time.

= #+BEGIN_SRC -n

= // this is only a proof of concept

#+END_SRC<= /o:p>

 

As soon as I put the percentage= sign in the caption, the LaTeX export backend fails with this message :
org-latex-src-bl= ock: Not enough arguments for format string

 

I tried “%= 221;, “\%<= /span>”, “\\%”, “%%”… nothing works !

 

If I get it wrong, sorry but pl= ease update the documentation accordingly, as I found nothing in the specs = regarding this matter specifically.

 

My versions :=

Emacs  : GNU Emacs 26.2 (b= uild 1, x86_64-w64-mingw32)

of 2019-04-13=

Package: Org mode version 9.4.6 (9.4.6-4-g093c94-elp= a)

 

Thanks !

 

= =

 

Luc Charest

Conseiller Optimisation I

Optimisation Mod=E9lisation Math=E9matique

Direction Production et Exploitation

Hydro-Qu=E9bec Production

=C9difice Jean-Lesage

75, boulevard Ren=E9-L=E9vesque Ouest, 9= e =E9tage

Montr=E9al (Qu=E9bec) H2Z 1A4

T=E9l. : 514 289-2211,7049<= /p>

Interne0-289-7049

www.hydroquebec.com

--_000_YT2PR01MB45101E27DC6251D8F8B7B366F6EC9YT2PR01MB4510CANP_--