Re: Proposal: Image Tag Conventions
- From: Alexander Kirillov <kirillov math sunysb edu>
- To: gnome-doc-list gnome org
- Subject: Re: Proposal: Image Tag Conventions
- Date: Fri, 26 Oct 2001 15:38:36 -0400
Yes, the document validates. And I am not sure it is a bug - at least,
not libxslt bug. You see,
normally <xref> uses element's title. But according to DTD,
<screenshot> can not have a title. Of course, <xref> could use
something like "this screenshot" but then this must be specified in
stylesheets, and apparently it is not.
I do have another bug which I believe to be a libxslt bug. If I
try using chunk.xsl stylesheet, so that I get output split into
several files, it is puts them in the current directory. I tried to
force it to put the files in a different directory by putting this
line in my own stylesheet:
<xsl:variable name="base.dir">output/</xsl:variable>
It produced unexpected result: top-level file (index.html) was put in
"output" directory. All other files (for all other sect1's) were put in
the current directory. This is definitely a bug - I am just not sure
if it is a stylesheet thing or libxslt.
Sasha
On Fri, Oct 26, 2001 at 02:52:19PM -0400, Daniel Veillard wrote:
> On Fri, Oct 26, 2001 at 11:10:32AM -0400, Gregory Leblanc wrote:
> > On Fri, 2001-10-26 at 10:29, Alexander Kirillov wrote:
> > >
> > > There is one minor problem with this: you can not refer to <screenshot>
> > > using <xref>. If you try, you get error message
> > >
> > > No template named "screenshot" exists in the context named "title" in
> > > the "en" localization.
> > > Don't know what gentext to create for xref to: "screenshot", ("id")
> >
> > I think this is a bug. I've forwarded it on to the docbook-apps list,
> > to see if anybody else thinks so. If it is, it shouldn't take too long
> > to get fixed.
>
> Or raised a libxslt bug which would be unfortunate.
> Did the document validate with xmllint --valid ?
>
> Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]