[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with unwanted strikeout in src blocks
From: |
Uwe Brauer |
Subject: |
Re: problem with unwanted strikeout in src blocks |
Date: |
Tue, 24 May 2022 14:44:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> However when I wrap a solutionorbox around it (which I need when
>> exporting to latex) all text between the «+»
>> gets a strikeout.
>>
>>
>> #+begin_solutionorbox
>> #+begin_src matlab :exports results :eval never-export :results output latex
>> disp('P(\text{Covid19}|\text{+})&=\frac{P(\text{+}|\text{Covid19})P(\text{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
Aha, thanks!
> 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.
Ok right now this is not so important for me. I might give it a try some
other time, just for testing proposes.
> 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.
That I assumed already, still it is a bit annoying, but then not that
important I say.
smime.p7s
Description: S/MIME cryptographic signature