emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH][ANN] org-html/org-odt


From: Christian Moe
Subject: Re: [O] [PATCH][ANN] org-html/org-odt
Date: Mon, 21 Mar 2011 22:26:02 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Hi,

Very, very nice!

Tested with a minimal emacs, using Org-mode version 7.5 (baseline.6.g533ba.dirty), GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) on a Mac.

Notes on the resulting test.odt document (I've had only a quick look at the html, so what follows refers only to ODT unless HTML is specifically mentioned):

* Blocks

There's no syntax highlighting in exported src blocks (ODT and HTML both). Not a priority?

The OrgVerse style can, luckily, be changed to something more poetic...

* Verbatim LaTeX

I can't report on the LaTeX math display (never got dvipng to install on my system).

What I /can/ report is that with the =LaTeX:verbatim option=, which you probably haven't tested, LaTeX equation environments are not exported (everything after the =\begin{equation}= line is missing or not visible). This is copy-pasted from test.odt:

#+begin_example
  6.5.1 LaTeX Fragment1

  There is a equation down below.
  \begin{equation}

  6.5.2 LaTeX Fragment2

  \begin{equation}
If $a^2=b$ and \( b=2 \), then the solution must be either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
#+end_example

Everything shows up in HTML, but linebreaks before the =\end{equation}= line are lost.

* Links

The link to =Dedicated Target1= under 8.2.3 does not work when clicked (in odt -- it works in html). Hovering does show a popup, =.OrgXref.Dedicated-Target1=. All other links work as expected.

* Captions, labels, references

On opening, caption and reference labels include verbatim the reference key used in the Org source, which was my main concern last time.

But now I realize that this is not an issue after all! =Tools > Update > Update all= takes care of automatic renumbering of all labels/references. This should probably be mentioned in the documentation.

Tomorrow, I'll throw a 40-page report at it and see what happens.
:)

Yours,
Christian




On 3/20/11 7:32 PM, Jambunathan K wrote:

This is a formal request to integrate my org-html.el&  org-odt.el
changes in to the master branch.

This patch introduces 3 major features:
1. A generic exporter
2. All new html backend re-implemented as a plugin to (1).
3. A odt backend as a plugin to (1).

The patch is based on git commit 3d802.

I am attaching a sample test.org and test.html file generated by the
above set of changes.

Http URL for the repo is:
- http://repo.or.cz/w/org-mode/org-jambu.git/shortlog/refs/heads/staging
(`staging' branch of `org-jambu.git')

Let me know if you have any questions.

ps: Considering the amount of effort I have already invested in these
patches it is almost impossible for me to break down this monolithic
patch in to series of smaller patches. I would be willing to accommodate
all other requests.






Jambunathan K.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]