* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Jürgen Spitzmüller
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#include "qt_helpers.h"
#include "Buffer.h"
+#include "BufferParams.h"
#include "Converter.h"
#include "Format.h"
#include "FuncRequest.h"
bool GuiSendTo::initialiseParams(string const &)
{
format_ = 0;
- command_ = toqstr(lyxrc.custom_export_command);
paramsToDialog(format_, command_);
return true;
}
exports.push_back("text");
if (buffer().isLatex()) {
- exports.push_back("latex");
- exports.push_back("pdflatex");
+ if (buffer().params().useXetex)
+ exports.push_back("xetex");
+ else {
+ exports.push_back("latex");
+ exports.push_back("pdflatex");
+ }
}
else if (buffer().isDocBook())
exports.push_back("docbook");