Hi,

Bernt Hansen <be...@norang.ca> writes:

> Nick Dokos <nicholas.do...@hp.com> writes:
>
>> Bernt Hansen <be...@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:b...@yahoo-inc.com";>b...@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



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to