View Single Post
Old 10-17-2010, 05:16 PM   #149
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Originally Posted by kidblue View Post
It would look funny, but it would retain formatting, which I would prefer. I'm trying to read screenplays, in which dialogue is center-justified but description and scene-headings are normal, left-justified. I'd like to "squeeze" the page to the width of my Kindle, even if it stretches, because the dialogue really wouldn't affected. This making any sense?
I know how to do that with the pdfpages package for pdflatex; some samples are attached. This might be kind of involved for someone who doesn't already know LaTeX, and quite a lot of software to install for so simple a task if this is all you were using it for. If you know what you're doing, it could be scripted, though.

So, see the samples. Basically, I created stretch.pdf by creating a TeX document with the following code:

Code:
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-,width=3in,height=6in,fitpaper]{normal.pdf}
\end{document}
Put it in the same folder as normal.pdf and ran pdflatex on the code.

Obviously you would need to change the width and height to the dimensions of the Kindle screen, which I don't know offhand.

A lot of tweaking would have to be done to ensure that things like metadata were preserved.

It might also be possible to do something like this with Inkscape or Ghostscript, but again, probably not in a user-friendly, straightforward way. If you really wanted to discuss it further, however, let's create a new thread on the idea, and not hijack the BRISS thread. (I wouldn't recommend adding this feature to BRISS...)
Attached Files
File Type: pdf stretch.pdf (40.6 KB, 334 views)
File Type: pdf normal.pdf (39.9 KB, 416 views)
frabjous is offline   Reply With Quote