On 8/29/22 17:48, Christopher Menzel wrote:
Yo, works like a charm! I gave “pdf6” a try (can’t remember what my
justification was!) but didn’t try “7”! Is this documented somewhere?
And what determines the relevant number after “pdf”?
Thanks!!
-c
On 29 Aug 2022, at 4:44 PM, Paul A. Rubin <parubi...@gmail.com> wrote:
On 8/29/22 17:28, Christopher Menzel wrote:
Howdy LyX folk,
Simple question. When I’m working on my laptop (or frankly anything
short of a 27” monitor) I display my documents use PDF (cropped) to
strip away unneeded marginal whitespace. Is there a way to set up a
keyboard shortcut to update my cropped PDFs? Something that will
trigger the action I get by selecting “Update PDF (cropped)” from
the little “recycle” icon? The only shortcut function that seems to
work for updating is “pdf2” and that produces a full-size PDF. I’ve
looked through all the documentation I could find and did a bunch of
googling but to no avail.
Thanks.
Chris Menzel
You can bind a key combo to "buffer-update pdf7". If you want another
shortcut for generating the initial cropped PDF file, bind that one
to "buffer-view pdf7". If that doesn't work, go to Tools >
Preferences... > File Handling > File Formats, selected "PDF
(cropped)" in the "Format:" drop-down list, and make sure the "Short
name:" field on your system reads "pdf7".
Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
The "buffer-update" command is documented in the "LyX Functions" manual
(available from the Help menu). As to the "7", it's just an ordinal. I
suspect the short names were assigned in the order that formats were
added to LyX. So in the beginning there was ps2pdf ("pdf'),, then
pdflatex ("pdf2") and dvipdfm ("pdf3"), etc. Although I can't rule out
the possible involvement of a random number generator.
Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users