Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there a shortcut in LyX for export to PDF?

Is there any way to auto export on save?

share|improve this question
    
In Lyx you should be able to customize the shortcuts (Preferences->Editing->Shortcuts). –  Guido Jan 6 '13 at 6:09
1  
Ctrl+R views the output in PDF. To me that's already exported... –  Werner Jan 6 '13 at 6:17

1 Answer 1

up vote 6 down vote accepted

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 buffer-write to command-sequence buffer-write; buffer-export pdf2.

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".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.