From b985659e05b8fd51801bcd39836c3262e8fc5556 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 7 Feb 2008 23:48:59 +0000 Subject: [PATCH] * Add doxy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22855 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index d6ce73deb1..a07fd70dba 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1190,11 +1190,25 @@ void LyXAction::init() "pdflatex" (plain tex for pdflatex) or "ps" for postscript.\n In case of "custom" you will be asked for a format you want to start from and for the command that you want to - apply to this format. + apply to this format. Internally the control is then passed + to #LFUN_BUFFER_EXPORT_CUSTOM. * \li Origin: Lgb, 29 Jul 1997 * \endvar */ { LFUN_BUFFER_EXPORT, "buffer-export", ReadOnly, Buffer }, +/*! + * \var lyx::kb_action lyx::LFUN_BUFFER_EXPORT_CUSTOM + * \li Action: Exports the current buffer (document) from the given format using + the given command on it. + * \li Syntax: buffer-export-custom + * \li Params: format to start from (LyX will care to produce such + intermediate file).\n + this command will be launched on the file. Note that you can + use "$$FName" string to qualify the intermediate file. + * \li Sample: buffer-export-custom dvi dvips -f $$FName -o myfile.ps + * \li Origin: leeming, 27 Mar 2004 + * \endvar + */ { LFUN_BUFFER_EXPORT_CUSTOM, "buffer-export-custom", ReadOnly, Buffer }, /*! * \var lyx::kb_action lyx::LFUN_BUFFER_PRINT