I think Norm is right.
I have found it necessary when using recent versions of
Xalan to include the bsf.jar file in my CLASSPATH
along with xerces.jar and xalan.jar. That solved
the missing BSFEngine problem for me.
bobs
Bob Stayton 400 Encinal Street
ldn't find an explanation. It's _fairly_
likely that I have done something wrong.
You need to update your Xalan package. The Xalan 1_2_D02
version contained Xerces 1.1.3, which was responsible for
this particular error message. Try Xalan 1_2_2 instead,
which has Xerces 1.2.
bobs
B
is what you mean. You have to spend time
writing the cascading stylesheet, though.
It is highly customizable, so the more time you spend
setting it up, the easier it is to use for
your application.
I can't speak to its Emacs+PSGML features
or its Czech encodings support.
bobs
Bob Stayton
From: Eric Richardson [EMAIL PROTECTED]
Bob Stayton wrote:
I've found XalanJ2 to be about three times as fast
as XalanJ1 when processing Docbook.
Really, any problems with it?
I could use some speed up.
Eric :-)
None so far. I've used it for both HTML and PDF
output (with Apache
(but not actually doing so), it fails
with this message:
XSLT Error (javax.xml.transform.TransformerException): -9
Very helpful message, eh? 8^)
I think Norm will have to fix chunk.xsl to work
with XalanJ2, beyond my simple adjustment above.
bobs
Bob Stayton
heet
You can add templates for any other elements
that need to be changed. All unmatched elements
are matched by the first template.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publi
xalan. I'm currently
using the 1.34 XSL stylesheets with XalanJ2, and
I include extensions/xalan2.jar from your distribution
in my CLASSPATH so that chunking works.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA
method=xml/
xsl:template match=*|/
xsl:copy
xsl:copy-of select=@*/
xsl:apply-templates/
/xsl:copy
/xsl:template
xsl:template match=*[@condition='long']
/xsl:template
/xsl:stylesheet
bobs
Bob Stayton 400 Encinal Street
like en when there isn't a specific file for a
lang+country code like en-US. It should.
I've got a fix but I'd like to check it out with Norm
before I check it in to make sure I'm fixing it in the
right place in the templates.
For now, try using just lang=en.
bobs
Bob Stayton
of the
other xref templates add some words to describe the
linkend object, like Figure or Table. In the case
of orderedlist, the item does not have a name, as it
could be any number of enumerated things.
bobs
Bob Stayton 400 Encinal Street
Publications Architect
I have some ideas for expanding the capabilities and use of
olink for inter-document cross referencing.
I'd like to hear from anyone who is using or
has tried olink, and what their experiences were.
If you want, you can reply to me directly and
I'll summarize.
bobs
Bob Stayton
it cannot
be inside an xsl:choose anyway.
XSLT is a funny programming language that definitely
takes some getting used to.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
it as a customization layer.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
of contents, and its default is 3, so
you wouldn't see any effect.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
used to OR element selections
in a test attribute. Thanks for correcting that.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera
stylesheets, Norm is going
to make it easier to make incremental changes to
the localization templates.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
the numbering will
change. That's why I said it works best if
all the elements you want have ids.
bob
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
with a parameter that specifies which element
it should appear before, something like:
xsl:param name=place.bookinfo.graphic.before
select='title'/
or some such.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
output file say
12pt in the root element?
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831
appearing although it is the FO file.
I haven't got it working either.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
From: Norman Walsh [EMAIL PROTECTED]
/ Bob Stayton [EMAIL PROTECTED] was heard to say:
| Looking at the titlepage templates in XSL 1.42, it
| appears there is no template for mediaobject or graphic.
| So you aren't doing anything wrong, it just doesn't
| work yet.
See http://nwalsh.com
this is generated.
It is best to report bugs using the Bugs link
on this page:
http://sourceforge.net/projects/docbook/
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
doesn't permit a title to put in
the TOC, so this method simplies dealing with
the range of possible elements that might
appear in a question.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical
xsl:include and xsl:import. So I think
the xsl:stylesheet element in variablelist.xsl
needs to include:
extension-element-prefixes=fo
That should clear up the failed to find extension block
errors.
bobs
Bob Stayton 400 Encinal Street
Publications
. I should always test before
answering! 8)
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831
/OlinkExtended.html.
It's fairly long because it has quite a bit of
detail, but there is an Executive Summary if you
want the short version.
I'm about to embark on implementing a prototype,
so any comments would be appreciated.
bobs
Bob Stayton 400 Encinal Street
format=PNG/
IMG SRC=images/dlg_vernieuw.png/IMG
Is the example wrong, or is it possible you are refering to
the wrong entity name?
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
as you expect in my tests.
Congratulations!
I agree that the positioning of figure titles should
be a customizable parameter. You should file a feature
request on the sourceforge site.
bobs
Bob Stayton 400 Encinal Street
Publications Architect
chunk.xsl for other params that control
chunking (they aren't in param.xsl).
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International
is just to pass the mode down to
the holder template, since modes are not automatically
propagated to children. Hope this is something
that helps.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical
if someone enlarges
their font (as I found once when doing a presentation
using HTML), but at least the meaning will be there.
Maybe someday the 'uni-' in Unicode will mean
universally implemented.
bobs
Bob Stayton 400 Encinal Street
Publications Architect
layer, so you should file a bug on sourceforge for this one.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
the DocBook Open Repository home
page on sourceforge.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax
with its stylesheet in a browser.
Perhaps someone else knows how to do that.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
if that is a bug? In a sect1 chunk, the titles
map to a nice hierarchy:
sect1 - h2
sect2 - h3
sect3 - h4
I would think chapter would map to h1.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical
a browser won't 'show'
the link, and since the A element contains no
text, this is an invisible link.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427
based on the elements description. I would also like the br
added to the programlisting as I like this behavior.
In comments or suggestion very welcome.
You want literallayout class=monospaced.
By default, literallayout uses the normal font.
bobs
Bob Stayton
process doesn't have a catalog
mechanims that I know of. It works only with
absolute and relative URIs.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831
output it is a name=foo and a
href=#foo. Similar output for FO output using the FO
linking mechanism.
If you want to generate an XML TOC, you could still model
your stylesheet using his methods but outputing
XML elements instead.
bobs
Bob Stayton 400 Encinal Street
that it can't
find the DTD entity as well.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
it to be numbered as Figure *.*) - which is becoming rather
cumbersome - or use ulink to refer to it, e.g.
...shown in ulink linkend=idscreenshot/ulink below
I think you mean link here, not ulink.
That would certainly work.
bobs
Bob Stayton 400 Encinal Street
template/titlepage.xsl
to generate a customized titlepage.templates.xsl as output.
Then your Docbook customization layer should use that
stylesheet module for titles.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA
with-param.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
are seeing, but I'm not sure
if it will satisfy everything.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax
in the file chunk-common.xsl. But a
parameter and extra code in those templates should be able
to handle it.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831
From: Ed Nixon [EMAIL PROTECTED]
Can you please point me at information or pass along some quick tips on
getting header and footer output in an article?
Print or HTML? XSL or DSSSL?
bobs
Bob Stayton 400 Encinal Street
Publications Architect
Sorry, Bob. I should have duplicated the subject information in the body of
the note. I'm looking to change font characteristics in FO output not HTML.
Thanks....edN
At 02:00 PM 04/11/2001 -0800, Bob Stayton wrote:
From: Ed Nixon [EMAIL PROTECTED]
Could you please
post your chunk template.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
The Open Group (formerly X/Open) uses underscore between
language and country code. I couldn't find any ISO
standard that defines the whole locale string, just
separate standards for language codes and country codes.
bobs
From
for DocBook.
Feedback is welcome.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
From: Emmanuel CHANTREAU [EMAIL PROTECTED]
I have an error wich I don't anderstand:
I parse my DocBook XML V4.1.2 with
xsltproc ../set-html.xsl ../set.xml
And I have a lot of this error:
No template named refentry exists in the context named title in the en
localization.
You
stylesheet for editing, and the two XMetal
customization files. See the README there for more
information.
These files are meant to serve as a starting
point, not necessarily as any kind of definitive
XMetal files that everyone should use.
Please adapt them to your own needs.
bobs
Bob Stayton
.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
the significant white space between
words is preserved.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831
On Mon, Nov 26, 2001 at 09:48:13AM -0800, Bob Stayton wrote:
If you do have line wrap on in XMetal,
then it exhibits an odd bug with mixed content elements,
which SoftQuad claims is not a bug.
Following up on this, it turns out that the bug
where it dropped spaces between text and inlines
think that is probably a bug in xsltproc?
Daniel, would like a test file?
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
a feature
request that navigational icons be a parameter
that you can set without modifying templates.8^)
Seems like a nice feature that others could use.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
an intermediate file
that has been 'profiled', that is, that meets your
conditional text specs. Then you run the normal docbook
stylesheet on that intermediate file. To chunk, you would
just apply chunk.xsl to the output file from profile.xsl.
--
Bob Stayton 400
. It should have a DOCTYPE declaration and div
elements in it, not A elements. Can you post a few lines
from the olink file?
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
, which makes writing css stylesheets that style
specific elements easy.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
the template for
orderedlist in a customization layer with one that outputs
dl lists instead of ol. Then a template with
match=orderedlist/listitem could use xsl:number to
generate the number for the dt term. xsl:number can do
nested numbering like you want.
--
Bob Stayton
that associates your
css stylesheet with that HTML file. Then just make sure the
stylesheet file gets copied to each HTML output directory.
It's a nice system because you can control all the
formatting for all of your output from a single css file.
Bob Stayton 400 Encinal
is a fine kludge to get what you want
when the tool doesn't work they way you think it should. 8^)
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
. The existing template is in the file
fo/pagesetup.xsl. If you keep the same master-names, but
change the settings, then your new page masters will
fit right in.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
:
http://www.dpawson.co.uk/docbook/styling/custom.html#ChapterTitles
It shows you how to customize the lang templates without
editing de.xml. In your case, you need to add a
new entry for name=listing with context=title.
--
Bob Stayton 400 Encinal Street
.
This works with xsltproc and saxon.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
%stylesheet% mystyle.css)
in my DSSSL customization had the desired effect.
Sorry, I assumed you were using the XSL stylesheets.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
=stylesheet href=generic-style.css type=text/css
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831
to the docbook XML DTD.
The nice thing is that this same setup also works
on Unix or Linux (except you'll probably be
downloading and compiling source instead of
binaries for libxml).
Have fun!
--
Bob Stayton 400 Encinal Street
Publications Architect
there. 8^)
I don't think Carlos meant you must use a
Java processor. He is probably immersed in Java so
those are the processors he is familiar with.
I put your non-Java xsltproc at the top of my list for speed,
conformance, and reliability.
Bob Stayton 400
active development, so FO processing
has a good development future.
To sum up, DSSSL works well now but has no future,
and XSL/FO doesn't work quite as well yet, but will
in the future. The big question is: when?
Bob Stayton 400 Encinal Street
Publications Architect
, we had some of those in our troff system,
and we called them semiformal tables. Really.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera
in the attribute value has no
special signficance, right?
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831
={$hyphenate}
This says to start a page sequence
if the refentry is the root element,
or if it is a child of reference.
But that should be not(parent::reference)
because a reference element already started a page
sequence.
--
Bob Stayton 400 Encinal
with distribution.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
-size=9pt wrap-option=no-wrap
text-align=start white-space-collapse=false linefeed-treatment=preserve
Element span?
Something leaking from the html stylesheets?
What was the input that produced this?
And what processor and stylesheet version?
Bob Stayton
frameworks that anyone can set up, but we aren't there yet.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax
??
It sounds like you need to locate java.exe on your
system and add that directory to your PATH environment
variable. Then the script doesn't have to know where java
is.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
version 1.*
of Xalan-J. You might want to upgrade to the newest
version, which is 2.2.D14. That version worked for
me with the 1.48 stylesheets.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
references between your books,
just keep them as separate book documents.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
and/or knows how to fix it?
Well, Xalan J2.2-D14 is known to work with both
the 1.48 XSL chunk.xsl and docbook.xsl stylesheets
under Java 1.3.1_01.
Perhaps you have an older version of Java,
or some customizations of the stylesheets?
--
Bob Stayton 400 Encinal Street
l:l10n as the
element name. If the parser were handling name
spaces correctly, this would work, but otherwise it
thinks they don't match. What parser is the ASP side
using? Perhaps moving up to MSXML4 would fix it.
--
Bob Stayton 400 Encinal Street
Publications
, then the problem
is with the FOP processor. If the .fo file exhibits the
problems, then something is happening upstream,
possibly with the version of Xalan that is included
with Arbortext.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz
On Mon, Feb 04, 2002 at 01:16:08AM +0100, Steffen Maier wrote:
On Thu, Jan 31, 2002 at 03:04:44PM -0800, Bob Stayton wrote:
On Thu, Jan 31, 2002 at 04:13:43PM +0100, Steffen Maier wrote:
I'd like to know if it would be possible to agree on a change to the
(x)html xslt stylesheets
of the other
frames, So e.g. with an noroot.chunk parameter, a chunked book document
will consists of a number of capter chuncks and posible subsection chunks
So where does the overall table of contents come from?
Bob Stayton 400 Encinal Street
Publications
From: Bob Stayton [EMAIL PROTECTED]
Norm,
It's a joy to work with you on DocBook stuff.
Despite your being the recognized world expert on
DocBook, you still listen respectfully to suggestions
and treat DocBook as a community project.
I've always
much FOP and PassiveTex.
Neither produce perfect results yet, but I've found
PassiveTex produces more usable results for my purposes.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
that ?,
It seems that Docbook is not a good fit for your data.
Why not create your own elements, such as customername,
customerdescription, etc., and then write a
stylesheet to format those elements? There is no
need to force your data into DocBook elements.
Bob Stayton 400
button.
Set 'Source:' to 'fileref' if that is what you use
to address your graphics.
Then the graphic should show in XMetal.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
* to install PassiveTex
in the new TeX installation.
Like FOP, it isn't perfect, but it is useful.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
On Thu, Feb 14, 2002 at 11:32:51AM -0600, Patrick Hartling wrote:
I am working on a pretty big project to convert a large documentation
base over to DocBook, and it's my responsibility to figure out what works
and what doesn't when transforming the DocBook 4.1 code into a rendered
format.
parameters to control that feature.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
as Sebastian describes. I also run pdflatex with this
option so it continues without prompting (since I never
know how to respond to the prompts):
--interaction nonstopmode
Good luck.
Bob Stayton 400 Encinal Street
Publications Architect
/docbook-apps/2002-q1/msg00621.html
The XSLT spec doesn't support it, so unless someone
has a creative solution, it looks like an
extension would be required to pass through an
internal subset.
--
Bob Stayton 400 Encinal Street
Publications Architect
that FAQ, you'll create a
template named 'user.footer.content', which would
look something like this:
xsl:template name=user.footer.content
div class=footer.date
xsl:value-of select=//bookinfo/date /
/div
/xsl:template
You can add other HTML tags if you like.
Bob
xsl:apply-templates select=tgroup/
/fo:table
!--
/fo:table-and-caption
--
That restored tables, and the caption is there.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications
to a
parameter and added to the params list with documentation.
Setting this in your stylesheet customization file will do
the trick:
xsl:variable name=glossterm-width1in/xsl:variable
You might file a bug on DocBook sourceforge to get
this changed to a real parameter in the stylesheets.
--
Bob Stayton
. XML only does PCDATA, where entities are not
expanded.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc
\saxon65.jar
If you set this in the Windows environment, then it
should work with Instant Saxon too.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
of variablelist?
Is variablelist.as.blocks set to 1? If not, then
you are already getting the default list presentation,
and the PI will not have any effect.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
1 - 100 of 2279 matches
Mail list logo