From Electron Cloud
Jump to: navigation, search
m
 
Line 22: Line 22:
 
pdfcat out.pdf in1.pdf in2.pdf ....
 
pdfcat out.pdf in1.pdf in2.pdf ....
 
</pre>
 
</pre>
 
 
 
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
 
[http://www.casino-theory.com/craps-rules/internet-craps-gambling.html internet craps gambling]
 
[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash]
 
[http://www.slots-wiki.com/index.php/slots_hints slots hints]
 
[http://www.casino-games-wiki.com/index.php/on_line_casino_games on line casino games]
 
[http://www.gambling-online-theory.com/casinos-portal/casinos-games.html casinos games]
 
[http://www.casinos-new.com/blackjack.html Online casino - Blackjack online]
 
[http://www.casino-theory.com/online-casino-bonus/index.html online casino bonus]
 
[http://www.magical-casino.com/online_games.html Online casino games.]
 
[http://www.3wcasinos.com/roulette-tips/roulette-description.html roulette description]
 

Latest revision as of 00:13, 30 December 2006

#!/bin/bash
cat <<ENDTXT >__tmp__.tex
\documentclass[landscape]{article}
\usepackage{pdfpages}
\begin{document}
ENDTXT
outnm=$1
count=`echo "$# - 1" |bc`
for f in `seq $count`; do
shift
echo "\includepdf[pages=-]{$1}" >>__tmp__.tex
done
echo "\end{document}" >>__tmp__.tex
pdflatex __tmp__.tex
rm __tmp__.{tex,aux,log}
mv __tmp__.pdf $outnm

Save the above as pdfcat, chmod a+x and call it like this:

pdfcat out.pdf in1.pdf in2.pdf ....