Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit 81447e3

Browse files
committed
Add single/multi CSS
This adds extra CSS imports to the output of each XSLT stylesheet that allow for applying different CSS to single/multi output. Fix: #65
1 parent 76779f4 commit 81447e3

22 files changed

Lines changed: 168 additions & 18 deletions

File tree

README-CHANGES.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,20 @@
186186
<c:change date="2026-03-28T00:00:00+00:00" summary="Add a new max-width and line-height."/>
187187
</c:changes>
188188
</c:release>
189-
<c:release date="2026-03-28T20:07:02+00:00" is-open="false" ticket-system="com.github.io7m.xstructural" version="2.0.1">
189+
<c:release date="2026-03-28T00:00:00+00:00" is-open="false" ticket-system="com.github.io7m.xstructural" version="2.0.1">
190190
<c:changes>
191191
<c:change date="2026-03-28T00:00:00+00:00" summary="Apply max-width to stWebCoverImage."/>
192192
</c:changes>
193193
</c:release>
194+
<c:release date="2026-04-17T12:34:28+00:00" is-open="true" ticket-system="com.github.io7m.xstructural" version="2.1.0">
195+
<c:changes>
196+
<c:change date="2026-04-17T12:34:28+00:00" summary="Add structural-single.css, structural-multi.css, document-single.css, document-multi.css, document-epub.css.">
197+
<c:tickets>
198+
<c:ticket id="65"/>
199+
</c:tickets>
200+
</c:change>
201+
</c:changes>
202+
</c:release>
194203
</c:releases>
195204
<c:ticket-systems>
196205
<c:ticket-system default="true" id="com.github.io7m.xstructural" url="https://www.github.com/io7m/xstructural/issues/"/>

com.io7m.xstructural.api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>com.io7m.xstructural</artifactId>
1111
<groupId>com.io7m.xstructural</groupId>
12-
<version>2.0.2-SNAPSHOT</version>
12+
<version>2.1.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>com.io7m.xstructural.api</artifactId>

com.io7m.xstructural.cmdline/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>com.io7m.xstructural</artifactId>
1111
<groupId>com.io7m.xstructural</groupId>
12-
<version>2.0.2-SNAPSHOT</version>
12+
<version>2.1.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>com.io7m.xstructural.cmdline</artifactId>

com.io7m.xstructural.documentation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>com.io7m.xstructural</artifactId>
1111
<groupId>com.io7m.xstructural</groupId>
12-
<version>2.0.2-SNAPSHOT</version>
12+
<version>2.1.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>com.io7m.xstructural.documentation</artifactId>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright © 2026 Mark Raynsford <code@io7m.com> https://www.io7m.com
3+
*
4+
* Permission to use, copy, modify, and/or distribute this software for any
5+
* purpose with or without fee is hereby granted, provided that the above
6+
* copyright notice and this permission notice appear in all copies.
7+
*
8+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11+
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
14+
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15+
*/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright © 2026 Mark Raynsford <code@io7m.com> https://www.io7m.com
3+
*
4+
* Permission to use, copy, modify, and/or distribute this software for any
5+
* purpose with or without fee is hereby granted, provided that the above
6+
* copyright notice and this permission notice appear in all copies.
7+
*
8+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11+
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
14+
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15+
*/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright © 2026 Mark Raynsford <code@io7m.com> https://www.io7m.com
3+
*
4+
* Permission to use, copy, modify, and/or distribute this software for any
5+
* purpose with or without fee is hereby granted, provided that the above
6+
* copyright notice and this permission notice appear in all copies.
7+
*
8+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11+
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
14+
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15+
*/

com.io7m.xstructural.maven_plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.io7m.xstructural</groupId>
88
<artifactId>com.io7m.xstructural</artifactId>
9-
<version>2.0.2-SNAPSHOT</version>
9+
<version>2.1.0-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>com.io7m.xstructural.maven_plugin</artifactId>

com.io7m.xstructural.tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<artifactId>com.io7m.xstructural</artifactId>
1010
<groupId>com.io7m.xstructural</groupId>
11-
<version>2.0.2-SNAPSHOT</version>
11+
<version>2.1.0-SNAPSHOT</version>
1212
</parent>
1313

1414
<artifactId>com.io7m.xstructural.tests</artifactId>

com.io7m.xstructural.vanilla/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>com.io7m.xstructural</artifactId>
1111
<groupId>com.io7m.xstructural</groupId>
12-
<version>2.0.2-SNAPSHOT</version>
12+
<version>2.1.0-SNAPSHOT</version>
1313
</parent>
1414

1515
<artifactId>com.io7m.xstructural.vanilla</artifactId>

0 commit comments

Comments
 (0)