emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is there a way to export only a subtree of a document to LaTeX (or anywhere)?
@ 2020-05-25  1:53 Vladimir Nikishkin
  2020-05-25  2:05 ` Kyle Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Nikishkin @ 2020-05-25  1:53 UTC (permalink / raw)
  To: emacs-orgmode

I have a huge document written in org, which takes a lot of time to export.

I want to preview chapters/sections as I'm writing, before finishing
the whole book.

Is it possible without copying a subtree to a temporary buffer?


-- 
Yours sincerely, Vladimir Nikishkin


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there a way to export only a subtree of a document to LaTeX (or anywhere)?
  2020-05-25  1:53 Is there a way to export only a subtree of a document to LaTeX (or anywhere)? Vladimir Nikishkin
@ 2020-05-25  2:05 ` Kyle Meyer
  2020-05-25  9:32   ` Leo Okawa Ericson
  0 siblings, 1 reply; 3+ messages in thread
From: Kyle Meyer @ 2020-05-25  2:05 UTC (permalink / raw)
  To: Vladimir Nikishkin, emacs-orgmode

Vladimir Nikishkin writes:

> I have a huge document written in org, which takes a lot of time to export.
>
> I want to preview chapters/sections as I'm writing, before finishing
> the whole book.
>
> Is it possible without copying a subtree to a temporary buffer?

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is there a way to export only a subtree of a document to LaTeX (or anywhere)?
  2020-05-25  2:05 ` Kyle Meyer
@ 2020-05-25  9:32   ` Leo Okawa Ericson
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Okawa Ericson @ 2020-05-25  9:32 UTC (permalink / raw)
  To: Kyle Meyer, Vladimir Nikishkin, emacs-orgmode

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).


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-25  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25  1:53 Is there a way to export only a subtree of a document to LaTeX (or anywhere)? Vladimir Nikishkin
2020-05-25  2:05 ` Kyle Meyer
2020-05-25  9:32   ` Leo Okawa Ericson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).