From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SKneEVrnbmI8bgAAbAwnHQ (envelope-from ) for ; Sun, 01 May 2022 22:02:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qJneEVrnbmJqZwEAauVa8A (envelope-from ) for ; Sun, 01 May 2022 22:02:34 +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 97A6236F2E for ; Sun, 1 May 2022 22:02:32 +0200 (CEST) Received: from localhost ([::1]:48452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlFm3-0008Ms-RX for larch@yhetil.org; Sun, 01 May 2022 16:02:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlFku-0008K4-FA for emacs-orgmode@gnu.org; Sun, 01 May 2022 16:01:20 -0400 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:24570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlFks-0005ce-0G for emacs-orgmode@gnu.org; Sun, 01 May 2022 16:01:20 -0400 Received: from pps.filterd (m0173172.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 241Hgknt004807; Sun, 1 May 2022 13:01:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=B14IlOYX34VYqiV2gLTmIL893OfOyQGiXMs4SkNm1+Y=; b=YF4cBMAf7aDXLxkNgKFnzWlY4EAiS0Z1cDjfxisw1hsTmfNGoViAKBMhhP/h+seIntyd SO+9guO7W+Vplji6KVifBpGvJmISqIYrEvpFyrSGe0P0Gj/2zOhzUXtS3E/QO75Os4LT HF1zVfEYVeIp/S9524OW70NDMTYswnMuNnLHQwi1t+2m1k0Cra2GYfSzQSyJuuwEfqRq 4SyaYyxJysfn/FNDkz7j5jFNa19BR9sGUp0PHFsDrDZhhwXxbqDvdSzAIO5UnBS8vfd8 RCZTPVQHWHsb8OBRvscK37rtaRUQWuMZ6Hg8dWdnvC4yiMLoujAO/Lgiwo+5dGi+58lb iA== Received: from secdlpezp05.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com (PPS) with ESMTPS id 3fs1cxss9x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 May 2022 13:01:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DVFBhzEJg7H39/DpJlDYoW4S0Su1rFzRKMkkL0UgS1V96JY+XIRXXfY8PhYkJd+Vrc8QqsYE67NmPjtrJEs7vnJWgewoGtovARv+vXdhaWGVye94PK1+UnFrnZrHZWc8JflfP2qnI1hr3sBLY+lqIromaURd9L48KaePbvBC9rn1U13CMi/6PFicfNCRrTLYDaGFA+F0C7X8tBR0zZ/i+IomGWu7XVNHFzg75XcoTobTnzfwqb8k+xUeGCbCm6aNJv/gTPOeuCCvbXJckM3SxTcwkEKPul5O0pZDB4RK2MaX3694e7NIAjjdZ7yEQlxB96blVVzPgAKfceNFMoQJ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B14IlOYX34VYqiV2gLTmIL893OfOyQGiXMs4SkNm1+Y=; b=gkk7476KhAY2vBCYBNeHlnS74UN5flUmWO8PtjcnfbD4ht5q6ZHbbBkADZJrS+JcG+QCbEQe9uTdOI1eVgd9irrtUMnuDXyOakbTwJvpdP9vLNYtnauY9kfIdyLVjDzjkeQ20J+4jz6Uwc0r4URT0kBLFsu8IYoPDjkeBOydMg3/EU8j3j8uHXQVQXlud7dXv2BAEuGjE5JDOmnCpJpYOPOlAWLRun7YrYadys7TbXJZmuAmHVMujlAr/7+x3zXvk0om9+TC9mNdVqoH8tM8oEjLsybW5VGe6I7p3+byi1ibVmdQodPrvjHrdoBFPCa4yWw0Rlq2zwy2T6J8u4jFQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B14IlOYX34VYqiV2gLTmIL893OfOyQGiXMs4SkNm1+Y=; b=GOSR5+BSIYYeywvJdcXcM7KHeglzaMzjkgCKEVa2G5r/AlHrrjGJ61pAYlq4BBbCztwzd4jJ5WJAD/LZ+LK5EhLzJjZnHUdlslg+fBda1N6W+XN6LpMRbq+5981ySKwSwGBKDoEJDmq/TB/3CIZfTBVOqcEx2I24UIXoQbWFOXQ= From: "Berry, Charles" To: Marcin Borkowski Subject: Re: How to export to markdown programmatically without the table of contents? Thread-Topic: How to export to markdown programmatically without the table of contents? Thread-Index: AQHYXZYxPhL1K0LBM0+z5NN8LFWGHg== Date: Sun, 1 May 2022 20:01:06 +0000 Message-ID: References: <87ilqpip86.fsf@mbork.pl> In-Reply-To: <87ilqpip86.fsf@mbork.pl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2f6f9f6b-64ee-44ee-398b-08da2bad5447 x-ms-traffictypediagnostic: BN6PR19MB1635:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mMb8Q9HfJhpRxBK4K+qq4Q7HpPbPpsLs2W/NJ48twBBL/PvPxshkp6OA0dykrVzLFKAhMvusCNBXAgQ/Sx/8k4i8cD/UO/q7nt3G9L73y/pTQHdZxNHVPNU0ybZhZn5NHgTzMmB8RXOMMg0A7qpLnQJJbAUV06zUPH2N8Kn1NpKxDx+l2X7JBJsua5BpjZ3o6jA6we6EwF0W0BLADo8tPGugISOVCj/2mGUnExCrl5ibOtNxuSMaYl/jBBIahfg3umGO0Hbpb1AOVyGRnNLS+9nxOk+4d0XlzkdzavTQe2Te8nCAUJpzHA4UWvmBKhNsIfgYFoxn+I0I4LjsNKOPNveEt2pf+1fPLo1jfy/TWL9C6HVRVihRhTv7d4jWZQPP2z9t/X1BQkQ7k3fHr4e70xy1f9GvDOpWeMe4uZt6ZpXqhUbDMsMuj0OLy0fCN2C9dbtMWfSPnTmgUg2oIfCpnumMPaFsW8lx/+xIa5Shz+hKE94jNnBsVmLeu6CQj12fjA252a+y8b9H4WDtbIcJ0T1vU4B1hVocfWXPCvwS/YxUNPpyCP5mvLHpU8PgCiY/LHCh2eXtddNHLjzSXh9vknM13sHFdjZ95r7dhwNjJwj6tvj1qC2zzKqI4XyI7ZCRVoc6R531EA8kjniQgNNtK+or1gHMy1g/pws+Zuyj7rX7yHIaEiX7QbH+bZfgaoCHuaCZPptB3Tos/20V9zT2oVOia5xsBADyBhPx0gGLQ0E= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(316002)(6916009)(786003)(6486002)(122000001)(38100700002)(38070700005)(2906002)(6506007)(86362001)(186003)(71200400001)(508600001)(6512007)(2616005)(75432002)(53546011)(5660300002)(8676002)(76116006)(8936002)(33656002)(4326008)(66446008)(4744005)(66946007)(66556008)(66476007)(64756008)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 2 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2pqUfh93dks8ZvGBGQ/uziHLTkR2Jz6kv16AQcog/dA6ten4as4M4XOu/83Z?= =?us-ascii?Q?qFS0TDIINVR5ix8dYXdsqDiDgf0ve+0KXBiFCoGlozQSPzSuRyvoLjYfMhZp?= =?us-ascii?Q?sFuq5Y3QBxMTmKhxqpbJinTn8f7pAgG42a35xiXFExKXi+zH7Jvx7IQUNp8Y?= =?us-ascii?Q?ZAXlf1TTq0Scg0YYqjFSxRrBjpN3k3L+4tOrDcjkFESKwJx2vOI4kv4feTvD?= =?us-ascii?Q?EfK0saymRx3DVhH/P0/scQ84Z9+7BakA2txGrohkbs5G8t78otAvEWVaUhcl?= =?us-ascii?Q?nOqQLeav8DIkVuT1UrNZcSllIKO1AX5xX47MXjvfgF6AryKh45MBvtWbcUa2?= =?us-ascii?Q?e1OMQti2MlvfJBTEd+e56B/HYq0mpRYIEOVqyC7Sp0jhF+Km+WUq+tte8ngk?= =?us-ascii?Q?rGOTlgPk9MQarUZUyaaA5Dq0Jnmx5rGNEHZncejXuR0IQOwPm1z1okjDA831?= =?us-ascii?Q?SNbc0bRR/VxbgSQXnon0hmCjZE0mUGNYaX+hOYFTKV3fQ3/Kfx039Gp0muD2?= =?us-ascii?Q?g0xJuSWOW7jsnE0QHwqs3iL0//2k4OTxjlcI3WfAIlFNnw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Tc5UvvQntkV4kuCivPF3G0/m/xkcy8RSIYokkgDUyCG3Bo?= =?us-ascii?Q?ig+GbGIZ7KymY+v1yVeytJrg+L+STnnmJnmA1wWgVoXpFCr5h7WjgVW+7/P6?= =?us-ascii?Q?P8mDW4GabdfkAmv4vfYBfV6mGW3gUtunb/aMG8TCXDsEz7ZbJrXhBdDQaPCT?= =?us-ascii?Q?P2HroS7KUmfla07xIa23xLo3AgMCv2hWVdibx2UilbYIuDLDy2u3fKs+tOlJ?= =?us-ascii?Q?LH4hnwyhZ6dcG/tWIie14WiRQrPMc48N27ayE+nRoL8Jny1H1Qn1hBumg5nR?= =?us-ascii?Q?KU6/9NIckbOiILSQpJ7ecK8UZJ4f79bAyCMQkeZFn6DPocyfRxvOISyDOyz2?= x-ms-exchange-antispam-messagedata-1: Bma2jlL0n4aXIhVRE27HyiYdqjWMz0B0zcE= Content-Type: text/plain; charset="us-ascii" Content-ID: <3506124C1612CE4CA1ED8AA7A6D8AB3D@namprd19.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f6f9f6b-64ee-44ee-398b-08da2bad5447 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2022 20:01:06.9324 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 12KM97rrAbXkSCqHuxtW+VHMS0YSHKjc5mOlveTVLIQcTcn8I1BEoyMHS7rlhrf+yrAxQ3S5cqs5XcOT7Izf7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR19MB1635 X-Proofpoint-GUID: XxMt3_2QtuBlfRDORfWWL2exxNXWZ_Nw X-Proofpoint-ORIG-GUID: XxMt3_2QtuBlfRDORfWWL2exxNXWZ_Nw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-01_07,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 clxscore=1011 adultscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=596 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205010161 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, 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: , Cc: Org-Mode mailing list 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651435354; 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=B14IlOYX34VYqiV2gLTmIL893OfOyQGiXMs4SkNm1+Y=; b=qwZtORqMoG3DrTssN6F/D/Y4SGFfMmJahZXDzTQ9i7RBvIt2voLmwDbLsq9acrvVNFKzo1 8DaegykZu1pbw68Vmtu1/8WqtD+WbRju2UTiWKB7eJxpIpTwgVGJJWZXJHMWGSh0oNkX3N Ws2uhpw4c71fHj9K9Xba0/nvA9VbZQXQM1CvEgE2IeBI0sENqRLhdVtisEfmO1K0C47KCQ CGROvYpQEOf6FnZhhONRZeO12sP0m1wr0L7JQdZGCoNsx2knsPVXGwqeJ1v/xV0Q1r6Imd LMf0lyt2LsQtnKNMdvvrtdrXeOZ7d8zQnT7H6/pxmiWUiCwwfPRmcEqBR25rcQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1651435354; a=rsa-sha256; cv=pass; b=kiBGvJbE+r4FP5/85W26YUozOAMtyisQaucrOYuYpUezd49IzIciZmsayEBUsMMAFmZGC4 uIjTbiAPT1hNLRE3fwlRimgBuoByL9PQePm0kskGBwTi4fFSIKg5Dok656zijAWL6LLLPk Vp118GjxUXUlgkseiauX/a+sJiNblLpCGFSkDUBhF2gS8Hly8M7jABtx4ciYZk/F30c1lk rw7RkqoahK+0CNwwwYK/3hAhbISpKrtQ6cxoT747DtbDtcHvzpq+B/Mzepr+r+nBAgMrSW hMIbKtVVVq+jE4V4XjP4BYYdxTDkYhsDozFIBeVdHL3adCf+Jv8XMFkXy6/tRg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucsd.edu header.s=campus header.b=YF4cBMAf; dkim=pass header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=GOSR5+BS; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucsd.edu; 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.79 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucsd.edu header.s=campus header.b=YF4cBMAf; dkim=pass header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=GOSR5+BS; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucsd.edu; 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: 97A6236F2E X-Spam-Score: -6.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: BkBpAfaIoafT > On May 1, 2022, at 2:20 AM, Marcin Borkowski wrote: >=20 > Hi fellow Orgers, >=20 > I'd like to export a Org-mode formatted string to markdown, but without > the table of contents. >=20 > (org-export-string-as my-string 'md t '(toc nil)) >=20 > didn't work (the ToC was still there). What am I missing? It does seem odd that BODY-ONLY as `t' gives a toc. With latex it does not = regardless of `:with-toc'. : (org-export-string-as my-string 'md t '(:with-toc nil)) seems to give what you want. HTH, Chuck