List Info

Thread: DocBookWiki




DocBookWiki
user name
2007-05-30 16:53:40
Trying to crawl first - this package seems at bit
interesting at first
but then seems to be a bit limiting but I can't tell because
I don't
know what I am doing but I do have a fairly reasonable start
at it.

2 things I cannot possibly figure out...

The first is how to display a graphic. I am using the
following code...

<mediaobject>
  <imageobject>
    <imagedata
fileref="http://srv1.tobyhouse.com/images/tobyLogo_small.pn
g"/>
  </imageobject>
  <textobject>
    <phrase>Toby House, Inc.</phrase>
  </textobject>
</mediaobject>

but only the textobject displays and no graphic shows up

The second thing is how can I get a 'new page' after each
'section' -
they run one after another (at least in PDF form) and even
worse, a
table that comprises a section that looks like this...

<table frame="bottom"><title>Committee
Response to Client</title>
<tgroup cols="1" align="left"
colsep="1" rowsep="1">
  <colspec colname="c1"/>
  <thead>
    <row>
      <entry namest="c1"
align="center"> </entry>
    </row>
  </thead>
  <tbody>
    <row>
      <entry> </entry>
    </row>
  </tbody>
</tgroup>
</table>

(with a number of 'rows' removed) will end up on the page of
another
section.

If this is meaningful (and it probably is), when I generate
'downloadables', the screen says that I am using...

catalogs: /etc/sgml/xml-docbook-4.2-1.0-30.1.cat
stylesheets:
/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl

which tells me that I am probably locked into old versions
(this is
installed by RHEL 5 which also has
sgml-docbook-4.4-1.0-30.1.cat but
evidently that wasn't what DocBookWiki is choosing to use

-- 
Craig White <craigtobyhouse.com>


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: DocBookWiki
user name
2007-05-31 01:51:35
Craig White wrote:
> Trying to crawl first - this package seems at bit
interesting at first
> but then seems to be a bit limiting but I can't tell
because I don't
> know what I am doing but I do have a fairly reasonable
start at it.
> 
> 2 things I cannot possibly figure out...
> 
> The first is how to display a graphic. I am using the
following code...
> 
> <mediaobject>
>   <imageobject>
>     <imagedata
> fileref="http://srv1.tobyhouse.com/images/tobyLogo_small.pn
g"/>
>   </imageobject>
>   <textobject>
>     <phrase>Toby House, Inc.</phrase>
>   </textobject>
> </mediaobject>


   <figure id='pg.struct'>
	<title>Pagination Formatting Objects</title>
   <mediaobject >
       <imageobject>
	<imagedata fileref="images/fig5-8a.png"
format="PNG"/>
       </imageobject>
       <textobject>
	<phrase>Pagination Formatting Objects</phrase>
       </textobject>

     </mediaobject></figure>


I always think they look prettier in a figure 

Phrase in textobject produces alt text,
Other content in textobject can produce a D link.








> The second thing is how can I get a 'new page' after
each 'section' -
> they run one after another (at least in PDF form) and
even worse, a
> table that comprises a section that looks like this...

A page break is styling, it's not markup.
You need to look at the XSLT stylesheets to figure that one
out.
 From memory (Bobs book is about definitive today) you
can't
get it from customizing the stylesheets,
you'd need to add
<fo:block break-before='page'/> to the template for a
section
if you want to tweak the stylesheets to get this.


HTH





regards

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


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )