[OS X TeX] More distiller flexibility in TeXShop (was: Page origin problem with TeXLive and dvips)

Herbert Schulz herbs at wideopenwest.com
Tue Feb 6 12:47:25 EST 2007

On Feb 2, 2007, at 3:14 AM, Bruno Voisin wrote:

> Le 2 févr. 07 à 09:30, Bruno Voisin a écrit :
>> Le 2 févr. 07 à 08:32, Roberto Avanzi a écrit :
>> I may be wrong here (it's possible "ps2pdf13 -dAutoRotatePages=/ 
>> None" won't work for --distiller but `ps2pdf13 -dAutoRotatePages=/ 
>> None` or 'ps2pdf13 -dAutoRotatePages=/None' or `ps2pdf13 - 
>> dAutoRotatePages=/None' will, I never understood how " and ' and `  
>> work in shell scripts), but I am under the impression that what  
>> you suggest requires modification of simpdftex anyway.
> I must admit I'm at a loss here. I just created a document  
> including a sidewaystable (as allowed by the rotating package), so  
> as to provoke automatic rotation. Then I edited the script  
> ps2pdfwrap within the TeXShop application itself (at /Applications/ 
> TeX/TeXShop.app/Contents/Resources/ps2pdfwrap), by replacing the line
> ps2pdf ${filename}
> with
> ps2pdf -dAutoRotatePages =/None ${filename}
> But that seems to have no effect whatsoever, so that I'm not even  
> sure this script is still used by TeXShop.
> Bruno


I just realized that, if you don't mind using latexmk (you can  
download a package I put together for use with TeXShop ---  
LatexmkTeXShop.zip at <http://homepage.mac.com/herbs2/>) and then use  
the latexmk engine there is a way to fix up the processing without  
editing simpdftex itself.

Once you have the LatexmkTeXShop files installed, edit the latexmkrc  
file found in ~/Library/TeXShop/bin/ directory. Change the line

$ps2pdf = 'ps2pdf13';


$ps2pdf = 'ps2pdf13 -dAutoRotatePages=/None';

and it should work.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list