Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spurious spaces in output due to style changes #42

Open
sthibaul opened this issue Apr 24, 2018 · 0 comments
Open

spurious spaces in output due to style changes #42

sthibaul opened this issue Apr 24, 2018 · 0 comments

Comments

@sthibaul
Copy link
Contributor

Hello,

When processing the attached file (yes, I had to re-zip it to make github happy) with unzip test.odt ; file2brl content.xml , I am getting "tete te tetete" instead of "tetetetetete" in just one word.

Indeed, the content.xml file contains

</text:span><text:span text:style-name="T10">tete</text:span><text:span text:style-name="T12">te</text:span><text:span text:style-name="T10">tetete</text:span>

where the T12 span is actually spurious because T12 is the same as T10, that is just a consequence of changing the character style etc. on the piece of word and fixing it back again, but libreoffice still remembers the separation, which is something that does happen in practice.

liblouisutdml should know that text:span text:style-name do not separate words, so that the output is tetetetetete.

test.odt.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant