GNOME Bugzilla – Bug 112377
UML exported to LaTeX issue
Last modified: 2004-12-22 21:47:04 UTC
When exporting UML into LaTeX documents, there is a 'bug' when exporting a protected class. The UML symbol for protected is the # symbol, and this is also a reserved symbol in LaTeX. The only workaround I found is to find any '#' in the .tex file, and put a backslash before it so that latex treats it as a normal character. (ie: '#' is replaced by '\#')
It would be useful to know which xport format you used. PsTricks ? Are there more special characters which need to be escaped ?
I used the normal Dia 'export to LaTeX' feature, with PsTricks. It seems to me that it is the only character to be escaped... but who knows, it might not be bad to protect the '%' ande '$' characters...
at least it appears so ...
*** Bug 133722 has been marked as a duplicate of this bug. ***
*** Bug 143414 has been marked as a duplicate of this bug. ***
2004-11-01 Hans Breuer <hans@breuer.org> * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char will never become NULL but only point to the next char which might indeed be \0] Use tex_escape_string() to avoid writing invalid tex, fixes bug #112377