From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EB9NJJKmUGErvAAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 18:57:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ECG+H5KmUGH2UgAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 16:57:54 +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 F17012F4B2 for ; Sun, 26 Sep 2021 18:57:53 +0200 (CEST) Received: from localhost ([::1]:58940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUXTN-0006ze-3v for larch@yhetil.org; Sun, 26 Sep 2021 12:57:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUXSy-0006yG-KM for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 12:57:28 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:44964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUXSw-0000Hl-Rz for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 12:57:28 -0400 Received: by mail-ed1-x529.google.com with SMTP id v18so23492273edc.11 for ; Sun, 26 Sep 2021 09:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=leCUtjykP/iLvSa9q/4OQ1qYt+yKdtsxu4ydKVVU9Xw=; b=jj3eFrJXWT5ANu3qhLATJyEXWKMm6OhrQgEy5zl5xIafogAKyZfLkuMobzmtIKout1 velgF5UvrSSCTzjcj+U5IliC+jnfq+UoTGE2No+oTBKGy4H6irI9jYCmIPT5C5PZzaS0 s0qwAiktT3l0aaohhhe5nogWcQaqICXFlQlSnclbhsgTrhAiP4pWMpPvyO9D8ljyx+Fy q5hPWOFBpsnqHa75S8ofsZhu6M5I2b7Z+ZGwlWt0rzopCwts9QWWcM5SBJ2AiN9+/he9 2mRx/BTCcV+LEGJ4dkqL3ywW1Ul95IQ8IvK6RyT7pxTKzcF4WtvC12JezR/NpZqBecLT fJoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=leCUtjykP/iLvSa9q/4OQ1qYt+yKdtsxu4ydKVVU9Xw=; b=nSDxQNSpU7uzt+f6RhWTdislGOMqX4hbbNJPMCkAO4WtzvprVs8R5nWmJ+HJ0shR4Z ZA88LRJg8Pqr1phkrK0RNs+m2SH4S6D7xP0twNlLmaZ8ZLSs0d6Q+XESAQfR6BUgpbeP Jdf5D7oilFEcdYn+YWc/w7S5QIw3IYLH57Mv2kafdz6de+Wtc0mUsZmImR3Cp2bgq5St F3y5EKwuoe21YTL+g9w3uWTVPpREoX98SwOXArOQxCHlYHtYArdN2M1cqPgO1muVEcYD x7MVpOppIeP8Ezgd/u0HWuz1AkyWaYg6q2SftxMAEE1pqtObrlYtBLrfMjrgXuMGfiwb wZ6g== X-Gm-Message-State: AOAM531Fv6zAa8v2d5B4LUVjc+U33APKZgrRJ/08/5aTp5Ivoe6iMwxq dvRKmW9LFtMEKBt+VPGKcRoNxou+1s2L4YFCh5c= X-Google-Smtp-Source: ABdhPJzheSZklXZPY4vY21uwWEfSvxv8u0NBKnIXRSRpXE5AaSTltCNJ4+akr+feVpZ5TMpucUTMgSDgW9PAAPoZDpo= X-Received: by 2002:a17:906:a082:: with SMTP id q2mr21856747ejy.535.1632675445206; Sun, 26 Sep 2021 09:57:25 -0700 (PDT) MIME-Version: 1.0 References: <87tui7cx5n.fsf@posteo.net> In-Reply-To: <87tui7cx5n.fsf@posteo.net> From: =?UTF-8?Q?L=C3=A9o_Ackermann?= Date: Sun, 26 Sep 2021 18:57:14 +0200 Message-ID: Subject: Re: [BUG] Conflict between org-emphasis and org-latex To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= Content-Type: multipart/alternative; boundary="000000000000f1f02905cce8df1e" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=leo.komba@gmail.com; helo=mail-ed1-x529.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632675474; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=leCUtjykP/iLvSa9q/4OQ1qYt+yKdtsxu4ydKVVU9Xw=; b=AkMRp+HZpuQScksOVZyL6eZnBadN98t7ulqFMtkk7toARwNfZL4tt/XTqGHR9RVadWe3E7 y3vx/1x85hQXHnG2wwMmUOn9II4/sIVlmmGgSBE8fzpL3+fzaCEVt4d8Dwve177ndCrsKL 8e5F+ldeAI0c6j/zCmX8phDid6GXpS+ISAtQc5yXTVt8DPXjUhuJg2hmyY4lhZ+D4a6n3K +ugIlMKGfi39rWSE2A3vEWb8x/8lMkK+BEuS1dOvUHPSkBOI7QwBmlyRDowOjLJ40+pSqa Gq58juUMSfNKAq9BzksiNp6yuyILfoLunmh6OgJsFty8MxS4D6DFB8BmKDMKCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632675474; a=rsa-sha256; cv=none; b=IhLPHQGNmqF4bx7bj7y6css5GhSKaII5dUTwDuTIYoSXrh26cckq2VTZ2ZWbCHpXhYGB44 FopfExEHtI2piePAmZ5RlkZmgUvVLOR1+JlbetuchzBITGksCO+h/H4DHDcUfWmZftLOCm LBPDw7evR/euw9hWVRolz5V1tIoHXiqYDJsd/VDgcMheiJQxbUuPZMiQw+GeXbCgww2gEI yluPc8K0dun6kLzN6cajcav7+uhrr3l1RhphWGSqtnAhmcQFYGPrxNCqRw4nRGJ86gFlLu LQ9N/2jTgCpAxCPa4NernTyPNOsX/dva1ZEKXsaQJT0CzRWUAMrnc0a2eUEc3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jj3eFrJX; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jj3eFrJX; dmarc=pass (policy=none) header.from=gmail.com; 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: F17012F4B2 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: +ie6/2gg6Rtj --000000000000f1f02905cce8df1e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Juan Manuel, I agree that some tricks exist in order to prevent this behavior. Nevertheless, I think that this bug has been introduced recently (I never noticed it before) and has to be corrected properly (as this is a really basic use of org-mode). Unfortunately, I can barely understand elisp... so writing a patch is far away from what I can do :/ Best, Leo Le dim. 26 sept. 2021 =C3=A0 14:57, Juan Manuel Mac=C3=ADas a =C3=A9crit : > Hi L=C3=A9o, > > L=C3=A9o Ackermann writes: > > > Hi! > > I noticed that in org@888aaa97c0ce331097787333d0d712dd6e4d078f, the > > following happens: > > When writing `Consider $a^{*}$ and $b^{*}$` in an org-mode buffer, the > > two stars match together, causing "and" to appear in bold case. > > > > Any idea to fix this unwanted behavior ? > > You can insert a zero width space character (U+200B), to prevent that > segment is fontified as emphasis [see the Manual in the section `Escape > Character']. It is enough with insert the character after one of the > asterisks: M-x insert-char RET 200b RET. I also recommend that you look > at this section on Timothy's blog `This Month in Org': > https://blog.tecosaur.com/tmio/2021-05-31-async.html#easy-zero-width > > Best regards, > > Juan Manuel > --000000000000f1f02905cce8df1e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Juan Manuel,

I agree that some tricks exis= t in order to prevent this behavior.
Nevertheless, I think that t= his bug has been introduced recently (I never noticed it before) and has to= be corrected properly (as this is a really basic use of org-mode).
Unfortunately, I can barely understand elisp... so writing a patch is fa= r away from what I can do :/

Best,
Leo

Le=C2=A0dim. 26= sept. 2021 =C3=A0=C2=A014:57, Juan Manuel Mac=C3=ADas <maciaschain@posteo.net> a =C3=A9crit=C2=A0= :
Hi L=C3=A9o,
L=C3=A9o Ackermann writes:

> Hi!
> I noticed that in org@888aaa97c0ce331097787333d0d712dd6e4d078f, the > following happens:
> When writing `Consider $a^{*}$ and $b^{*}$` in an org-mode buffer, the=
> two stars match together, causing "and" to appear in bold ca= se.
>
> Any idea to fix this unwanted behavior ?

You can insert a zero width space character (U+200B), to prevent that
segment is fontified as emphasis [see the Manual in the section `Escape
Character']. It is enough with insert the character after one of the asterisks: M-x insert-char RET 200b RET. I also recommend that you look
at this section on Timothy's blog `This Month in Org':
https://blog.tecosaur.com/tmio/2= 021-05-31-async.html#easy-zero-width

Best regards,

Juan Manuel
--000000000000f1f02905cce8df1e--