From: Wes Hardaker <wjhns209@hardakers.net>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode to iphone?
Date: Thu, 22 Jan 2009 08:05:46 -0800 [thread overview]
Message-ID: <sdiqo7tjfp.fsf@wes.hardakers.net> (raw)
In-Reply-To: <6F960FA4-8F11-48D0-9D51-C27CA1E77128@uva.nl> (Carsten Dominik's message of "Thu, 22 Jan 2009 09:06:38 +0100")
>>>>> On Thu, 22 Jan 2009 09:06:38 +0100, Carsten Dominik <dominik@science.uva.nl> said:
CD> So please get back to it when you find time and keep us
CD> posted. I could tweak the HTML exporter where necessary
CD> to make a good mobile access idea for Org-mode stuff
CD> a reality.
I've been meaning to write this up for a while, and I think this sort of
idea is exactly what could benefit from it...
I think there should be a generic exporter that contains simple
customization rules for how to do an export. Something like:
(setq org-export-templates
'(("mediawiki"
:heading1-prefix "= "
:heading1-suffix " ="
:heading2-prefix "== "
:heading2-suffix " =="
:bold-prefix "'''"
:bold-suffix "'''"
:link-format "[%{url} %{link-text}]"
:numbered-list-prefix "#"
:numbered-list-suffix "\n"
)))
I'm making stuff up on the fly above, but I think you get the idea.
Most of the exporting formats that are needed could really be simplified
down to something minimal like the above. It'd be much easier than
continually rewriting much of the export process when a lot of it is the
same across multiple back-ends.
I'm not sure it could be applied everywhere. Certainly there are some
very tricky elements to deal with (and the default, if not defined,
should be to fall back to a straight text conversion). IE, I'm not sure
the latex backend could be easily rewritten using something like the
above (but hey, you never know).
There are a number of things I'd like to export to something "unusual",
and the above would allow that flexibility. Unfortunately, I don't have
much time, and more importantly don't have the org skill at all to make
it happen.
Thoughts?
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
next prev parent reply other threads:[~2009-01-22 16:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1LEoDW-0007Pp-CL@box188.bluehost.com>
2008-12-22 21:58 ` org-mode to iphone? Robert Goldman
2008-12-22 22:10 ` Christopher DeMarco
2009-01-22 8:06 ` Carsten Dominik
2009-01-22 16:05 ` Wes Hardaker [this message]
2009-01-22 16:57 ` David Thole
2009-01-22 23:09 ` Scot Becker
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sdiqo7tjfp.fsf@wes.hardakers.net \
--to=wjhns209@hardakers.net \
--cc=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.