LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Reinhard Kotucha <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Tue, 22 Sep 2015 22:53:19 +0200
text/plain (43 lines)
On 2015-09-20 at 22:24:33 -0400, Boris Veytsman wrote:

 > RK> Date:         Mon, 21 Sep 2015 03:51:44 +0200
 > RK> From: Reinhard Kotucha <[log in to unmask]>
 > RK> The viewport is specified in terms of pixels.  After downsampling the
 > RK> photos I had to change the viewport arguments (divide them by the
 > RK> downsampling factor).  This had to be done manually and thus was quite
 > RK> inconvenient.
 > RK> It would be quite handy to have an option which behaves similar to
 > RK> viewport but accepts arguments relative to the size of the original
 > RK> graphic, for instance [0.15 0.2 0.87 0.98].
 > I am sorry if this is an offtopic here, but the package rviewport in
 > LaTeX2e (full disclosure: written by me and paid for by the Food and
 > Agriculture Organization of the United Nations) does exactly this:
 >      \includegraphics[rviewport=0.15 0.2 0.87 0.98, clip]{image}
 > is the syntax of the package.
 > I have no objection, of course, if L3 uses this in the core graphics
 > instead of a contributed code.

Thanks, Boris.  This looks good.  It's a pity that I wasn't aware of
it a few weeks ago.

However, I asked for the feature on this list because I hope that
LaTeX~3 will have more functionality in its core packages so that the
number of required packages can be reduced.


Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:[log in to unmask]