[OS X TeX] webarchive

N S pony777 at gmail.com
Fri May 16 21:50:41 CEST 2008


It appears that all the page images are stored as 'png' files in the  
same directory as the html file in the link you provided.  You can  
then use 'curl' in a terminal to downloaded them all and then, as  
Christopher suggested, use convert (from the ImageMagick package) to  
join them all together:

1) Download all the images -- in your case, the pages are numbered  
57-87 -- in a terminal window run:

curl -O 'http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p 
[0057-0087].png'

note the quote marks around the URL and the change from 'html' to  
'png' at the end of the URL.  The notation [0057-0087] is curl syntax  
(see man curl for more information) to generate the sequence of files  
to download:

	http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p0057.png
	http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p0058.png
	http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p0059.png
	...
	http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p0087.png


You'll end up with a pile of files named p0057.png, p0058.png,  
p0059.png, etc.

2) Join the images to make your pdf -- again, in the terminal in the  
same directory where you have your pile of 'png' files run:

convert p*.png -adjoin GratzerLasker1992.pdf

This will join all the png into a single pdf named GratzerLasker1992.pdf

Hope that helps!

  - Nirav


On May 16, 2008, at 2:57 PM, Christopher Brewster wrote:

> I suggest:
> 1. Save image to file - it is by default a png (i.e. by right  
> clicking)
> 2. Open file in Preview and save as pdf
> or used 'convert' on the command line to batch convert all 30 png  
> files to pdf
> 3. When you print you make sure that you check the box 'shrink to fit'
>
> There is probably a utility to glue all the pdf files together but  
> I have forgotten what that is.
> Using -adjoin in 'convert' may do the trick.
>
> Christopher
>
> *****************************************************
> Department of Computer Science, University of Sheffield
> Regent Court, 211 Portobello Street
> Sheffield   S1 4DP   UNITED KINGDOM
>
>
>
> On 16 May 2008, at 19:28, George Gratzer wrote:
> To illustrate the problem, here is a link:
>
> http://anziamj.austms.org.au/JAMSA/V52/Part1/Gratzer/p0057.html
>
> I want to convert this (and the next 30 pages) into a pdf file. The  
> problem is: printing it as a pdf, makes it into a document of two  
> pages. Then I have to use Photoshop to crop and paste the two into  
> one. Not easy work, because the end of the first page cuts a line  
> (slanted) into two.
>
> The solution would be to save it as a 8.5 X 11 pdf page, but I do  
> not know how to do that. there is no page setup.
>
> GG
>
>
> On 13-May-08, at 10:49 PM, Axel E. Retif wrote:
>
>> On May 13, 2008, at 19:15, George Gratzer wrote:
>>
>>> Is there a way to  convert a .webarchive to pdf?
>>
>> Open it in your browser, then choose ``Print...'' and in the  
>> ``PDF'' pull-down button (left bottom corner) choose ``Save as  
>> PDF...''.
>>
>>
>> Best,
>>
>> Axel
>>
>>
>>
>> -------------------------- Helpful Info --------------------------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>

-------------- next part --------------
 
-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/



More information about the macostex-archives mailing list