emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Elston <m_elston@comcast.net>
To: emacs-orgmode@gnu.org
Subject: Re: latex enumeration issue
Date: Wed, 03 Feb 2010 19:12:16 -0800	[thread overview]
Message-ID: <4B6A3B10.5060300@comcast.net> (raw)
In-Reply-To: <4B6A2FC2.5020908@comcast.net>

OK.  I guess I was wrong.  For some reason this hook doesn't seem
to work.  I masked the issue a different way and it made me *think*
this was working.

Any ideas why this hook function would not remove header lines with
only tags and no header text?

Mark

On 2/3/2010 6:24 PM, Mark Elston wrote:
> ...
>
> ;;; Export Hooks
> (defun mee-delete-empty-org-headers ()
>   (while (re-search-forward "^[*]+ [ ]+:[a-zA-Z0-9]+:$" nil t)
>     (progn
>       (beginning-of-line)
>       (kill-line 0))))
>
> (add-hook 'org-export-preprocess-hook
>           'mee-delete-empty-org-headers)
>
>

  reply	other threads:[~2010-02-04  3:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02 22:08 latex enumeration issue Mark Elston
2010-02-03 10:34 ` Carsten Dominik
2010-02-03 20:41   ` Mark Elston
2010-02-04  2:24     ` Mark Elston
2010-02-04  3:12       ` Mark Elston [this message]
2010-02-04  4:28         ` Dan Davison
2010-02-04  7:00         ` Mark Elston
2010-02-04 10:05       ` Eric S Fraga
2010-02-06  8:18         ` Daniel Martins
2010-02-06 19:06           ` Mark Elston

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=4B6A3B10.5060300@comcast.net \
    --to=m_elston@comcast.net \
    --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).