summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/xelatexmk.yaml
blob: 149cf6cb8605f045c785f9dbf9005bd641ab1361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
!config
# LaTeXmk with XeLaTeX rule for arara
# author: Brent Longborough
# requires arara 3.0+
identifier: xelatexmk
name: XeLaTeXmK
command: <arara> latexmk -e '$pdflatex=q/xelatex%O%S/' @{action} @{synctex} @{shell} @{options} @{style} -pdf "@{file}"
arguments:
- identifier: action
  flag: <arara> --interaction=@{parameters.action}
- identifier: shell
  flag: <arara> @{isTrue(parameters.shell,"--shell-escape"," --no-shell-escape")}
- identifier: synctex
  flag: <arara> @{isTrue(parameters.synctex,"--synctex=0","--synctex=1")}
- identifier: options
  flag: <arara> @{parameters.options}
- identifier: style
  flag: <arara> -e '$makeindex=q/makeindex %O -s @{parameters.style}.ist -o %D %S/'