RE: [docbook-apps] SVG admonitions for browsers.

2010-03-25 Thread Compagnon Christopher
Do you use the parameters :

admon.textlabel 
admon.graphics.extension
and admon.graphics.path ?



Cordialement,


Christopher COMPAGNON
AXA GROUP SOLUTIONS - Procurement, BI Supply
Département Solutions Business Intelligence
Domaine BI France - Reporting Opérationnel
(  01 44 45 04 16 (55 04 16) 
E-mail: christopher.compagnon.a...@axa-groupsolutions.com

Pensez à l'environnement avant d'imprimer ce message
 

-Message d'origine-
De : Xuan Ngo [mailto:xuanngol...@yahoo.ca] 
Envoyé : mercredi 24 mars 2010 19:39
À : Docbook Appz; Compagnon Christopher
Objet : RE: [docbook-apps] SVG admonitions for browsers.

Sorry, maybe I wasn't clear.
When I was referring to admonitions, I was referring to warning, note and 
tip tags.

I know that by using mediaobject, it works correctly with Firefox. I want  
warning, note and tip tags to appear in Firefox as SVG.

How would I do that?

Xuan.


--- On Wed, 3/24/10, Compagnon Christopher 
christopher.compagnon.a...@axa-groupsolutions.com wrote:

 From: Compagnon Christopher 
 christopher.compagnon.a...@axa-groupsolutions.com
 Subject: RE: [docbook-apps] SVG admonitions for browsers.
 To: Xuan Ngo xuanngol...@yahoo.ca, Docbook Appz 
 docbook-apps@lists.oasis-open.org
 Received: Wednesday, March 24, 2010, 11:54 AM
 Hi,
 
 To generate image object with docbook, test with :
 
 mediaobject
 imageobject
 imagedata fileref=img/my_image.svg format=SVG/
 /imageobject
 /mediaobject
 
 Does it work ?
 
 Cordialement,
 
 
 Christopher COMPAGNON
 AXA GROUP SOLUTIONS - Procurement, BI Supply
 Département Solutions Business Intelligence
 Domaine BI France - Reporting Opérationnel
 (  01 44 45 04 16 (55 04 16) 
 E-mail: christopher.compagnon.a...@axa-groupsolutions.com
 
 Pensez à l'environnement avant d'imprimer ce message
  
 
 -Message d'origine-
 De : Xuan Ngo [mailto:xuanngol...@yahoo.ca]
 
 Envoyé : mercredi 24 mars 2010 16:44
 À : Docbook Appz
 Objet : [docbook-apps] SVG admonitions for browsers.
 
 I'm generating HTML out of docbook and SVG admonitions are
 generated as img. This causes the Firefox to not
 render the svg.
 
 Is there a way to generated svg admonitions like it did for
 mediaobject?
 
 Xuan.
 
 
      
 __
 Looking for the perfect gift? Give the gift of Flickr! 
 
 http://www.flickr.com/gift/
 
 
 -
 To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
 For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
 
 


  __
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



RE: [docbook-apps] SVG admonitions for browsers.

2010-03-25 Thread Compagnon Christopher
In your param.xsl file, copy and modify the following lines :

 

xsl:param name=admon.graphics.extension.png/xsl:param

xsl:param name=admon.graphics select=0/

xsl:param name=admon.graphics.pathimages//xsl:param

xsl:param name=admon.textlabel select=1/

 

to 

xsl:param name=admon.graphics.extension.svg/xsl:param

xsl:param name=admon.graphics select=1/

xsl:param name=admon.graphics.pathimages//xsl:param (default images/ or 
your_path/ )

xsl:param name=admon.textlabel select=1/

 

 

 

 

Cordialement,

 



Christopher COMPAGNON

AXA GROUP SOLUTIONS - Procurement, BI Supply

Département Solutions Business Intelligence

Domaine BI France - Reporting Opérationnel

(  01 44 45 04 16 (55 04 16) 

E-mail: christopher.compagnon.a...@axa-groupsolutions.com



Pensez à l'environnement avant d'imprimer ce message

 

 

-Message d'origine-
De : Xuan Ngo [mailto:xuanngol...@yahoo.ca] 
Envoyé : mercredi 24 mars 2010 19:39
À : Docbook Appz; Compagnon Christopher
Objet : RE: [docbook-apps] SVG admonitions for browsers.

 

Sorry, maybe I wasn't clear.

When I was referring to admonitions, I was referring to warning, note and 
tip tags.

 

I know that by using mediaobject, it works correctly with Firefox. I want  
warning, note and tip tags to appear in Firefox as SVG.

 

How would I do that?

 

Xuan.

 

 

--- On Wed, 3/24/10, Compagnon Christopher 
christopher.compagnon.a...@axa-groupsolutions.com wrote:

 

 From: Compagnon Christopher 
 christopher.compagnon.a...@axa-groupsolutions.com

 Subject: RE: [docbook-apps] SVG admonitions for browsers.

 To: Xuan Ngo xuanngol...@yahoo.ca, Docbook Appz 
 docbook-apps@lists.oasis-open.org

 Received: Wednesday, March 24, 2010, 11:54 AM

 Hi,

 

 To generate image object with docbook, test with :

 

 mediaobject

 imageobject

 imagedata fileref=img/my_image.svg format=SVG/

 /imageobject

 /mediaobject

 

 Does it work ?

 

 Cordialement,

 

 

 Christopher COMPAGNON

 AXA GROUP SOLUTIONS - Procurement, BI Supply

 Département Solutions Business Intelligence

 Domaine BI France - Reporting Opérationnel

 (  01 44 45 04 16 (55 04 16) 

 E-mail: christopher.compagnon.a...@axa-groupsolutions.com

 

 Pensez à l'environnement avant d'imprimer ce message

  

 

 -Message d'origine-

 De : Xuan Ngo [mailto:xuanngol...@yahoo.ca]

 

 Envoyé : mercredi 24 mars 2010 16:44

 À : Docbook Appz

 Objet : [docbook-apps] SVG admonitions for browsers.

 

 I'm generating HTML out of docbook and SVG admonitions are

 generated as img. This causes the Firefox to not

 render the svg.

 

 Is there a way to generated svg admonitions like it did for

 mediaobject?

 

 Xuan.

 

 

  

 __

 Looking for the perfect gift? Give the gift of Flickr! 

 

 http://www.flickr.com/gift/

 

 

 -

 To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org

 For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

 

 

 

 

  __

Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/

 



[docbook-apps] para-section-para

2010-03-25 Thread PC Thoms
While preparing an article in the following format I receive a not allowed
instruction.
Editor: Oxygen 10.3

article xmlns=http://docbook.org/ns/docbook;
xmlns:xlink=http://www.w3.org/1999/xlink; version=5.0
  section
paratext/para
section
  paratext/para
/section
*  paratext/para* (This paragraph shows as not allowed. Why?)
  /section
/article

Exports to the browser fine.
Must I follow a section with a section, that works, but this would break
up the flow of the document, which is an old report.
Or is this a bug?


RE: [docbook-apps] para-section-para

2010-03-25 Thread Dick Hamilton
According to the schema, you can have a para before the first section,
but once you start using sections, you cannot have a para outside of
some other structure (section, etc.).
 
I believe that is intentional and has been that way for a while.
 
Best Regards,
Dick Hamilton
-
XML Press
XML for Technical Communicators
http://xmlpress.net http://xmlpress.net/ 
(970) 231-3624


-Original Message-
From: PC Thoms [mailto:pcth...@gmail.com] 
Sent: Thursday, March 25, 2010 10:40 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] para-section-para


While preparing an article in the following format I receive a not
allowed instruction. 
Editor: Oxygen 10.3


article xmlns=http://docbook.org/ns/docbook;
xmlns:xlink=http://www.w3.org/1999/xlink; version=5.0
  section
paratext/para
section
  paratext/para
/section
  paratext/para (This paragraph shows as not allowed. Why?)
  /section
/article

Exports to the browser fine.
Must I follow a section with a section, that works, but this would
break up the flow of the document, which is an old report.
Or is this a bug?



RE: [docbook-apps] SVG admonitions for browsers.

2010-03-25 Thread Xuan Ngo
Yes, I did use all these parameters.
The issues is they all render as follows:
img src=directory/warning.svg alt=[Warning]

Because it generates img tag, Firefox doesn't display the image.

Xuan.

--- On Thu, 3/25/10, Compagnon Christopher 
christopher.compagnon.a...@axa-groupsolutions.com wrote:

From: Compagnon Christopher christopher.compagnon.a...@axa-groupsolutions.com
Subject: RE: [docbook-apps] SVG admonitions for browsers.
To: Xuan Ngo xuanngol...@yahoo.ca, Docbook Appz 
docbook-apps@lists.oasis-open.org
Received: Thursday, March 25, 2010, 11:48 AM




 
 






In your param.xsl file,
copy and modify the following lines : 

   

xsl:param
name=admon.graphics.extension.png/xsl:param 

xsl:param name=admon.graphics select=0/ 

xsl:param
name=admon.graphics.pathimages//xsl:param 

xsl:param name=admon.textlabel
select=1/ 

   

to  

xsl:param name=admon.graphics.extension.svg/xsl:param 

xsl:param name=admon.graphics select=1/ 

xsl:param
name=admon.graphics.pathimages//xsl:param (default images/ or your_path/ ) 

xsl:param name=admon.textlabel
select=1/ 

   

   

   

   

Cordialement, 

   

 

Christopher COMPAGNON 

AXA GROUP SOLUTIONS - Procurement, BI Supply 

Département Solutions Business Intelligence 

Domaine BI France - Reporting Opérationnel 

(  01 44 45 04 16 (55 04 16)  

E-mail: christopher.compagnon.a...@axa-groupsolutions.com 

 

Pensez à l'environnement avant d'imprimer ce message 

  

   

-Message d'origine-

De : Xuan Ngo [mailto:xuanngol...@yahoo.ca] 

Envoyé : mercredi 24 mars 2010 19:39

À : Docbook Appz; Compagnon Christopher

Objet : RE: [docbook-apps] SVG admonitions for browsers.

   

Sorry, maybe I wasn't clear. 

When I was referring to admonitions, I was referring to
warning, note and tip tags. 

   

I know that by using mediaobject, it works correctly with
Firefox. I want  warning, note and tip tags to appear
in Firefox as SVG. 

   

How would I do that? 

   

Xuan. 

   

   

--- On Wed, 3/24/10, Compagnon Christopher
christopher.compagnon.a...@axa-groupsolutions.com wrote: 

   

 From: Compagnon Christopher
christopher.compagnon.a...@axa-groupsolutions.com 

 Subject: RE: [docbook-apps] SVG admonitions for browsers. 

 To: Xuan Ngo xuanngol...@yahoo.ca,
Docbook Appz docbook-apps@lists.oasis-open.org 

 Received: Wednesday, March 24, 2010, 11:54 AM 

 Hi, 

  

 To generate image object with docbook, test with : 

  

 mediaobject 

 imageobject 

 imagedata fileref=img/my_image.svg
format=SVG/ 

 /imageobject 

 /mediaobject 

  

 Does it work ? 

  

 Cordialement, 

  

  

 Christopher COMPAGNON 

 AXA GROUP SOLUTIONS - Procurement, BI Supply 

 Département Solutions Business Intelligence 

 Domaine BI France - Reporting Opérationnel 

 (  01 44 45 04 16 (55 04 16)  

 E-mail: christopher.compagnon.a...@axa-groupsolutions.com 

  

 Pensez à l'environnement avant d'imprimer ce message 

   

  

 -Message d'origine- 

 De : Xuan Ngo [mailto:xuanngol...@yahoo.ca] 

  

 Envoyé : mercredi 24 mars 2010 16:44 

 À : Docbook Appz 

 Objet : [docbook-apps] SVG admonitions for browsers. 

  

 I'm generating HTML out of docbook and SVG admonitions are 

 generated as img. This causes the Firefox to not 

 render the svg. 

  

 Is there a way to generated svg admonitions like it did for 

 mediaobject? 

  

 Xuan. 

  

  

       

 __ 

 Looking for the perfect gift? Give the gift of Flickr!  

  

 http://www.flickr.com/gift/ 

  

  


- 

 To unsubscribe, e-mail:
docbook-apps-unsubscr...@lists.oasis-open.org 

 For additional commands, e-mail:
docbook-apps-h...@lists.oasis-open.org 

  

  

   

   

  __ 

Make your browsing faster, safer, and easier with the new Internet
Explorer® 8. Optimized for Yahoo! Get it Now for Free! at
http://downloads.yahoo.com/ca/internetexplorer/ 

   



 




  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

Re: [docbook-apps] SVG admonitions for browsers.

2010-03-25 Thread DeanNelson
Xuan,
 
You will need to embed the img into an object. To do this  you will 
need to copy the template called graphical.admonition from the  admon.xsl in 
the html directory to your own customization layer.
 
Then look for the following lines:
  img  alt=[{$alt}]
xsl:attribute  name=src
xsl:call-template  name=admon.graphic/
/xsl:attribute
/img

and change it to something like (this is untested code):
 
 
object type=image/svg+xml width=80 class=img
 xsl:attribute  name=data
xsl:call-template  name=admon.graphic/
/xsl:attribute
img  alt=[{$alt}]
xsl:attribute  name=src
xsl:call-template  name=admon.graphic/
/xsl:attribute
/img
/object 
 
This will allow FF to load SVG as an external file. You may need to add  
some extra code to detect when you are actually using SVG files and extra code 
 to set the size of the image since it is hardcoded.
 
Regards,
Dean Nelson
 
 

 
In a message dated 3/25/2010 8:49:09 A.M. Pacific Daylight Time,  
christopher.compagnon.a...@axa-groupsolutions.com writes:

 
In your param.xsl file, copy and modify the  following lines : 
xsl:param  name=admon.graphics.extension.png/xsl:param 
xsl:param name=admon.graphics  select=0/ 
xsl:param  name=admon.graphics.pathimages//xsl:param 
xsl:param name=admon.textlabel  select=1/ 
to  
xsl:param  name=admon.graphics.extension.svg/xsl:param 
xsl:param name=admon.graphics select=1/ 
xsl:param  name=admon.graphics.pathimages//xsl:param (default images/ 
or  your_path/  ) 
xsl:param name=admon.textlabel  select=1/ 
Cordialement, 
 
Christopher COMPAGNON 
AXA GROUP SOLUTIONS - Procurement, BI  Supply 
Département Solutions Business  Intelligence 
Domaine BI France - Reporting  Opérationnel 
(  01 44 45 04 16 (55 04 16)   
E-mail:  christopher.compagnon.a...@axa-groupsolutions.com 
 
Pensez à l'environnement avant d'imprimer ce  message 
-Message d'origine-
De : Xuan Ngo  [mailto:xuanngol...@yahoo.ca] 
Envoyé : mercredi 24 mars 2010  19:39
À : Docbook Appz; Compagnon Christopher
Objet : RE:  [docbook-apps] SVG admonitions for browsers. 
Sorry, maybe I wasn't  clear. 
When I was referring to admonitions, I was referring  to warning, note 
and tip  tags. 
I know that by using mediaobject, it works  correctly with Firefox. I 
want  warning, note and  tip tags to appear in Firefox as SVG. 
How would I do that? 
Xuan. 
--- On Wed, 3/24/10, Compagnon Christopher  
christopher.compagnon.a...@axa-groupsolutions.com  wrote: 
 From: Compagnon Christopher  
christopher.compagnon.a...@axa-groupsolutions.com 
 Subject: RE: [docbook-apps] SVG admonitions for  browsers. 
 To: Xuan Ngo xuanngol...@yahoo.ca,  Docbook Appz  
docbook-apps@lists.oasis-open.org 
 Received: Wednesday, March 24, 2010, 11:54  AM 
 Hi, 
  
 To generate image object with docbook, test with  : 
  
 mediaobject 
 imageobject 
 imagedata fileref=img/my_image.svg  format=SVG/ 
 /imageobject 
 /mediaobject 
  
 Does it work ? 
  
 Cordialement, 
  
   
 Christopher  COMPAGNON 
 AXA GROUP SOLUTIONS - Procurement, BI  Supply 
 Département Solutions Business  Intelligence 
 Domaine BI France - Reporting  Opérationnel 
 (  01 44 45 04 16 (55 04 16)   
 E-mail:  christopher.compagnon.a...@axa-groupsolutions.com 
   
 Pensez à l'environnement avant d'imprimer ce  message 
   
  
 -Message  d'origine- 
 De : Xuan Ngo  [mailto:xuanngol...@yahoo.ca] 
  
 Envoyé : mercredi 24 mars 2010  16:44 
 À : Docbook  Appz 
 Objet : [docbook-apps] SVG admonitions for  browsers. 
  
 I'm generating HTML out of docbook and SVG  admonitions are 
 generated as img. This causes the Firefox  to not 
 render the svg. 
  
 Is there a way to generated svg admonitions like  it did for 
 mediaobject? 
  
 Xuan. 
  
  
   
  __ 
 Looking for the perfect gift? Give the gift of  Flickr!  
  
  http://www.flickr.com/gift/ 
  
  
  - 
 To unsubscribe, e-mail:  docbook-apps-unsubscr...@lists.oasis-open.org 
 For additional commands, e-mail:  docbook-apps-h...@lists.oasis-open.org 
  
  
__ 
Make your browsing faster, safer, and easier with the  new Internet 
Explorer® 8. Optimized for Yahoo! Get it Now for Free! at  
http://downloads.yahoo.com/ca/internetexplorer/ 



RE: [docbook-apps] para-section-para

2010-03-25 Thread David Cramer
For me, if content were allowed after a section, it's hard to imagine
how you would render it in a way that made it clear which section it
belongs to. What you have may be a sidebar. Worst case you could use
bridgeheads to match the structure of the legacy content. 
 
David




From: Dick Hamilton [mailto:rlhamil...@frii.com] 
Sent: Thursday, March 25, 2010 1:13 PM
To: 'PC Thoms'; docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] para-section-para


According to the schema, you can have a para before the first
section, but once you start using sections, you cannot have a para
outside of some other structure (section, etc.).
 
I believe that is intentional and has been that way for a while.
 
Best Regards,
Dick Hamilton
-
XML Press
XML for Technical Communicators
http://xmlpress.net http://xmlpress.net/ 
(970) 231-3624


-Original Message-
From: PC Thoms [mailto:pcth...@gmail.com] 
Sent: Thursday, March 25, 2010 10:40 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] para-section-para


While preparing an article in the following format I
receive a not allowed instruction. 
Editor: Oxygen 10.3


article xmlns=http://docbook.org/ns/docbook;
xmlns:xlink=http://www.w3.org/1999/xlink;
version=5.0
  section
paratext/para
section
  paratext/para
/section
  paratext/para (This paragraph shows as not
allowed. Why?)
  /section
/article

Exports to the browser fine.
Must I follow a section with a section, that works,
but this would break up the flow of the document, which is an old
report.
Or is this a bug?



[docbook-apps] Indexterms - see pointing to secondary

2010-03-25 Thread honyk
Hello Everyone,

I am creating a three-level index using default primary/secondary/tertiary
elements. Several items are synomyms so I use the 'see' element for the
topic redirection. But in few cases I'd like to point the user to the second
level topic instead to the primary as that primary doesn't exist (and I
don't plan to include it, see details below).

But now I see if it is necessary to distinguish the level of the see element
content, I have to use some system. What do you think, is something like
'primary, secondary' feasible? 

Here is an example:
scripting API
- arrays
- - one dimensional, see scripting API, lists
- - two dimensional, see scripting API, tables
- lists, 10, 12-16
- tables, 18

My effort to use the secondary element as the target is to keep the user in
the place where he currently is. My index is quite huge and I think it
wouldn't be very convenient to point the user to the primary several pages
back. 
And because of complexity of the current index I don't want to add another
primaries there.

I am even thinking to support something like this in the DocBook schema -
add some linkend attribute to the see element and place there, optionally id
of needed index entry. This link would be automatically (in XSLT) resolved
to the appropriate text, according to the used level:
See primary
See primary, secondary
See primary, secondary, tertiary

But I don't know if somebody else need something like this ;-)

Regards,
Jan


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] table titles

2010-03-25 Thread maxwell
The DocBook 5 web page that describes (CALS) tables
(http://www.docbook.org/tdg5/en/html/cals.table.html) says:
   This table element identifies a formal table (one without a title).
Isn't that a typo?  Shouldn't it say one with a title?  (The synopsis
and children both mention a title element.)

(The description of figure, informalfigure and informaltable all
appear to be correct.)

   Mike Maxwell


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org