This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] superscripts in tables using dsssl and jade ??


I am trying to use some features of the DSSSL Stylesheets for formatiing 
tables in docbook documents.

I am using:
DocBook 4.2, DSSSL Stylesheets 1.78, 
docbook-utils                    0.6.12-3 from Debian Woody/(old Testing)
jadetex                          3.12-2 from Debian Woody/(old Testing)
and as alternative: 
openjade 1.3.1

I use the command:
"db2ps test.xml"
or
"db2ps -p /usr/bin/openjade test.xml"


The docbook xml code i use is:
--------------------------------------------------------------
<?xml version='1.0' encoding="iso-8859-1" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                      "docbook/dtd/4.2/docbookx.dtd" []>
<book lang="de">
  <chapter>
    <title>test</title>

    <table>
      <title>Test-Table</title>
      <tgroup cols="3">
	<tbody>

	  <row>
	    <entry align="right">col 1</entry>
	    <entry>col 2</entry>
	    <entry align="center">col 3</entry>
	  </row>

	  <row>
	    <entry align="right">long column with a lot of text, so we get a line 
break. And even more so that it gets obvious.</entry>
	    <entry align="center" valign="middle">col 2</entry>
	    <entry align="center" valign="bottom">test superscript: 
x<superscript>2</superscript></entry>
	  </row>

	</tbody>
      </tgroup>
    </table>
  </chapter>
</book>
--------------------------------------------------

Questions:
1) Why are the superscripts not correct ?? Is that my mistake or is it not yet 
implemented ?

2) When there is a line break in one of the entries, the align attrbiute does 
not work. Using align="left" "right" or "center" does produce the same 
result.

3) How can i change the table title to:
Table 1.1: This is the description ...

The text Tabel 1.1: should be boldface, the rest not !


Thanks for any help !
Peter Biechele

#####################################################
Dr. Peter Biechele, E-Mail: Peter.Biechele@beXtec.de


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]