From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OGqCIaiZ+GPtHQEAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 12:04:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WByiIKiZ+GOT0wAAG6o9tA (envelope-from ) for ; Fri, 24 Feb 2023 12:04:08 +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 9FC58B2B6 for ; Fri, 24 Feb 2023 12:04:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVVrM-0000Pv-F0; Fri, 24 Feb 2023 06:03:28 -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 1pVVrK-0000N8-1U for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 06:03:26 -0500 Received: from mail-db5eur01on2131.outbound.protection.outlook.com ([40.107.15.131] helo=EUR01-DB5-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 1pVVrH-000117-TX for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 06:03:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ww5RK04mtf47puPjpcx9Uf12/NXUjbroxWPbeDRil1s74A7nsUmjI3SiWKmNE8jVpga5EcMJ1iLfNGTFaCkx0ALUcwRycVDxeUDiUCTCzKLH7U6hqxPmCrMeFeyHurbxcgEde39cvZzdaVicpi4brX/7/ZuLv+MYJDoNdvigNNp7/OaN20hAglLqV/oIkBaxTO4CYFiR4Yjmn0VtdRU1po7ESDlCA+3eCl0hkWBHBlXhe3bQwu3M1oecfeCoiApNy2XdlMSrxUk3FDVaLdEwIK3KLLVRy2T6mIBU9YnfXT5pxtyeQXEdM9YlgvYqk27KCoDgEF1/5wbCYgA/Q8bX7Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DjG84qEhCDbvDy9/ASUPat+GQVzaIT+v6HgsyFJyLt0=; b=T8OiyfZUHDCcy4Ep7h3+Ydg7Al5SLEXiW8V9L0osBM22NW+OqyjChHDPasMdDR3W/c74kb6U4K29FMj+otv/xmU4zcCe8zj4sG/KNmWCd+anaEEXotObcaw5jIKH6nZo2HchH/Cbyz9U7doy9kAGzstmvxVJZBde2sd60fABr0AK6iWieqdrjLHseztl4Mxhfn0Z1BeLQqfdGom3MBUskBoCMsW25l61A3H/gg8C6K69MNdlUorQZUZUa6/ct9F4GC3DFg6Zq71u9e/9PjLsr3+e5izoZM0WiidiTvbQVWHvwx6tISUzAxaZF7XoW4+hl1HE+Ze+PpLQUsagUvFQNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DjG84qEhCDbvDy9/ASUPat+GQVzaIT+v6HgsyFJyLt0=; b=i8As8Qx0Pjhossa+AJkffCJIi3xlU2BByDC0MVc9x4rl8iLG6tEDJMLPNMHq0LAnJiTBQP8eeD9Xh3sDO/VuiesO2S6griDhzypg+jWIZrdCl3m+wu1lIV3CfMCGbvCJgbiep2Mz06oBeeRDipU0ouMqU2YeY4OJb/+9V8/gxHU= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by PAXPR01MB9578.eurprd01.prod.exchangelabs.com (2603:10a6:102:2c2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Fri, 24 Feb 2023 11:03:19 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::3437:90f5:87a7:bb47]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::3437:90f5:87a7:bb47%2]) with mapi id 15.20.6134.024; Fri, 24 Feb 2023 11:03:19 +0000 From: "Fraga, Eric" To: "Alain.Cochard@unistra.fr" CC: Rob Sargent , "emacs-orgmode@gnu.org" Subject: Re: tex export overshoots right margin with mixed fonts Thread-Topic: tex export overshoots right margin with mixed fonts Thread-Index: AQHZR95UNF1tDSpx50KQ2PR3SVhaow== Date: Fri, 24 Feb 2023 11:03:18 +0000 Message-ID: <87sfevz5op.fsf@ucl.ac.uk> References: <126ef632-d0c3-60bc-2048-aca1ceba1ae1@xmission.com> <87a6131o9f.fsf@ucl.ac.uk> <25592.38020.591168.169869@gargle.gargle.HOWL> In-Reply-To: <25592.38020.591168.169869@gargle.gargle.HOWL> (Alain Cochard's message of "Fri, 24 Feb 2023 11:42:12 +0100") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: gnus (Emacs 30.0.50) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|PAXPR01MB9578:EE_ x-ms-office365-filtering-correlation-id: 7b1ba6b1-6dd5-42f8-a182-08db1656bc84 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cotspWDH/IbPi9eE18tlNwFlBCQiCBI4Uk11qaiRK/tSu7ySLuMdOwyM9q914YdLX0wGmggXkcOYKshs23BqqgV/9KGvhQjKwwdY/hculFoNO9LBPiE3vbVvuLDz5au87k+/8wEEL5m3a7LjprJkdITxKRnavH4QDYBfKzUcsvTi7MfJsMij/wsGipdS7NtT7wys1YU0Kr1tWoJBrmmoOAufr6f+gwz81xOY3AR3p2qOwEyYaVsFwMKmNPaAYm2akn1+aofcV+eeTUeFuS2YmUY+JUQyQUTLlThO/XHeg/ruDY8vI3tILjHS5PESNMb7M5pcnjxUuF6akeGCY1lj/SqIu8n73lEGA0+Y1jdSFR4062C6A0uXoVY75riWHzye3F/TspHwTjAgHgWDw8W7bDOEaBdvM7Ao0r4Afdqq2hlp2vOVvVA4z3oQg0Vv0whZO5qibwnCuQvT4CtaJZEtNA8n9CEjNOY2zUJOq/x6TTcKwfHNq4kCtf8A21xcFlFyc+h1wfecNdMqOg/Qj2d8EB1ecdrgYaorb+pcQoDWsdF3xmwN0vVHGuISI7OFzvuEBAIEw0HWirbWWEOxTWpv//d72TC4cJeMiRR7Lmtzk0u7lN0QFVPghjaHmqxQ/X7curw9lhgjntJ85FL7Fp1bIr8UlOnfLZufLQxcJzrGbxP4Lcv+Fvkg3kUXw0cQU6HvN7E/fh2zjQxAxmSFzmsXtg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(366004)(376002)(39860400002)(136003)(346002)(396003)(451199018)(38070700005)(38100700002)(86362001)(36756003)(2906002)(5660300002)(41300700001)(8936002)(122000001)(186003)(41320700001)(2616005)(6512007)(26005)(6916009)(6506007)(64756008)(54906003)(66476007)(316002)(66446008)(8676002)(786003)(66556008)(66946007)(6486002)(478600001)(76116006)(4326008)(91956017)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Ajg2nwIlMvsC7SfMDbm5185WtSpPD8HH+Y+Sm2TQ7GndfmUAHu2HLFEBpe?= =?iso-8859-1?Q?FZP7L0TJwS1zToMgGXB1Jp0zZzS48A8rZbJyQjywneZsRTaNuBCCMdzNxc?= =?iso-8859-1?Q?FPjEHCXhRSIF31ZCqSHnX7GyErJcWLcVRWtWqTLJKjUNnrMxERsdGR+Iu6?= =?iso-8859-1?Q?wupO55B5/9gGxrT1xfb8Gcsv+y3ct73jpneUy5g/7G/CHMrw6fo1DMGzhE?= =?iso-8859-1?Q?EHIu2+4Xdd9CO1oxA5kcnnD9S346RR2uAnmygMEF8LLCXGn/Iqyt+WSEQr?= =?iso-8859-1?Q?EMxdgokMPAJmo/GfMH4Dqf+vQHDHzd3Gn7A1WWwxCO0D53sLVRwY+qUgcc?= =?iso-8859-1?Q?D+f8a1bYvjjUFahHhDzCl5t72nbVx7z1REQTEBsjuHR5GbLVm0Pjdimipg?= =?iso-8859-1?Q?Hu9qvWCfqEG1KcXwu0NT55Cpj1cmqynhL5VuQ3nCZ37bZpPFmeTwuOQ8Es?= =?iso-8859-1?Q?NSgC7GNj+22DatgkMQLYbA8Ep+bYpWY6OstHCKiYei+DuYc6Jd9DehTTOk?= =?iso-8859-1?Q?CYVGCEBX+rLCX7oxV7q7LkLXnTSi7lfA8e1Y7cDHXrtJEoRqTkfv8EiST/?= =?iso-8859-1?Q?nsoSkAiKVJMnbHVdsbb7inB4E5YTPhDWANUuzgcpK3aHZwlMUpaycnYASH?= =?iso-8859-1?Q?zU8YHp5txvPUI9jPI6BcMO3+fa7fGBkm78ZDh5WhcN8JR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knwpNNuxzpjFRvNKCmAW65Arf2Df+XDyTCK4?= =?iso-8859-1?Q?ue+1HOLlJYpm0GKItGvc+COj8SQAnUUInc?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b1ba6b1-6dd5-42f8-a182-08db1656bc84 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2023 11:03:18.8551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rOqyUxhLsaNRj6ztrZnHlQ14uuEk2DFGAozuyBVGqpvvOjfCO0Vv/LmkkLtTaHCp1MzLBHholY1PdgXX/6AfGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR01MB9578 Received-SPF: pass client-ip=40.107.15.131; envelope-from=e.fraga@ucl.ac.uk; helo=EUR01-DB5-obe.outbound.protection.outlook.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1677236648; a=rsa-sha256; cv=pass; b=TcE257X5z0vKLSXd3FBpnqqyTOGswbaz7CjpIAjJtdbaXOoDm2w1i0BGZKmulPkaJe80JT oWBc0SWC+wAr01nCqocbONYoOS9urj1MOHbJnH4BNeR86sFCcd7fbofeUvWRuRD8Ty7UI6 0X0+o/rEU6xq/sNO4UHUZtvwo0UmZ9y7Gnue9wWyfCWHgc2F6nfbQ/RpML0budWliqDpch 8oCsVdK6QrvgQOjs0iDHxVoea5zA1g/KvlO3A9tlqlDlAi6bVWZxA+qNoq+rAEZ+d1sxVC lrMDZ4il+Ss6XHX0wXSM+Vp00qzyEFL9plNFZTKgYsuw/jeNGx78gG2s80VSWQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=i8As8Qx0; dmarc=pass (policy=none) header.from=ucl.ac.uk; 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=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677236648; 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=DjG84qEhCDbvDy9/ASUPat+GQVzaIT+v6HgsyFJyLt0=; b=oRrBLcV+QFgRrSZCVYS8KklNnAZ4Tl7xq+FoAbTQvJ4FVySQ1WWKSBcvy9DPaeUEvMbBEW KPEoyO12hnJjGo1bWZ/r1dUefuyJO0hStIPCEuUCGbEURdZcA0TG5UMD31gPvdFUM7mKAh P5raShYsCYoqNormymYtsYEDRM54oj2qQtibbvucai4HkIgB8M01ZZO63H9Xa4sFqdwBJt kA7tqP8Om710r4Qt5/X5TLekRtKdUdEjdPOfPrV6IGQ8rnDRM4t2tvFcq9lUvNwb/eanSG kgkbSVLPHW3dZwfhZFtkw0GvOBlCQEybRgRLwbvbTS7mxaYod+VkIZVDShMjgQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=i8As8Qx0; dmarc=pass (policy=none) header.from=ucl.ac.uk; 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=pass ("microsoft.com:s=arcselector9901:i=1") X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -9.31 X-Spam-Score: -9.31 X-Migadu-Queue-Id: 9FC58B2B6 X-TUID: hNKztgfWSsGZ On Friday, 24 Feb 2023 at 11:42, Alain.Cochard@unistra.fr wrote: > Now, is there a way to tell Org to export _=3DMappingInstruction=3D_ as > \ul{\texttt{MappingInstruction}}? Well, I found I never used strike-through but definitely wanted to be able to highlight text. So, I redefined the +...+ markup to generate \hl{} with the following in my custom variables: '(org-latex-text-markup-alist '((bold . "\\textbf{%s}") (code . protectedtexttt) (italic . "\\emph{%s}") (strike-through . "\\hl{%s}") (underline . "\\uline{%s}") (verbatim . protectedtexttt))) (and equivalent for HTML export). You could do similar for _..._? I also changed the face used so that +...+ was highlighted by customising: '(org-emphasis-alist '(("*" bold) ("/" italic) ("_" underline) ("=3D" org-verbatim verbatim) ("~" org-code verbatim) ("+" highlight))) =20 I did these changes years ago and have never found the lack of strike-through an issue but do use highlighting all the time, especially when sharing work-in-progress documents (PDF) with others. HTH, eric --=20 : Eric S Fraga, with org release_9.6.1-250-ge6353d in Emacs 30.0.50=