Re: Tobacco Leaves: book...



Jeff Schwartz wrote:

"Ian Rastall" <idrastall@xxxxxxxxx> wrote in message news:07icf1hrfic9keq8tlcar289eieqsj1obc@xxxxxxxxxx


On Sun, 07 Aug 2005 14:13:48 GMT, "Jeff Schwartz"
<jatco@xxxxxxxxxxxxxxxxxxxxxxx> wrote:



Is there a way we could convert the book over to XML? If we could, an XSLT
could be applied to it and render it in different formats supplying both an
HTML version and a PDF version. Others could be rendered as well. Just a
thought.


Hi Jeff. I hadn't thought of that. There is an Open eBook format,
which I think can be found here:

http://www.openebook.org/specs.htm

My ability to learn new things is apparently very low, so I can't wrap
my mind around it, or around XSLT for that matter, but if it makes
sense to you, let me know. :-)

My way of making PDFs is to first make the HTML files, then insert
them into OpenOffice Writer, then print to PDF995. It's not the best
way of doing things, but it works.

Of course, XML is a fantastic technology, and I'm all for putting the
book in a format that can be easily transformed into anything we need,
such as PalmDoc format, or something for the new eBook readers.

If you're able to do it, we could add another link to the chain. My
main thing will be proofreading, although if you like I could just
proofread the .txt file, instead of first turning the .txt into .html.

Ian
--
Was it not a comedy, a strange and stupid
matter, this repetition, this running around
in a fateful circle? (Hermann Hesse)
http://www.bookstacks.org/



I'd be more than grateful to give it a shot. I'll do a little research on it and see what I can come up with. I'm versed in XML/XSLT/XPATH so those won't be issues. As I see it now, the issue will be what to call from the XSLT to render the PDF format. HTML is easy as it is just requires that the correct html tags get rendered along with any inner text.


If anyone knows of a callable PDF api in the public domain (freeware) that works with either dotnet or c++/mfc then please let me know. If it is free, great. If it isn't, I can't afford it.

Jeff




Cups with Ghostscript will make pdf files very nicely...and it's free..
And as Ian said OpenOffice makes pdf files too.

--
Cheers
Dale Miller
Tennessee
ASP since February 2005

stpatrick2spam@xxxxxxxxxxx
stpatrick3spam@xxxxxxxxxxx
stpatrick3spam@xxxxxxxxx

(cut the spam to reply)

----
.



Relevant Pages

  • Re: What about these?
    ... individual HTML pages, jumping to the relevant location - if the site ... I have dowloaded books on HTML format ... sure may be better PDF own. ... good printed results as TeX which is less complex. ...
    (comp.lang.lisp)
  • Re: gcc 3.4.2 Ada
    ... >> format, ... >format it is easily converted into text, html, ps, pdf, or info ... To convert texinfo to info/html, ...
    (comp.lang.ada)
  • Re: [opensuse] man pages and PDF
    ... man pages and PDF ... HTML is a hideous medium for publishing. ... The only thing I see as bad about the format itself is the index/toc files. ... And I have never met an info viewer app I could stand, and there are damned few and poor of those incomparison to other formats. ...
    (SuSE)
  • Re: wraping while converting html to PDF
    ... Pre formatted way, but when html is converted to PDF, PRE is working ... with restrictions of PDF file format itself: ... I know all the challenges of HTML-to-PDF converting process and would ...
    (comp.text.pdf)
  • Re: html to pdf
    ... We have HTML datasheets but now we want then in PDF format because ... you still need a 'serialiser' to convert the xsl-fo into pdf. ...
    (comp.text.xml)

Loading