all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* customize exporting "visible" contents
@ 2007-07-14  1:20 Patrick Drechsler
  2007-07-14  7:43 ` Jost Burkardt
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Drechsler @ 2007-07-14  1:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I currently have a large knowledge-base in a single org file (>5k
lines of code). When exporting certain sections I would like to
exclude the rest completely.

Furthermore I would like to have the current section displayed as
title with all child section being adapted accordingly.

Say I have a file ~/tmp/a.org:

--8<---------------cut here---------------start------------->8---
* Windows
** Software for working
   * Cygwin
   * more
* Linux
** Software to install via package manager
** Software to install from source
   Use xstove
   * Emacs
   * Org Mode
     Compile, but keep locale.   
#+OPTIONS: toc:nil
--8<---------------cut here---------------end--------------->8---

I can then invoke `C-c C-e v a' with the cursor being somewhere within
the "* Linux" section. I will still end up with an ASCII file
including the other sections:

,----
|                                        a
|                                        =
| 
| Author: foo
| Date: 2007/07/14 03:08:10
| 
| 
| 1 Windows
| ~~~~~~~~~
| 
| 1.1 Software for working
| ========================
|    * Cygwin
|    * more
| 
| 2 Linux
| ~~~~~~~
| 
| 2.1 Software to install via package manager
| ===========================================
| 
| 2.2 Software to install from source
| ===================================
|    Use xstove
|    * Emacs
|    * Org Mode
|      Compile, but keep locale.   
`----
     
I would like to export something like this:

,----
|                                        Linux
|                                        =====
| 
| Author: foo
| Date: 2007/07/14 03:08:10
| 
| 
| 1 Software to install via package manager
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 
| 2 Software to install from source
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   Use xstove
|   * Emacs
|   * Org Mode
|     Compile, but keep locale.   
`----

Would others find this useful? Is this difficult to imply?

Cheers,

Patrick 
-- 
"I'm all in favor of keeping dangerous weapons out of the hands of
fools. Let's start with typewriters." 
    -- Frank Lloyd Wright (1868-1959)

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

end of thread, other threads:[~2007-08-24 10:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-14  1:20 customize exporting "visible" contents Patrick Drechsler
2007-07-14  7:43 ` Jost Burkardt
2007-07-15 11:49   ` Patrick Drechsler
2007-08-24  6:07   ` Carsten Dominik

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.