From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 KBFmLg/qwWJdkgAAbAwnHQ (envelope-from ) for ; Sun, 03 Jul 2022 21:12:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yERgLg/qwWJh3QAAauVa8A (envelope-from ) for ; Sun, 03 Jul 2022 21:12:15 +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 49D5E221BA for ; Sun, 3 Jul 2022 21:12:15 +0200 (CEST) Received: from localhost ([::1]:57868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o850w-00044G-6Z for larch@yhetil.org; Sun, 03 Jul 2022 15:12:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o850O-00042T-99 for emacs-orgmode@gnu.org; Sun, 03 Jul 2022 15:11:40 -0400 Received: from pv50p00im-tydg10021701.me.com ([17.58.6.54]:55830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o850L-0005hV-FW for emacs-orgmode@gnu.org; Sun, 03 Jul 2022 15:11:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1656875495; bh=xnfhSFBJT+v9Tod8/MmoB7dL0682PIIGqLrGIPcUh3k=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=nXa4DOd5hMYZl2INPBdd6UePKKz17YnRipjlc9rmnD5J98vTbEh14uZyGAGdRrZBY D+6i5g6VGFfR5bSaNxlDoAVJE0CrN1b/XwmC25cyCZDgikvpXXizgCZxRXh+Pwe5TH V3qrxaptp8caEnHaST3tu/lXDJXF+PNfpouCW+hdR5v3YJ3YKrbnlYDN6vgGddJCjS t/2UBhqDBBLJ0bFbBVb1TLQxA2dPGeHAZGZpD21vzufNMaG7ixGgPnLWA0MTbq3AJf lJL5h2Li//AapnFk877/XI6M9t3fOfjGyZoUDQsuozUwV8UudQbKvyFz8PtpBn77aG fzE9J8r5nw/lA== Received: from Rudolfs-MacBook-Air.local (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id 22EC93A09F8; Sun, 3 Jul 2022 19:11:33 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Inline src blocks do not work for LaTeX [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] In-Reply-To: <87bku6h155.fsf@localhost> References: <87bku6h155.fsf@localhost> Date: Sun, 03 Jul 2022 21:11:30 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: -q4S7jziBCCK2-IMePrt0zptopN_ws4r X-Proofpoint-GUID: -q4S7jziBCCK2-IMePrt0zptopN_ws4r X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.517,18.0.883,17.11.64.514.0000000_definitions?= =?UTF-8?Q?=3D2022-06-21=5F08:2022-06-21=5F01,2022-06-21=5F08,2022-02-23?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2207030089 Received-SPF: pass client-ip=17.58.6.54; envelope-from=salutis@me.com; helo=pv50p00im-tydg10021701.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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=1656875535; 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=xnfhSFBJT+v9Tod8/MmoB7dL0682PIIGqLrGIPcUh3k=; b=RVG0oLxAS7ECJH6gbXT+tglvOb9e7FLrr1CjSCOXPiQo5WDPsGWN0DxAV8/vksh5prsqP5 qzwskxhAhXOIB3NgFqnrj3Fq6u56EG9XwZqCOxe7JqMWG9xB08faGSEzEdNbhyUzzMDs9S SmD3DvgfPtCNCBL+nXOXokoqfI1dzpts2K21yuOInpk6+tXS+MzkcyDQHubU6ESA7vun2G jVT8lJveVuvixgEySTXDCzs/LnxZJLcreaMhVm7jrnrJONjMRBnYAD0W7LFeahfURrtv2y IwNr4M4OuD3i0FWJSSzwnyl8mVJIoJnZmcmwrFC0TlNJf/JJihfElf4Hz6lAmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656875535; a=rsa-sha256; cv=none; b=H4+1+3N5Qw0rsR4AHHNwP4eQwu1HRQGMeohIFYIiKHqnlmich5ukoQqrXm1F7gemNZTRZV uDtiUANqHshhZ6usFXLC+y5qhHMDR/tMFVocuxjMYYJZ5hyPigGTOLn467RNBdDOt9jWOA 52JYJI3Ii8cZyM7zl53fyfTTuk8o6IKX97TD+KMBlqSZmPjvfGusJxjcRwlET2wzTkW+Cc lpwJ8+AOUoohYvWnmxkHc/hnEAwhgXC6HiB0EUNiDhy3gPslJSEbzgn3WNFiBkuTFSWmLH Xbl7Y1mEvvcwcmfjTp3P69Bzyr+2H0GK7hGgWnfwmhyiwRmLF0V29IVrppq27w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=nXa4DOd5; dmarc=pass (policy=quarantine) header.from=me.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: -6.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=nXa4DOd5; dmarc=pass (policy=quarantine) header.from=me.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: 49D5E221BA X-Spam-Score: -6.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1uX3S/74Pza1 Ihor Radchenko writes: > [=E2=80=A6] By default, unlike ordinary src blocks, inline src blocks are > only exported as results - code is not exported, only the result is > exported. [=E2=80=A6] Further, because Org is not always able to evalua= te > src blocks (when the relevant ob-*.el is not loaded), inline src > blocks can sometimes be exported as code. Dear Ihor, Thank you for taking the time with your reply. Oh, my! I expected the exact opposite default for *inline* source, namely show code and hide results. But then, I noticed that these "inline" elements do not work in tables, so I cannot use them to syntax-highlight a table of LaTeX commands anyway. Bummer! So then, when should we use these "inline blocks" in Org? I expected them to provide inline (nicely rendered) code anywhere, including in the tables, like LaTeX provides in-line (nicely rendered) math everywhere. (I also keep wondering why the feature uses a "special" syntax with underscores when everything else in Org uses dashes.) P.S. I also experimented with the src_shell some more: With #+PROPERTY: header-args+ :exports both, src_shell{ls} exports as "ls". I did not expect that. Note that I executed a normal BEGIN_SRC "shell" block seconds before, so Emacs must have loaded the relevant Lisp code. I then started 'emacs -Q' and tried again. This time,Org exported 'src' followed by a subscript 'shell'. Completely and utterly confused, Rudy --=20 "I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia