emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] subtree export title w/ tags


From: Robert Klein
Subject: Re: [O] subtree export title w/ tags
Date: Sun, 19 Jan 2014 12:08:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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/address@hidden>
>> 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.
>>
> 
> 

Attachment: .emacs
Description: Text document

Attachment: tag-test.org
Description: Lotus Organizer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]