Hi Bastien, Sebastien, `org-export-with-tags' doesn't seem to work at all when a headline is made title of a subtree export.
When using the appended configuration and org-file; point on the line "point is here"; I'm subtree exporting using C-c C-e C-s h H and I get #+begin_example ... <head> <title>second heading :mytag:</title> <!-- 2014-01-19 Sun 10:42 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> ... #+end_example I suspect the `org-todo-line-regexp' in org-export--get-subtree-options doesn't like/understand tags. Note: I'm rolling my own blog-exporter as a html-derived one (didn't understand org2blog enough to be able to enhance it). For posting a subtree it would be `natural' to use the heading (without tags) as title and tags (if any) as blog tags. Best regards Robert On 01/15/2014 01:31 PM, Robert Klein wrote: > Bastien, Sebastien, > > thank you both for your help. > > I'll check out `org-export-with-tags'. > > I do need the tags, but only in the -export-as- function of a derived > exporter. Probably I still can get them. > > > Thanks a lot > > Best regards > Robert > > > On 01/15/2014 12:53 PM, Bastien wrote: >> >> >> "Sebastien Vauban" <sva-news-D0wtAvR13HarG/[email protected]> >> writes: >> >>> `org-export-with-tags' seems to be the option to do that, nope? >>> >>> ╭──── org-export-with-tags >>> │ >>> │ If nil, do not export tags, just remove them from headlines. >>> ╰──── >> >> I think the OP wants to remove tags just from the titles. >> > >
; no startup message
(setq inhibit-startup-message t)
;; I'm feeling religious about this:
(setq-default indent-tabs-mode nil)
;; ask y or n instead of yes or no
(fset 'yes-or-no-p 'y-or-n-p)
;; indent after enter; I want this most of the time.
(global-set-key (kbd "RET") 'newline-and-indent)
;; use emacs with IME (avoid 'no dead-acute' error messages)
(load-library "iso-transl")
;; change number of newlines for empasized blocks
(setq org-emphasis-regexp-components
'(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 10))
(setq org-export-with-tags nil)
(setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path))
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org-loaddefs)
(setq org-export-with-tags nil)
tag-test.org
Description: Lotus Organizer
