Crop to coordinates option doesn't work

Jürgen Spitzmüller jspitzm at gmail.com
Sun Jul 14 14:50:17 UTC 2024


Am Sonntag, dem 14.07.2024 um 09:37 -0500 schrieb T Rex:
> The issue for me is irregular behavior regarding the "clip to
> coordinates" option.
> What I expect from "clip to coordinates" when it is active is that
> the action is performed, if not, the image is restored to its
> original state. What I have seen when the option is inactive is that
> there is an effect on how the image is displayed if the coordinates
> are changed.
> 
>  In the case of the example I sent, the normal thing from my point of
> view is that the image is placed below the equation and not to the
> side if the "clip to coordinates" option is not selected.

The LaTeX graphics package provides not only the clip option, but also
the "viewport" option (amongst other similar options). What you see is
the viewport option being used without the clip option. This might be
unexpected from your perspective, but it is something graphics
supports, and we want to support it as well (see the graphics manual
for details).

To reset the image to its original state, press the "Get from File"
button in the "Coordinates and Clipping" pane.

HTH,
-- 
Jürgen


More information about the lyx-devel mailing list