On 06/16/2016 12:40 PM, Thomas Dumm wrote:
PS: I get the error message:

ERROR: Conversion has failed:

file:/Users/thomasdumm/Dropbox/Delivros/Applikationen/Tools/w2x-pro-1_1_0/xed/blocks.xed:26:25:
error in action "set-element-name": "", not an XML Name

file:/Users/thomasdumm/Dropbox/Delivros/Applikationen/Tools/w2x-pro-1_1_0/xed/blocks.xed:26:25:
error in action "set-element-name": "", not an XML Name

*From: *Thomas Dumm <t.d...@delivros.ch>
*Date: *Thursday 16 June 2016 at 12:30
*To: *<w2x-support@xmlmind.com>
*Cc: *Hussein Shafie <huss...@xmlmind.com>
*Subject: *How do I correctly use the –pu option to read
edit.blocks.convert from file?

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

No, you cannot do that. "-pu edit.blocks.convert blocks_convert.txt" simply cannot work.

Some parameters expect URLs as their values, hence -pu.

Most parameters expect strings as their values, hence -p.

The value edit.blocks.convert must be a string.





*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 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'




--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to