OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] roundtrip - wordml2normalise.xsl/normalise-common.xsl - cu...


Vittorio,
 
I have converted quite a few Word docs and its never very clean - they are never well behaved ;-)
 
One thing that you might try is using Majix (http://www.freedownloadscenter.com/Authors/TetraSix.html) to convert from an RTF. There you can specify what to use when it encounters a block that it doesn't recognize.
 
Or use 'sed' , but that taints the source ;-)
 
 
Regards,
 
Dean Nelson
 
In a message dated 7/29/2008 3:53:48 A.M. Pacific Daylight Time, Vittorio.Muth@oeaw.ac.at writes:
Hi all,

I'm not familiar with WordML nor DocBook but trying to convert 1 WordML file with ~200 pages to DocBook. (a good start...)

When running the XML pipeline WordML2DocBook I got errors at the end (blocks2dbk.xsl) with 35 different paragraph styles.
e.g. 'ERROR "unknown-style": unknown paragraph style "berschrift1" encountered'

Yes - the WordML file had a customized German 'MySpecialWord.dot' at the beginning...
I found out, that the template 'rnd:map-paragraph-style' is imported to wordml2normalise.xsl from 'normalise-common.xsl'.

Now the question:
Does it make sense to customize the file "normalise-common.xsl" to match the German styles which had been used in myWordFile.doc (based on mySpecialWord.dot and saved as myWordFile.xml)?

Or should I just replace those 35 styles with sed? ;-)

thanks in advance,
Vittorio



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
 
Regards,

Dean Nelson

"Faith is acting before feeling." - Rick Warren




Get fantasy football with free live scoring. Sign up for FanHouse Fantasy Football today.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]