From: William Crandall <bc3141592@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>,
Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Testing: org-export-e-html (was: Drupal syntax on html-export)
Date: Tue, 29 May 2012 23:27:19 -0700 [thread overview]
Message-ID: <CAENLK5XBpJ=A2QdvbJP3y5tVYfpH7KtcZ=MnQQqVWKvE4HjypQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2753 bytes --]
Hello Nicolas and Jambunathan,
Thanks again for your responses to my questions.
I report some success and some "in process."
1. Stylesheet attachment (with #+STYLE:) works fine now.
2. Your special string example (replace-regexp-in-string),
Nicolas, as well as the better entity solution (\trade),
both work splendidly.
I'm looking now at three issues. Please let me know
what I can/should change.
Thanks again for this new export engine!
Cheers,
-BC
Testing: "M-x org-export-dispatch h"
Org-mode: 7.8.11 (release_7.8.11-18-g244331)
Emacs: 24.1.50.1
Windows 7
--------------------------------------------------
1. UTF-8 XML Encoding
In my init.el:
(setq org-e-html-coding-system 'utf-8)
But first line of test.html:
<?xml version="1.0" encoding="iso-8859-1"?>
In test.org:
org-e-html-coding-system is a variable defined in `org-e-html.el'.
Its value is utf-8
Original value was nil
Documentation:
Coding system for HTML export.
Use `org-export-coding-system' as the default value.
And:
buffer-file-coding-system is a variable defined in `C source code'.
Its value is utf-8-dos
Local in buffer 6-test.org; global value is utf-8-dos
--------------------------------------------------
2a. Internal HTML links (#)
Neither links nor destinations make it into the html.
This:
"an internal section link [[#directors][Directors]]."
becomes:
"an internal section link: <i>Directors</i>.
Was expecting (without italics):
""an internal section link: <a href="#directors">Directors</a>"
--------------------
2b. This target:
# <<directors>>
* A First Section
becomes:
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1">A First Section</h2>
<div class="outline-text-2" id="text-1">
Was expecting:
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><a name="directors" id="directors"></a>A First
Section</h2>
<div class="outline-text-2" id="text-1">
--------------------------------------------------
3. Image and file prefixes are as they were.
This (image):
[[/sites/a.png]]
becomes:
<img src="g:/sites/a.png"/>
And this (file):
[[/sites/my-file][My link]]
becomes:
<a href="file://g:/sites/my-file">My link</a>
I'd love an option to "change it not" for both, so that
neither "g:" nor "file://g:" is added to "/...".
I could strip them out, after exporting, but I think
this is an option that others would also value.
(External links, to an "http://...", work fine.)
------------------[end]---------------------------
On Sun, May 27, 2012 at 9:00 AM, William Crandall <bc3141592@gmail.com>wrote:
> Hello Nicolas and Jambunathan,
>
> Many thanks, to you both, for such quick and detailed responses!
>
>
[-- Attachment #2: Type: text/html, Size: 13830 bytes --]
next reply other threads:[~2012-05-30 6:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 6:27 William Crandall [this message]
2012-05-30 7:08 ` Testing: org-export-e-html Sebastien Vauban
2012-05-30 11:07 ` Nicolas Goaziou
2012-05-30 23:50 ` William Crandall
2012-05-30 23:53 ` William Crandall
2012-05-31 4:28 ` Jambunathan K
2012-05-31 12:08 ` Nicolas Goaziou
2012-06-01 3:56 ` William Crandall
2012-06-01 6:42 ` William Crandall
2012-06-01 16:38 ` Nicolas Goaziou
2012-06-02 2:56 ` William Crandall
2012-06-02 5:04 ` Jambunathan K
2012-06-02 7:40 ` William Crandall
2012-06-02 10:26 ` Jambunathan K
2012-05-31 6:42 ` Jambunathan K
2012-06-01 3:44 ` William Crandall
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='CAENLK5XBpJ=A2QdvbJP3y5tVYfpH7KtcZ=MnQQqVWKvE4HjypQ@mail.gmail.com' \
--to=bc3141592@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
--cc=n.goaziou@gmail.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).