On Fri, Dec 02, 2011 at 05:01:25PM -0800, Robin Lee Powell wrote:
> On Fri, Dec 02, 2011 at 12:42:19PM -0800, Bob Stayton wrote:
> > Hi Robin,
> >
> > It sounds like what you are missing is an XSL-FO processor that
> > supports the table-layout="auto" value for tables, which will
> > size columns a
On Fri, Dec 02, 2011 at 12:42:19PM -0800, Bob Stayton wrote:
> Hi Robin,
>
> It sounds like what you are missing is an XSL-FO processor that
> supports the table-layout="auto" value for tables, which will size
> columns automatically to fit short data. Unfortunately, FOP does
> not support the "au
Well, table-layout="fixed" is already the default for fop users. It isn't handled by
the table.table.properties, but by a separate xsl:if statement in the template
matching on tgroup (which generates the fo:table). That error message is probably
coming from another element that generates a lay
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/02/2011 02:42 PM, Bob Stayton wrote:
> Hi Robin, It sounds like what you are missing is an XSL-FO
> processor that supports the table-layout="auto" value for tables,
> which will size columns automatically to fit short data.
> Unfortunately, FOP
Hi Dave,
You are missing the context. 8^)
When that template is applied, the context is already the top-level book
element, so the select statement is trying to select /book/book, which does not
exist.
Also, you have put @xml:lang in the predicate, but you haven't actually
selected its value.
Hi Robin,
It sounds like what you are missing is an XSL-FO processor that supports the
table-layout="auto" value for tables, which will size columns automatically to fit
short data. Unfortunately, FOP does not support the "auto" value, and so requires
tables to have table-layout="fixed", which
I've also had good results using dbdoclet (Herold) on HTML from Word, but I
also needed to do some cleanup both before and after the conversion.
If the original Word files are reasonably consistent, this will work pretty
well once you figure out what cleanup is required, otherwise it will be a m
On Fri, Dec 02, 2011 at 03:07:34PM +, Donna Saporito wrote:
> I have to convert a massive amount of Word documents over to DocBook
> for my company.
I've used antiword with the '-x db' parameter and had some success. I
used a perl script to strip off empty -tags and other cleanups.
Lars
---
I have been using a set of XSLT stylesheets to convert the XML source
of Word documents directly to DocBook. It took me a while to write the
XSLT and it's customized for the template my company uses. However,
now that it's written, converting a large number of Word documents to
clean, valid DocBook
Donna,
What do you mean by "massive amount"? Are the files huge or do you have a
1,000 files?
Some people use the Word to HTML to DocBook trail, some a more direct
conversion, like Majix. Either way, how much cleanup you do after the
conversion
is important.
I use Majix and I have twe
I've had good results using dbdoclet. I first let Word convert the content to
HTML using Save As -> Webpage (filtered), and then apply dbdoclet to the HTML
to generate docbook XML. That approach lets Word handle all of Word's many
coding options and quirks, filtering them down to something mor
On 12/02/2011 08:48 AM, Nigel Hardy wrote:
> I found LibreOffice technically very good. Unfortunately I found that
> this emphasised that many Word documents are poorly constructed. I was
> left with many empty because authors had "felt they needed some
> vertical space"; a lot of which had looke
I've had good luck using Oxygen's "smart paste" feature for Word>DocBook
(though I prefer to go Word>simple HTML> DocBook). Still, it's a machine and
not very smart, so a decent bit of cleanup is necessary afterward. For that
reason, it may not scale to the "massive" project you are facing.
Fro
I found LibreOffice technically very good. Unfortunately I found that
this emphasised that many Word documents are poorly constructed. I was
left with many empty because authors had "felt they needed some
vertical space"; a lot of which had looked like something else (a
section title perhaps)
Hi,
I have to convert a massive amount of Word documents over to DocBook for my
company. I also have a few FrameMaker documents that will need to be converted.
I figure that I can save the .fm files as .rtf and then .doc files and follow
the conversion process I will use for Word (once I figure
Robin Lee Powell was heard to say:
I've tried the fo output from xmlto/xsltproc and fop, which by
default has horrible table formatting (all columns the same width,
rather than "fit the text" as I expected). dblatex has the same
issue. My document has a *lot* of tables (or, rather, it has a
16 matches
Mail list logo