LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Tue, 22 Sep 2015 22:53:19 +0200
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii
From: Reinhard Kotucha <[log in to unmask]>
Parts/Attachments: 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]