emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Patrick Drechsler <patrick@pdrechsler.de>
To: emacs-orgmode@gnu.org
Subject: customize exporting "visible" contents
Date: Sat, 14 Jul 2007 03:20:45 +0200	[thread overview]
Message-ID: <87y7hj93wy.fsf@pdrechsler.de> (raw)

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)

             reply	other threads:[~2007-07-14  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-14  1:20 Patrick Drechsler [this message]
2007-07-14  7:43 ` customize exporting "visible" contents Jost Burkardt
2007-07-15 11:49   ` Patrick Drechsler
2007-08-24  6:07   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y7hj93wy.fsf@pdrechsler.de \
    --to=patrick@pdrechsler.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).