Magnification of pdf File Created by LYX

Paul A. Rubin parubin73 at gmail.com
Wed Sep 29 22:57:08 UTC 2021


On 9/29/21 6:17 PM, Doug Martin wrote:
>
>
> On Wed, Sep 29, 2021 at 1:24 PM Andrew Parsloe <ajparsloe at gmail.com 
> <mailto:ajparsloe at gmail.com>> wrote:
>
>     On 30/09/2021 9:03 am, Doug Martin wrote:
>>     Rasmus,
>>
>>     Thanks for your quick response.
>>     Of course one can do what you suggest, and I have done it.
>>
>>     But I do a lot of editing of LYX files and compiling to pdf
>>     (many! times a day), and I want the pdf
>>     file to be at 125% when I open it, and not have to scroll  to get
>>     that.
>>
>>     I did find that there is a LaTeX \mag xxxx, e.g., \mag 1200 for
>>     20% increase, but I haven't been
>>     able to succeed using it by opening the LYX file and adding \mag
>>     1200 (or whatever xxxx turns
>>     out to be needed), and saving it, whereupon I get an error.
>>
>>     This adjustment would seem to be something the the LaTeX to pdf
>>     Conveter should control ???
>>
>>     Doug
>>
>>     On Wed, Sep 29, 2021 at 12:23 PM Rasmus K. Rendsvig
>>     <rendsvig at gmail.com <mailto:rendsvig at gmail.com>> wrote:
>>
>>         Dear Doug,
>>
>>         I am sorry if what you are describing is a more complex issue
>>         then I what I hear it to be, but did you try changing the
>>         zoom level in the pdf viewer itself?
>>
>>         Try e.g. pressing the Ctrl and the + keys simultaneously, or
>>         holding Ctrl while scrolling up on your mouse wheel, or
>>         clicking the field that says 56.7% and see if you can change
>>         it there.
>>
>>         Kind regards,
>>         Rasmus
>>
>>
>>         On Wed, 29 Sep 2021, 18:07 Doug Martin, <martinrd3d at gmail.com
>>         <mailto:martinrd3d at gmail.com>> wrote:
>>
>>             My pdf files compiled from LYX always have 56.7%
>>             magnification, no matter whether I use
>>             different document classes such as Article versus svmono,
>>             and I want them larger by default,
>>             e.g., 125%. I have not found a solution in the User
>>             Guide, and wonder if anyone can explain
>>             how to do this?
>>
>>             Doug Martin
>>
>>             -- 
>>             lyx-devel mailing list
>>             lyx-devel at lists.lyx.org <mailto:lyx-devel at lists.lyx.org>
>>             http://lists.lyx.org/mailman/listinfo/lyx-devel
>>             <http://lists.lyx.org/mailman/listinfo/lyx-devel>
>>
>>
>>
>>     -- 
>>     R. Douglas Martin
>>     Professor Emeritus in Applied Mathematics and Statistics
>>     University of Washington
>
>     This sounds like a pdf viewer default setting. For instance in
>     SumatraPDF which I use, under Settings > Options I'm presented
>     with a small dialogue including the option Default zoom which not
>     only has things like Fit page, Fit width, Fit content, but a list
>     of default zoom levels (from 6400% down to 8.33%). For my aging
>     eyes I use 150% and that is what I get when I view (compile) a LyX
>     document.
>
>     Andrew
>
>
> Andrew,
>
> I had hoped some time ago that Acrobat Pro would do what your 
> SumatraPDF does, but no such luck.
> The settings are there in Acrobat Pro that promise to do it, but they 
> don't work for a fresh pdf file.
> I had pretty good support from Adobe on this problem about a year ago, 
> and the only solution provided
> was that I print the pdf file to Adobe pdf with settings that I use 
> there.  Aside from this being a hassle to do a zillion times a day, it 
> somehow removes the nice LYX created TOC from the pdf file.
>
> FYI, I did a random sample of about 10 pdf files downloaded from 
> different places, and most of them have large magnifications of about 
> 150 to 170, except for pdf files produced from LYX by colleagues and 
> they seem to always be around 56% or so.
>
> I also sent this problem to Springer tech support (for a book we are 
> working on), which has been rather good, almost always providing a 
> solution for our book LYX which is an svmono class.  I will forward to 
> the list anything useful that I get from Springer.
>
> Thanks,
> Doug
>
>     -- 
>     lyx-devel mailing list
>     lyx-devel at lists.lyx.org <mailto:lyx-devel at lists.lyx.org>
>     http://lists.lyx.org/mailman/listinfo/lyx-devel
>     <http://lists.lyx.org/mailman/listinfo/lyx-devel>
>
>
>
> -- 
> R. Douglas Martin
> Professor Emeritus in Applied Mathematics and Statistics
> University of Washington
>
Doug,

I don't have Acrobat Pro, just Acrobat Reader (an old version, on 
Linux), so I don't know if this will help. The zoom level at which a 
file should be opened is apparently a property of the file (in some 
cases) and, when present, will override the default zoom setting in 
Reader (and presumably in Acrobat Pro). In Reader, you can go to Edit > 
Preferences... > Accessibility, and in the "Override Page Display" area 
put a check in the box for "Always use Zoom Setting", which activates a 
select box where you can pick your preferred zoom level.

If that fails, another possibility is to specify it in the command line 
that opens the PDF file. With Acrobat Reader 9 on Linux, the command 
would be

acroread /a "zoom=150=OpenActions" <file name>

and you could either create a script/batch file to open PDFs or, if the 
issue is mainly when viewing a PDF from LyX, you could go (in LyX) to 
Tools > Preferences... > File Handling > File Formats, select whichever 
PDF output format you use (in my case, it's always "PDF (pdflatex)"), 
set the "Viewer:" entry to "Custom" and in the box alongside that type 
in the appropriate command line (like the one above) but without the 
file name, then save your preferences.

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210929/17318bf1/attachment.html>


More information about the lyx-devel mailing list