emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: John Tarbotton <jtarbotton@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Hiding Properties and Log drawers from export.
Date: Mon, 14 Mar 2011 12:51:47 -0400	[thread overview]
Message-ID: <8158.1300121507@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from John Tarbotton <jtarbotton@gmail.com> of "Mon, 14 Mar 2011 15:51:38 -0000." <loom.20110314T164200-630@post.gmane.org>

John Tarbotton <jtarbotton@gmail.com> wrote:

> Nick Dokos <nicholas.dokos <at> hp.com> writes:
> 
> > John Tarbotton <jtarbotton <at> gmail.com> wrote:
> > 
> > >  Is there a way to prevent the Property and Logfile Drawers from 
> > >   being exported?
> > 
> > Check the value of the following variable (with C-h v 
> > org-export-with-drawers <RET>):
> > 
> > Nick
> > 
> 
> Thanks for the reply that would seem to be what I need. In fact it got me
> half way there.  I set it nil using the menu. The LOGFILE drawers are gone 
> but the property drawers are still there.  The documentation indicates it 
> works with the PROPERTIES draw so I'll keep trying.  Maybe I did something 
> to the .org file that is messing it up.
> 

That's strange. Maybe you can try by setting the variable in the file explicitly.
By uncommenting one of the OPTIONS lines below and leaving the other two commented
out, I can get just the LOGBOOK exported; or both LOGBOOK and PROPERTIES; or neither.

--8<---------------cut here---------------start------------->8---
#+OPTIONS: d:("LOGBOOK")
##+OPTIONS: d:t
##+OPTIONS: d:nil

* Target

* Test
:PROPERTIES:
:COLUMNS:  %40ITEM %Link1 %Link2
:END:


** Test Heading
 :LOGBOOK:
   CLOCK: [2011-03-14 Mon 12:35]--[2011-03-14 Mon 12:35] =>  0:00
 :END:
 :PROPERTIES:
 :Link1: [[* Target]]
 :END:

** Test File
 :PROPERTIES:
 :Link1: [[file:somewhere]]
 :END:
--8<---------------cut here---------------end--------------->8---


Nick

  parent reply	other threads:[~2011-03-14 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14 13:12 Hiding Properties and Log drawers from export John Tarbotton
2011-03-14 14:37 ` Nick Dokos
2011-03-14 15:51   ` John Tarbotton
2011-03-14 16:46     ` John Tarbotton
2011-03-14 17:00       ` Nick Dokos
2011-03-14 16:51     ` Nick Dokos [this message]
2011-03-14 14:46 ` Nick Dokos

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=8158.1300121507@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jtarbotton@gmail.com \
    /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).