Skip to content

Commit 50a47d2

Browse files
committed
New release with 5.0.2 of the formatter.
1 parent d2ee7fe commit 50a47d2

4 files changed

Lines changed: 45 additions & 29 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies {
9696
compile 'org.daisy.streamline:streamline-api:1.3.0'
9797

9898
runtimeOnly 'org.daisy.braille:braille-utils.impl:7.0.0'
99-
runtimeOnly ('org.daisy.dotify:dotify.formatter.impl:5.0.0') {
99+
runtimeOnly ('org.daisy.dotify:dotify.formatter.impl:5.0.2') {
100100
exclude module: 'Saxon-HE'
101101
}
102102
runtimeOnly 'org.daisy.dotify:dotify.hyphenator.impl:5.0.0'

docs/changes.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
[Table of Contents](toc.md)
22

3+
# 3.2.1
4+
## New in this version
5+
- Formatting
6+
- Formatting process is faster and guaranteed to converge
7+
- Volume breaking is more stable #50
8+
- Fix interpretation of volume-keep-priority in and around nested blocks
9+
- Fix break-before="page" when already at the beginning of a page, resulting in less empty pages in the result. #98
10+
- Allow evaluation of $volume in volume transitions and in the normal flow #99
11+
- Allow <evaluate expression="$page"/>`, where you previously had to say (round $page) or (format {0} $page) #99
12+
- Be more strict about what is allowed in an expression #99
13+
- Don't normalize space in evaluating expressions #99
14+
- Call setResolver earlier to enable peeking to Evaluate or PageNumberReference segments #105
15+
- Fix a mismatch between the behavior of ScenarioData and RowGroupDataSource that could result in an IllegalStateException, notably when a break-before="page" occurs when there are only empty blocks on the current page, some of which have markers. #98
16+
- any-resumed does not reduce available space on page when not rendered
17+
- Improved documentation #102
18+
319
# 3.2.0
420
## New in this version
521
- User interface
@@ -202,10 +218,10 @@
202218
* Added option to re-run conversion upon change in source file
203219
* Added translator command
204220
* Improved volume breaking
205-
* Improved pagination algorithm
221+
* Improved pagination algorithm
206222
* Added support for collapsing margins
207223
* Added additional variables in OBFL
208-
224+
209225
# 2.3 #
210226
* Added support for footnotes and end of volume notes in API and formatter implementation
211227
* Added support for note/noteref to the dtbook conversion

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sonatypeUsername=user
22
sonatypePassword=password
33
releaseName=Dotify
4-
version=3.2.1-SNAPSHOT
4+
version=3.2.1
55
repositoryRevision=N/A
66
repositoryURL=https://github.com/brailleapps/dotify-cli
77
repositorySCM=scm:git:https://github.com/brailleapps/dotify-cli.git

integrationtest/osgi/config/ConfigurationOptions.java

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@SuppressWarnings("javadoc")
1313
public abstract class ConfigurationOptions {
14-
14+
1515
public static Option felixDS() {
1616
return MavenRepo.CENTRAL.get("org.apache.felix", "org.apache.felix.scr", "2.1.14");
1717
}
@@ -24,30 +24,30 @@ public static Option brailleUtilsCore() {
2424
MavenRepo.CENTRAL.get("org.daisy.braille", "braille-utils.pef-tools", "6.0.0")
2525
);
2626
}
27-
27+
2828
public static Option brailleUtilsCatalog() {
2929
return MavenRepo.CENTRAL.get("org.daisy.braille", "braille-utils.impl", "7.0.0");
3030
}
3131

3232
static Option dotifyApi() {
3333
return MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.api", "5.0.0");
3434
}
35-
35+
3636
static Option dotifyCommon() {
3737
return MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.common", "4.4.0");
3838
}
39-
39+
4040
public static Option dotifyText() {
4141
return composite(
4242
dotifyApi(),
4343
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.text.impl", "5.0.0")
4444
);
4545
}
46-
46+
4747
static Option texhyphj() {
4848
return MavenRepo.CENTRAL.get("com.googlecode.texhyphj", "texhyphj", "1.2");
4949
}
50-
50+
5151
public static Option dotifyHyphenator() {
5252
return composite(
5353
dotifyApi(),
@@ -56,7 +56,7 @@ public static Option dotifyHyphenator() {
5656
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.hyphenator.impl", "5.0.0")
5757
);
5858
}
59-
59+
6060
public static Option dotifyTranslator() {
6161
return composite(
6262
dotifyHyphenator(),
@@ -65,43 +65,43 @@ public static Option dotifyTranslator() {
6565
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.translator.impl", "5.0.0")
6666
);
6767
}
68-
68+
6969
static Option streamlineApi() {
7070
return MavenRepo.CENTRAL.get("org.daisy.streamline", "streamline-api", "1.4.0");
7171
}
72-
72+
7373
static Option jing() {
7474
return MavenRepo.CENTRAL.get("org.daisy.libs", "jing", "20120724.0.0");
7575
}
76-
76+
7777
static Option saxon() {
7878
return MavenRepo.CENTRAL.get("org.daisy.libs", "saxon-he", "9.5.1.5");
7979
}
80-
80+
8181
static Option stax2() {
8282
return MavenRepo.CENTRAL.get("org.codehaus.woodstox", "stax2-api", "3.1.4");
8383
}
84-
84+
8585
static Option wstx() {
8686
return composite(
8787
stax2(),
8888
MavenRepo.CENTRAL.get("com.fasterxml.woodstox", "woodstox-core", "5.0.2")
8989
);
90-
90+
9191
}
92-
92+
9393
public static Option dotifyFormatter() {
9494
return composite(
9595
streamlineApi(),
96-
dotifyText(),
97-
dotifyHyphenator(),
96+
dotifyText(),
97+
dotifyHyphenator(),
9898
dotifyTranslator(),
9999
wstx(),
100100
saxon(),
101-
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.formatter.impl", "5.0.0")
101+
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.formatter.impl", "5.0.2")
102102
);
103103
}
104-
104+
105105
public static Option dotifyTasks() {
106106
return composite(
107107
dotifyApi(),
@@ -112,7 +112,7 @@ public static Option dotifyTasks() {
112112
MavenRepo.CENTRAL.get("org.daisy.dotify", "dotify.task.impl", "4.7.0")
113113
);
114114
}
115-
115+
116116
public static Option streamlineEngine() {
117117
return composite(
118118
dotifyCommon(),
@@ -125,7 +125,7 @@ enum MavenRepo {
125125
CENTRAL,
126126
SONATYPE_STAGING,
127127
LOCAL;
128-
128+
129129
Option get(String group, String artifact, String version) {
130130
switch(this) {
131131
case LOCAL:
@@ -136,26 +136,26 @@ Option get(String group, String artifact, String version) {
136136
return mavenBundle().groupId(group).artifactId(artifact).version(version);
137137
}
138138
}
139-
139+
140140
static Option sonatypeStaging(String group, String artifact, String version) {
141141
String path = group.replaceAll("\\.", "/");
142142
return bundle("https://oss.sonatype.org/content/groups/staging/"+path+
143143
"/"+artifact+"/"+version+"/"+artifact+"-"+version+".jar");
144144
}
145-
145+
146146
static File mavenLocal = null;
147-
147+
148148
static synchronized File getMavenLocal() {
149149
if (mavenLocal==null) {
150150
File home = new File(System.getProperty("user.home"));
151151
mavenLocal = new File(new File(home, ".m2"), "repository");
152152
if (!mavenLocal.isDirectory()) {
153153
throw new RuntimeException("Cannot find maven local at " + mavenLocal);
154-
}
154+
}
155155
}
156156
return mavenLocal;
157157
}
158-
158+
159159
static Option local(String group, String artifact, String version) {
160160
try {
161161
String path = group.replaceAll("\\.", "/");

0 commit comments

Comments
 (0)