Felix Wiemann | 20 May 13:42
Picon

Re: Alternatives for reST -> PDF

Diego Essaya wrote:

> I have a feeling that "The Right Thing (TM)" would be to rely on CSS
> Print Profile[1], or better yet, on CSS3 Paged Media Module[2].
> Unfortunately, I don't think there is any free tool implementing this
> (Prince[3] is a non-free alternative).

The tool support is the problem indeed.

(La)TeX code looks really ugly IMO, but LaTeX is the only free system
that does actual typesetting, not just text rendering.  We aren't using
LaTeX because we like it, but because it's the only tool out there.
(Well, there may be other TeX-derivatives, but LaTeX seems to be the
most powerful one for general-purpose typesetting.)

Prince's samples look better than Firefox's print output for sure, but
it doesn't even come close to the quality of LaTeX's output.  Not in
math, not in anything else -- hyphenation, margins, font combinations,
kerning, ligatures, etc.

> Using this approach, rst2pdf could just produce an XML or XHTML and
> then convert it to PDF using a standard or custom CSS stylesheet.

Yes, but why wouldn't you want to go via LaTeX instead of via XHTML?
Especially if LaTeX's quality is so much better?

--

-- 
For private mail please ensure that the header contains 'Felix Wiemann'.

"the number of contributors [...] is strongly and inversely correlated with the
number of hoops each project makes a contributing user go through."      -- ESR

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane