From: Carsten Dominik <dominik@uva.nl>
To: giovanni.ridolfi@yahoo.it
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: possible Bug in export-Region-as-HTML
Date: Wed, 23 Jul 2008 10:43:48 -0700 [thread overview]
Message-ID: <CBD44006-4541-4B9E-B83C-2C822800CC33@uva.nl> (raw)
In-Reply-To: <167535.82989.qm@web28312.mail.ukl.yahoo.com>
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 <giovanni.ridolfi@yahoo.it> 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 <h2 > for defining the second level
>> i.e. "2nd" , but <h3>
>
> 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 <h2> , "** 2nd" <h3> 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
prev parent reply other threads:[~2008-07-23 17:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 14:33 possible Bug in export-Region-as-HTML Giovanni Ridolfi
2008-07-23 14:41 ` Giovanni Ridolfi
2008-07-23 17:43 ` Carsten Dominik [this message]
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=CBD44006-4541-4B9E-B83C-2C822800CC33@uva.nl \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=giovanni.ridolfi@yahoo.it \
/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).