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 0IHGKPPtbmJvbQAAbAwnHQ (envelope-from ) for ; Sun, 01 May 2022 22:30:43 +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 PETRKPPtbmJ94gAAauVa8A (envelope-from ) for ; Sun, 01 May 2022 22:30:43 +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 27BE7374E2 for ; Sun, 1 May 2022 22:30:43 +0200 (CEST) Received: from localhost ([::1]:37734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlGDK-0004e9-AD for larch@yhetil.org; Sun, 01 May 2022 16:30:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlGCS-0004e1-3v for emacs-orgmode@gnu.org; Sun, 01 May 2022 16:29:48 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:33286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlGCQ-0000xn-Lz for emacs-orgmode@gnu.org; Sun, 01 May 2022 16:29:47 -0400 Received: by mail-ed1-x530.google.com with SMTP id p4so14728648edx.0 for ; Sun, 01 May 2022 13:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=r3asKP13ItIV1vJrMJX5WBIiiMtkIpPKZA317bcCKd8=; b=FJCl9XtVH9Zo5P3AobyYDnYX8MZYQSH1SQJP0cy2BI+et9alIXTsrnraxYiBIqsNXh yDhdDwnw1W2u9T94f+DVttwfcH1KpR+0YEtf5xFLifRqNaFV9Z3OikKdD59DEYn+4GeQ KtxzB880mPqProDi7W3m7SGrUbvYqA27PmTOC99OScvGYragf0vRnpqojH6cinpjkFlE G4PuCAuREXQyAjBcghIt9XLsU7B4UHvNb4in8l1acjd2LltPCUNaN5c6XAuG/L/SsftY U5xYyDvkCs7gE5YkiYoAezfTh/c1Mc6LEjTBUR+Mmnr13GQhx/3TZkcubAShySY9a9Ss 2blg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=r3asKP13ItIV1vJrMJX5WBIiiMtkIpPKZA317bcCKd8=; b=S58uAFZogyFwiBDhp3+iOV4qgT0AF65YDUvVZ3j5yX02XHlejNR/+/Sfj3TrC4qA3R YXOvmA2n8eDJTLlm7lYW5po/RwNB/P5HiQtncSvpKCtnEuR/X4eruP3zucqNVPF6bE6U gHcmI1+y2AlmUicbVk4fi13WztPh77fzYZL6F1NVCHJA7YK+dGvBNTiHqwuSpvjNEwm8 ZkYTtJBr7PBY0xnHwstxfh2s+yBR5CmzU3m8AJB1pRXlyUlM4y8UbNEOFn/SkAxnPr0j ArizNTGf/d6GaVf65kEeefko/Sfuq/LZ4CEh2d0n9zc5sXZB6d305VXBXYmssJSBm5yJ YNaw== X-Gm-Message-State: AOAM532xJ1i+AGPMAR1INNcRG0d9hSPOSmyjTfgUZq3WPoPUF6lTHjpm IFjIpQcI22dCiv+52SZ17s+u31kr/oz9/cg4 X-Google-Smtp-Source: ABdhPJznB8RkzTuv8j4vDzqYN97l+ASs87AAM6T7Xz4st6e+MG3Ag2Ngn0sH/ZtiehuG2oh5A4ymFQ== X-Received: by 2002:a05:6402:26d3:b0:427:c571:86fe with SMTP id x19-20020a05640226d300b00427c57186femr2660724edd.133.1651436985284; Sun, 01 May 2022 13:29:45 -0700 (PDT) Received: from flexignu ([2a02:908:1d0:8d20:bfdf:38d1:f253:46ef]) by smtp.gmail.com with ESMTPSA id i12-20020a056402054c00b0042617ba6385sm5679738edx.15.2022.05.01.13.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 13:29:44 -0700 (PDT) From: Jeremie Juste To: "Berry, Charles" Subject: Re: How to export to markdown programmatically without the table of contents? References: <87ilqpip86.fsf@mbork.pl> Date: Sun, 01 May 2022 22:29:43 +0200 In-Reply-To: (Charles Berry's message of "Sun, 1 May 2022 20:01:06 +0000") Message-ID: <875ympate0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=jeremiejuste@gmail.com; helo=mail-ed1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651437043; 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=r3asKP13ItIV1vJrMJX5WBIiiMtkIpPKZA317bcCKd8=; b=hcL5vIMvWp9joe0NXvjVH1AjWoRu5yM0aYWupQ+L+FgNtav4OTFsbmw+4lGclmfFXoQIyJ 55XW6au4GYpY/PDisJHWUxj0wz3zDouHnSCBGTS9qIK5Dc85VD0jMvqF9CukiJFdTXGhN7 g1APjY3x+SfG6mKDQ5sb8jzAw0JJr09ZZoeSmbUYisQGe5u3yq8SG3cOwkClrJA95sFyFD Sd5d1VP/YRSOKyNNYplU24evOCAPtjXlbo10v976FfxPPVaKaK8/kqlMo5zRK1VJSSmULZ K+05NwBYAtshD7iGHhkD1zNSD09xw+3lG1UmLqohcsJXQnDKXEQNoKJCov3jRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651437043; a=rsa-sha256; cv=none; b=d+KL/rbEBklCg714SGGTefAYYSiz5HpeAB7Sb/+y81/53V5lJZ+Y9CG5wzcaRYLq9eQEsm QGbJFxLKf1/VAUEUdTemNqRsjG/WSFs5reGCGgsBX98ZbSSXtCsmk960UV1RhF7oeqDm2g 8SNXFo6eHQ9C1izDu5Vwbj3W2zUZlNFKNk6hrIoje5cMvcxkFObGYYGpf/cCtxnKqs9g0a xOHX8N3UUyTcfhxAoh4y3nQOMHk29Icl47wexvy7RLGbpLxAyCrtiXrQpwi97gZRykvW8O r1m8e2S6hGPvg5/EiCK/BqRLWGvPz0i0PCVCNbqP1negkSY1DQJqTy1UybsVDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FJCl9XtV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FJCl9XtV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 27BE7374E2 X-Spam-Score: 6.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: uiIptzDhkijG Hello Chuck, > On Sunday, 1 May 2022 at 20:01, Berry, Charles wrote: > 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. Many thanks for the insights. I know where to look now: (info "(org) Publishing options") Best regards, Jeremie