Next in thread → Next in month →

Re: [docbook-apps] default attributes

From
"Cob Rtayton"
Date
2007-08-21T03:55:37+00:00
ID
069c01c7e3a7$1ab4f960$6400a8c0@totoro
Thread
Re: [docbook-apps] default attributes
Hi,

You know, there is not a way to define a set of 
default attributes for graphics, but it seems there should be.  You could 
file a feature request on the DocBook SourceForge site.

 

I'm not quite sure what your intention was with 
your example, though.  The contentdepth="100%" and contentdepth="100%" 
attribute tell the processor to keep the image at its intrinsic size, if that 
can be determined. In other words, those attributes indicate the image is not to 
be scaled.  But the scalefit=1 says to scale it up to the available 
space.  So they seem to contradict each other.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Hinrich Aue 

  
To:  
  

  
Sent: Friday, August 17, 2007 7:18 
  AM

  
Subject: [docbook-apps] default 
  attributes

  

  

  
Hello 
  there,

  
 

  
we are using several attributes 
  for images.

  
 

  
Like scalefit=1, 
  contentheight=100% and contentdepth=100%

  
 

  
Is there a way to set these 
  attributes per default, so I don’t have to specify anything 
  ?

  
 

  
(This actually is a default that 
  makes sense…)

  
 

  
Hinrich 
  Aue
Next in thread → Next in month →