From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UBi4L0UxS2ZMDgEAe85BDQ:P1 (envelope-from ) for ; Mon, 20 May 2024 13:17:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UBi4L0UxS2ZMDgEAe85BDQ (envelope-from ) for ; Mon, 20 May 2024 13:17:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NIYm9S/r"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716203845; 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=IN3vGStfnOd1CI1ISEbPxkVFvyO1+Ws+axuP/idBh0c=; b=JxiHSuBGp/KktoUzw44gkQJdUDlb/xXu7lhn2Q6zCI8ZSPfdERIFa9s+Vc9cpCdeot7eou GnItursYEYVh2mGHgeZ2VrjA6PwYas/Yx/uUaMrHjvGmHqjIz5JXtad50WfodGhOaNLyxH iK9YS9Q+bJpH7EwuIqusoaV+jXzOPobzjt66m4TkZqDs5G2IzP+FGa7Tbflv+MlZiAEjP5 V4qti4MmBZH/yCBxGsAyE+KwPHLVj/bBiGx2zljI9sPblLsPhjSKRUM86maacYlK6JMzd3 0xN+eP3k2RiPUNyTZP7X5HHVje7vJzri2B+GurWDW1g4P790GjLRWsgOsP8wnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716203845; a=rsa-sha256; cv=none; b=uZnMSWmyTHgUd4HCjDVeKL/y8zPvDombbxJKiSq8Trj/aBH2daVzZh919VvDB3JSqMNIse FTOd1tnwlateeK6fwZ5LaFuCqiFPuS4RpcSXlbQ0/VG0WvElgFJuVqQvfnGkAlQryVPE3S /ZA6mt+Uu1dG523jU3z3wEPrIjhvNnjcKvDcBRr5m5h+ceCAloBDd3w8tydvOPJWwhGogI 1b8SFWX1kdrNgCwbEkcTlk1ml1ZJFwrMe8KHtBy93hRsDp+ul4wTbeaMBRRancH0IXUoFw sY60/ujM1GolRh++TIaeL0OR3beKpZCxKCh38v2tq8ndQiOpfAbg7W+QDrqOtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NIYm9S/r"; 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" 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 9199073226 for ; Mon, 20 May 2024 13:17:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s910W-0000mg-Gh; Mon, 20 May 2024 07:16:44 -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 1s910H-0000d8-MM for emacs-orgmode@gnu.org; Mon, 20 May 2024 07:16:30 -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 1s910D-0000z2-9T for emacs-orgmode@gnu.org; Mon, 20 May 2024 07:16:29 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3CD5B240103 for ; Mon, 20 May 2024 13:16:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716203783; bh=2l2Q3/DkwXphS1WsPxjs2I+DiU13jaKAKMPykyDDXa0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=NIYm9S/roKd/36zkpiYtkPjCk0hLcNf1K1STwwZmw7M0l3U1SUYG8/1zERdRCElcs QhPE/Wzfs8SOUy9B1cNxG3XAUR6VgER/6z6g1aaCpZoFuAP+hi3Sbo6HVFXXAK2KRW dYn6RiHmCfKGO5OS9bwikEXrRPD4mbJtgav2NqRk2jBY1LpuvMGn89iKlLzoOw5h9R p8rZhtwY5bkc+TnKtbwzA6USzXCY7Iks0c7tXzrOCgpQ4b48l7iwNihXcwCZHyqDI6 hA/YNEKyfaU0qahVKRzr/VDgIoYaRAEd2TlthbgG68SYojwtOBC1/zNKahgFcH9mTt +ZzzZ/SKIINfg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VjZkt3p9Zz9rxB; Mon, 20 May 2024 13:16:22 +0200 (CEST) From: Ihor Radchenko To: Rustom Mody Cc: emacs-orgmode@gnu.org Subject: Re: Using a custom environment for a src language In-Reply-To: References: Date: Mon, 20 May 2024 11:18:05 +0000 Message-ID: <87jzjoratu.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_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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.07 X-Spam-Score: -5.07 X-Migadu-Queue-Id: 9199073226 X-Migadu-Scanner: mx11.migadu.com X-TUID: Pam0Fj1KWs4/ Rustom Mody writes: > I have my own Python environment called PYT. > #+BEGIN_PYT > contents > #+END_PYT > generates > > \begin{PYT} > org transcoded contents > \end{PYT} > > But I dont want org transcoded contents but verbatim contents. > > Is there some way to tell org? > 1. Translate the headlines as its doing > 2. Leave the contents alone Not sure what you mean by (1), but you can indeed tell Org mode to treat the text inside environment verbatim. For example, using #+begin_pyt #+begin_example contents #+end_example #+end_pyt -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at