Re: One more thing...



Because the example I gave is for DocBook XML, and you are trying to run
it with DocBook SGML tools. There is not much difference, but there is
*some* difference - namely, XML requires  "self-closing" tags to be
closed with />, e.g. 

<imagedata .... />
and SGML tools  do not like this. 

Sasha



On Tue, 2001-12-11 at 10:06, Andreas J. Guelzow wrote:
> Alexander Kirillov wrote:
> 
> > Here are the answers - at least, my take on them:
> > about EPS: these are used for producing print (PDF, PS) output from the
> > same DocBook source. For conversion to HTML, PNG files will be used. By
> > including both filenames, the same DocBook file can be used for both
> > purposes without any modifications (of course, one still needs to
> > produce EPS files)
> > 
> > about title: if the screenshot is shown as a separate figure, then it
> > should be put in <figure> wrapper which provides title: 
> > <figure  id="mainwindow-fig">
> > <title>Main Window.</title>
> > <screenshot>
> >   <mediaobject>
> >     <imageobject>
> >       <imagedata fileref="figures/image.png" format="PNG"/>
> >     </imageobject>
> >     <imageobject>
> >       <imagedata fileref="figures/image.eps" format="EPS"/>
> >     </imageobject>
> >     <textobject>
> >       <phrase>Screenshot of main window</phrase>
> >     </textobject>
> >    </mediaobject>
> > </screenshot>
> > </figure>
> > 
> > If you want screenshot to be "informal" (no figure number or caption),
> > then you just use <screenshot>. AT least, this is the way I plan to do
> > it in the templates. 
> > 
> > Sasha
> > 
> 
> But why does this code yield:
> jade:../analysis-tools.sgml:17:67:E: character data is not allowed here
> and (in the html file) shows a > following the image;
> when I use it for the gnumeric documentation. (But hey, it also wants a 
> note.gif file for the <note>...</note> tags.) And to think that not to 
> long ago this all work just fine until the decision was made to change 
> everything    :-(
> 
> Andreas
> 
> 
> -- 
> Prof. Dr. Andreas J. Guelzow
> http://www.math.concordia.ab.ca/aguelzow
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]