Google Search
Monday, August 20, 2007

Converting Beamer/PDF Presentations to Powerpoint

Beamer is a wonderful set of macros for preparing presentations using Latex. (Check out one of my presentations here if you don't believe me) Beamer's advantages over Powerpoint include the beautiful rendering of mathematical formulae, the separation of content from layout (using \section, \subsection, etc), the ability to use a Bibtex database for references, and the ability to use text-based version control systems (such as CVS) to manage edits.

However, it is sometime necessary to provide a Powerpoint presentation, and Beamer will only produce .ps or .pdf files. To convert a PDF presentation to Powerpoint you need Ghostscript, a recent version of Powerpoint, and perhaps the Powerpoint Photo Album Ad-in Program (for Powerpoint version 2000). Once these programs are installed, follow these simple instructions: (supposing your presentation is called 'my_presentation.pdf', and Ghostscript is installed in 'c:\Program Files\gs\gs8.53\bin\gswin32c.exe')

At the command line, execute:

"c:\Program Files\gs\gs8.53\bin\gswin32c.exe" -dNOPAUSE -g1024x768 -r205 -sDEVICE=pngalpha -sOutputFile=slide_%d.png -dBATCH my_presentation.pdf

This will produce one high-resolution image per slide.

Next, simply open Powerpoint and (for Powerpoint 2000 users) select File->New->General->PhotoAlbum. For users of other versions of Powerpoint, the menus may appear in different places, but I am told the PhotoAlbum options are available by default.

Import all images that were generated at the command line.

Configure the various options as necessary, sort the images, and then click "done". You will probably want to delete the first slide, which is the title page generated by Poweroint.

You're done! Of course, the presentation will be huge, and may take a little longer loading slides, but at least you don't have to use Powerpoint for more than a few seconds to produce your presentation!

Labels: , , ,

Monday, August 13, 2007

Mac OS X 10.4 Shell Configuration

I have been using an Apple iMac (Core 2 duo) since last October, and
I remember spending alot of time configuring the various shell
settings. The following is a summary of my current configuration:


sy on
set ruler
set expandtab
set tabstop=2
set directory=$HOME/.vim
set bdir=$HOME/.vim
set backup


export EDITOR='vim'
export CVSROOT='/usr/local/cvsrep'

export PATH="${PATH}:/sw/bin:."

alias ll='ls -lh'
alias la='ls -lhA'

# The following two lines bind the up and down arrow keys to auto-complete the
# current command by searching the bash history. This is the default
# behaviour of the tcsh shell.

bind '"\M-[A":history-search-backward'
bind '"\M-[B":history-search-forward'


# This nearly empty configuration file prevents the xterm application from launching
# when X windows starts up.

exec quartz-wm

Labels: , , , ,


08/01/2007 - 09/01/2007  09/01/2007 - 10/01/2007  10/01/2007 - 11/01/2007  

This page is powered by Blogger. Isn't yours?

Copyright © 2007, Adam Fourney