emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Baoqiu Cui <cbaoqiu@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: How do you use org for other formats
Date: Thu, 30 Jul 2009 17:59:48 -0700	[thread overview]
Message-ID: <bycr5vxzmyj.fsf@muchbodyking-lm.corp.yahoo.com> (raw)
In-Reply-To: 87prbiau5g.fsf@gollum.intra.norang.ca

Hi,

Bernt Hansen <bernt@norang.ca> writes:

> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> Bernt Hansen <bernt@norang.ca> wrote:
>>
>>> Actually you're right - I didn't notice that.  If I export via docbook
>>> (C-c C-e V) it looks better:  http://www.norang.ca/tmp/x-3.pdf
>>> 
>>
>> Yes, it does look much better (does it work as well with HTML?). 
>
> I've never tried that.  My DocBook toolchain seems to be a bit broken
> ATM since installing nxhtml mode.  I just used the standard PDF via
> Docbook export in org-mode to generate that file.  I've never tried
> DocBook to HTML (or any other format).  I'd really like to get to a
> point where everything goes through a standard DocBook toolchain since
> it supports more output formats.

As long as the PDF generated from DocBook output is good, the HTML
format should be good too.

Here is the HTML output converted from DocBook XML file (the command I
used is ``xsltproc /Users/bcui/Downloads/docbook-xsl-ns/xhtml/chunk.xsl
t.xml'', where t.xml is the DocBook exporting result):

------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>a</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.75.1" /><link rel="home" href="index.html" title="a" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">a</th></tr></table><hr /></div><div xml:lang="en" class="article" title="a" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="id402943"></a>a</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Baoqiu</span> <span class="othername"></span> <span class="surname">Cui</span></h3><code class="email">&lt;<a class="email" href="mailto:bcui@yahoo-inc.com">bcui@yahoo-inc.com</a>&gt;</code></div></div></div><hr /></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="index.html#sec-1">Some math formulae: </a></span></dt></dl></div><div class="section" title="Some math formulae:"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sec-1"></a>Some math formulae: </h2></div></div></div><p>
y = x<sub>1</sub><sup>2</sup> + x<sub>2</sub><sup>2</sup>
</p><p>
y<sup>2</sup> = 2x<sup>2</sup> + 1
</p><p>
z<sub>2</sub> = x<sub>1</sub> + x<sub>2</sub> + 2 (y<sub>1</sub> + y<sub>2</sub> + r)<sup>4</sup>
</p></div></div><div class="navfooter"><hr /></div></body></html>
------------------------------------------------------------------------

Here is the original Org file:

------------------------------------------------------------------------
* Some math formulae:

y = x_1^2 + x_2^2

y^2 = 2x^2 + 1

z_2 = x_1 + x_2 + 2 (y_1 + y_2 + r)^4

------------------------------------------------------------------------

Regards,
Baoqiu

  reply	other threads:[~2009-07-31  1:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 16:06 How do you use org for other formats zwz
2009-07-30 17:13 ` Bernt Hansen
2009-07-30 17:49   ` Brian van den Broek
2009-07-30 18:00     ` Bernt Hansen
2009-07-30 18:31       ` Nick Dokos
2009-07-30 18:43         ` Bernt Hansen
2009-07-31  0:59           ` Baoqiu Cui [this message]
2009-08-03  4:37     ` Carsten Dominik
2009-07-30 17:53   ` Nick Dokos
2009-07-30 18:02     ` Bernt Hansen
2009-08-03  4:37     ` Carsten Dominik
2009-07-31 22:13   ` zwz
2009-08-01  1:55     ` Bernt Hansen

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=bycr5vxzmyj.fsf@muchbodyking-lm.corp.yahoo.com \
    --to=cbaoqiu@yahoo.com \
    --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 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).