per-page images in print documents

Subject: per-page images in print documents
From: Murray Stokely <murray@xxxxxxxxx>
Date: Sat, 6 May 2000 19:53:02 -0700 (PDT)
  I never got any input on this.  All I want is a tall vertical image to be
displayed on the left side of every page of my document.  Is this
possible in any way with a simple-page-sequence, or anything other method
supported by OpenJade?  I can create a table and put the image in one
column but that only works for the first page; it will not work for
the other pages.  Is there any other way to accomplish this simple task?


	- Murray

---------- Forwarded message ----------
Date: Mon, 1 May 2000 21:51:54 -0700 (PDT)
From: Murray Stokely <murray@xxxxxxxxx>
To: dssslist@xxxxxxxxxxxxxxxx
Subject: background images in print documents

  I'm using Jade to format a simple SGML resume into HTML and RTF
outputs.  I'm fluent in HTML so I was very quickly able to whip up 300
lines of scheme-like code in a stylesheet to display the resume
exactly as I wanted.  I'm having a much harder time with Print
Stylesheets though.  
  I want an image to run down the left side of each page of the
article and then the text to run down the right side (the article
title and some information on the first page should be above this
left/right divide).  With the attached stylesheet I simply tried to
start a page-sequence, and then start a table with the leftmost column
being the image and the right column the actual text.  The first page
works great but none of the other pages will be displayed properly.
Is there a better way to put an image on the left side of every page?
How do tables work across page boundaries?  I've been thumbing through
my printed copy of the ISO DSSSL standard and I can't figure out the
"right" way to accomplish this simple task.  Remember that I'm using
Jade and hence limited to the subset of DSSSL that Jade supports.
Thanks for any pointers!


My existing stylesheet -

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>

<style-specification use="docbook">

; DSSSL Print Style Sheet
; Murray Stokely
; 25 Apr 2000

(element article
  (make simple-page-sequence
    top-margin: 1in
    bottom-margin: 1in
    left-margin: 1in
    right-margin: 1in
    font-size: 12pt
    line-spacing: `4pt
    min-leading: 0pt

(element sect2
  (make table
    (make table-column
      width: 1in)
    (make table-row
      (make table-cell
	(make external-graphic
	  display?: #t
	  entity-system-id: "leftbar-resume.png"
	  max-width: 2in
	  notation-system-id: "png"))
      (make table-cell

;; p243 of DSSSL spec (external-graphic)
;(element (article title)

;(element imagedata
;  (literal "image here"))

(element title
  (make paragraph
    font-weight: 'bold
    font-size: 18pt

(element para
  (make paragraph
    space-before: 8pt

(element emphasis
  (if (equal? (attribute-string "role") "strong")
      (make sequence
	font-weight: 'bold
      (make sequence
	font-posture: 'italic

(element (emphasis emphasis)
  (make sequence
    font-posture: 'upright

<external-specification id="docbook" document="dbstyle">

 DSSSList info and archive:

Current Thread