From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id 2F8tIviUy17jcQAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 25 May 2020 09:50:48 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id qFEfHviUy16FBgAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 25 May 2020 09:50:48 +0000
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 162979403EC
	for <larch@yhetil.org>; Mon, 25 May 2020 09:50:48 +0000 (UTC)
Received: from localhost ([::1]:52394 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1jd9kt-0002Cn-2w
	for larch@yhetil.org; Mon, 25 May 2020 05:50:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46552)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@relevant-information.com>)
 id 1jd9U2-0004S1-Ec
 for emacs-orgmode@gnu.org; Mon, 25 May 2020 05:33:22 -0400
Received: from mout-p-103.mailbox.org ([2001:67c:2050::465:103]:21260)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <leo@relevant-information.com>)
 id 1jd9U1-0006S9-5P
 for emacs-orgmode@gnu.org; Mon, 25 May 2020 05:33:21 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 49VsMv4N8qzKmdr;
 Mon, 25 May 2020 11:33:15 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172])
 (amavisd-new, port 10030)
 with ESMTP id F4iWSxZupFRq; Mon, 25 May 2020 11:33:12 +0200 (CEST)
From: Leo Okawa Ericson <leo@relevant-information.com>
To: Kyle Meyer <kyle@kyleam.com>, Vladimir Nikishkin <lockywolf@gmail.com>,
 emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Is there a way to export only a subtree of a document to LaTeX
 (or anywhere)?
In-Reply-To: <87mu5wsra5.fsf@kyleam.com>
References: <CA+A2iZZ0bUX3MvNgfjSmoSq9iTC7rN-D4HCqfTEhQ+YH-f9R-A@mail.gmail.com>
 <87mu5wsra5.fsf@kyleam.com>
Date: Mon, 25 May 2020 11:32:59 +0200
Message-ID: <87blmc1hro.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 6610617F1
X-Rspamd-Score: -3.73 / 15.00 / 15.00
Received-SPF: pass client-ip=2001:67c:2050::465:103;
 envelope-from=leo@relevant-information.com; helo=mout-p-103.mailbox.org
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Mailman-Approved-At: Mon, 25 May 2020 05:50:15 -0400
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Spam-Score: -0.01
X-TUID: kNmYd/G16dQO

Kyle Meyer <kyle@kyleam.com> writes:

> Vladimir Nikishkin writes:
>
> When you enter the export dispatch, you should see an "Export scope"
> option bound to C-s.  That toggles between buffer and subtree export.

I think it also works to narrow the buffer to what you want to export.
Calling org-narrow-to-subtree and then exporting will export only that
subtree (at least for me).