<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I'm parsing some xml to produce a pdf document. I have tags inserted in a text and I want to replace them with tabulations.</div><div>I use the tabbing environment but I'm experiencing 2 problems:</div><div><br></div><div>1) When the text before a tab is longer than the distance to the corresponding tabstop, the tab still positions itself at this tabstop. This results in having the text after the tab to overlap the one before.</div><div><br></div><div><i>\begin{tabbing}</i></div><div><i><span class="Apple-tab-span" style="white-space:pre">        </span>\hspace{2cm} \= \hspace{2cm} \=&nbsp;\hspace{2cm} \=&nbsp;\hspace{2cm} \=&nbsp;\hspace{2cm} \=&nbsp;\kill</i></div><div><i><span class="Apple-tab-span" style="white-space:pre">        </span>This text is much longer than 2cm\>And this one will be partly overlapping the first one</i></div><div><i>\end{tabbing}</i></div><div><br></div><div>2) There is no word wrapping when the text reaches the right margin.</div><div><br></div><div>Does anyone know a way to do this?</div></body></html>