From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aM2MC9pUjGLdzwAAbAwnHQ (envelope-from ) for ; Tue, 24 May 2022 05:45:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MGFoC9pUjGKRIgAAauVa8A (envelope-from ) for ; Tue, 24 May 2022 05:45:30 +0200 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 509C63DF37 for ; Tue, 24 May 2022 05:45:29 +0200 (CEST) Received: from localhost ([::1]:40458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntLU8-00068o-AC for larch@yhetil.org; Mon, 23 May 2022 23:45:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntLTH-00068Z-OE for emacs-orgmode@gnu.org; Mon, 23 May 2022 23:44:35 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:40755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntLTF-0001cX-En for emacs-orgmode@gnu.org; Mon, 23 May 2022 23:44:34 -0400 Received: by mail-pl1-x634.google.com with SMTP id i1so14781795plg.7 for ; Mon, 23 May 2022 20:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=aBusUKBXckRmLBOpCdCYgx7irPrsxLzuWzMfHBmTQjk=; b=WxFotxBeFD+X+Gvzv2c7Z2iLkymjJ5FsBrVbH/TW+CVzNIbiZ5n/ELeCs6qja6kIo0 tqG7Z4Btj3tRsLzBrlXhv6KPTZvLpPBP44KWTlgql6eoVf2YmqK9posiGrQNvvYKZ8DL crJhvGgSvAg1HO9JHguoZC53ONFYvIEDWeo4uX9RMZfJG0YAHcJK13006oXyDrXe3jgZ ZLdv3F3re3nhmmCWpwv5eIp8air7/79/CA3ALGXRSxR5BU5yiE1StYtgnmswXhv/WYDJ wIgqJZE36PAtlAfgTeWLH12tNJeNsUZ5FskfET+wcLDuOoJGwArDDujwvYUTtQw6YZUU gFNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=aBusUKBXckRmLBOpCdCYgx7irPrsxLzuWzMfHBmTQjk=; b=V9YBmVQ0PinoErVfhPFNfofZ1k37lN8ML1AwmFMWpqU96Paj4VNlbspRvriFsLhJy6 shtinAuDFsRZp6MdJPzFpntRm0JM7y5FlyXBBaKLGSRgBDEPl2xj6FPpyoeJfHQIODcN 8Mvd5cYugCBcTPE1MI/LOj704vhB1pWcrpDtq7Cjlk3rGU0lIlrEdMZB42DNIoBQqNLB F8ti7gDbQjNcvD4zpuyZ1aDQgDOm2brRKxFXVeBol3rfaZWu4vxAsO+YmYoeYldshXMz qk/OMuEFoxtOon03Yh4TauKX3e8ecnClUiE2UNLHwt1LVOpnvBmz+Dcu5ej5WSwIsmxj mRDQ== X-Gm-Message-State: AOAM530cm3S1Svtm4AWsHNsiSGXmN5IibXs6uF6dS5LMHgmATJSQjz6u 9+6gOhanSkdf9KHzNzPAiI6/pn98fvbkzw== X-Google-Smtp-Source: ABdhPJxAyv4yX4xlGGMnmeTgXoW7ClbX/Q5U/eVuJO/FN/5YG+D39HdCsujSBLlRVCGHci1/oRgW9w== X-Received: by 2002:a17:902:e1cd:b0:161:61b6:9d96 with SMTP id t13-20020a170902e1cd00b0016161b69d96mr25779883pla.155.1653363871951; Mon, 23 May 2022 20:44:31 -0700 (PDT) Received: from localhost ([37.120.151.162]) by smtp.gmail.com with ESMTPSA id p17-20020a170902b09100b001622600953bsm3016724plr.80.2022.05.23.20.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 20:44:31 -0700 (PDT) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: problem with unwanted strikeout in src blocks In-Reply-To: <87r14kjh6a.fsf@mat.ucm.es> References: <87r14kjh6a.fsf@mat.ucm.es> Date: Tue, 24 May 2022 11:45:09 +0800 Message-ID: <87sfozsiey.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=yantar92@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653363929; 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=aBusUKBXckRmLBOpCdCYgx7irPrsxLzuWzMfHBmTQjk=; b=ogwqq4EfcIJIp4cdpUFRu/U/J+FxY/ecOPG7v3BYhMRPp5SXAkvg0TwEPW6X/oteUtd1uE yrDrnS72N1pacetYf7G+CYbidIrIfW1bdBs0U1TOp8a3Z5bjcysT2S5Kj4OyoRP+bmG2ZN NgovNU3KWxgjKwWJuTkRhQCnpB2oQ9B6nroU2zcKLvKY1sLzLoIYQVbui9foOLxeal8+SG sw4B1f+8AVaK8EanhJEAdawxxJ1rYVPfhBfkBh+iZ/mfNX7nDJdl9fbsuQb/ynuBZIrA5T 2Mima800stPRddggIy8/2nxnwtUDMCWF5Xy33nWbhJzObuR5vkaY7cEVfLlg+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653363929; a=rsa-sha256; cv=none; b=jFYg7XEtYlnrQqZQicMICUc/ByLBwoISNsFrEs5szVjCUPzo7VlCEMKxDNnRXDLIMxWpUA jdNLoSVPOz2e/lQ/y2dnN2NM1U8kuXG8Ch2IIcaM+k3qnnCOryRrDw1wWNZQ57aq0L8Y/0 /cuYtnFeXX6jX7pHTDC6CV1bdPdNkG01sGzhzIhlDTE4eDib9fXbFusjxRqrSTT+gsdf0F vNDS9KOEGFl5+v8J3IsSGfwKaNFGst9FLN7srrSuXur6Q9OMD/IiQJV0umbpdS9kX4NHis kdetOgahrCPZS5Z+Y4OMKdOExn7VeejczsNAc0OUg+8Oh456vsdYNh1q1VNLRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WxFotxBe; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WxFotxBe; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 509C63DF37 X-Spam-Score: -2.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: +m1EEZIsi9JK Uwe Brauer writes: > However when I wrap a solutionorbox around it (which I need when > exporting to latex) all text between the =C2=AB+=C2=BB=20 > gets a strikeout. > > > #+begin_solutionorbox > #+begin_src matlab :exports results :eval never-export :results output la= tex > disp('P(\text{Covid19}|\text{+})&=3D\frac{P(\text{+}|\text{Covid19})P(\te= xt{Covid19})}{P(\text{+}|\text{Covid19})P(\text{Covid19})+P(\text{+}|\text{= No-Covid19})P(\text{No-Covid19})}\\') > #+end_src > #+end_solutionorbox > > And idea what to do? This is a known bug in Org fontification. The fix is not trivial. WIP. See https://orgmode.org/list/87ee7c9quk.fsf@localhost Current development version of the fix is in https://github.com/yantar92/org/tree/feature/org-font-lock-element, but it is not yet complete and will require a lot more work. Note that other than the visual appearance, your code block is not affected. That is, export will work just fine. No strike-through will be present. Best, Ihor