DOCBOOK-APPS: Problems with tables using XSL FO stylesheets.

2002-06-14 Thread Eric Baudais

I've been trying to get the tool chain DocBook - xsltproc - passivetex
- pdf to work.  I've run into two problems doing this.  The first
problem involves xsltproc.  I tried to run xsltproc with Norman Walsh's
fo stylesheets using the command:
xsltproc -o book.fo
/usr/share/xml/docbook/docbook-xsl-1.51.1/fo/docbook.xsl book.xml
I get the error:
Error Undefined namespace prefix
xmlXPathCompiledEval: evaluation failed
Segmentation Fault

So, I tried using an older version of the fo stylesheets and 1.48 or
1.50.0 seemed to work well with xsltproc.

Now I ran 
pdfxmltex book.fo
using the 1.50.0 stylesheets.  It ran okay for a bit but crashed on this
error:
! Illegal unit of measure (pt inserted).
to be read again
   0
l.142 ...00%:fo:table-column column-number=1/
fo:table-column column-nu...
?
This is using an informal table in the DocBook code.  Passivetex
installed fine and the test documents which were provided also ran
without errors.  Could anyone shed some light into this?

Eric Baudais



DOCBOOK-APPS: The tbook system for XML Authoring

2002-06-14 Thread Michael Wiedmann

A few days ago (2002-02-11) Torsten Bronger announced his tbook system for
XML authoring in de.comp.text.tex which might IMO be interesting for some 
people on this list:

quote
The tbook system for XML Authoring

Main Goals

An XML DTD that is sufficient for demanding, especially scientific, texts, 
but it should also be as simple and small as possible, and use similar 
names as LaTeX.  Supported LaTeX classes: book, article and letter.

The tools that are necessary for realising this DTD.

It should work with formulas, graphics, tables, (all three with numbering) 
bibliography, and index.  Tools that have proven their efficiency with 
LaTeX (BibTeX, xindy etc.) should also be usable with tbook.

It should produce at least HTML and PS/PDF output.  
(It can now also produce DocBook XML files.)
 ===

The print output must cater high typographic demands, using high level 
LaTeX typesetting mechanisms. This includes high quality graphics and 
their labelling. Additionally, it should produce small PDFs.

...
/quote

Homepage: http://tbookdtd.sourceforge.net/

Michael
-- 
office:  [EMAIL PROTECTED]
private: [EMAIL PROTECTED] http://www.miwie.org/
 [EMAIL PROTECTED]



Re: DOCBOOK-APPS: org.apache.fop.apps.Fop does not generate any output

2002-06-14 Thread Daniel Veillard

On Thu, Jun 13, 2002 at 11:32:44PM +0200, Johannes Zellner wrote:
 On Thu, Jun 13, 2002 at 02:05:19PM -0700, Bob Stayton wrote:
  On Thu, Jun 13, 2002 at 09:53:44AM +0200, Johannes Zellner wrote:
   
   Hi,
   
   # org.apache.fop.apps.Fop index.fo -pdf index.pdf
   [INFO]: FOP 0.20.3
   
   just does not generate any pdf output.
   But I don't get any error messages.
   What could be the problem?
  
  Are you able to process other docbook .fo files?
  
  If so, then take a peek inside this one to see if it looks
  anything like the others that do work.  Perhaps it
  has no fo:page-sequence elements?
  
  What tools are you using to generate the index.fo file?
 
 xsltproc
 
 I tracked down the problem on a different machine. It seems that
 'kaffe' is not able to handle apache's fop. On a different machine
 I get with 'kaffe':
 
 [INFO]: FOP 0.20.3
 java.lang.NullPointerException
 at org.apache.fop.apps.Service.providers(Driver.java:586)
 at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:307)
 at org.apache.fop.apps.Driver.init(Driver.java:201)
 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:58)
 at org.apache.fop.apps.Fop.main(Fop.java:19)
 
 with blackdown java everything works fine. Unfortunately there's only kaffe
 on the machine at work and I've no root access ;-(

  hum, there was some discussion on the Kaffe list about running XSLT
processors with Kaffe but I can't remember FOP being mentionned.
Maybe asking the sysadmin to upgrade to Kaffe 1.0.7 Release Candidate 1
may help, there had been a lot of work recently.
   http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

 Are there any other fop converters except the one by apache?

  Commercial and closed source ones, yes. In source, I don't think so.

Daniel

-- 
Daniel Veillard  | Red Hat Network https://rhn.redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



Re: DOCBOOK-APPS: The tbook system for XML Authoring

2002-06-14 Thread Togan Muftuoglu

* Michael Wiedmann; [EMAIL PROTECTED] on 14 Jun, 2002 wrote:
A few days ago (2002-02-11) Torsten Bronger announced his tbook system for

It should work with formulas, graphics, tables, (all three with numbering) 
bibliography, and index.  Tools that have proven their efficiency with 
LaTeX (BibTeX, xindy etc.) should also be usable with tbook.

If I can build it I can try it make fails on SuSE 8.0 


-- 

Togan Muftuoglu




Re: DOCBOOK-APPS: Looking for docbook editor and easier config toolfor stylesheets

2002-06-14 Thread Gabor Hojtsy

 is there a useful editor for docbook? Abiword is not really good to
 produce docbook files. Emacs is not bad but is generally designed to
 edit all kind of text not specialized for docbook. I would prefer a Java
 implementation to be able work on several plattforms (with the same
 interface).
 
 I believe you want to try Morphon at http://www.morphon.com/. It's 
 reasonably priced and you can download it for a free trial.

NetBeans also has quite cool XML capabilities, and it's free and
modular. See http://www.netbeans.org/ It comes with DTD support.

Goba





DOCBOOK-APPS: dsssl newbie Q: define padding in tables for - tex - pdfoutput

2002-06-14 Thread zope-mailinglist

hello

is there a way to increase the padding in tables when using the dsssl 
stylesheets to create pdf?

or does anybody know a good source of information regarding the 
customization of the dsssl stuff (e.g. table style, fonts ...)
besides the parameterized stuff

tia, bernd