Is there a shortcut in LyX for export to PDF?
Is there any way to auto export on save?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
The following works for me on Ubuntu with LyX 2.0.5:
To create a shortcut, go to Preferences > Editing > Shortcuts and click on "new". For the function put in
buffer-export pdf2 (or if pdf2 is not the format you want then look under Preferences > File Handling > File Formats)
To save and export at the same time, either create a new shortcut or edit the current save shortcut, which is found in the same place. Under "show keybindings containing" text box put
buffer-write. It will show the current shortcut (Ctrl + S by default). Click on it and click "modify". Change
command-sequence buffer-export pdf2; buffer-write.
If you want to get rid of the dialog asking if you want to overwrite (which comes from the export), go to Preferences > Output and change the setting for "Overwrite on export".