File: build_tools.xml

package info (click to toggle)
enter-tex 3.48.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,460 kB
  • sloc: ansic: 10,657; xml: 3,025; makefile: 8; sh: 7
file content (107 lines) | stat: -rw-r--r-- 4,247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<tools xmlns:its="http://www.w3.org/2005/11/its">
  <!-- Latexmk -->

  <tool id="0" enabled="true" extensions=".tex" icon="compile_pdf">
    <label its:translate="no">LaTeX → PDF (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -pdf -synctex=1 $filename</job>
    <open>$shortname.pdf</open>
  </tool>

  <tool id="1" enabled="true" extensions=".tex" icon="compile_dvi">
    <label its:translate="no">LaTeX → DVI → PDF (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -pdfdvi -synctex=1 $filename</job>
    <open>$shortname.pdf</open>
  </tool>

  <tool id="2" enabled="true" extensions=".tex" icon="compile_ps">
    <label its:translate="no">LaTeX → DVI → PS → PDF (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -pdfps -synctex=1 $filename</job>
    <open>$shortname.pdf</open>
  </tool>

  <tool id="3" enabled="false" extensions=".tex" icon="compile_dvi">
    <label its:translate="no">LaTeX → DVI (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -synctex=1 $filename</job>
    <open>$shortname.dvi</open>
  </tool>

  <tool id="4" enabled="false" extensions=".tex" icon="compile_ps">
    <label its:translate="no">LaTeX → DVI → PS (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -ps -synctex=1 $filename</job>
    <open>$shortname.ps</open>
  </tool>

  <tool id="5" enabled="false" extensions=".tex" icon="compile_pdf">
    <label its:translate="no">XeTeX → PDF (Latexmk)</label>
    <job postProcessor="latexmk">latexmk -xelatex -synctex=1 $filename</job>
    <open>$shortname.pdf</open>
  </tool>

  <!-- View DVI/PDF/PS -->

  <tool id="6" enabled="true" extensions=".tex .pdf" icon="enter-tex-pdf">
    <label>View PDF</label>
    <description>View the PDF file</description>
    <open>$shortname.pdf</open>
  </tool>

  <tool id="7" enabled="true" extensions=".tex .dvi" icon="enter-tex-dvi">
    <label>View DVI</label>
    <description>View the DVI file</description>
    <open>$shortname.dvi</open>
  </tool>

  <tool id="8" enabled="true" extensions=".tex .ps" icon="enter-tex-ps">
    <label>View PS</label>
    <description>View the PostScript file</description>
    <open>$shortname.ps</open>
  </tool>

  <!-- latex, pdflatex -->

  <tool id="12" enabled="false" extensions=".tex" icon="compile_pdf">
    <label its:translate="no">LaTeX → PDF (pdflatex)</label>
    <description>Create a PDF file from LaTeX sources with the “pdflatex” command</description>
    <job postProcessor="latex">pdflatex -interaction=nonstopmode -synctex=1 $filename</job>
  </tool>

  <tool id="13" enabled="false" extensions=".tex" icon="compile_dvi">
    <label its:translate="no">LaTeX → DVI (latex)</label>
    <description>Create a DVI file from LaTeX sources with the “latex” command</description>
    <job postProcessor="latex">latex -interaction=nonstopmode -synctex=1 $filename</job>
  </tool>

  <!-- BibTeX, MakeIndex -->

  <tool id="14" enabled="false" extensions=".tex" icon="system-run">
    <label its:translate="no">BibTeX</label>
    <description>Run BibTeX (bibliography)</description>
    <job postProcessor="all-output">bibtex $shortname.aux</job>
  </tool>

  <tool id="15" enabled="false" extensions=".tex" icon="system-run">
    <label its:translate="no">MakeIndex</label>
    <description>Run MakeIndex</description>
    <job postProcessor="all-output">makeindex $shortname.idx</job>
  </tool>

  <!-- Convert -->

  <tool id="16" enabled="false" extensions=".tex" icon="gtk-convert">
    <label its:translate="no">DVI → PDF</label>
    <description>Convert the DVI document to the PDF format</description>
    <job postProcessor="all-output">dvipdf $shortname.dvi</job>
  </tool>

  <tool id="17" enabled="false" extensions=".tex" icon="gtk-convert">
    <label its:translate="no">DVI → PS</label>
    <description>Convert the DVI document to the PostScript format</description>
    <job postProcessor="all-output">dvips $shortname.dvi</job>
  </tool>

  <tool id="18" enabled="false" extensions=".tex" icon="gtk-convert">
    <label its:translate="no">PS → PDF</label>
    <description>Convert the PostScript document to the PDF format</description>
    <job postProcessor="all-output">ps2pdf $shortname.ps</job>
  </tool>
</tools>