summaryrefslogtreecommitdiff
path: root/support/arara/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/arara/scripts')
-rw-r--r--support/arara/scripts/rules/arara-rule-animate.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-asymptote.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-authorindex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-bib2gls.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-biber.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-bibtex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-bibtex8.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-bibtexu.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-context.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-copy.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-csplain.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-detex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-dvipdfm.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-dvipdfmx.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-dvips.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-dvipspdf.yaml8
-rw-r--r--support/arara/scripts/rules/arara-rule-dvisvgm.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-etex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-fig2dev.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-frontespizio.yaml8
-rw-r--r--support/arara/scripts/rules/arara-rule-knitr.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-latex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-latexmk.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-llmk.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-ltx2any.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-luahbtex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-lualatex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-luatex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-makeglossaries.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-makeglossarieslite.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-makeindex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-metapost.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-move.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-nomencl.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-pbibtex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-pdfcrop.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-pdfcsplain.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-pdflatex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-pdftex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-pdftk.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-perltex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-platex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-ps2pdf.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-ptex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-pythontex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-sage.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-sketch.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-spix.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-tex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-texcount.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-texindy.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-tikzmake.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-upbibtex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-uplatex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-uptex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-xdvipdfmx.yaml4
-rw-r--r--support/arara/scripts/rules/arara-rule-xelatex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-xetex.yaml2
-rw-r--r--support/arara/scripts/rules/arara-rule-xindy.yaml2
59 files changed, 75 insertions, 75 deletions
diff --git a/support/arara/scripts/rules/arara-rule-animate.yaml b/support/arara/scripts/rules/arara-rule-animate.yaml
index 1d87ddcf4e..07c80b474d 100644
--- a/support/arara/scripts/rules/arara-rule-animate.yaml
+++ b/support/arara/scripts/rules/arara-rule-animate.yaml
@@ -13,8 +13,8 @@ commands:
- name: The Convert program
command: >
@{
- input = getBasename(reference.getName()).concat('.pdf');
- output = getBasename(reference.getName()).concat('.gif');
+ input = getBasename(reference.fileName).concat('.pdf');
+ output = getBasename(reference.fileName).concat('.gif');
return getCommand(program, '-delay', delay, '-loop',
loop, '-density', density, options, input, output);
}
diff --git a/support/arara/scripts/rules/arara-rule-asymptote.yaml b/support/arara/scripts/rules/arara-rule-asymptote.yaml
index 4bc82f5b2b..db28f310f7 100644
--- a/support/arara/scripts/rules/arara-rule-asymptote.yaml
+++ b/support/arara/scripts/rules/arara-rule-asymptote.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('asy', color, engine, twice,
- format, output, options, reference.getName());
+ format, output, options, reference.fileName);
}
arguments:
- identifier: color
diff --git a/support/arara/scripts/rules/arara-rule-authorindex.yaml b/support/arara/scripts/rules/arara-rule-authorindex.yaml
index 166bf51801..1ce7f45a71 100644
--- a/support/arara/scripts/rules/arara-rule-authorindex.yaml
+++ b/support/arara/scripts/rules/arara-rule-authorindex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('authorindex', draft, index, keep, print,
- recurse, options, getBasename(reference.getName()));
+ recurse, options, getBasename(reference.fileName));
}
arguments:
- identifier: draft
diff --git a/support/arara/scripts/rules/arara-rule-bib2gls.yaml b/support/arara/scripts/rules/arara-rule-bib2gls.yaml
index b27309d246..87cf9196f3 100644
--- a/support/arara/scripts/rules/arara-rule-bib2gls.yaml
+++ b/support/arara/scripts/rules/arara-rule-bib2gls.yaml
@@ -63,7 +63,7 @@ commands:
breakspace, trimfields, recordcount, recordcountunit,
cite, verbose, merge, locale, uniscript, packages,
ignore, custom, mapformats, options,
- getBasename(reference.getName()));
+ getBasename(reference.fileName));
}
}
arguments:
@@ -80,7 +80,7 @@ arguments:
throwError('Forbidden transcript extension');
}
- return ['--log-file', getBasename(reference.getName())+"."+parameters.trans]
+ return ['--log-file', getBasename(reference.fileName)+"."+parameters.trans]
}
- identifier: locale
flag: >
diff --git a/support/arara/scripts/rules/arara-rule-biber.yaml b/support/arara/scripts/rules/arara-rule-biber.yaml
index 41a102fa09..dbb5891236 100644
--- a/support/arara/scripts/rules/arara-rule-biber.yaml
+++ b/support/arara/scripts/rules/arara-rule-biber.yaml
@@ -17,7 +17,7 @@ commands:
}
else {
return getCommand('biber', options,
- getBasename(reference.getName()));
+ getBasename(reference.fileName));
}
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-bibtex.yaml b/support/arara/scripts/rules/arara-rule-bibtex.yaml
index 39b251a6bf..9fc044d520 100644
--- a/support/arara/scripts/rules/arara-rule-bibtex.yaml
+++ b/support/arara/scripts/rules/arara-rule-bibtex.yaml
@@ -12,7 +12,7 @@ commands:
- name: The BibTeX reference management software
command: >
@{
- return getCommand('bibtex', options, getBasename(reference.getName()))
+ return getCommand('bibtex', options, getBasename(reference.fileName))
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-bibtex8.yaml b/support/arara/scripts/rules/arara-rule-bibtex8.yaml
index c57bac1396..9c4b0e170c 100644
--- a/support/arara/scripts/rules/arara-rule-bibtex8.yaml
+++ b/support/arara/scripts/rules/arara-rule-bibtex8.yaml
@@ -12,7 +12,7 @@ commands:
- name: An 8-bit implementation of BibTeX 0.99 with a very large capacity
command: >
@{
- return getCommand('bibtex8', options, getBasename(reference.getName()));
+ return getCommand('bibtex8', options, getBasename(reference.fileName));
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-bibtexu.yaml b/support/arara/scripts/rules/arara-rule-bibtexu.yaml
index 202759b352..f3eeb8322a 100644
--- a/support/arara/scripts/rules/arara-rule-bibtexu.yaml
+++ b/support/arara/scripts/rules/arara-rule-bibtexu.yaml
@@ -12,7 +12,7 @@ commands:
- name: An 8-bit implementation of BibTeX 0.99 with a very large capacity
command: >
@{
- return getCommand('bibtexu', options, getBasename(reference.getName()));
+ return getCommand('bibtexu', options, getBasename(reference.fileName));
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-context.yaml b/support/arara/scripts/rules/arara-rule-context.yaml
index 7795a264c1..63ca05981f 100644
--- a/support/arara/scripts/rules/arara-rule-context.yaml
+++ b/support/arara/scripts/rules/arara-rule-context.yaml
@@ -15,7 +15,7 @@ commands:
return getCommand('context', make, ctx, interface, autopdf, purge,
modules, environments, mode, path, arguments,
trackers, directives, silent, errors, interaction,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: make
diff --git a/support/arara/scripts/rules/arara-rule-copy.yaml b/support/arara/scripts/rules/arara-rule-copy.yaml
index 101a92932b..4d67014b06 100644
--- a/support/arara/scripts/rules/arara-rule-copy.yaml
+++ b/support/arara/scripts/rules/arara-rule-copy.yaml
@@ -20,7 +20,7 @@ commands:
prefix = [ 'cmd', '/c', 'copy', '/Y' ];
}
t = isList(target) ? target[0] : target;
- f = toFile(t).getCanonicalFile();
+ f = toFile(t).normalize();
if (getOriginalReference().equals(f)) {
throwError('I cannot overwrite the main file reference.');
}
diff --git a/support/arara/scripts/rules/arara-rule-csplain.yaml b/support/arara/scripts/rules/arara-rule-csplain.yaml
index 58f3099119..72c98b0019 100644
--- a/support/arara/scripts/rules/arara-rule-csplain.yaml
+++ b/support/arara/scripts/rules/arara-rule-csplain.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('csplain', interaction, draft,
- shell, synctex, options, reference.getName());
+ shell, synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-detex.yaml b/support/arara/scripts/rules/arara-rule-detex.yaml
index 924e89b8a9..827789ef76 100644
--- a/support/arara/scripts/rules/arara-rule-detex.yaml
+++ b/support/arara/scripts/rules/arara-rule-detex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
c = getCommand('detex', references, mode, follow, math, spaces,
- words, environments, reference.getName());
+ words, environments, reference.fileName);
if (output.isEmpty()) {
return c;
}
diff --git a/support/arara/scripts/rules/arara-rule-dvipdfm.yaml b/support/arara/scripts/rules/arara-rule-dvipdfm.yaml
index fa98bb4ba5..554b0f8942 100644
--- a/support/arara/scripts/rules/arara-rule-dvipdfm.yaml
+++ b/support/arara/scripts/rules/arara-rule-dvipdfm.yaml
@@ -12,7 +12,7 @@ commands:
- name: The DVIPDFM program
command: >
@{
- base = getBasename(reference.getName()).concat('.dvi');
+ base = getBasename(reference.fileName).concat('.dvi');
out = getBasename(output[0]).concat('.pdf');
return getCommand('dvipdfm', base, '-o', out, options);
}
@@ -20,7 +20,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-dvipdfmx.yaml b/support/arara/scripts/rules/arara-rule-dvipdfmx.yaml
index 612b8464f6..9c3d6b8cdb 100644
--- a/support/arara/scripts/rules/arara-rule-dvipdfmx.yaml
+++ b/support/arara/scripts/rules/arara-rule-dvipdfmx.yaml
@@ -12,7 +12,7 @@ commands:
- name: The DVIPDFMX program
command: >
@{
- base = getBasename(reference.getName()).concat('.dvi');
+ base = getBasename(reference.fileName).concat('.dvi');
out = getBasename(output[0]).concat('.pdf');
return getCommand('dvipdfmx', base, '-o', out, options);
}
@@ -20,7 +20,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-dvips.yaml b/support/arara/scripts/rules/arara-rule-dvips.yaml
index 3cd0771fbf..af0ad65898 100644
--- a/support/arara/scripts/rules/arara-rule-dvips.yaml
+++ b/support/arara/scripts/rules/arara-rule-dvips.yaml
@@ -12,7 +12,7 @@ commands:
- name: The DVIPS program
command: >
@{
- base = getBasename(reference.getName()).concat('.dvi');
+ base = getBasename(reference.fileName).concat('.dvi');
out = getBasename(output[0]).concat('.ps');
return getCommand('dvips', base, '-o', out, options);
}
@@ -20,7 +20,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-dvipspdf.yaml b/support/arara/scripts/rules/arara-rule-dvipspdf.yaml
index ed82fd037f..dd4e918107 100644
--- a/support/arara/scripts/rules/arara-rule-dvipspdf.yaml
+++ b/support/arara/scripts/rules/arara-rule-dvipspdf.yaml
@@ -12,14 +12,14 @@ commands:
- name: The DVIPS program
command: >
@{
- base = getBasename(reference.getName()).concat('.dvi');
- out = getBasename(reference.getName()).concat('.ps');
+ base = getBasename(reference.fileName).concat('.dvi');
+ out = getBasename(reference.fileName).concat('.ps');
return getCommand('dvips', base, '-o', out, options1);
}
- name: The PS2PDF program
command: >
@{
- base = getBasename(reference.getName()).concat('.ps');
+ base = getBasename(reference.fileName).concat('.ps');
out = getBasename(output[0]).concat('.pdf');
return getCommand('ps2pdf', options2, base, '-o', out);
}
@@ -27,7 +27,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options1
diff --git a/support/arara/scripts/rules/arara-rule-dvisvgm.yaml b/support/arara/scripts/rules/arara-rule-dvisvgm.yaml
index 3ae1ecb756..8dbc005a98 100644
--- a/support/arara/scripts/rules/arara-rule-dvisvgm.yaml
+++ b/support/arara/scripts/rules/arara-rule-dvisvgm.yaml
@@ -13,7 +13,7 @@ commands:
- name: The dvisvgm program
command: >
@{
- base = getBasename(reference.getName()).
+ base = getBasename(reference.fileName).
concat('.').concat(entry[0]);
return getCommand('dvisvgm', getOrNull(entry, 1), pages,
options, base);
diff --git a/support/arara/scripts/rules/arara-rule-etex.yaml b/support/arara/scripts/rules/arara-rule-etex.yaml
index 48d7d7978d..aafb597a92 100644
--- a/support/arara/scripts/rules/arara-rule-etex.yaml
+++ b/support/arara/scripts/rules/arara-rule-etex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('etex', interaction, shell, options,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-fig2dev.yaml b/support/arara/scripts/rules/arara-rule-fig2dev.yaml
index fff0d71977..3d6e542750 100644
--- a/support/arara/scripts/rules/arara-rule-fig2dev.yaml
+++ b/support/arara/scripts/rules/arara-rule-fig2dev.yaml
@@ -12,7 +12,7 @@ commands:
- name: The fig2dev program
command: >
@{
- input = getBasename(reference.getName()).concat('.fig');
+ input = getBasename(reference.fileName).concat('.fig');
return getCommand('fig2dev', language, magnification, font, size,
options, input, output);
}
diff --git a/support/arara/scripts/rules/arara-rule-frontespizio.yaml b/support/arara/scripts/rules/arara-rule-frontespizio.yaml
index 05f8d00175..721d80eabf 100644
--- a/support/arara/scripts/rules/arara-rule-frontespizio.yaml
+++ b/support/arara/scripts/rules/arara-rule-frontespizio.yaml
@@ -15,18 +15,18 @@ commands:
command: >
@{
return getCommand(engine, interaction, shell, options,
- reference.getName())
+ reference.fileName)
}
- name: The frontispiece
command: >
@{
- base = getBasename(reference.getName()).concat('-frn');
+ base = getBasename(reference.fileName).concat('-frn');
return getCommand(engine, interaction, shell, base);
}
- name: The DVIPS program
command: >
@{
- base = getBasename(reference.getName()).concat('-frn');
+ base = getBasename(reference.fileName).concat('-frn');
eps = base.concat('.eps');
return isTrue(engine == 'latex', getCommand('dvips', '-o',
eps, base), '');
@@ -35,7 +35,7 @@ commands:
command: >
@{
return getCommand(engine, interaction, shell, options,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: engine
diff --git a/support/arara/scripts/rules/arara-rule-knitr.yaml b/support/arara/scripts/rules/arara-rule-knitr.yaml
index 25bfe9f501..3f17e54c7f 100644
--- a/support/arara/scripts/rules/arara-rule-knitr.yaml
+++ b/support/arara/scripts/rules/arara-rule-knitr.yaml
@@ -20,7 +20,7 @@ commands:
elements.add('envir = ' + envir[0]);
elements.add('encoding = ' + encoding[0]);
return getCommand('Rscript', '-e',
- 'library(knitr); knit("' + reference.getName() + '", ' +
+ 'library(knitr); knit("' + reference.fileName + '", ' +
'output = ' + out + ', ' + String.join(', ', elements) + ')');
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-latex.yaml b/support/arara/scripts/rules/arara-rule-latex.yaml
index 33cef01203..dd63c28a6f 100644
--- a/support/arara/scripts/rules/arara-rule-latex.yaml
+++ b/support/arara/scripts/rules/arara-rule-latex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-latexmk.yaml b/support/arara/scripts/rules/arara-rule-latexmk.yaml
index d8770da1b4..afd2ca9621 100644
--- a/support/arara/scripts/rules/arara-rule-latexmk.yaml
+++ b/support/arara/scripts/rules/arara-rule-latexmk.yaml
@@ -17,7 +17,7 @@ commands:
}
else {
return getCommand('latexmk', isTrue(program.isEmpty(),
- engine, program), options, reference.getName());
+ engine, program), options, reference.fileName);
}
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-llmk.yaml b/support/arara/scripts/rules/arara-rule-llmk.yaml
index 965616b501..ec76054623 100644
--- a/support/arara/scripts/rules/arara-rule-llmk.yaml
+++ b/support/arara/scripts/rules/arara-rule-llmk.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('llmk', clean, debug, dry,
- mode, reference.getName());
+ mode, reference.fileName);
}
arguments:
- identifier: clean
diff --git a/support/arara/scripts/rules/arara-rule-ltx2any.yaml b/support/arara/scripts/rules/arara-rule-ltx2any.yaml
index 4b07d08080..30e974ca32 100644
--- a/support/arara/scripts/rules/arara-rule-ltx2any.yaml
+++ b/support/arara/scripts/rules/arara-rule-ltx2any.yaml
@@ -15,7 +15,7 @@ commands:
return getCommand('ltx2any', clean, engine, parameters,
tikzimages, jobname, logname, logformat,
loglevel, frequency, directory, synctex,
- options, reference.getName());
+ options, reference.fileName);
}
arguments:
- identifier: clean
diff --git a/support/arara/scripts/rules/arara-rule-luahbtex.yaml b/support/arara/scripts/rules/arara-rule-luahbtex.yaml
index 6bed4227b8..0c7c920073 100644
--- a/support/arara/scripts/rules/arara-rule-luahbtex.yaml
+++ b/support/arara/scripts/rules/arara-rule-luahbtex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('luahbtex', interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-lualatex.yaml b/support/arara/scripts/rules/arara-rule-lualatex.yaml
index a0601bc969..8e454571fe 100644
--- a/support/arara/scripts/rules/arara-rule-lualatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-lualatex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-luatex.yaml b/support/arara/scripts/rules/arara-rule-luatex.yaml
index 4ab4883c7d..aa1b982fc5 100644
--- a/support/arara/scripts/rules/arara-rule-luatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-luatex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('luatex', interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-makeglossaries.yaml b/support/arara/scripts/rules/arara-rule-makeglossaries.yaml
index 8d775bd1fb..12f5ca78af 100644
--- a/support/arara/scripts/rules/arara-rule-makeglossaries.yaml
+++ b/support/arara/scripts/rules/arara-rule-makeglossaries.yaml
@@ -15,7 +15,7 @@ commands:
if (clean.isEmpty())
{
return getCommand('makeglossaries', options,
- getBasename(reference.getName()));
+ getBasename(reference.fileName));
}
else {
prefix = [];
diff --git a/support/arara/scripts/rules/arara-rule-makeglossarieslite.yaml b/support/arara/scripts/rules/arara-rule-makeglossarieslite.yaml
index 66a1781e3b..11f8ae14e5 100644
--- a/support/arara/scripts/rules/arara-rule-makeglossarieslite.yaml
+++ b/support/arara/scripts/rules/arara-rule-makeglossarieslite.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('makeglossaries-lite', options,
- getBasename(reference.getName()));
+ getBasename(reference.fileName));
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-makeindex.yaml b/support/arara/scripts/rules/arara-rule-makeindex.yaml
index a4df50d396..37f3430a68 100644
--- a/support/arara/scripts/rules/arara-rule-makeindex.yaml
+++ b/support/arara/scripts/rules/arara-rule-makeindex.yaml
@@ -12,7 +12,7 @@ commands:
- name: The MakeIndex software
command: >
@{
- base = getBasename(reference.getName());
+ base = getBasename(reference.fileName);
infile = base.concat('.').concat(input[0]);
outfile = [ '-o', base.concat('.').concat(output[0]) ];
logfile = [ '-t', base.concat('.').concat(log[0]) ];
diff --git a/support/arara/scripts/rules/arara-rule-metapost.yaml b/support/arara/scripts/rules/arara-rule-metapost.yaml
index 993bea48c5..59a8681bc1 100644
--- a/support/arara/scripts/rules/arara-rule-metapost.yaml
+++ b/support/arara/scripts/rules/arara-rule-metapost.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('mpost', interaction, numbersystem,
- options, reference.getName());
+ options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-move.yaml b/support/arara/scripts/rules/arara-rule-move.yaml
index 8262051884..df9bf69e64 100644
--- a/support/arara/scripts/rules/arara-rule-move.yaml
+++ b/support/arara/scripts/rules/arara-rule-move.yaml
@@ -23,7 +23,7 @@ commands:
throwError('I cannot move the main file reference.');
}
t = isList(target) ? target[0] : target;
- f = toFile(t).getCanonicalFile();
+ f = toFile(t).normalize();
if (getOriginalReference().equals(f)) {
throwError('I cannot overwrite the main file reference.');
}
diff --git a/support/arara/scripts/rules/arara-rule-nomencl.yaml b/support/arara/scripts/rules/arara-rule-nomencl.yaml
index dea6f465a3..9de922f387 100644
--- a/support/arara/scripts/rules/arara-rule-nomencl.yaml
+++ b/support/arara/scripts/rules/arara-rule-nomencl.yaml
@@ -12,8 +12,8 @@ commands:
- name: The Nomenclature software
command: >
@{
- nlo = getBasename(reference.getName()).concat('.nlo');
- nls = getBasename(reference.getName()).concat('.nls');
+ nlo = getBasename(reference.fileName).concat('.nlo');
+ nls = getBasename(reference.fileName).concat('.nls');
return getCommand('makeindex', options, nlo, style, '-o', nls);
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-pbibtex.yaml b/support/arara/scripts/rules/arara-rule-pbibtex.yaml
index 7c32708d3d..615d1ca3dd 100644
--- a/support/arara/scripts/rules/arara-rule-pbibtex.yaml
+++ b/support/arara/scripts/rules/arara-rule-pbibtex.yaml
@@ -12,7 +12,7 @@ commands:
- name: The pBibTeX reference management software
command: >
@{
- return getCommand('pbibtex', options, getBasename(reference.getName()))
+ return getCommand('pbibtex', options, getBasename(reference.fileName))
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-pdfcrop.yaml b/support/arara/scripts/rules/arara-rule-pdfcrop.yaml
index b8b0950196..041fc99bed 100644
--- a/support/arara/scripts/rules/arara-rule-pdfcrop.yaml
+++ b/support/arara/scripts/rules/arara-rule-pdfcrop.yaml
@@ -12,7 +12,7 @@ commands:
- name: The cropping tool
command: >
@{
- base = getBasename(reference.getName());
+ base = getBasename(reference.fileName);
input = base.concat('.pdf');
return getCommand('pdfcrop', verbose, debug, engine,
margins, clip, hires, ini, restricted, papersize,
@@ -23,7 +23,7 @@ arguments:
flag: >
@{
return isEmpty(parameters.output,
- getBasename(reference.getName()).
+ getBasename(reference.fileName).
concat('-crop.pdf'),
parameters.output);
}
diff --git a/support/arara/scripts/rules/arara-rule-pdfcsplain.yaml b/support/arara/scripts/rules/arara-rule-pdfcsplain.yaml
index 43fd939fac..287d5ce429 100644
--- a/support/arara/scripts/rules/arara-rule-pdfcsplain.yaml
+++ b/support/arara/scripts/rules/arara-rule-pdfcsplain.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('pdfcsplain', interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-pdflatex.yaml b/support/arara/scripts/rules/arara-rule-pdflatex.yaml
index 663fd85ec4..56e681642d 100644
--- a/support/arara/scripts/rules/arara-rule-pdflatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-pdflatex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-pdftex.yaml b/support/arara/scripts/rules/arara-rule-pdftex.yaml
index a17049c51e..235c561151 100644
--- a/support/arara/scripts/rules/arara-rule-pdftex.yaml
+++ b/support/arara/scripts/rules/arara-rule-pdftex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('pdftex', interaction, draft, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-pdftk.yaml b/support/arara/scripts/rules/arara-rule-pdftk.yaml
index dc6c72338a..5bdee16f59 100644
--- a/support/arara/scripts/rules/arara-rule-pdftk.yaml
+++ b/support/arara/scripts/rules/arara-rule-pdftk.yaml
@@ -12,7 +12,7 @@ commands:
- name: PDFtk
command: >
@{
- input = getBasename(reference.getName()).concat('.pdf');
+ input = getBasename(reference.fileName).concat('.pdf');
return getCommand('pdftk', input, options);
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-perltex.yaml b/support/arara/scripts/rules/arara-rule-perltex.yaml
index 2642ea4d96..b3e37ef61e 100644
--- a/support/arara/scripts/rules/arara-rule-perltex.yaml
+++ b/support/arara/scripts/rules/arara-rule-perltex.yaml
@@ -14,7 +14,7 @@ commands:
@{
return getCommand('perltex', engine, safe, permit, standalone,
interaction, shell, synctex, options,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: engine
diff --git a/support/arara/scripts/rules/arara-rule-platex.yaml b/support/arara/scripts/rules/arara-rule-platex.yaml
index e98e509efc..7e5a7c5437 100644
--- a/support/arara/scripts/rules/arara-rule-platex.yaml
+++ b/support/arara/scripts/rules/arara-rule-platex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-ps2pdf.yaml b/support/arara/scripts/rules/arara-rule-ps2pdf.yaml
index e084450d76..4cd7cc5a22 100644
--- a/support/arara/scripts/rules/arara-rule-ps2pdf.yaml
+++ b/support/arara/scripts/rules/arara-rule-ps2pdf.yaml
@@ -12,7 +12,7 @@ commands:
- name: The PS2PDF program
command: >
@{
- infile = getBasename(reference.getName()).concat('.ps');
+ infile = getBasename(reference.fileName).concat('.ps');
outfile = getBasename(output[0]).concat('.pdf');
return getCommand('ps2pdf', options, infile, outfile);
}
@@ -20,7 +20,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-ptex.yaml b/support/arara/scripts/rules/arara-rule-ptex.yaml
index e54d83ee92..c9867ab249 100644
--- a/support/arara/scripts/rules/arara-rule-ptex.yaml
+++ b/support/arara/scripts/rules/arara-rule-ptex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('ptex', interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-pythontex.yaml b/support/arara/scripts/rules/arara-rule-pythontex.yaml
index 19de0e52f3..cd2de9fbdb 100644
--- a/support/arara/scripts/rules/arara-rule-pythontex.yaml
+++ b/support/arara/scripts/rules/arara-rule-pythontex.yaml
@@ -14,7 +14,7 @@ commands:
@{
return getCommand('pythontex', encoding, errorcode, runall, rerun,
hashdependencies, jobs, verbose, options,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: encoding
diff --git a/support/arara/scripts/rules/arara-rule-sage.yaml b/support/arara/scripts/rules/arara-rule-sage.yaml
index a150f8b0ef..a79bad56d5 100644
--- a/support/arara/scripts/rules/arara-rule-sage.yaml
+++ b/support/arara/scripts/rules/arara-rule-sage.yaml
@@ -12,7 +12,7 @@ commands:
- name: The command line tool
command: >
@{
- base = getBasename(reference.getName());
+ base = getBasename(reference.fileName);
e = isList(extension) ? extension[0] : extension;
input = base.concat('.').concat(e);
return getCommand(program, command, dotsage,
diff --git a/support/arara/scripts/rules/arara-rule-sketch.yaml b/support/arara/scripts/rules/arara-rule-sketch.yaml
index 98397d3379..9c1309648a 100644
--- a/support/arara/scripts/rules/arara-rule-sketch.yaml
+++ b/support/arara/scripts/rules/arara-rule-sketch.yaml
@@ -13,8 +13,8 @@ commands:
- name: The Sketch software
command: >
@{
- output = getBasename(reference.getName()).concat('.tex');
- return getCommand('sketch', options, reference.getName(),
+ output = getBasename(reference.fileName).concat('.tex');
+ return getCommand('sketch', options, reference.fileName,
'-o', output);
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-spix.yaml b/support/arara/scripts/rules/arara-rule-spix.yaml
index cc5106d52a..b0fb9b45c2 100644
--- a/support/arara/scripts/rules/arara-rule-spix.yaml
+++ b/support/arara/scripts/rules/arara-rule-spix.yaml
@@ -12,7 +12,7 @@ commands:
- name: The automation tool
command: >
@{
- return getCommand('spix', dry, options, reference.getName());
+ return getCommand('spix', dry, options, reference.fileName);
}
arguments:
- identifier: dry
diff --git a/support/arara/scripts/rules/arara-rule-tex.yaml b/support/arara/scripts/rules/arara-rule-tex.yaml
index e67f5117c2..1b9e497273 100644
--- a/support/arara/scripts/rules/arara-rule-tex.yaml
+++ b/support/arara/scripts/rules/arara-rule-tex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('tex', interaction, shell, options,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-texcount.yaml b/support/arara/scripts/rules/arara-rule-texcount.yaml
index d459de1673..fabe4f0e02 100644
--- a/support/arara/scripts/rules/arara-rule-texcount.yaml
+++ b/support/arara/scripts/rules/arara-rule-texcount.yaml
@@ -14,7 +14,7 @@ commands:
@{
return getCommand('texcount', rules, verbosity, strict, html,
total, unicode, options, output,
- reference.getName());
+ reference.fileName);
}
arguments:
- identifier: rules
diff --git a/support/arara/scripts/rules/arara-rule-texindy.yaml b/support/arara/scripts/rules/arara-rule-texindy.yaml
index 73d2299bf7..5ee51c2ef6 100644
--- a/support/arara/scripts/rules/arara-rule-texindy.yaml
+++ b/support/arara/scripts/rules/arara-rule-texindy.yaml
@@ -12,7 +12,7 @@ commands:
- name: The TeXindy software
command: >
@{
- base = getBasename(reference.getName());
+ base = getBasename(reference.fileName);
infile = base.concat('.').concat(input[0]);
outfile = [ '-o', base.concat('.').concat(output[0]) ];
logfile = [ '-t', base.concat('.').concat(log[0]) ];
diff --git a/support/arara/scripts/rules/arara-rule-tikzmake.yaml b/support/arara/scripts/rules/arara-rule-tikzmake.yaml
index 7a693f2fa3..b940f3a417 100644
--- a/support/arara/scripts/rules/arara-rule-tikzmake.yaml
+++ b/support/arara/scripts/rules/arara-rule-tikzmake.yaml
@@ -13,7 +13,7 @@ commands:
- name: TikZ list-and-make engine
command: >
@{
- makefile = getBasename(reference.getName()).concat('.makefile');
+ makefile = getBasename(reference.fileName).concat('.makefile');
return getCommand('make', force, jobs, options, '-f', makefile);
}
arguments:
diff --git a/support/arara/scripts/rules/arara-rule-upbibtex.yaml b/support/arara/scripts/rules/arara-rule-upbibtex.yaml
index 52d66d4825..17ed779f19 100644
--- a/support/arara/scripts/rules/arara-rule-upbibtex.yaml
+++ b/support/arara/scripts/rules/arara-rule-upbibtex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('upbibtex', options,
- getBasename(reference.getName()))
+ getBasename(reference.fileName))
}
arguments:
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-uplatex.yaml b/support/arara/scripts/rules/arara-rule-uplatex.yaml
index 037d41660f..c615ce761c 100644
--- a/support/arara/scripts/rules/arara-rule-uplatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-uplatex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-uptex.yaml b/support/arara/scripts/rules/arara-rule-uptex.yaml
index 7fdb6425d3..c1e52b7ba0 100644
--- a/support/arara/scripts/rules/arara-rule-uptex.yaml
+++ b/support/arara/scripts/rules/arara-rule-uptex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand('uptex', interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: interaction
diff --git a/support/arara/scripts/rules/arara-rule-xdvipdfmx.yaml b/support/arara/scripts/rules/arara-rule-xdvipdfmx.yaml
index c80f5d8d97..85310ff548 100644
--- a/support/arara/scripts/rules/arara-rule-xdvipdfmx.yaml
+++ b/support/arara/scripts/rules/arara-rule-xdvipdfmx.yaml
@@ -12,7 +12,7 @@ commands:
- name: The XDVIPDFMX program
command: >
@{
- infile = getBasename(reference.getName()).
+ infile = getBasename(reference.fileName).
concat('.').concat(entry[0]);
outfile = getBasename(output[0]).concat('.pdf');
return getCommand('xdvipdfmx', infile, '-o', outfile, options);
@@ -32,7 +32,7 @@ arguments:
- identifier: output
flag: >
@{
- isEmpty(parameters.output, reference.getName(), parameters.output)
+ isEmpty(parameters.output, reference.fileName, parameters.output)
}
default: ''
- identifier: options
diff --git a/support/arara/scripts/rules/arara-rule-xelatex.yaml b/support/arara/scripts/rules/arara-rule-xelatex.yaml
index 95292cc2c2..c2c7a51214 100644
--- a/support/arara/scripts/rules/arara-rule-xelatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-xelatex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-xetex.yaml b/support/arara/scripts/rules/arara-rule-xetex.yaml
index f3547d556c..c470b0a898 100644
--- a/support/arara/scripts/rules/arara-rule-xetex.yaml
+++ b/support/arara/scripts/rules/arara-rule-xetex.yaml
@@ -13,7 +13,7 @@ commands:
command: >
@{
return getCommand(branch, interaction, shell,
- synctex, options, reference.getName());
+ synctex, options, reference.fileName);
}
arguments:
- identifier: branch
diff --git a/support/arara/scripts/rules/arara-rule-xindy.yaml b/support/arara/scripts/rules/arara-rule-xindy.yaml
index 3eb75ac2f8..e41b086baf 100644
--- a/support/arara/scripts/rules/arara-rule-xindy.yaml
+++ b/support/arara/scripts/rules/arara-rule-xindy.yaml
@@ -12,7 +12,7 @@ commands:
- name: The Xindy software
command: >
@{
- base = getBasename(reference.getName());
+ base = getBasename(reference.fileName);
infile = base.concat('.').concat(input[0]);
outfile = [ '-o', base.concat('.').concat(output[0]) ];
logfile = [ '-t', base.concat('.').concat(log[0]) ];