Re: html to pdf conversion

2005-05-25 Thread Rogério Brito
On May 23 2005, Deboo ^ wrote:
 Is there a html to pdf converter utility/script or any such thing
 available for debian? I could not find using apt search.

The program/package htmldoc works wonderfully for my taste and since it
lets you use Times, Courier and Helvetica as fonts for the PS or PDF, the
files generated are quite small (since these fonts are in the Base 14 set).


I hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



html to pdf conversion

2005-05-23 Thread Deboo ^
Is there a html to pdf converter utility/script or any such thing
available for debian? I could not find using apt search.

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: html to pdf conversion

2005-05-23 Thread Glenn English
On Mon, 2005-05-23 at 14:59 -0400, Deboo ^ wrote:
 Is there a html to pdf converter utility/script or any such thing
 available for debian? I could not find using apt search.

Have you considered bringing up the file in a browser and printing it
to a pdf file?

-- 
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20


signature.asc
Description: This is a digitally signed message part


Re: html to pdf conversion

2005-05-23 Thread Deboo ^
On 5/23/05, Glenn English [EMAIL PROTECTED] wrote:
 On Mon, 2005-05-23 at 14:59 -0400, Deboo ^ wrote:
  Is there a html to pdf converter utility/script or any such thing
  available for debian? I could not find using apt search.
 
 Have you considered bringing up the file in a browser and printing it
 to a pdf file?


It's a many paged html file, aa tree like file actually, so it would
be hard to print it in pdf that way.

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: html to pdf conversion

2005-05-23 Thread ice.dp
On 5/23/05, Deboo ^ [EMAIL PROTECTED] wrote:
 On 5/23/05, Glenn English [EMAIL PROTECTED] wrote:
  On Mon, 2005-05-23 at 14:59 -0400, Deboo ^ wrote:
   Is there a html to pdf converter utility/script or any such thing
   available for debian? I could not find using apt search.
 
  Have you considered bringing up the file in a browser and printing it
  to a pdf file?
 
 
 It's a many paged html file, aa tree like file actually, so it would
 be hard to print it in pdf that way.
 
 --
 Please don't Cc: me, I'm subscribed to the list.
 
 


-- 
http://counter.li.org  #387898



Re: html to pdf conversion

2005-05-23 Thread Karsten M. Self
on Mon, May 23, 2005 at 02:59:19PM -0400, Deboo ^ ([EMAIL PROTECTED]) wrote:
 Is there a html to pdf converter utility/script or any such thing
 available for debian? I could not find using apt search.

You've got HTML to PS.  Then PS to PDF is trivial.  The GS scripts
require an input and output file

sudo aptitude install html2ps gs-common
for f in *.html
do 
# Names of PS  PDF
$fpdf=$( echo $f | sed -e 's/\.html/.pdf/' )
html2ps $f - | ps2pdf - $fpdf
done

Note that what you get out _won't_ in all likelihood look much like the
original HTML.  It's going to be a largely unstyled, though if your
document includes contextual markup (e.g.:  h1 h2, etc.) rather than
stupid box-and-font tricks, it should be highly readable and will get
its own automajick ToC stuff.  You won't get pretty colors and all that
jazz.

Oooh  Unless you RTFM.  Neat, I just learned some stuff :-)


Peace.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
Free Software Primer -- concepts you need to understand
http://twiki.iwethey.org/Main/FreeSoftwarePrimer


signature.asc
Description: Digital signature


Re: html to pdf conversion

2005-05-23 Thread Phil Dyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Deboo ^ said:
 Is there a html to pdf converter utility/script or any such thing
 available for debian? I could not find using apt search.

you can use a combination of html2ps and ps2pdf. They are both available
as deb packages.


- --

/phil


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Public Key: http://www.dyermaker.org/gpgkey

iD8DBQFCkjZtGbd/rBLcaFwRAkNFAKCiz7AnK+MoA3W3QjuNU7pQ2E5zRACePGEH
m2axAubqEH753gePNJ9e8R0=
=28DK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]