[latexila] Build Tools: add XeTeX -> PDF with Latexmk



commit e9ddea0e79a0763763c650eb42c6e22bfdfad809
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Tue Sep 27 00:25:51 2011 +0200

    Build Tools: add XeTeX -> PDF with Latexmk
    
    Thanks to Tanguy Ortolo.

 TODO                               |    3 ---
 data/build_tools/C/build_tools.xml |    8 ++++++++
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/TODO b/TODO
index 4d259d8..f17bbab 100644
--- a/TODO
+++ b/TODO
@@ -6,9 +6,6 @@ See also the Roadmap:
 LaTeXila 2.4
 ============
 
-- Add XeLaTeX to the build tools, example:
-	$ latexmk -pdf -e '$pdflatex=q/xelatex %O %S/' $filename
-
 - Migrate to GTK+ 3.0
   I wanted to make the migration for the 2.2 release but GtkSourceView 3.0 have removed the
   gtk_source_completion_info_set_sizing() function.
diff --git a/data/build_tools/C/build_tools.xml b/data/build_tools/C/build_tools.xml
index d7abaa7..f83a989 100644
--- a/data/build_tools/C/build_tools.xml
+++ b/data/build_tools/C/build_tools.xml
@@ -31,6 +31,14 @@
     <job mustSucceed="true" postProcessor="no-output">$view $shortname.ps</job>
   </tool>
 
+  <tool show="false" extensions=".tex" icon="compile_pdf">
+    <label its:translate="no">XeTeX â PDF (Latexmk)</label>
+    <job mustSucceed="true" postProcessor="latexmk">
+      latexmk -pdf -e &apos;$pdflatex=q/xelatex %O %S/&apos; $filename
+    </job>
+    <job mustSucceed="true" postProcessor="no-output">$view $shortname.pdf</job>
+  </tool>
+
   <!-- View DVI/PDF/PS -->
 
   <tool show="true" extensions=".tex .pdf" icon="view_pdf">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]