Hi, Firstly, let me say that I'm really impressed with Lyx 1.2.0. The new features are great, and it has been very stable for me so far. Great job.
One problem I had importing Lyx1.1.6 documents is that Lyx 1.2.0 insists on specifying a rotation origin to includegraphics. The default 'origin=c' is not handled by graphicx.sty identically to an unspecified origin, so the bounding box calculations on some of my EPS files were messed up. The attached (tiny) patch adds a blank rotation origin option "default", which is now the default option, so a rotation origin isn't added to Lyx-1.1.6 docs. This patch is against 1.2.1cvs (checked out from a couple of hours ago). I've tested this a lot here, and I can't find any problems with it. regards, John.
--- insetgraphicsParams.C.old Fri Jun 7 17:30:43 2002 +++ insetgraphicsParams.C Fri Jun 7 17:31:01 2002 @@ -95,7 +95,7 @@ lyxsize_type = DEFAULT_SIZE; // do nothing keepAspectRatio = false; // only for latex rotate = false; // Rotating - rotateOrigin = "center"; // Origin + rotateOrigin = string(); // Origin rotateAngle = 0.0; // in degrees special = string(); // userdefined stuff }
--- ControlGraphics.C.old Fri Jun 7 17:33:25 2002 +++ ControlGraphics.C Fri Jun 7 17:34:23 2002 @@ -191,6 +191,7 @@ // correspond to the LaTeX identifiers shown in the comments at the // end of each line. char const * const rorigin_lyx_strs[] = { + "", // "center", // c "leftTop", "leftBottom", "leftBaseline", // lt lb lB "centerTop", "centerBottom", "centerBaseline", // ct cb cB @@ -199,6 +200,7 @@ // These are the strings, corresponding to the above, that the GUI should // use. Note that they can/should be translated. char const * const rorigin_gui_strs[] = { + N_("default"), N_("center"), N_("left top"), N_("left bottom"), N_("left baseline"), N_("center top"), N_("center bottom"), N_("center baseline"),