Hironobu Yamashita wrote:

> [ supporting /Rotate ]

> Is there any chance for XeTeX and xdvipdfmx to overcome
> the difficulty?

If you don't want to patch the source code of xetex/xdvipdfmx you
could try a pure macro solution, which of course would not be
independent of LaTeX, plain TeX, ...


With help of -shell-escape I think this can be done in a graphicx
driver:

1) Use pdfinfo to extract this information from a pdf:

   \immediate\write18{pdfinfo -f 1 -l 99 fileA.pdf > fileA.info}

2) Read in and parse this info file with TeX. Maybe simplify
   this info file with another tool (sed or whatever) first.

3) Instruct the graphicx driver to add `angle=-90' or whatever
   is necessary depending on the info file.

This could be done in the driver file without notice and interaction
of the user.


Ciao
Andreas



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to