Re: (dsssl) Box around DocBook figure element

Subject: Re: (dsssl) Box around DocBook figure element
From: Ian Castle <ian.castle@xxxxxxxxxxxxxxxxxxx>
Date: 18 Jun 2002 18:02:47 +0100
Without thinking very hard at all ;-), does adding a "layer:" attribute
make any difference?




This alters the order in which things are "rendered" - should have some
effect for the tex backend.

Anyway, I've no idea whether this will work, but it shouldn't take too
long to try!

On Tue, 2002-06-18 at 08:56, Alain NAKACHE wrote:
> Hi all,
> I need your help because I tried to change the figure element to put the 
> image (not the title)  into a Box.
> I use DocBook DSSSL StyleSheet v1.76 and here is my test :
> ;; Encadrement de l'image d'une figure dans une
> ;; box de border 1pt
> (define ($an-figbox$)
>    (make box
>      display?: #t
>      box-type: 'border
>      line-thickness: 1pt
>      start-indent: (inherited-start-indent)
>      end-indent: (inherited-end-indent)))
> (element (figure mediaobject)($an-figbox$))
> Unfortunately the result is a figure with all format of graphics declared 
> (the graphic displays twice if I declare a PNG and EPS imageobject format 
> into a mediaobject) into a box.
> I'm very new in DSSSL programing (2 days) and it can explain this result.
> Thanks for your help.
> Alain
>  DSSSList info and archive:

 DSSSList info and archive:

Current Thread