[Scribus] Importing html

John R. Culleton john
Sat Jan 28 16:48:58 CET 2006

On Saturday 28 January 2006 06:14 am, Mikolaj Machowski wrote:
> Dnia sobota, 28 stycznia 2006 01:18, John R. Culleton napisa?:
> > One by one I am bringing up each html in lynx.Then I copy and
> > paste the text for each page of each html into the gvim session.
> You can make it faster (easier?) with -dump option of lynx. Try
> lynx -dump file.html > file.txt
> lynx -dump file2.html >> file.txt
> With a bit of effort, maybe with a bit of renaming of files to get
> proper order you could do::
>     touch file.txt
>     for i in *.html; do
> 	    lynx -dump $i >> file.txt
> 	    # Instead of double new-line you could pass some TeX
> 	    # commands, just remember about escaping of backslashes
> 	    echo "\n\n" >> file.txt
>     done
> This is hardcore unix way, maybe for automation after each CVS update.
> OpenOffice.org 2.0 has surprisingly good HTML import. Just use
> Insert->File... menu and get all files. After that export to PDF.
> m.

Thanks. I worked it out using cat to assemble all the html
files together.I used menu.xml as the base and created a series
of cat statements. Then I used gvim to put the starting and ending
tags on the resulting html file. I brought the file up in Firefox
and saved it as PostScript (pdf save failed.) I ran ps2pdf. Then
I brought it up in Acrobat reader. I am in the process of
printing out odd pages and then evens on the reverse, in 50 page
chunks. The file is 178 US letter pages total. The printing is
very slow on my B/W laser. 

I did not use lynx becuse I want the graphices too if possible. 

My two files, scribus.ps and scribus.pdf are available to the community.
Should I post them somewhere? I don't want to violate copyright
in any way. Whoever is in charge send me an email and I will send
you both files. 

John Culleton
Books with answers to marketing and publishing questions:

Book coaches, consultants and packagers:

More information about the scribus mailing list