Re: Exporting as PDF (cropped) is not cropping
> On Oct 19, 2018, at 4:09 AM, Daniel wrote: > > On 19/10/2018 11:54, list_em...@icloud.com wrote: >> When I open a new document, type an equation, and export as PDF (cropped), I >> expect to see a PDF file that has zero extra white space around the >> graphical portion of the math. Instead, I see an entire page with the >> equation on the first line. I.e., no cropping. What am I doing wrong? >> LyX 2.3.0 >> Jerry >> > > Works for me on with LyX 2.3.1 on Windows 10. It crops from the equation to > the page number, so the area is quite large but not the whole page. If I set > the page layout page style to empty (via Document > Settings), I get the > formula only. > > (For a short time the full page is shown in the PDF viewer but it is almost > immediately replaced by its cropped version.) > > Daniel > Daniel nailed it for me. I just needed to set the Page Style to plain so that no header-footer decorations and no page numbers appear. If they do appear, the cropping is such that headers-footers and the page number are included. Thanks. Jerry
Re: Exporting as PDF (cropped) is not cropping
On 10/19/18 5:54 AM, list_em...@icloud.com wrote: When I open a new document, type an equation, and export as PDF (cropped), I expect to see a PDF file that has zero extra white space around the graphical portion of the math. Instead, I see an entire page with the equation on the first line. I.e., no cropping. What am I doing wrong? LyX 2.3.0 Jerry When you say "entire page", do you mean a full page in both dimensions? I just tried it, and I got a PDF with a full page (including page number) in the vertical dimension but a width just barely enough to hold the equation. If you need cropping in both directions, I would suggest using the "standalone" document class. If the equation is inline, that should be sufficient. If the equation is display mode (centered on the page), you can either (a) convert it to inline and switch to display mode for subscripts and superscripts inside the inline equation (then export normally, no cropping required), (b) leave the equation in display mode and add the "preview" class option, then export normally, or (c) do (b) but export cropped. Methods (a) and (c) should produce an equation with minimal whitespace on any side; method (b) will (I think) crop vertically but not horizontally. Paul
Re: Exporting as PDF (cropped) is not cropping
On Fri, 19 Oct 2018, list_em...@icloud.com wrote: When I open a new document, type an equation, and export as PDF (cropped), I expect to see a PDF file that has zero extra white space around the graphical portion of the math. Instead, I see an entire page with the equation on the first line. I.e., no cropping. What am I doing wrong? Jerry, How about providing a minimal working example? Is the equation the only line in the document? Is it an inline or display equation? What other characteristics are selected on the Insert -> Math menu? The more details the better. Regards, Rich
Re: Exporting as PDF (cropped) is not cropping
On 19/10/2018 11:54, list_em...@icloud.com wrote: When I open a new document, type an equation, and export as PDF (cropped), I expect to see a PDF file that has zero extra white space around the graphical portion of the math. Instead, I see an entire page with the equation on the first line. I.e., no cropping. What am I doing wrong? LyX 2.3.0 Jerry Works for me on with LyX 2.3.1 on Windows 10. It crops from the equation to the page number, so the area is quite large but not the whole page. If I set the page layout page style to empty (via Document > Settings), I get the formula only. (For a short time the full page is shown in the PDF viewer but it is almost immediately replaced by its cropped version.) Daniel
Exporting as PDF (cropped) is not cropping
When I open a new document, type an equation, and export as PDF (cropped), I expect to see a PDF file that has zero extra white space around the graphical portion of the math. Instead, I see an entire page with the equation on the first line. I.e., no cropping. What am I doing wrong? LyX 2.3.0 Jerry