Paul A. Rubin <rubin <at> msu.edu> writes: > > Anders Host-Madsen <ahostmadsen <at> yahoo.com> writes: > > > > > Is there a way to make LyX automatically save the LaTeX version of a > > document > > every time the LyX document is saved? > > > > You can write a custom macro that chains the buffer-write and buffer-export > LFUNs and bind it to some key combination. Then you need to remember to use > that key combo whenever you save your file. You will need to specify an > export format (e.g., pdflatex) in the buffer-export function. The LFUNs are > detailed in Help > LyX Functions. > > Paul > >
Thanks. That would work for me. I checked the LFUNs, and I see how I can make each work individually. But how do I combine them? That is, how do I write a macro? I only see something about math macros.
