[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] CLLv1.1 again: html -> pdf with page numbers?
On Sat, Nov 19, 2011 at 06:21:24PM +0100, Remo Dentato wrote:
> On Sat, Nov 19, 2011 at 5:19 PM, Robin Lee Powell
> <rlpowell@digitalkingdom.org> wrote:
> > On Sat, Nov 19, 2011 at 04:56:14PM +0100, Remo Dentato wrote:
> >> On Sat, Nov 19, 2011 at 3:26 PM, Robin Lee Powell
> >> <rlpowell@digitalkingdom.org> wrote:
> >> > Ummm.
> >> >
> >> > Loading it in LibreOffice and saving as PDF would get you
> >> > *page numbered internal references*? *Really*?
> >>
> >> Just tried and the HTML is indeed to complex.
> >
> > Even the short one?
> >
> >> Will you share the docbook files too? I never tried importing
> >> docbook files into Libreoffice, not sure what comes out.
> >
> > http://vrici.lojban.org/~rlpowell/media/public/tmp/cll_pdf_test.xml
> > is a slightly pared down version, but should do fon this test.
> >
> > I would be very surprised if it did anything useful.
> >
>
> I was hoping to be able to load it into libreoffice and do the
> changes with a script or by definining the proper style in a
> template.
>
> Turned out it was not so simple to do it, as you already had
> guessed.
>
> You want to fix only the indices, right? Not to augment any
> crossreference with the page number.
>
> If you have the PDF "almost right", what about generating a .ps
> file, write a script to replace the "Section x.y" with the proper
> number and then transform the .ps into a .pdf file?
Do you have something that will generate .ps from HTML?
This is all somewhat moot anyways, as the docbook -> latex -> pdf
process is actually going reasonably well; I just figured that maybe
someone out there knew a really good way to do html -> pdf that I
wasn't aware of, so I didn't have to solve a bunch of presentation
problems twice (once in XSLT and CSS, and once in XSLT and LaTex).
-Robin
--
http://singinst.org/ : Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei". My personal page: http://www.digitalkingdom.org/rlp/
--
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.