From: Eric Schulte <schulte.eric@gmail.com>
To: Simon Thum <simon.thum@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] Editable HTML export of Org-mode files
Date: Sun, 28 Oct 2012 09:19:44 -0600 [thread overview]
Message-ID: <87625utyi7.fsf@gmail.com> (raw)
In-Reply-To: <50883F59.10907@gmx.de> (Simon Thum's message of "Wed, 24 Oct 2012 21:19:53 +0200")
Simon Thum <simon.thum@gmx.de> writes:
> On 10/22/2012 10:38 PM, Eric Schulte wrote:
>> Simon Thum<simon.thum@gmx.de> writes:
>> --8<---------------cut here---------------start------------->8---
>> foo bar
>>
>>
>>
>>
>>
>> --8<---------------cut here---------------end--------------->8---
>>
>> all of the spaces and newlines are inserted into the Org-mode file.
>> However, when that Org-mode file is re-exported, it uses the normal html
>> exporter (which *does* ignore whitespace by default).
>>
>> So, if you are not having the spaces inserted into your Org-mode file
>> that is a problem with org-ehtml, but if you *are* having the spaces
>> appear in your .org file (server-side), but they are not appearing in
>> the exported HTML, that is expected behavior.
>
> I meant when editing in the HTML page via the server
> call-back. Changing the WS means all lines change, regardless of
> whether I edited them. From your description I assume the edit box
> content comes out of the export, too? I guess that needs to change for
> this to work reliably.
>
Yes, the content of the edit boxes does come from the exported html.
For each portion of the Org-mode document (as delimited by
org-elements), both the raw Org-mode text and the HTML are exported
side-by-side, then the raw Org-mode text is hidden and the HTML is
displayed, until the [edit] button is pushed at which point JavaScript
is used to hide the HTML and to expose the raw Org-mode text in an edit
box. When edits are committed they are committed one portion (edit-box)
at a time.
Does this make sense?
Why would something need to change for "this" to be reliable?
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2012-10-28 15:19 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 22:28 [ANN] Editable HTML export of Org-mode files Eric Schulte
2012-08-14 7:44 ` Bastien
2012-08-14 9:40 ` Rasmus
2012-08-14 10:01 ` Bastien
2012-08-14 12:56 ` Eric Schulte
2012-08-14 21:45 ` Bastien
2012-08-15 15:31 ` Eric Schulte
2012-08-15 3:25 ` Eric Abrahamsen
2012-08-15 15:17 ` Eric Schulte
2012-08-15 23:51 ` Eric Schulte
2012-08-16 5:08 ` Eric Abrahamsen
2012-08-16 6:45 ` Eric Schulte
2012-08-16 7:27 ` Eric Abrahamsen
2012-08-16 13:36 ` Eric Schulte
2012-08-16 14:41 ` Eric Abrahamsen
2012-08-16 15:08 ` Eric Schulte
2012-08-16 2:06 ` Ista Zahn
2012-08-16 6:31 ` Eric Schulte
2012-08-16 15:58 ` Ista Zahn
2012-08-16 16:36 ` Eric Schulte
2012-08-16 17:44 ` Achim Gratz
2012-08-16 20:05 ` Eric Schulte
2012-08-16 19:43 ` Ista Zahn
2012-08-16 20:11 ` Eric Schulte
2012-08-16 20:50 ` Ista Zahn
2012-10-02 5:23 ` Eric S Fraga
2012-10-05 3:23 ` Eric Schulte
2012-10-21 18:27 ` Simon Thum
2012-10-22 20:38 ` Eric Schulte
2012-10-24 19:19 ` Simon Thum
2012-10-28 15:19 ` Eric Schulte [this message]
2012-10-28 15:35 ` Simon Thum
2012-10-29 8:29 ` Nitin Agarwal
2012-10-30 9:37 ` Nitin Agarwal
2012-10-30 16:56 ` Eric Schulte
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=87625utyi7.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=simon.thum@gmx.de \
/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).