Reading PDFs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One of the problems with PDFs that are designed for printing is that the 
margins and the orientation are understandably suboptimal for reading on 
an 800x480 screen on a handheld device.

While sorting out some material for a long flight and trip next month, I 
realised that by trimming the margins and rotating 90 degrees clockwise, 
the pages of a book-shaped PDF could be made to fit comfortably on the 
N800 screen so that I could hold it long ways up, with the control 
button at the bottom where my thumb would be.

You can probably do this in a full copy of Acrobat, but the following 
LaTeX code seems to do the job:

\documentclass[a4paper]{article}
\usepackage[landscape,margin=0pt,nohead,nofoot,
   papersize={480,800},textheight=440bp]{geometry}
\usepackage{pdfpages}
\pagestyle{empty}
\begin{document}
\includepdf[angle=270,trim=72 72 72 72,pages=-]{filename}
\end{document}

The only things you need to measure are how much to trim off the four 
sides to get rid of some of the margins (the units are Adobe points). 
The minus argument to pages means "all"; you can also select a list or 
range in curly braces like pages={1,2,3-10,14-22} etc.

Happy summer reading...now all I need is a battery capable of lasting an 
8-hr flight in cattle class where there are no charger outlets...

///Peter
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux