Monday, October 8, 2012

pdf viewer

I was looking for a super simple pdf viewer.

My current favourite pdf viewer is PDF-XChange viewer, but it's not super
light and I was looking for an alternative.

I wanted to associate the viewer with TeXStudio, my currently favourite
LaTeX editor. TeXStudio has an internal viewer that's pretty good, but I
was looking for something I might like a little more.

The search took a while.

I tried Foxit, Sumatra: too heavy.

mupdf: cannot be configured.

evince: buggy

At last I found what I was looking for: pdflite

Niiiiiiiiiiiiiiiiice!

http://www.pdflite.com/reader

Wednesday, December 21, 2011

bat files to convert, crop, and rotate pdf files

Software: MiKTeX, Ghostscript, Calibre, pdftk, imagemagick.


@echo off
setlocal
cd /d %~dp0

for %%I in (*.eps) do (
"C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\epstopdf" %%I
)

for %%I in (*.pdf) do (
"C:\Program Files (x86)\Ghostscript\gs9.00\bin\gswin32c.exe" -dSAFER -dNOPAUSE -dBATCH -sDEVICE#bbox "%%I" 2> bounding
"C:\Program Files (x86)\Calibre2\pdfmanipulate.exe" crop -o "%%~nICropped.pdf" -b bounding "%%I"
)

for %%I in (*Cropped.pdf) do (
"C:\Program Files (x86)\pdftk\pdftk.exe" "%%I" cat 1-endE output "%%~nIRotated90.pdf"
)

Tuesday, September 23, 2008

Welcome to my memo blog

The sole purpose of this blog, at this stage, is to serve as a repository of information. Most of the content of this blog will be gleaned from the web. Some of the content will summarize my own experience. Most of the content will be related to my laptops and the software I use.

This blog is like a giant memo.