[texshop] Auto-rotation of landscape pages upon printing
Herbert Schulz
herbs at wideopenwest.com
Tue Dec 7 00:29:41 CET 2021
> On Dec 6, 2021, at 5:19 PM, Bruno Voisin via texshop <texshop at tug.org> wrote:
>
> Just today I noticed something odd with TeXShop. I may have raised the issue already in the past, I'm not sure. If I have, I'm sorry to bring it up again.
>
> I was printing a LuaLaTex PDF document including one rotated page (a sideways table). The page was rotated automatically by using, before \documentclass,
>
> \RequirePackage[figuresright]{rotating}
> \RequirePackage{pdfmanagement-testphase}
> \DeclareDocumentMetadata{}
>
> and after it
>
> \ExplSyntaxOn
> \AddToHook{env/sidewaysfigure/end}{\pdfmanagement_add:nnn{ThisPage}{Rotate}{90}}
> \ExplSyntaxOff
>
> I don't think the specifics matter here, only the fact the page was rotated hence in landscape orientation.
>
> Printing the document in TeXShop, I realized the rotated page looked awful (attached Buoyant-Oscillations-TeXShop): the landscape page was stretched but left as is, resulting in portrait output containing only a part of the original page.
>
> First I thought the printer was to blame, but it turns out it's not. Printing the same page in Preview, everything's fine (attached Buoyant-Oscillations-Preview). Looking closely, the Preview Print window includes an Auto Rotate checkbox while TeXShop doesn't (at least I couldn't find it), and this box seems automatically checked by default.
>
> Again, the above reminds vaguely of something, so I may have raised the issue already. If so, I'm sorry to bother you again with that.
>
> The original document (Buoyant-Oscillations.pdf) is also attached.
>
> Bruno
>
>
> <Buoyant-Oscillations-Preview.pdf><Buoyant-Oscillations-TeXShop.pdf><Buoyant-Oscillations.pdf>
>
>
Howdy,
I believe by default ps2pdf does auto-rotation (usually when you don't want it :-(). If you can use latex->dvips->ps2pdf (i.e., the latex engine) try that.
Good Luck,
Herb Schulz
herbs at wideopenwest.com
More information about the texshop
mailing list.