[oXygen-user] Line breaks in DITA source

KAATMAN Matthew matthew.kaatman at biomerieux.com
Wed Jan 15 12:09:44 CST 2014


Hey Guys,

How does Oxygen decide where to add line breaks in the source?

I've got a strange situation where I'll have some content like: (Note the literal space between </i> and <tm)
<i>Stenotrophomonas maltophilia</i> <tm tmtype="tm"><tm tmtype="reg" translate="no">ATCC</tm> 17666</tm>

Oxygen often formats it like: (Note the lack of a space after </i>)
<i>Stenotrophomonas maltophilia</i>
<tab><tab><tab><tab><tm tmtype="tm"><tm tmtype="reg" translate="no">ATCC</tm> 17666</tm>

So far so good. Rendering this to PDF produces a space between the </i> and <tm.

However, when we send these files to our translation vendor (they're using Trados), the content comes back as: (Note lack of space)
<i>Stenotrophomonas maltophilia</i><tm tmtype="tm"><tm tmtype="reg" translate="no">ATCC</tm> 17666</tm>

One solution (and maybe the best one!) would be for the translation vendor  to preserve whitespace. However, I was curious if there was a way to set rules that define how Oxygen saves the file. 

If so, another thing I'd probably do is never break a tag across lines. I see this fairly often too. Which 99.99% of the time is no problem, but we've run into some issues due to complexity we've introduced.

<uicontrol
>Test</uicontrol>

Thanks!
Matt

AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peuvent contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointes est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes.
NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments.




More information about the oXygen-user mailing list