From: Skip Collins <skip.collins@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Grant Rettke <gcr@wisdomandwonder.com>
Subject: Re: Embedding an image in base64; exporting to ascii, html, and latex?
Date: Fri, 18 Apr 2014 09:27:44 -0400 [thread overview]
Message-ID: <CABUh-74XSO1q1EUYJVAPB00FOag1eJkaUMMLjgx5qJa_KwEbjQ@mail.gmail.com> (raw)
In-Reply-To: <87zjjjx047.fsf@bzg.ath.cx>
On Thu, Apr 17, 2014 at 2:49 PM, Bastien <bzg@gnu.org> wrote:
> How would that be different that zipping org files along with pictures
> and related needed content?
Not different at all. Integrating the zipping into org-mode itself
could standardize the process and make it more
repeatable, portable, and convenient. Microsoft Word .docx files have
something like this structure inside:
.
├── [Content_Types].xml
├── _rels
├── docProps
│ ├── app.xml
│ ├── core.xml
│ └── thumbnail.jpeg
└── word
├── _rels
│ └── document.xml.rels
├── document.xml
├── fontTable.xml
├── media
│ └── image1.png
├── settings.xml
├── styles.xml
├── stylesWithEffects.xml
├── theme
│ └── theme1.xml
└── webSettings.xml
An analogous structure inside a filename.orgz container might be
useful. Perhaps something like:
.
├── orgmain.org
├── config.org
├── media
│ └── image1.png
├── elisp
│ ├── init.el
│ └── myorgmacros.el
├── babel
└── export
├── styles
└── output
├── orgmain.pdf
└── orgmain.html
A little elisp wizardry could ensure that invoking
emacs filename.orgz
would actually open and edit orgmain.org inside filename.orgz.
Much of the tree structure could be optional, only included when
certain features are used. Obviously, it would be necessary to put
exported files outside of the .orgz file. But optionally including a
copy inside could be useful. More important would be the inclusion of
all non-standard input files needed to generate the output, things
like images, elisp files, latex and html style files, etc. Maybe even
a copy of the Emacs initialization file used when saving the container
file. Finally, a standardized format for config.org would include
things like Emacs version, Org version, creation date, modification
date, a list of manually included files, etc.
next prev parent reply other threads:[~2014-04-18 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 20:01 Embedding an image in base64; exporting to ascii, html, and latex? Grant Rettke
2014-04-08 1:43 ` Skip Collins
2014-04-17 15:40 ` Bastien
2014-04-17 18:38 ` Skip Collins
2014-04-17 18:49 ` Bastien
2014-04-18 13:27 ` Skip Collins [this message]
2014-04-18 13:37 ` Bastien
2014-04-19 20:37 ` John Kitchin
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=CABUh-74XSO1q1EUYJVAPB00FOag1eJkaUMMLjgx5qJa_KwEbjQ@mail.gmail.com \
--to=skip.collins@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=gcr@wisdomandwonder.com \
/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).