From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cNtWCFRE12GBqwAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 20:34:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kJXUBVRE12HDDAAA9RJhRA (envelope-from ) for ; Thu, 06 Jan 2022 20:34:44 +0100 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 D334F3C80E for ; Thu, 6 Jan 2022 20:34:38 +0100 (CET) Received: from localhost ([::1]:37724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5YWz-0004Lj-Fu for larch@yhetil.org; Thu, 06 Jan 2022 14:34:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5YW4-0004LX-7M for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 14:33:40 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5YW1-0003jp-Ma for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 14:33:39 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 245CC240103 for ; Thu, 6 Jan 2022 20:33:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1641497615; bh=2cXyONg80Fh6/goKoX5x+Da5+19qk3uJbG3nufWYOHE=; h=From:To:Cc:Subject:Date:From; b=lZtuCTOmD7NSY6BTqrrPk6tBXXrIKBwR3wEXrqsNfC/jjhZKvakhX0FcHhEo9fHZS KieilI2PE6l6nb0FVmno3i+/Gwb8AWGTOJWADxa2Orivr5WdSGOUR9qUIK24osfATA LoaqBW+mjlpRI5kZJne8I9Bw+XZNwKFTR5PcsIZd4O3bohhTAUbYBdWZ9n5F/b2lNe YJRYP+Hmw4ODFC5xFy9k8X+VUxNPHSbpuE7WEyYjgtCrn45enODrlOnnNUedf6p9iY xFuCjjlENdpcBl2in5I//SuaGUofxVwQHTEzi2/LSvuh4dr4d8lseTfyBCTjBSzqvn NA+IjAfW+eLwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JVGjp3bW6z6tmm; Thu, 6 Jan 2022 20:33:34 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Kaushal Modi Subject: Re: Way to mark contents of an Org special block as verbatim? References: <87ee5kwwht.fsf@posteo.net> Date: Thu, 06 Jan 2022 19:33:32 +0000 In-Reply-To: (Kaushal Modi's message of "Thu, 6 Jan 2022 14:14:07 -0500") Message-ID: <877dbcwtf7.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@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_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1641497678; 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=2cXyONg80Fh6/goKoX5x+Da5+19qk3uJbG3nufWYOHE=; b=PDGu32Ljk5Q5rO+CzF1QzyANpuTUSyZ/361LaRge0DfHQaRGcv2BhF64KPjet1qLG3kNU0 C1Q1roOpplljzG4hTMl1+o0rrRylwo9pvAr+kxr4H0rVStlb12OfA38UFloADcrgsH6xbv EcTBmADY+ubE2NHm6qH6NeUygGv8HLrv2eUhEVpzaremWkv34/ys4F1pCHpGZ0jlM7Xb+g FzWmqcmUZ9nG1Vm+7g/205e5uxAj6Gu0mwYFXGFlDfGwetQdVeu1FUVGo+pfK0GHlw8vzS ECHhlfWe6Eqc9tbRa6OYY4zbmvCONxgV6Al/zpcnbEUdGPGcsyCbIbWi8u+kYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641497678; a=rsa-sha256; cv=none; b=E27fSeyRjpH+qPA2a9TI0BfkOtCP8sOXnrG5eSQXDjl4TGjxe6aP3Rk1SSK9E5DQGOLY52 /9L9Cuz7vSrm8DaJNl+Aotyq792drFn8l+wi0BqUX7HhyrHkVmQXrHOFI9xlPHJY0mJMht 57Hrp/Nl8PO30wCnT1usXJvq5RwtoYduye4r6ENY6RywW1FsL2tFhHIF9HyyR5KXf/8kuO V/JzDgxSVEJ3cip1gNuJsim3v6yyKyYPJSBiACSxahljR9RgAC0j3QjixT/AfbdOQMexim y54mDrMmTyDYktm2ke2EI6c+FywPPMLm9GEeAPS2ZjPaxCw3L1jPLmeYqiglXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lZtuCTOm; 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.79 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lZtuCTOm; 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: D334F3C80E X-Spam-Score: -2.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2tDGRF3xoMYD Kaushal Modi writes: > Wow, thanks for that complete code. I didn't know about the parse tree > functions. > > I was thinking if below is possible as any user running my exporter > would need to use this feature easily. > > #+begin_katex :verbatim t > E = -J \sum_{i=1}^N s_i s_{i+1} > #+end_katex I just realized that there is a much simpler solution for your katex environment :-) You can use an example block, and define your custom environment using the attribute :environment #+ATTR_LaTeX: :environment katex #+begin_example E = -J \sum_{i=1}^N s_i s_{i+1} #+end_example