On Mon, Sep 22, 2014 at 04:59:26AM -0700, TR NS wrote:
>
>
> On Monday, September 22, 2014 5:02:20 AM UTC-4, Robin Powell wrote:
> >
[snip]
> > The required software now is just docbook itself (on my Fedora
> > system that's just "sudo yum install docbook5-style-xsl"), and
> > the free/test version of Prince, and probably the DejaVu font,
> > so it should be easy for people to help.
>
> I am a little confused. What has changed? If docbook is still
> being used, how did bringing Prince into the picture help?
The problem was always getting from docbook to PDF, and more
specifically getting from docbook to both PDF and HTML without
duplicating a *ton* of work. The previous method was to turn the
docbook into HTML and then do a ton of CSS customization work, *and
also* turn docbook into LaTeX via dblatex and then do a ton of LaTeX
customization work, frequently on exactly the same issues as the
CSS.
With Prince, we turn the docbook into HTML, and then use one CSS for
display and one for print. The two CSS files even share much of
their content.
(This isn't actually *quite* true; the docbook -> HTML step has
slightly different config values for the display run vs. the print
run, but the differences are so minor as to not really be worth
consideration.)