DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Extra spaces in lists cause problems

  • robsfl

    Extra spaces in lists cause problems

    Participants 2
    Replies 3
    Last Activity 13 years, 7 months ago

    Hello to All! We are using Xmetal for editing DITA files and have run into two really basic problem that cause some havoc. They are not related, so I post separately.

    Xmetal includes extra spaces in lists that carry paragraphs, i.e. there will often be an extra space between an

  • an a following

    , and vice versa. Is there a way to clean these out? After converting the files using DITA OT, it messes up the formatting of the lists.

    This seems like a minor fault but I have not found a solution – any help would be really great!

  • Reply

robsfl

Reply to: Extra spaces in lists cause problems

Solved. I found a little application called ElegantXML by Benjamin Fitch which runs over all files in a directory and removes extra spaces.

Of course, I have to repeat that every time I need a PDF output. It would seem that Xmetal should provide such a function somewhere.

Reply

mag3737

Reply to: Extra spaces in lists cause problems

Could this be fixed by turning off the “pretty-printing” in the DITA customization?  Go to Tools > Macros, find and run the macro for “Turn OFF Pretty Printing”.  You'll need to restart XMetaL, and then run that helper app on the files one more time before opening them in XMetaL.  (You could also fix the spaces manually in XMetaL's Plain Text View after you've turned off pretty-printing and restarted XMetaL.)

Reply

robsfl

Reply to: Extra spaces in lists cause problems

Thanks for the extra hint, I will try that.

Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support