-
Notifications
You must be signed in to change notification settings - Fork 109
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
Asian text is not able to auto linebreak #93
Comments
Doesn't sound like a jlatexmath bug as there's no automatic line-breaking support In any case, you'll need to provide the exact LaTeX strings ("English" and "Asian") that you are sending to the library if you want us to check further |
hello murkle, I am the (co)author of the Freeplane LaTeX plugin, and I am quite sure that JLaTeXMath supports automatic line breaking
Cheers and Best Regards, |
Please, refer to this full example. Line breaks is supported by jLatexMath - however it doesn't work on the chinese utf-8 whitespace symbols. Furthermore - in XeLatex, when using the |
Sorry, not sure what you mean by "chinese utf-8 whitespace symbols" - what is the Unicode number for those? |
BTW |
hello murkle, it looks like we need to set a length in the TeXEnvironment in order to get automatic line breaking: Is experimental the branch leading up to 2.0 or 1.0.8? Cheers and Best Regards, |
experimental == v2.0 |
U+3000, U+3001, U+3002, U+300C, U+300D and many many more. I don't think it's even possible to list them all in fact (I'm not that familiar with ideographic characters). However the solution that breaks the lines at characters might work well too as it would add a line breaks for the cases above too. (maybe as an optional flag) |
I agree that https://www.fileformat.info/info/unicode/char/3000/index.htm is whitespace but not https://www.fileformat.info/info/unicode/char/3001/index.htm - that's a comma I don't think you'd want to break on https://www.fileformat.info/info/unicode/char/300c/index.htm You can use Character.isWhitespace() https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html If that's not what you want then you'll need to compile a full list of what you do want to break on as a first step |
Does the JLaTeXMath of GeoGebra have auto linebreak? |
Nope |
Thanks, Michael. :-( |
Hello, I just met the problem that Asian text cannot be automatically linebreaked and that text goes off-page.
I am not a jlatexmath user directly, while I am a freeplane user. I met this problem and submitted the issue under freeplane's Issues. Contributor there suggest that I should report it here. The original issue is there: #freeplane/freeplane#263 (comment)
Cheers and Best Regards
The text was updated successfully, but these errors were encountered: