* [REGRESSION] Html Export
@ 2011-03-17 16:27 Jambunathan K
2011-03-20 11:20 ` David Maus
0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2011-03-17 16:27 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
Can someone fix this regression in the HTML exporter - 294dcb.
The problem is with hyperlink whose description is an image. So have
unicorn logo on the dir where you save this file.
Would appreciate if the whole document exports fine without any
regression.
Will releasing a 7.5.1 version be a good idea considering that HTML
exporter had quite a bumpy ride in the last few weeks.
Jambunathan K.
[-- Attachment #2: test.org --]
[-- Type: text/plain, Size: 13153 bytes --]
#+TITLE: Testfile for OpenDocumentText Exporter
#+AUTHOR: Jambunathan K
#+EMAIL: kjambunathan@gmail.com
#+DATE: 2010-10-26 Sat
#+LANGUAGE: en
#+OPTIONS: H:3 num:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t toc:t
#+OPTIONS: LaTeX:dvipng
#+STARTUP: inlineimages overview
* COMMENT Character Styles
** Bold
*This is bold text*
** Italic
/This is an italicized text/
** Underline
_This is an underlined text_
** Code
=This is a code text=
** Verbatim
~This is a verbatim text~
** Strikethrough
+This is a strikethorugh text+
** Super and Subscripts
Y = a_{0}X^{2}+a_{1}X^{1}+a_{2}
* COMMENT Miscellaneous
Here is a ndash --, a mdash ---, an ellipsis ....
and a horizontal line
---------------------
* COMMENT Paragraph Styles
** Quotation
*** Style1
#+BEGIN_QUOTE
Everything should be made as simple as possible,
but not any simpler -- Albert Einstein
#+END_QUOTE
*** QUOTE Style2
Everything should be made as simple as possible,
but not any simpler -- Albert Einstein
** Verse
#+BEGIN_VERSE
Great clouds overhead
Tiny black birds rise and fall
Snow covers Emacs
-- AlexSchroeder
#+END_VERSE
** Centered
#+BEGIN_CENTER
This is a centered paragraph.
#+END_CENTER
** Example
*** Example Style 1
#+begin_example
First line of the example.
Second line of the example.
#+end_example
*** Example Style 2
: First line of the example.
: Second line of the example.
** Source Block
*** Emacs Lisp Block
#+begin_src emacs-lisp
(defun helloworld ()
""
(message "hello world"))
#+end_src
*** Org Source Block
#+begin_src org
,* Some Appointment
, SCHEDULED: <2010-11-17 Wed>
#+end_src
* COMMENT Embedded ODT
** Handcrafted Para
#+begin_html
<p>
This is a handwritten html para
</p>
#+end_html
#+begin_odt
<text:p> This is a handwritten odt para</text:p>
#+end_odt
** An Equation as Embeded MathML
A trigonometric equation embedded in *MathML*
#+begin_odt
<text:p>
<draw:frame draw:style-name="fr2" draw:name="Object3" text:anchor-type="as-char" svg:width="6.371cm" svg:height="0.483cm" draw:z-index="3">
<draw:object>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mi>sin</mi>
<mrow>
<mrow>
<mo stretchy="false">(</mo>
<mrow>
<mi>A</mi>
<mo stretchy="false">+</mo>
<mi>B</mi>
</mrow>
<mo stretchy="false">)</mo>
</mrow>
<mi mathvariant="normal">=</mi>
<mi>sin</mi>
</mrow>
<mi mathvariant="italic">ACos</mi>
<mrow>
<mi>B</mi>
<mo stretchy="false">+</mo>
<mi>cos</mi>
</mrow>
<mi>A</mi>
<mi>sin</mi>
<mi>B</mi>
</mrow>
<annotation encoding="StarMath 5.0">sin (A+B) = sin ACos B + cos A sin B
</annotation>
</semantics>
</math>
</draw:object>
</draw:frame>
</text:p>
#+end_odt
* COMMENT Lists
** Simple Lists
*** Numbered List
This is a numbered list.
1. L1N1
2. L1N2
3. L1N3
*** Bulleted List
This is a bulleted list.
- L1B1
- L1B2
- L1B3
*** Description List
There is a nested description list down below
- Term-1 :: This is a definition for Term-1 which wraps around to
the next line
- Term-2 :: This is a definition for Term-2 which wraps around to
the next line
- Term-2.1 :: Definition for Term-2.1
- Term-2.2 :: Definition for Term-2.2
*** A Complex List
1. L1N1
1. L2N2
2. L2N3
2. L1N4
* L2B1
* L2B2
- L3B3
First paragraph.
Second paragraph.
- L3B4
3. L1N5
1. L2N6
1. L3N7
** A Very Complex List
*** Lord of the Rings
My favorite scenes are (in this order)
1. The attack of the Rohirrim
2. Eowyn's fight with the witch king
+ this was already my favorite scene in the book
+ I really like Miranda Otto.
- Definition-1 :: Description-1
- Definition-2 :: Description-2
3. Peter Jackson being shot by Legolas
He makes a really funny face when it happens.
- on DVD only
But in the end, no individual scenes matter but the film as a whole.
Important actors in this film are:
- Elijah Wood :: He plays Frodo
- Sean Austin :: He plays Sam, Frodo's friend. I still remember
him very well from his role as Mikey Walsh in
The Goonies
- Embedded Definition 1 :: Embedded Description 1
- Embedded Definition 2 :: Embedded Description 2
* Images
** COMMENT Image URLs
See the You can see the official logo of Orgmode here:
[[http://orgmode.org/img/org-mode-unicorn.png]]
** Thumbnails
This is a clickable image [[http://orgmode.org][./org-mode-unicorn.png]]
** COMMENT Inlined Images
*** A simple inlined image
[[./org-mode-unicorn.png]]
*** A simple image with caption and label
#+CAPTION: Unicorn Logo
#+LABEL: fig:1024
[[./org-mode-unicorn.png]]
*** An image that is explicitly sized
#+CAPTION: Unicorn Logo
#+LABEL: fig:1025
#+ATTR_ODT: (:width 10 :height 10)
[[./org-mode-unicorn.png]]
*** An image that is scaled
#+ATTR_ODT: (:scale 0.5)
[[./org-mode-unicorn.png]]
** COMMENT Reference to an Image
Please refer to \ref{fig:1024} for further information.
** COMMENT LaTeX Fragments
*** LaTeX Fragment1
# See org-format-latex-options
There is a equation down below.
\begin{equation}
e = \frac{1}{2}mv^2
\end{equation}
*** LaTeX Fragment2
\begin{equation}
x=\sqrt{b}
\end{equation}
If $a^2=b$ and \( b=2 \), then the solution must be either $$
a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
* COMMENT File URLs
** Relative URL
[[../src/orgmode.org/lisp/org-odt.el][This is a relative link to styles file]]
** Absolute URL
[[file:~/src/org-jambu/contrib/odt/OrgOdtStyles.xml][This is an absolute link to styles file]]
* COMMENT Links
** Targets
*** Fuzzy Target
*** Target with CUSTOMID
:PROPERTIES:
:CUSTOM_ID: aabbccddeeff
:END:
*** Dedicated Target Style1
# <<Dedicated Target>>
*** Dedicated Target Style2
There is a dedicated target at the end of this sentence -
<<Dedicated Target1>>.
*** <<<Radioed Target>>>
** References
*** References to Fuzzy Target
This is a link to [[Fuzzy Target]].
*** References to CUSTOMID links
This is a link to [[#aabbccddeeff][Target with CUSTOMID]]. This is nodesc link to [[#aabbccddeeff]].
*** References to Dedicated Target
There is a link to nodesc [[Dedicated Target]] here. There is a link
to [[Dedicated%20Target][Jump to Dedicated Target]] here.
There is a link to [[Dedicated%20Target1][Dedicated Target1]] here.
*** References to Radioed Links
This section has references to Radioed Target. One more reference
to Radioed Target.
* COMMENT Tables
** Table.el Table with no Spanning
+---------------+---------------+
|Term |Percentage |
+---------------+---------------+
|Quarter |25% |
|One-Fourth | |
+---------------+---------------+
|Half |50% |
|One-by-Two | |
+---------------+---------------+
|Three-Quarters |75% |
|Three-Fourths | |
+---------------+---------------+
|Full |100% |
|Whole | |
+---------------+---------------+
** A simple Orgmode Table
| EST | New York | -5:00 |
| IST | Madras | +5:30 |
| AST | Bahrain | +3:00 |
** A formatted Orgmode Table
#+CAPTION: An Example Table
#+LABEL: table:10
| Labels | C1 | C2 | C3 |
|------------+-------------+---------------+--------------|
| / | < | > | <> |
| <r> | <l> | <c> | <r> |
| R1 (Right) | R1C1 (Left) | R1C2 (Center) | R1C3 (Right) |
| R2 | R2C1 | R2C2 | R2C3 |
|------------+-------------+---------------+--------------|
| R3 | R3C1 | R3C2 | R3C3 |
|------------+-------------+---------------+--------------|
| R5 | R5C1 | R5C2 | R5C3 |
| R6 | R6C1 | R6C2 | R6C3 |
|------------+-------------+---------------+--------------|
** COMMENT Table.el Table with Spanning
+----------+---------------------+----------+
|Name |cmd calls |Percentage|
+----------+ +----------+
|rgb |93 534 |46% |
+----------+ +----------+
|Xah |82 090 |40% |
+----------+ +----------+
|total |203 118 |100% |
+----------+---------------------+----------+
** COMMENT Another Table.el Table with Spanning
+----------+----------+
| Header 1 | Header 2 |
+----------+----------+
| R1 C1-2 |
+----------+----------+
| R2 C1 | R2-3 C2 |
+ +----------+
| | |
+----------+----------+
* COMMENT Table Referenced
Please refer to \ref{table:10} for further information.
* COMMENT Footnote Definitions (Part 1)
[fn:XYZ] There is a link to [[http://Orgmode.org][Orgmode.org]].
* COMMENT Footnote Usage
** Plain Footnotes
Footnote [1]. One more reference to footnote [1].
** Named Footnotes
Footnote named XYZ [fn:XYZ].
** Inlined Footnote
Inlined footnote [fn:: inline definition]
** Named and Inlined Footnote
Named and Inlined footnote [fn:name: named definition]
* COMMENT Footnote Definitions (Part 2)
[1] Quick brown fox jumps over the lazy dog. Quick brown fox jumps ove
the lazy dog.
* COMMENT About Orgmode
Org is a mode for keeping notes, maintaining TODO lists, and doing
project planning with a fast and effective plain-text system.
Org develops organizational tasks around NOTES files that contain
lists or information about projects as plain text. Org is
implemented on top of Outline mode, which makes it possible to keep
the content of large files well structured. Visibility cycling and
structure editing help to work with the tree. Tables are easily
created with a built-in table editor. Org supports TODO items,
deadlines, timestamps, and scheduling. It dynamically compiles
entries into an agenda that utilizes and smoothly integrates much of
the Emacs calendar and diary. Plain text URL-like links connect to
websites, emails, Usenet messages, BBDB entries, and any files
related to the projects. For printing and sharing of notes, an Org
file can be exported as a structured ASCII file, as HTML, or (TODO
and agenda items only) as an iCalendar file. It can also serve as a
publishing tool for a set of linked web pages.
As a project planning environment, Org works by adding metadata to
outline nodes. Based on this data, specific entries can be extracted
in queries and create dynamic agenda views.
Org mode contains the Org Babel environment which allows you to work
with embedded source code blocks in a file, to facilitate code
evaluation, documentation, and tangling.
Org's automatic, context-sensitive table editor with spreadsheet
capabilities can be integrated into any major mode by activating the
minor Orgtbl mode. Using a translation step, it can be used to
maintain tables in arbitrary file types, for example in LaTeX. The
structure editing and list creation capabilities can be used outside
Org with the minor Orgstruct mode.
Org keeps simple things simple. When first fired up, it should feel
like a straightforward, easy to use outliner. Complexity is not
imposed, but a large amount of functionality is available when you
need it. Org is a toolbox and can be used in different ways and for
different ends, for example:
- an outline extension with visibility cycling and structure editing
- an ASCII system and table editor for taking structured notes
- a TODO list editor
- a full agenda and planner with deadlines and work scheduling
- an environment in which to implement David Allen's GTD system
- a simple hypertext system, with HTML and LaTeX export
- a publishing tool to create a set of interlinked webpages
- an environment for literate programming
There is a website for Org which provides links to the newest
version of Org, as well as additional information, frequently asked
questions (FAQ), links to tutorials, etc. This page is located at
http://orgmode.org.
[-- Attachment #3: test.html --]
[-- Type: text/html, Size: 3752 bytes --]
[-- Attachment #4: Type: text/plain, Size: 6 bytes --]
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [REGRESSION] Html Export
2011-03-17 16:27 [REGRESSION] Html Export Jambunathan K
@ 2011-03-20 11:20 ` David Maus
0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2011-03-20 11:20 UTC (permalink / raw)
To: Jambunathan K; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
At Thu, 17 Mar 2011 21:57:40 +0530,
Jambunathan K wrote:
>
>
> Can someone fix this regression in the HTML exporter - 294dcb.
>
> The problem is with hyperlink whose description is an image. So have
> unicorn logo on the dir where you save this file.
>
> Would appreciate if the whole document exports fine without any
> regression.
7b74ef1c135505b56537d6bdc18ad9e1a713154b fixed the exporter but forgot
the img tag in hyperlink descriptions -- this should be fixed in
master now.
>
> Will releasing a 7.5.1 version be a good idea considering that HTML
> exporter had quite a bumpy ride in the last few weeks.
+1
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-20 11:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 16:27 [REGRESSION] Html Export Jambunathan K
2011-03-20 11:20 ` David Maus
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).