Re: [docbook-apps] The XSLT 2 stylesheets

2007-08-31 Thread Dave Pawson

Norman Walsh wrote:


I'm tempted, with an eye towards an XProc-aware future, to rip it all
apart and rewrite it as an explicit sequence of discrete
transformations instead of a mode-driven, internal sequence of
transformations.


I'd hesitate to state it outright, but the chances are with
the advanced features of both XSLT 2.0 and Relax NG schema,
there's likely to be lots of room for improvement Norm?

Are there any particular aspects to 2.0 you think you'd
like to use, or is it just the effects of n years wear and tear?


More thoughts. If the group is interested in letting more people
look to modding the stylesheets, the architecture could stand
being documented somewhat.

I'm thinking about the sort of thing that Jeni T does, presenting
the stylesheets as a navigable suite. Unfortunately her software is
Windows only.
http://www.jenitennison.com/xslt/utilities/ xsltdoc



regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] decimal-aligning numbers in the List of Figures

2007-08-31 Thread Bob Stayton
Well, you can't do it with just a param and an attribute-set as you can for an 
orderedlist.  An orderedlist is formatted with an fo:list-block, with the 
number in the list-item-label part and the title in the list-item-body part.  
And it has the attribute-set that supports adding the text-align attribute.  So 
right-aligning the number works in that context.

A list of titles (figures, tables, etc.) is output by the template named 
'toc.line', which uses an ordinary fo:block containing the number and the 
title.  If you want the same effect, you could customize the toc.line template 
to output a fo:list-block instead, separating the number and title as for an 
orderedlist.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]


  - Original Message - 
  From: Jeff Powanda 
  To: docbook-apps@lists.oasis-open.org 
  Sent: Thursday, August 30, 2007 11:28 AM
  Subject: [docbook-apps] decimal-aligning numbers in the List of Figures


  I'd like to decimal-align the numbers for the List of Figures so that they 
line up nicely. I do that with orderedlists by right-aligning the orderedlist 
label:



xsl:param name=orderedlist.label.width select='0.23in'/

xsl:attribute-set name=orderedlist.label.properties

  xsl:attribute name=text-alignright/xsl:attribute

/xsl:attribute-set



  How can I do the same for List of Figures?



  Regards,

  Jeff Powanda




Re: [docbook-apps] ulink doesn't show as footnote when using XSL-NS Stylesheets

2007-08-31 Thread Michael(tm) Smith
Ken Morse [EMAIL PROTECTED], 2007-08-30 14:03 -0400:

 DocBook v5 replaces ulink with link as documented in DocBook V5.0:The
 Transition Guide http://docbook.org/docs/howto/2006-10-22/#changes-renamed.
 It looks like the XSL-NS Stylesheets are not handling
 ulink.footnotesthough; setting the parameter to 1 doesn't cause
 the link to show up as a footnote.

See Mauritz Jeanson's related message:

  http://www.oasis-open.org/archives/docbook-apps/200708/msg00244.html

To quote that:

  In the XSL-NS version of html/xref.xsl, @target is supposed to
  be assigned a value in the template with match=d:ulink.
  But that template is never applied, since there is no ulink
  element in DocBook 5.

So it seems we probably need to make an adjustment to the XSL-NS
build, to convert that match=d:ulink template into one that
handles link instances that are used in that same context.

We will most likely not be doing a 1.73.3 release. So that fix,
once it gets made, will probably not be available in an official
release until 1.74.0, which could be a while. So in the mean time,
it will probably require you to either use a snapshot containing
the fix, or to patch your local 1.73.2 copies.

Anyway, I suspect we will have a fix for this checked in within
the next couple of days.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/
http://sideshowbarker.net/


smime.p7s
Description: S/MIME cryptographic signature


[docbook-apps] revisiting ooclasssynopsis and C++

2007-08-31 Thread Samuel Wright
Hi All,

I'm revisiting the ooclasssynopsis issue that I've seen in mailing
list archives and on net searches.

I've got a class

template typename T class MyClass : public BaseName

with a method

DerivedName (const A *type) : BaseName ( function())

and I can find no way to document this with valid docbook.

constructorsynopsis
methodnameDerivedName/methodname
methodparam
typeconst A/type
parameter*type/parameter
/methodparam
modifier: BaseName ( function()/modifier
/constructorsynopsis

would work but is invalid.

Am I missing something here? Or is docbook just not specific enough
for what I am trying to do?

Any suggestions?
Thanks
Sam

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] ulink doesn't show as footnote when using XSL-NS Stylesheets

2007-08-31 Thread Ken Morse
Bug is checked in, https://sourceforge.net/support/tracker.php?aid=1785519.

If I learn anything more, or determine a fix, I'll post an update.

Is there anyway to add XSL-NS as a category in the bug tracker?

Thanks,
Ken


On 8/31/07, Michael(tm) Smith [EMAIL PROTECTED] wrote:

 Ken Morse [EMAIL PROTECTED], 2007-08-30 14:03 -0400:

  DocBook v5 replaces ulink with link as documented in DocBook V5.0:The
  Transition Guide 
 http://docbook.org/docs/howto/2006-10-22/#changes-renamed.
  It looks like the XSL-NS Stylesheets are not handling
  ulink.footnotesthough; setting the parameter to 1 doesn't cause
  the link to show up as a footnote.

 See Mauritz Jeanson's related message:

   http://www.oasis-open.org/archives/docbook-apps/200708/msg00244.html

 To quote that:

   In the XSL-NS version of html/xref.xsl, @target is supposed to
   be assigned a value in the template with match=d:ulink.
   But that template is never applied, since there is no ulink
   element in DocBook 5.

 So it seems we probably need to make an adjustment to the XSL-NS
 build, to convert that match=d:ulink template into one that
 handles link instances that are used in that same context.

 We will most likely not be doing a 1.73.3 release. So that fix,
 once it gets made, will probably not be available in an official
 release until 1.74.0, which could be a while. So in the mean time,
 it will probably require you to either use a snapshot containing
 the fix, or to patch your local 1.73.2 copies.

 Anyway, I suspect we will have a fix for this checked in within
 the next couple of days.

   --Mike

 --
 Michael(tm) Smith
 http://people.w3.org/mike/
 http://sideshowbarker.net/




Re: [docbook-apps] ulink doesn't show as footnote when using XSL-NS Stylesheets

2007-08-31 Thread Michael(tm) Smith
Ken Morse [EMAIL PROTECTED], 2007-08-31 07:33 -0400:

 Bug is checked in, https://sourceforge.net/support/tracker.php?aid=1785519.
 If I learn anything more, or determine a fix, I'll post an update.

Thanks

 Is there anyway to add XSL-NS as a category in the bug tracker?

There is a way, but I'm reluctant to do that at this point,
because it will mean that when we search or run reports for open
bugs for the stylesheets, we need to run the report against two
categories instead of just one. For now at least, I think it's
probably better to just have the XSL and XSL-NS stylesheets
treated in the same category as far as SF bug tracking goes.

  --Mike


smime.p7s
Description: S/MIME cryptographic signature


[docbook-apps] RfC: Debian #198597 docbook-xsl: width for images is not generated in html

2007-08-31 Thread Daniel Leidert
Hi,

I would like to request a comment by the docbook-xsl team about this
report, so I know, if it's worth to open a bug-report at the sf.net
tracker and check for a fix or if this (IMHO intended) behaviour will
not be changed. In this case, I can close the bug report. So please
comment.

Regards, Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[docbook-apps] Styling PDF output

2007-08-31 Thread Johnson, Eric
I want to style the pages in my PDF output so that the paragraph text
has a left side gap. I also want simplesect tiles and bridge heads to
appear in the gap. I'm not sure what I need to modify to make that
happen. Any help would be greatly appreciated.
Cheers,
Eric J.