diff options
author | Norbert Preining <norbert@preining.info> | 2020-04-15 03:02:52 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-04-15 03:02:52 +0000 |
commit | e768cc604852d6fe8821592cea67835f67eab0db (patch) | |
tree | 06dc26d3571570f9578f59825f6ecc2186dfb47c /support/arara/scripts/rules | |
parent | c7235aafe4ddb8f9800cdf784212d4c53bb53e32 (diff) |
CTAN sync 202004150302
Diffstat (limited to 'support/arara/scripts/rules')
50 files changed, 77 insertions, 66 deletions
diff --git a/support/arara/scripts/rules/animate.yaml b/support/arara/scripts/rules/animate.yaml index c2c3c3fcdc..769ceaecee 100644 --- a/support/arara/scripts/rules/animate.yaml +++ b/support/arara/scripts/rules/animate.yaml @@ -14,8 +14,8 @@ commands: command: > @{ prefix = []; - input = getBasename(reference).concat('.pdf'); - output = getBasename(reference).concat('.gif'); + input = getBasename(reference.getName()).concat('.pdf'); + output = getBasename(reference.getName()).concat('.gif'); return getCommand(program, '-delay', delay, '-loop', loop, '-density', density, options, input, output); } diff --git a/support/arara/scripts/rules/asymptote.yaml b/support/arara/scripts/rules/asymptote.yaml index 8ebf68eeda..232213f73d 100644 --- a/support/arara/scripts/rules/asymptote.yaml +++ b/support/arara/scripts/rules/asymptote.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('asy', color, engine, twice, - format, output, options, reference); + format, output, options, reference.getName()); } arguments: - identifier: color diff --git a/support/arara/scripts/rules/bib2gls.yaml b/support/arara/scripts/rules/bib2gls.yaml index 0fa6f4d1a2..513a7207f7 100644 --- a/support/arara/scripts/rules/bib2gls.yaml +++ b/support/arara/scripts/rules/bib2gls.yaml @@ -62,7 +62,8 @@ commands: return getCommand('bib2gls', dir, trans, group, interpret, breakspace, trimfields, recordcount, recordcountunit, cite, verbose, merge, locale, uniscript, packages, - ignore, custom, mapformats, options, getBasename(reference)); + ignore, custom, mapformats, options, + getBasename(reference.getName())); } } arguments: @@ -79,7 +80,7 @@ arguments: throwError('Forbidden transcript extension'); } - return ['--log-file', getBasename(reference)+"."+parameters.trans] + return ['--log-file', getBasename(reference.getName())+"."+parameters.trans] } - identifier: locale flag: > diff --git a/support/arara/scripts/rules/biber.yaml b/support/arara/scripts/rules/biber.yaml index 1edafe1e96..6399df64fb 100644 --- a/support/arara/scripts/rules/biber.yaml +++ b/support/arara/scripts/rules/biber.yaml @@ -16,7 +16,8 @@ commands: return getCommand('biber', '--tool', options); } else { - return getCommand('biber', options, getBasename(reference)); + return getCommand('biber', options, + getBasename(reference.getName())); } } arguments: diff --git a/support/arara/scripts/rules/bibtex.yaml b/support/arara/scripts/rules/bibtex.yaml index 73016ff43e..a845758440 100644 --- a/support/arara/scripts/rules/bibtex.yaml +++ b/support/arara/scripts/rules/bibtex.yaml @@ -12,7 +12,7 @@ commands: - name: The BibTeX reference management software command: > @{ - return getCommand('bibtex', options, getBasename(reference)) + return getCommand('bibtex', options, getBasename(reference.getName())) } arguments: - identifier: options diff --git a/support/arara/scripts/rules/bibtex8.yaml b/support/arara/scripts/rules/bibtex8.yaml index 310cd96c2c..2526c82b5a 100644 --- a/support/arara/scripts/rules/bibtex8.yaml +++ b/support/arara/scripts/rules/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)); + return getCommand('bibtex8', options, getBasename(reference.getName())); } arguments: - identifier: options diff --git a/support/arara/scripts/rules/bibtexu.yaml b/support/arara/scripts/rules/bibtexu.yaml index fa29aac8d2..708a3ebfb6 100644 --- a/support/arara/scripts/rules/bibtexu.yaml +++ b/support/arara/scripts/rules/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)); + return getCommand('bibtexu', options, getBasename(reference.getName())); } arguments: - identifier: options diff --git a/support/arara/scripts/rules/context.yaml b/support/arara/scripts/rules/context.yaml index 5b8546486e..bf5b1c5b04 100644 --- a/support/arara/scripts/rules/context.yaml +++ b/support/arara/scripts/rules/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); + synctex, options, reference.getName()); } arguments: - identifier: make diff --git a/support/arara/scripts/rules/csplain.yaml b/support/arara/scripts/rules/csplain.yaml index f5447599ca..720cd0cc8f 100644 --- a/support/arara/scripts/rules/csplain.yaml +++ b/support/arara/scripts/rules/csplain.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('csplain', interaction, draft, - shell, synctex, options, reference); + shell, synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/detex.yaml b/support/arara/scripts/rules/detex.yaml index d90d779d6a..f94c7a274e 100644 --- a/support/arara/scripts/rules/detex.yaml +++ b/support/arara/scripts/rules/detex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ c = getCommand('detex', references, mode, follow, math, spaces, - words, environments, reference); + words, environments, reference.getName()); if (isEmpty(output)) { return c; } diff --git a/support/arara/scripts/rules/dvipdfm.yaml b/support/arara/scripts/rules/dvipdfm.yaml index bbd5be92c7..c4f44309b8 100644 --- a/support/arara/scripts/rules/dvipdfm.yaml +++ b/support/arara/scripts/rules/dvipdfm.yaml @@ -12,7 +12,7 @@ commands: - name: The DVIPDFM program command: > @{ - base = getBasename(reference).concat('.dvi'); + base = getBasename(reference.getName()).concat('.dvi'); out = getBasename(output).concat('.pdf'); return getCommand('dvipdfm', base, '-o', out, options); } @@ -24,7 +24,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options flag: > diff --git a/support/arara/scripts/rules/dvipdfmx.yaml b/support/arara/scripts/rules/dvipdfmx.yaml index d62f89968d..b9b73319e3 100644 --- a/support/arara/scripts/rules/dvipdfmx.yaml +++ b/support/arara/scripts/rules/dvipdfmx.yaml @@ -12,7 +12,7 @@ commands: - name: The DVIPDFMX program command: > @{ - base = getBasename(reference).concat('.dvi'); + base = getBasename(reference.getName()).concat('.dvi'); out = getBasename(output).concat('.pdf'); return getCommand('dvipdfmx', base, '-o', out, options); } @@ -24,7 +24,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options flag: > diff --git a/support/arara/scripts/rules/dvips.yaml b/support/arara/scripts/rules/dvips.yaml index 68196e09dd..78a2cff58d 100644 --- a/support/arara/scripts/rules/dvips.yaml +++ b/support/arara/scripts/rules/dvips.yaml @@ -12,7 +12,7 @@ commands: - name: The DVIPS program command: > @{ - base = getBasename(reference).concat('.dvi'); + base = getBasename(reference.getName()).concat('.dvi'); out = getBasename(output).concat('.ps'); return getCommand('dvips', base, '-o', out, options); } @@ -24,7 +24,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options flag: > diff --git a/support/arara/scripts/rules/dvipspdf.yaml b/support/arara/scripts/rules/dvipspdf.yaml index a4888325e6..68c12dde34 100644 --- a/support/arara/scripts/rules/dvipspdf.yaml +++ b/support/arara/scripts/rules/dvipspdf.yaml @@ -12,14 +12,14 @@ commands: - name: The DVIPS program command: > @{ - base = getBasename(reference).concat('.dvi'); - out = getBasename(reference).concat('.ps'); + base = getBasename(reference.getName()).concat('.dvi'); + out = getBasename(reference.getName()).concat('.ps'); return getCommand('dvips', base, '-o', out, options1); } - name: The PS2PDF program command: > @{ - base = getBasename(reference).concat('.ps'); + base = getBasename(reference.getName()).concat('.ps'); out = getBasename(output).concat('.pdf'); return getCommand('ps2pdf', options2, base, '-o', out); } @@ -31,7 +31,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options1 flag: > diff --git a/support/arara/scripts/rules/dvisvgm.yaml b/support/arara/scripts/rules/dvisvgm.yaml index d9d094ac3e..d0bae984de 100644 --- a/support/arara/scripts/rules/dvisvgm.yaml +++ b/support/arara/scripts/rules/dvisvgm.yaml @@ -12,7 +12,7 @@ commands: - name: The dvisvgm program command: > @{ - base = getBasename(reference).concat('.dvi'); + base = getBasename(reference.getName()).concat('.dvi'); return getCommand('dvisvgm', base, options); } arguments: diff --git a/support/arara/scripts/rules/etex.yaml b/support/arara/scripts/rules/etex.yaml index 0411915ef7..e039b143da 100644 --- a/support/arara/scripts/rules/etex.yaml +++ b/support/arara/scripts/rules/etex.yaml @@ -12,7 +12,8 @@ commands: - name: Extended TeX engine command: > @{ - return getCommand('etex', interaction, shell, options, reference); + return getCommand('etex', interaction, shell, options, + reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/fig2dev.yaml b/support/arara/scripts/rules/fig2dev.yaml index fd36069205..4e796e5c4d 100644 --- a/support/arara/scripts/rules/fig2dev.yaml +++ b/support/arara/scripts/rules/fig2dev.yaml @@ -12,7 +12,7 @@ commands: - name: The fig2dev program command: > @{ - input = getBasename(reference).concat('.fig'); + input = getBasename(reference.getName()).concat('.fig'); return getCommand('fig2dev', language, magnification, font, size, options, input, output); } diff --git a/support/arara/scripts/rules/frontespizio.yaml b/support/arara/scripts/rules/frontespizio.yaml index 3b0ab0a853..2cabec38a0 100644 --- a/support/arara/scripts/rules/frontespizio.yaml +++ b/support/arara/scripts/rules/frontespizio.yaml @@ -14,18 +14,19 @@ commands: - name: The engine command: > @{ - return getCommand(engine, interaction, shell, options, reference) + return getCommand(engine, interaction, shell, options, + reference.getName()) } - name: The frontispiece command: > @{ - base = getBasename(reference).concat('-frn'); + base = getBasename(reference.getName()).concat('-frn'); return getCommand(engine, interaction, shell, base); } - name: The DVIPS program command: > @{ - base = getBasename(reference).concat('-frn'); + base = getBasename(reference.getName()).concat('-frn'); eps = base.concat('.eps'); return isTrue(engine == 'latex', getCommand('dvips', '-o', eps, base), ''); @@ -33,7 +34,8 @@ commands: - name: The engine command: > @{ - return getCommand(engine, interaction, shell, options, reference); + return getCommand(engine, interaction, shell, options, + reference.getName()); } arguments: - identifier: engine diff --git a/support/arara/scripts/rules/indent.yaml b/support/arara/scripts/rules/indent.yaml index 4471d3728c..b6dce8b2d5 100644 --- a/support/arara/scripts/rules/indent.yaml +++ b/support/arara/scripts/rules/indent.yaml @@ -14,8 +14,8 @@ commands: command: > @{ return getCommand('latexindent', silent, trace, screenlog, - settings, cruft, overwrite, output, reference, modifylinebreaks, - replacement, options, logfile); + settings, cruft, overwrite, output, reference.getName(), + modifylinebreaks, replacement, options, logfile); } arguments: - identifier: silent diff --git a/support/arara/scripts/rules/knitr.yaml b/support/arara/scripts/rules/knitr.yaml index 3a3d5dfead..a2e5fcd7bf 100644 --- a/support/arara/scripts/rules/knitr.yaml +++ b/support/arara/scripts/rules/knitr.yaml @@ -19,7 +19,7 @@ commands: elements.add('envir = ' + envir); elements.add('encoding = ' + encoding); return getCommand('Rscript', '-e', - 'library(knitr); knit("' + reference + '", ' + + 'library(knitr); knit("' + reference.getName() + '", ' + 'output = ' + isEmpty(output, 'NULL', '"' + output + '"') + ', ' + String.join(', ', elements) + ')'); } diff --git a/support/arara/scripts/rules/latex.yaml b/support/arara/scripts/rules/latex.yaml index 268ff1f707..fc96395c23 100644 --- a/support/arara/scripts/rules/latex.yaml +++ b/support/arara/scripts/rules/latex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/latexmk.yaml b/support/arara/scripts/rules/latexmk.yaml index 0f39e9d709..455f942fdb 100644 --- a/support/arara/scripts/rules/latexmk.yaml +++ b/support/arara/scripts/rules/latexmk.yaml @@ -17,7 +17,7 @@ commands: } else { return getCommand('latexmk', isEmpty(program, engine, - program), options, reference); + program), options, reference.getName()); } } arguments: diff --git a/support/arara/scripts/rules/luahbtex.yaml b/support/arara/scripts/rules/luahbtex.yaml index 1557fa0614..cf4fde56e4 100644 --- a/support/arara/scripts/rules/luahbtex.yaml +++ b/support/arara/scripts/rules/luahbtex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('luahbtex', interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/lualatex.yaml b/support/arara/scripts/rules/lualatex.yaml index 68f14d78e9..de68a48b8f 100644 --- a/support/arara/scripts/rules/lualatex.yaml +++ b/support/arara/scripts/rules/lualatex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/luatex.yaml b/support/arara/scripts/rules/luatex.yaml index 91099219f6..03a726fa64 100644 --- a/support/arara/scripts/rules/luatex.yaml +++ b/support/arara/scripts/rules/luatex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('luatex', interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/makeglossaries.yaml b/support/arara/scripts/rules/makeglossaries.yaml index 861330045e..7cb47cc5df 100644 --- a/support/arara/scripts/rules/makeglossaries.yaml +++ b/support/arara/scripts/rules/makeglossaries.yaml @@ -14,7 +14,8 @@ commands: @{ if (isEmpty(clean)) { - return getCommand('makeglossaries', options, getBasename(reference)); + return getCommand('makeglossaries', options, + getBasename(reference.getName())); } else { prefix = []; diff --git a/support/arara/scripts/rules/makeglossarieslite.yaml b/support/arara/scripts/rules/makeglossarieslite.yaml index 177ba6971f..c384179f44 100644 --- a/support/arara/scripts/rules/makeglossarieslite.yaml +++ b/support/arara/scripts/rules/makeglossarieslite.yaml @@ -12,7 +12,8 @@ commands: - name: The MakeGlossariesLite software command: > @{ - return getCommand('makeglossaries-lite', options, getBasename(reference)); + return getCommand('makeglossaries-lite', options, + getBasename(reference.getName())); } arguments: - identifier: options diff --git a/support/arara/scripts/rules/makeindex.yaml b/support/arara/scripts/rules/makeindex.yaml index 319ef71438..25b9e44c90 100644 --- a/support/arara/scripts/rules/makeindex.yaml +++ b/support/arara/scripts/rules/makeindex.yaml @@ -12,7 +12,7 @@ commands: - name: The MakeIndex software command: > @{ - base = getBasename(reference); + base = getBasename(reference.getName()); infile = base.concat('.').concat(input); outfile = [ '-o', base.concat('.').concat(output) ]; logfile = [ '-t', base.concat('.').concat(log) ]; diff --git a/support/arara/scripts/rules/metapost.yaml b/support/arara/scripts/rules/metapost.yaml index b3a58645dd..e334210ce5 100644 --- a/support/arara/scripts/rules/metapost.yaml +++ b/support/arara/scripts/rules/metapost.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('mpost', interaction, numbersystem, - options, reference); + options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/nomencl.yaml b/support/arara/scripts/rules/nomencl.yaml index f859f72881..4672cb4ea9 100644 --- a/support/arara/scripts/rules/nomencl.yaml +++ b/support/arara/scripts/rules/nomencl.yaml @@ -12,8 +12,8 @@ commands: - name: The Nomenclature software command: > @{ - nlo = getBasename(reference).concat('.nlo'); - nls = getBasename(reference).concat('.nls'); + nlo = getBasename(reference.getName()).concat('.nlo'); + nls = getBasename(reference.getName()).concat('.nls'); return getCommand('makeindex', options, nlo, style, '-o', nls); } arguments: diff --git a/support/arara/scripts/rules/pbibtex.yaml b/support/arara/scripts/rules/pbibtex.yaml index 1a0347da76..a313b7fe92 100644 --- a/support/arara/scripts/rules/pbibtex.yaml +++ b/support/arara/scripts/rules/pbibtex.yaml @@ -12,7 +12,7 @@ commands: - name: The pBibTeX reference management software command: > @{ - return getCommand('pbibtex', options, getBasename(reference)) + return getCommand('pbibtex', options, getBasename(reference.getName())) } arguments: - identifier: options diff --git a/support/arara/scripts/rules/pdfcsplain.yaml b/support/arara/scripts/rules/pdfcsplain.yaml index 88d2f7b31e..079440628a 100644 --- a/support/arara/scripts/rules/pdfcsplain.yaml +++ b/support/arara/scripts/rules/pdfcsplain.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('pdfcsplain', interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/pdflatex.yaml b/support/arara/scripts/rules/pdflatex.yaml index 385e99b997..c1ee2f9077 100644 --- a/support/arara/scripts/rules/pdflatex.yaml +++ b/support/arara/scripts/rules/pdflatex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/pdftex.yaml b/support/arara/scripts/rules/pdftex.yaml index 45a7e32f24..c6699b7dca 100644 --- a/support/arara/scripts/rules/pdftex.yaml +++ b/support/arara/scripts/rules/pdftex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('pdftex', interaction, draft, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/pdftk.yaml b/support/arara/scripts/rules/pdftk.yaml index 73ee784417..a457d67d53 100644 --- a/support/arara/scripts/rules/pdftk.yaml +++ b/support/arara/scripts/rules/pdftk.yaml @@ -12,7 +12,7 @@ commands: - name: PDFtk command: > @{ - input = getBasename(reference).concat('.pdf'); + input = getBasename(reference.getName()).concat('.pdf'); return getCommand('pdftk', input, options); } arguments: diff --git a/support/arara/scripts/rules/platex.yaml b/support/arara/scripts/rules/platex.yaml index 0c1d62cacd..edf5d4864b 100644 --- a/support/arara/scripts/rules/platex.yaml +++ b/support/arara/scripts/rules/platex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/ps2pdf.yaml b/support/arara/scripts/rules/ps2pdf.yaml index db220f3037..dcc49f87b9 100644 --- a/support/arara/scripts/rules/ps2pdf.yaml +++ b/support/arara/scripts/rules/ps2pdf.yaml @@ -12,7 +12,7 @@ commands: - name: The PS2PDF program command: > @{ - infile = getBasename(reference).concat('.ps'); + infile = getBasename(reference.getName()).concat('.ps'); outfile = getBasename(output).concat('.pdf'); return getCommand('ps2pdf', options, infile, outfile); } @@ -24,7 +24,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options flag: > diff --git a/support/arara/scripts/rules/ptex.yaml b/support/arara/scripts/rules/ptex.yaml index cb5103fa36..9367704cb9 100644 --- a/support/arara/scripts/rules/ptex.yaml +++ b/support/arara/scripts/rules/ptex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('ptex', interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/sketch.yaml b/support/arara/scripts/rules/sketch.yaml index 0970d2e5b8..e7bae9b329 100644 --- a/support/arara/scripts/rules/sketch.yaml +++ b/support/arara/scripts/rules/sketch.yaml @@ -13,8 +13,9 @@ commands: - name: The Sketch software command: > @{ - output = getBasename(reference).concat('.tex'); - return getCommand('sketch', options, reference, '-o', output); + output = getBasename(reference.getName()).concat('.tex'); + return getCommand('sketch', options, reference.getName(), + '-o', output); } arguments: - identifier: options diff --git a/support/arara/scripts/rules/tex.yaml b/support/arara/scripts/rules/tex.yaml index c682ea6b91..d036e5cb0d 100644 --- a/support/arara/scripts/rules/tex.yaml +++ b/support/arara/scripts/rules/tex.yaml @@ -12,7 +12,8 @@ commands: - name: TeX engine command: > @{ - return getCommand('tex', interaction, shell, options, reference); + return getCommand('tex', interaction, shell, options, + reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/texcount.yaml b/support/arara/scripts/rules/texcount.yaml index 79506c806c..694ac6d481 100644 --- a/support/arara/scripts/rules/texcount.yaml +++ b/support/arara/scripts/rules/texcount.yaml @@ -13,7 +13,8 @@ commands: command: > @{ return getCommand('texcount', rules, verbosity, strict, html, - total, unicode, options, output, reference); + total, unicode, options, output, + reference.getName()); } arguments: - identifier: rules diff --git a/support/arara/scripts/rules/texindy.yaml b/support/arara/scripts/rules/texindy.yaml index 6d747f7217..45c4637889 100644 --- a/support/arara/scripts/rules/texindy.yaml +++ b/support/arara/scripts/rules/texindy.yaml @@ -12,7 +12,7 @@ commands: - name: The TeXindy software command: > @{ - base = getBasename(reference); + base = getBasename(reference.getName()); infile = base.concat('.').concat(input); outfile = [ '-o', base.concat('.').concat(output) ]; logfile = [ '-t', base.concat('.').concat(log) ]; diff --git a/support/arara/scripts/rules/tikzmake.yaml b/support/arara/scripts/rules/tikzmake.yaml index 0569ba9a65..69e72c4885 100644 --- a/support/arara/scripts/rules/tikzmake.yaml +++ b/support/arara/scripts/rules/tikzmake.yaml @@ -13,7 +13,7 @@ commands: - name: TikZ list-and-make engine command: > @{ - makefile = getBasename(reference).concat('.makefile'); + makefile = getBasename(reference.getName()).concat('.makefile'); return getCommand('make', force, jobs, options, '-f', makefile); } arguments: diff --git a/support/arara/scripts/rules/upbibtex.yaml b/support/arara/scripts/rules/upbibtex.yaml index d6593dea57..bb32250c6c 100644 --- a/support/arara/scripts/rules/upbibtex.yaml +++ b/support/arara/scripts/rules/upbibtex.yaml @@ -12,7 +12,8 @@ commands: - name: The upBibTeX reference management software command: > @{ - return getCommand('upbibtex', options, getBasename(reference)) + return getCommand('upbibtex', options, + getBasename(reference.getName())) } arguments: - identifier: options diff --git a/support/arara/scripts/rules/uplatex.yaml b/support/arara/scripts/rules/uplatex.yaml index c0f2cdf3cd..c2690d1105 100644 --- a/support/arara/scripts/rules/uplatex.yaml +++ b/support/arara/scripts/rules/uplatex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/uptex.yaml b/support/arara/scripts/rules/uptex.yaml index 6163e0ae69..fb7a2282fd 100644 --- a/support/arara/scripts/rules/uptex.yaml +++ b/support/arara/scripts/rules/uptex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('uptex', interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/xdvipdfmx.yaml b/support/arara/scripts/rules/xdvipdfmx.yaml index 75bf182a4d..6c569ef31c 100644 --- a/support/arara/scripts/rules/xdvipdfmx.yaml +++ b/support/arara/scripts/rules/xdvipdfmx.yaml @@ -12,7 +12,7 @@ commands: - name: The XDVIPDFMX program command: > @{ - infile = getBasename(reference).concat('.dvi'); + infile = getBasename(reference.getName()).concat('.dvi'); outfile = getBasename(output).concat('.pdf'); return getCommand('xdvipdfmx', infile, '-o', outfile, options); } @@ -24,7 +24,7 @@ arguments: } default: > @{ - reference + reference.getName() } - identifier: options flag: > diff --git a/support/arara/scripts/rules/xelatex.yaml b/support/arara/scripts/rules/xelatex.yaml index b94e35f797..021f4cea6f 100644 --- a/support/arara/scripts/rules/xelatex.yaml +++ b/support/arara/scripts/rules/xelatex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand(branch, interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: branch diff --git a/support/arara/scripts/rules/xetex.yaml b/support/arara/scripts/rules/xetex.yaml index faefd9ca17..687b08f200 100644 --- a/support/arara/scripts/rules/xetex.yaml +++ b/support/arara/scripts/rules/xetex.yaml @@ -13,7 +13,7 @@ commands: command: > @{ return getCommand('xetex', interaction, shell, - synctex, options, reference); + synctex, options, reference.getName()); } arguments: - identifier: interaction diff --git a/support/arara/scripts/rules/xindy.yaml b/support/arara/scripts/rules/xindy.yaml index f1c12f0c1d..161ae60158 100644 --- a/support/arara/scripts/rules/xindy.yaml +++ b/support/arara/scripts/rules/xindy.yaml @@ -12,7 +12,7 @@ commands: - name: The Xindy software command: > @{ - base = getBasename(reference); + base = getBasename(reference.getName()); infile = base.concat('.').concat(input); outfile = [ '-o', base.concat('.').concat(output) ]; logfile = [ '-t', base.concat('.').concat(log) ]; |