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 UODHIJa7XGM3BAEAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 07:35:18 +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 iFurIJa7XGMANgEAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 07:35:18 +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 4712A8484 for ; Sat, 29 Oct 2022 07:35:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooeUD-0002he-Ha; Sat, 29 Oct 2022 01:34:25 -0400 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 1oodPN-0000Pn-Ni for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 00:25:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oodPL-00088N-N7 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 00:25:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7FAA3240103 for ; Sat, 29 Oct 2022 06:25:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667017516; bh=Si97r8v7ZDlSNQdlBpBEDnTjPlKNCGGH7f+MoYlDuqk=; h=From:To:Cc:Subject:Date:From; b=sNWUyN/k2PAMu3GipYG2iAOfQWDXJ4GPsaNENYe0qxXJ6jPnu9/PaISDYe8QNG+pR nhGf4XTIXJMwSjmOoAAtCHIyhPbwJh3OJyyffHNbrQKyF8aowHwbZJxx6cZRbeejk8 n5oQ15lHVlw9KsRYEO4EvDS33ja6l5QU4EOO+c5PimxmMOK5dUePwDV7VouqMOF0+p 2kbAKod8DWBb+Jd21MxKD/aDHaMgsq+OPSHjUQKOi/ahqgICiQVJuXbHZUweN/GQT8 ftrPt4mtirYaDk/qkpud5dX8CPY/V6mQ4d82zU0L0yAMTjF8KPYrdi2gm4lQXFFidc vR/UzCm0JZ73g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MzmY72hD1z6tmQ; Sat, 29 Oct 2022 06:25:15 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: when exporting to odt or html, latex equations are not exported when in soure block: BUG? In-Reply-To: <87h6zoqagp.fsf@mat.ucm.es> References: <87sfrjpdmg.fsf@mat.ucm.es> <87eduvowx1.fsf@localhost> <87h6zoqagp.fsf@mat.ucm.es> Date: Sat, 29 Oct 2022 04:25:58 +0000 Message-ID: <87o7tvjlwp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667021718; 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=gjIJGV9iFF8k+VTnQR0OOTLy6CXIz7YwXFRa2utFyLE=; b=fexXypkGj9mOs/f38N0oYMSySjoN2RlGAm3ItDoJO9JfkmtfQXsm3FpBZKH87YSUWqtNGR vT2TRqJdkthQjvWEgbJFkjGoomruTxXLC1+c0N3ZUFc9at9ZOsohbv6SFrxNlcDOxHqPzY JtnH3q1vVqHpBcVuWAuXBPCpfJ2QaUSUsLaxx4GhdlK2QTKp/VAm72XGhTET1+21QFR/e+ Y/g0pR1QdPA/ayN8p2J1qPDuDzzWdgwPa/tNe127WZ3eQEd6E+942Vev3D2eLzfpi5tm5F 10w2Vlnx3M/KFqbwW2OosDpVQAfHhtsFXPG+dj/alZ+WuXatDgYJRe7OTn6xwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667021718; a=rsa-sha256; cv=none; b=E+IoiPZp/JONnqnRnsXK/87ldHPoS5PoJw8F7OwNTe/+bz3PJ8aaT0gABhkHjeWxZMY7Ac 7zeHuRjEFeQKPVgtmdf6CZlnlRSC7t8uHwv+BiArFesxYbwCzaCWXU/zNOuMV+c+bZvSv0 4755i2Uy02RKbnO9yjdjpMlxuA55XXFUF2udCQXphZSiTMKprzFKejy9XUbF3U+53/MxGL oCQKYXdZx8e521EnfE24MrCZclP+3pEZGguRHd162P0mgvMa/1zz886tzFMu1N2CqFVCVH AdT65ETKl+oDDmUqpqVMnbzTRT0/g0oJI94n2E05rwFAIJTfTUO5pjkxjBBBbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="sNWUyN/k"; dmarc=pass (policy=none) header.from=posteo.net; 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.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="sNWUyN/k"; dmarc=pass (policy=none) header.from=posteo.net; 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: 4712A8484 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: g4LHDRivGWWt Uwe Brauer writes: > So what shall I do then? I have an org file with matlab source code and latex formula, having the latex formula surrounded by a block as in > #+begin_src latex :results latex replace :exports results :eval t > \begin{equation} > \label{eq:windeln-29-08-22:1} > \int > \end{equation} > #+end_src > > Results in nice fortification. However sometimes I need to export the org file to odt/html and would like to have the mathematical formula translated, so what would be the best strategy? Just use :results raw. Org understands latex environments natively. See 12.5.1 LaTeX fragments section of the manual. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at