#122 Verso authorgroup broken for editors

packaging problem
closed-fixed
nobody
DSSSL (85)
5
2001-12-01
2001-09-26
Nick Nicholas
No

From the comments in the editor element in dbprint.dsl, I know it is known it is broken.
Nonetheless, the following is at least less broken:

(mode book-titlepage-verso-mode

(element authorgroup
(let* ((editors (select-elements (children (current-node)) (normalize "editor"))))
(make paragraph
space-after: (* %bf-size% %line-spacing-factor%)
(make sequence
(if (node-list-empty? editors) ; ADDED
(literal (gentext-by)) ; ADDED
(literal (gentext-edited-by)) ; ADDED
)
(literal "\no-break-space;")
(process-children-trim)))))

(element editor
;; Print the editor name.
(let ((in-group (have-ancestor? (normalize "authorgroup") (current-node))))
(if (or #f (not in-group)) ; nevermind, always put out the Edited by
(make paragraph
;; Hack to get the spacing right below the author name line...
space-after: (* %bf-size% %line-spacing-factor%)
(make sequence
(literal (gentext-edited-by))
(literal "\no-break-space;")
(literal (author-string))))
(make sequence
(literal (author-list-string)))))) ; CHANGED

)

Discussion

  • Norman Walsh
    Norman Walsh
    2001-12-01

    Logged In: YES
    user_id=81663

    Yes, I agree that sucks somewhat less. :-/

     
  • Norman Walsh
    Norman Walsh
    2001-12-01

    • status: open --> closed-fixed