How do I correctly use the –pu option to read edit.blocks.convert from file?

 

I have:

 

w2x -pu edit.before.remove-styles "before-remove-styles.xed" -p 
edit.do.sections "" -p save.-p edit.inlines.generate-big-small no -p 
edit.convert-tabs.to-table yes  -p edit.blocks.convert "p-QUELIN p 
class='QUELIN' ! p-TABGAPlef p class='TABGAPlef left' ! p-TABGAPcen p 
class='TABGAPcen center' ! p-TABGAPrig p class='TABGAPrig right' ! p-Absatz6 p 
class='Absatz6' ! p-Absatz6pt p class='Absatz6pt' ! p-Absatza p class='Absatza' 
! p-AufgabentitelSkript h2 class='AufgabentitelSkript'! p-Footer p 
class='Footer' ! p-Formatvorlage14ptFett p class='Formatvorlage14ptFett' ! 
p-Header p class='bold' ! p-Heading1 h1 ! p-Heading5 p class='Heading5' ! 
p-Narrow p class='narrow' ! p-Narrow3pt p class='narrow Narrow3pt' ! 
p-Narrow4pt p class='narrow Narrow4pt' ! p-Titel10 h6 class='Titel10' ! 
p-Titel106 h6 class='Titel106' ! p-Titel10pt6pt h6 class='Titel10pt6pt' ! 
p-Titelnarrow4 h6 class='narrow Titelnarrow4'" -p transform.style-with-class no 
-o xhtml1_1 ${i%%.*}.docx ${i%%.*}.xhtml

 

I tought this could be replaced by:

 

w2x -pu edit.before.remove-styles "before-remove-styles.xed" -p 
edit.do.sections "" -p save.-p edit.inlines.generate-big-small no -p 
edit.convert-tabs.to-table yes  -pu edit.blocks.convert blocks_convert.txt -p 
transform.style-with-class no -o xhtml1_1 ${i%%.*}.docx ${i%%.*}.xhtml

 

With blocks_convert.txt:

 

p-QUELIN p class='QUELIN' ! p-TABGAPlef p class='TABGAPlef left' ! p-TABGAPcen 
p class='TABGAPcen center' ! p-TABGAPrig p class='TABGAPrig right' ! p-Absatz6 
p class='Absatz6' ! p-Absatz6pt p class='Absatz6pt' ! p-Absatza p 
class='Absatza' ! p-AufgabentitelSkript h2 class='AufgabentitelSkript'! 
p-Footer p class='Footer' ! p-Formatvorlage14ptFett p 
class='Formatvorlage14ptFett' ! p-Header p class='bold' ! p-Heading1 h1 ! 
p-Heading5 p class='Heading5' ! p-Narrow p class='narrow' ! p-Narrow3pt p 
class='narrow Narrow3pt' ! p-Narrow4pt p class='narrow Narrow4pt' ! p-Titel10 
h6 class='Titel10' ! p-Titel106 h6 class='Titel106' ! p-Titel10pt6pt h6 
class='Titel10pt6pt' ! p-Titelnarrow4 h6 class='narrow Titelnarrow4'

 

Thank you help!

 

Regards

Thomas Dumm

 

--
XMLmind Word To XML Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to