cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Styler Question 3: any guess why a TeX hack to rotate text wouldn't work on landscape output?

naglists
1-Newbie

Styler Question 3: any guess why a TeX hack to rotate text wouldn't work on landscape output?

I have an element <rotate> permitted within the CALS table model <entry>
that does some funky in the usetext:

source="%\hbox{\special{pub: rotate 90}%,#CONTENT,%}%"

In tables on portrait pages, this gives me text rotated 90 degrees
counter-clockwise. I must manually set the row's height since the rotation
takes place after the formatting engine determines that. However, in tables
that appear on portrait with landscape content or true landscape pages, my
rotated TeX text doesn't show up.

Any TeX mages out there that could suggest a mod to my rotate hack that
might work on landscape output?

Or know another way I could achieve this in 5.3 m110?

(Looks to me like I'll be screen capping and shipping graphics, which I hate
but have done before.)

--
Paul Nagai
2 REPLIES 2

Paul,

I have no basis for this comment at all. I was wondering if it somehow thinks the rotate to landscape is the 90% it's supposed to do. Can you try changing the rotate percent to 180 in the landscape tables and see if that makes a difference.

Again, just something that I'd try.
Trudy



Hi Trudy,
Thanks for the idea ... but no joy. Still no text coming out at all.

I tried rewriting my usetext using the _texmac PI. It did work where the %
escaped code worked before, but on landscape output, I'm still getting
nothing. (Not even unrotated text.)

For fun, though, I did learn you could hide this in someone's XML:

text to turn 90 degrees
counter-clockwise

Other numbers than 90 work, too.

Since the PI fails to work outside of a table but on a page that has been
rotated when composed on both Print Composer and Publishing Engine, I'm
going to open a call against it and see what support thinks.


Top Tags