For Docbook 4.x, I was able to use the following to force PDF's to use
SVG and HTML Books to use PNG's:
mediaobject
imageobject role=fo
imagedata fileref=screenshots/wizard_step_1.svg scale=70/
/imageobject
imageobject role=html
imagedata fileref=screenshots/wizard_step_1.png scale=70/
Have you agreed by now on whether to support
meta name=description …
or not?
IMHO it's a must.
I assume adding description.../description also effect the DTD, and the RNC
grammar and so forth.
Would you like to share that with us resp. me?
J.
Hi, there!
During my rather successful (from my point of view) process of converting a
couple of web-sites from plain DocBook generated HTML to DocBook Website
(HTML)
I now ran into a problem with this site:
http://Aleph-Soft.com/JHwis/
Maybe you want to have a quick look at it.
I know,
I know …, I should have replace the Subject already in the first place ;-(
Have you agreed by now on whether to support
meta name=description …
or not?
IMHO it's a must.
I assume adding description.../description also effects the DTD, and the
RNC grammar and so forth.
Would you like
Did you try providing a titleabbrev element with the alternate, shorter title.
That is normally what is used for providing a title that is shorter than the
full title. I am not that familiar with the Website grammar, but I know that
is how it works in other contexts.
Regards,
Larry Rowland
Rowland, Larry larry.rowl...@hp.com writes:
Did you try providing a titleabbrev element with the alternate, shorter
title.
Many thanks for the hint, Larry!
Tried it, but to no success.
Well, within toc-tabular.xsl titleabbrev is taken into account
(is that the right place?),
but I don't
I have not looked at the code, but from the title it looks like this
generates the Table of Contents for the tabular presentation. In the
sample posted at:
http://docbook.sourceforge.net/release/website/example/custom.html
the full title is shown at the top of the page and the titleabbrev is
Rowland, Larry writes:
Thanks a lot, Larry, for your assistance!
I have not looked at the code,
but from the title it looks like this generates the Table of Contents for the
tabular presentation.
In the sample posted at:
I uploaded my Website *.xml files to this place:
http://Hayek.name/Jochen/tmp/JHwis.tar.bz2
Maybe somebody else recognizes immediately, what my mistake is.
But maybe also, there is right now no viable path around for that problem.
J.
Sam Fischmann wrote:
Curiously enough, I don't seem to be getting a predictable speed boost
on my tests. I have a huge build that runs every night, so I'll have
better number for comparison tomorrow. I'm anxious to see what comes
out.
It might also depend on XSLT processor you are using.
I
I am using Saxon, and on my nightly build (which normally takes a good
355 minutes on an old pentium 4), I saw an 8% improvement in the
overall time using the patch you provided yesterday.
This percentage is far less than the actual improvement in stylesheet
processing time, because my system
Hi,
I'm using DocBook5 and the docbook-xsl-ns-snapshot from June 9; I want to get
the alt text from
inlineequation
inlinemediaobject remap=math
alt$F$/alt
imageobject
imagedata fileref=images/w.png
contentwidth=10px
contentdepth=10px
Hi,
Well this is embarrasing. Please disregard my earlier question about alt text.
I was overriding the stylesheets and made no provision for alt text. :(
Sorry!
--Tim
-
To unsubscribe, e-mail:
Jirka,
Those changes were pretty significant for me. I am now seeing a 14-15%
improvement from the stock 1.75.2 release.
I am processing about 950K (in 34 files) of source and it is now down to 12.5
secs verses 15 seconds with the stock release. This is just for the XSL
processing down to an
Hi Jochen,
In your layout.xml, you can add titles to tocentries, like this:
tocentry filename=am-paris.html page=am-paris.xml
titleShort title/title
/tocentry
If you add the optional title element a tocentry, it is displayed in the
TOC instead of the title that's in
On Tue, Jul 13, 2010 at 4:20 PM, Glenn McDonald gmcdon...@vividas.com wrote:
The html files that are generated for .epub have no links to the images
themselves.
Sorry, would you please clarify what DocBook is producing that HTML
and what version of the DocBook-XSL stylesheets your using? (I'm
Sure thing.
I am using the epub/docbook.xsl from the package docbook-xsl-ns-1.75.2.zip
Here is an example of my docbook xml:
?xml version=1.0 encoding=iso-8859-1?
book xmlns=http://docbook.org/ns/docbook; version=5.0 xml:lang=en
info
titleBook Title/title
pubdate2010/pubdate
copyright
Thanks Bob,
I had a play around with the epub/docbook.xsl and managed to get it
working.
I am not sure if it's 100% correct, but below is my modified custom
template for handling mediaobject:
xsl:template match=d:mediaobject|d:mediaobjectco|d:inlinemediaobject
mode=opf.manifest
On Wed, Jul 14, 2010 at 9:21 PM, Glenn McDonald gmcdon...@vividas.com wrote:
I am using the epub/docbook.xsl from the package docbook-xsl-ns-1.75.2.zip
Are you using a customization layer that sets the admon.graphics parameter to 1?
The OPF manifest does not link to any admonition images:
On Wed, Jul 14, 2010 at 9:33 PM, Glenn McDonald gmcdon...@vividas.com wrote:
I am not sure if it's 100% correct, but below is my modified custom template
for handling mediaobject:
Thanks for attempting this. I've added similar generic code based on
your customization to the docbook.xsl in SVN
Thanks Keith,
Aha - I assumed they would be enabled by default. Interestingly, though,
when I set the following:
xsl:param name=admon.graphics1/xsl:param
xsl:param name=admon.graphics.pathimages/colorsvg//xsl:param
xsl:param name=admon.graphics.extension.svg/xsl:param
The epub reader (Adobe
On Wed, Jul 14, 2010 at 10:25 PM, Glenn McDonald gmcdon...@vividas.com wrote:
The epub reader (Adobe Digital Editions in my case) is displaying the
admonition graphic indented (as expected) but the admonition text is
centered in the page. It should be next to the admonition graphic.
You are correct - Calibre renders the admonitions and text correctly.
Thanks for the heads up on ADE being eccentric!
epubcheck doesn't complain about the align attribs, FYI :)
Thanks a lot for your help Keith.
Glenn
On 15/07/2010 3:32 PM, Keith Fahlgren wrote:
On Wed, Jul 14, 2010 at
23 matches
Mail list logo