From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: possible Bug in export-Region-as-HTML Date: Wed, 23 Jul 2008 10:43:48 -0700 Message-ID: References: <167535.82989.qm@web28312.mail.ukl.yahoo.com> Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLiNc-00021B-MJ for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 13:44:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLiNc-000205-2f for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 13:44:00 -0400 Received: from [199.232.76.173] (port=38352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLiNb-0001zu-EJ for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 13:43:59 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:29655) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLiNa-0006hW-LM for emacs-orgmode@gnu.org; Wed, 23 Jul 2008 13:43:59 -0400 In-Reply-To: <167535.82989.qm@web28312.mail.ukl.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: giovanni.ridolfi@yahoo.it Cc: org-mode This is fixed now, thanks for the report. It was cause by a interference between the following two features: 1. If you use org-export-region-as-html, only the current region is exported 2. If you select a subtree as a region and then use the normal org-export-as-html, this means that the subtree should be exported, using the first headline in the tree as the heading. Maybe (2) should not even exist, or at least be a separate command, this is quite confusing. - Carsten On Jul 23, 2008, at 7:41 AM, Giovanni Ridolfi wrote: > /punk: DIMyself ;-) > --- Mar 22/7/08, Giovanni Ridolfi ha > scritto: >> ---------- org file: ---------- >> #### blank line here >> * first >> hi >> ** 2nd >> hello >> *** 3rd >> it's me! >> **** 4th >> bye! . .<- cursor within dots >> --------------------------------------- >> 1. exports the first heading as the title of the HTML file >> :-( > > If you want the exporter performs correctly, > THEN just set the mark (C-SPC) in a blank line > *before* the heading you want to export. > >> 2. exports "first" as the first heading > I cannot reproduce this anymore. > >> but does *not* export the text "hi" >> 3. does not use

for defining the second level >> i.e. "2nd" , but

> > Well if the region includes another "first heading" > i.e.: > ------------------ > * first > hi > ** 2nd > hello > *** 3rd > * first after 3rd > it's me! > **** 4th > bye! . .<- cursor within dots > --------------------- > > everything goes well: > 1. corsor on "* first", > 2. no title, > 3. "* first" is

, "** 2nd"

and so on. > > In conclusion I think it can be added to the documentation > of the function "org-export-region-as-html" > something like that: > "The region to be exported should begin > from a blank line before the headng of interest" > > cheers, > Giovanni > > > Posta, news, sport, oroscopo: tutto in una sola pagina. > Crea l'home page che piace a te! > www.yahoo.it/latuapagina > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode