You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($parameters?document-list and @type = ('compilation', 'chapter', 'subchapter', 'section', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
366
+
if ($parameters?document-list and @type = ('compilation', 'chapter', 'chapter-pending', 'subchapter', 'section', 'section-pending', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
Copy file name to clipboardExpand all lines: transform/frus-epub.xql
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -364,7 +364,7 @@ declare function model:apply($config as map(*), $input as node()*) {
364
364
(: No function found for behavior: document-list :)
365
365
$config?apply($config, ./node())
366
366
else
367
-
if ($parameters?document-list and @type = ('compilation', 'chapter', 'subchapter', 'section', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
367
+
if ($parameters?document-list and @type = ('compilation', 'chapter', 'chapter-pending', 'subchapter', 'section', 'section-pending', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
368
368
(: No function found for behavior: document-list :)
369
369
$config?apply($config, ./node())
370
370
else
@@ -485,7 +485,11 @@ declare function model:apply($config as map(*), $input as node()*) {
485
485
(: If it is inside a paragraph then it is inline, otherwise it is block level :)
if ($parameters?document-list and @type = ('compilation', 'chapter', 'subchapter', 'section', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
366
+
if ($parameters?document-list and @type = ('compilation', 'chapter', 'chapter-pending', 'subchapter', 'section', 'section-pending', 'part') andexists(div[@typeandnot(@type = 'online-supplement')])) then
0 commit comments