Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (5)
Use MPPPath for reference instead of File
· 5fe7c0e9
Ben Frank
authored
May 05, 2022
5fe7c0e9
Add CHANGELOG entry for MPPPath switch
· 1b231a00
Ben Frank
authored
May 05, 2022
1b231a00
Bump spotless version
· b5eaea89
Ben Frank
authored
May 05, 2022
b5eaea89
Updated rules
· fb84d0eb
Paulo Cereda
authored
May 05, 2022
fb84d0eb
Release v7.0.2
· 5d89b1f9
Ben Frank
authored
May 05, 2022
5d89b1f9
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
5d89b1f9
...
...
@@ -9,6 +9,14 @@ on.
## [Unreleased]
## [7.0.2] - 2022-05-05
### Fixed
*
arara used Java File objects in rules instead of the new path API in nearly
all cases except when using the
`files`
parameter. It is now again compliant
with documented behavior and rules have been adjusted.
## [7.0.1] - 2022-05-03
### Fixed
...
...
@@ -506,7 +514,8 @@ on.
For versions previous to version 5.0.0, there has not been any persistent record
of changes. Please refer to the commit history for details.
[
Unreleased
]:
https://gitlab.com/islandoftex/arara/compare/v7.0.1...master
[
Unreleased
]:
https://gitlab.com/islandoftex/arara/compare/v7.0.2...master
[
7.0.2
]:
https://gitlab.com/islandoftex/arara/compare/v7.0.1...v7.0.2
[
7.0.1
]:
https://gitlab.com/islandoftex/arara/compare/v7.0.0...v7.0.1
[
7.0.0
]:
https://gitlab.com/islandoftex/arara/compare/v6.1.7...v7.0.0
[
6.1.7
]:
https://gitlab.com/islandoftex/arara/compare/v6.1.6...v6.1.7
...
...
buildSrc/src/main/kotlin/org/islandoftex/arara/build/Versions.kt
View file @
5d89b1f9
...
...
@@ -10,7 +10,7 @@ object Versions {
const
val
dokka
=
"1.6.21"
const
val
kotlin
=
"1.6.21"
const
val
shadow
=
"7.1.2"
const
val
spotless
=
"6.5.
1
"
const
val
spotless
=
"6.5.
2
"
const
val
spotlessChangelog
=
"2.4.0"
const
val
versionsPlugin
=
"0.42.0"
...
...
cli/src/jvmMain/kotlin/org/islandoftex/arara/cli/ruleset/DirectiveUtils.kt
View file @
5d89b1f9
...
...
@@ -7,7 +7,6 @@ import net.mamoe.yamlkt.Yaml
import
org.islandoftex.arara.api.AraraException
import
org.islandoftex.arara.api.configuration.ExecutionMode
import
org.islandoftex.arara.api.files.ProjectFile
import
org.islandoftex.arara.api.files.toJVMFile
import
org.islandoftex.arara.api.rules.Directive
import
org.islandoftex.arara.cli.utils.DisplayUtils
import
org.islandoftex.arara.core.localization.LanguageController
...
...
@@ -151,7 +150,7 @@ object DirectiveUtils {
listOf
(
DirectiveImpl
(
directive
.
identifier
,
parameters
.
plus
(
"reference"
to
file
.
path
.
toJVMFile
()
),
parameters
.
plus
(
"reference"
to
file
.
path
),
directive
.
conditional
,
directive
.
lineNumbers
)
...
...
rules/arara-rule-animate.yaml
View file @
5d89b1f9
...
...
@@ -13,8 +13,8 @@ commands:
-
name
:
The Convert program
command
:
>
@{
input = getBasename(reference.
get
Name
()
).concat('.pdf');
output = getBasename(reference.
get
Name
()
).concat('.gif');
input = getBasename(reference.
file
Name).concat('.pdf');
output = getBasename(reference.
file
Name).concat('.gif');
return getCommand(program, '-delay', delay, '-loop',
loop, '-density', density, options, input, output);
}
...
...
rules/arara-rule-asymptote.yaml
View file @
5d89b1f9
...
...
@@ -13,7 +13,7 @@ commands:
command
:
>
@{
return getCommand('asy', color, engine, twice,
format, output, options, reference.
get
Name
()
);
format, output, options, reference.
file
Name);
}
arguments
:
-
identifier
:
color
...
...
rules/arara-rule-authorindex.yaml
View file @
5d89b1f9
...
...
@@ -13,7 +13,7 @@ commands:
command
:
>
@{
return getCommand('authorindex', draft, index, keep, print,
recurse, options, getBasename(reference.
get
Name
()
));
recurse, options, getBasename(reference.
file
Name));
}
arguments
:
-
identifier
:
draft
...
...
rules/arara-rule-bib2gls.yaml
View file @
5d89b1f9
...
...
@@ -63,7 +63,7 @@ commands:
breakspace, trimfields, recordcount, recordcountunit,
cite, verbose, merge, locale, uniscript, packages,
ignore, custom, mapformats, options,
getBasename(reference.
get
Name
()
));
getBasename(reference.
file
Name));
}
}
arguments
:
...
...
@@ -80,7 +80,7 @@ arguments:
throwError('Forbidden transcript extension');
}
return ['--log-file', getBasename(reference.
get
Name
()
)+"."+parameters.trans]
return ['--log-file', getBasename(reference.
file
Name)+"."+parameters.trans]
}
-
identifier
:
locale
flag
:
>
...
...
rules/arara-rule-biber.yaml
View file @
5d89b1f9
...
...
@@ -17,7 +17,7 @@ commands:
}
else {
return getCommand('biber', options,
getBasename(reference.
get
Name
()
));
getBasename(reference.
file
Name));
}
}
arguments
:
...
...
rules/arara-rule-bibtex.yaml
View file @
5d89b1f9
...
...
@@ -12,7 +12,7 @@ commands:
-
name
:
The BibTeX reference management software
command
:
>
@{
return getCommand('bibtex', options, getBasename(reference.
get
Name
()
))
return getCommand('bibtex', options, getBasename(reference.
file
Name))
}
arguments
:
-
identifier
:
options
...
...
rules/arara-rule-bibtex8.yaml
View file @
5d89b1f9
...
...
@@ -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.
get
Name
()
));
return getCommand('bibtex8', options, getBasename(reference.
file
Name));
}
arguments
:
-
identifier
:
options
...
...
rules/arara-rule-bibtexu.yaml
View file @
5d89b1f9
...
...
@@ -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.
get
Name
()
));
return getCommand('bibtexu', options, getBasename(reference.
file
Name));
}
arguments
:
-
identifier
:
options
...
...
rules/arara-rule-context.yaml
View file @
5d89b1f9
...
...
@@ -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.
get
Name
()
);
synctex, options, reference.
file
Name);
}
arguments
:
-
identifier
:
make
...
...
rules/arara-rule-copy.yaml
View file @
5d89b1f9
...
...
@@ -20,7 +20,7 @@ commands:
prefix = [ 'cmd', '/c', 'copy', '/Y' ];
}
t = isList(target) ? target[0] : target;
f = toFile(t).
getCanonicalFil
e();
f = toFile(t).
normaliz
e();
if (getOriginalReference().equals(f)) {
throwError('I cannot overwrite the main file reference.');
}
...
...
rules/arara-rule-csplain.yaml
View file @
5d89b1f9
...
...
@@ -13,7 +13,7 @@ commands:
command
:
>
@{
return getCommand('csplain', interaction, draft,
shell, synctex, options, reference.
get
Name
()
);
shell, synctex, options, reference.
file
Name);
}
arguments
:
-
identifier
:
interaction
...
...
rules/arara-rule-detex.yaml
View file @
5d89b1f9
...
...
@@ -13,7 +13,7 @@ commands:
command
:
>
@{
c = getCommand('detex', references, mode, follow, math, spaces,
words, environments, reference.
get
Name
()
);
words, environments, reference.
file
Name);
if (output.isEmpty()) {
return c;
}
...
...
rules/arara-rule-dvipdfm.yaml
View file @
5d89b1f9
...
...
@@ -12,7 +12,7 @@ commands:
-
name
:
The DVIPDFM program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).concat('.dvi');
base = getBasename(reference.
file
Name).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.
get
Name
()
, parameters.output)
isEmpty(parameters.output, reference.
file
Name, parameters.output)
}
default
:
'
'
-
identifier
:
options
...
...
rules/arara-rule-dvipdfmx.yaml
View file @
5d89b1f9
...
...
@@ -12,7 +12,7 @@ commands:
-
name
:
The DVIPDFMX program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).concat('.dvi');
base = getBasename(reference.
file
Name).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.
get
Name
()
, parameters.output)
isEmpty(parameters.output, reference.
file
Name, parameters.output)
}
default
:
'
'
-
identifier
:
options
...
...
rules/arara-rule-dvips.yaml
View file @
5d89b1f9
...
...
@@ -12,7 +12,7 @@ commands:
-
name
:
The DVIPS program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).concat('.dvi');
base = getBasename(reference.
file
Name).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.
get
Name
()
, parameters.output)
isEmpty(parameters.output, reference.
file
Name, parameters.output)
}
default
:
'
'
-
identifier
:
options
...
...
rules/arara-rule-dvipspdf.yaml
View file @
5d89b1f9
...
...
@@ -12,14 +12,14 @@ commands:
-
name
:
The DVIPS program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).concat('.dvi');
out = getBasename(reference.
get
Name
()
).concat('.ps');
base = getBasename(reference.
file
Name).concat('.dvi');
out = getBasename(reference.
file
Name).concat('.ps');
return getCommand('dvips', base, '-o', out, options1);
}
-
name
:
The PS2PDF program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).concat('.ps');
base = getBasename(reference.
file
Name).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.
get
Name
()
, parameters.output)
isEmpty(parameters.output, reference.
file
Name, parameters.output)
}
default
:
'
'
-
identifier
:
options1
...
...
rules/arara-rule-dvisvgm.yaml
View file @
5d89b1f9
...
...
@@ -13,7 +13,7 @@ commands:
-
name
:
The dvisvgm program
command
:
>
@{
base = getBasename(reference.
get
Name
()
).
base = getBasename(reference.
file
Name).
concat('.').concat(entry[0]);
return getCommand('dvisvgm', getOrNull(entry, 1), pages,
options, base);
...
...
Prev
1
2
3
4
Next