-
Notifications
You must be signed in to change notification settings - Fork 65
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
Line break with Russian Language #192
Comments
@Aqoolare The change is not published yet, I'll publish a 0.5.1 and you can use that code. Also to use C# 9 which I've used, you must add |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
You can also add your own line breaks with |
Ok, thank you very much for such prompt support. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Guys, I found how to solve the display problem! I used the wrapper this way Maybe I don't understand where to put this code |
This thread is getting overloaded with different issues so I've hidden everything not related to line breaks. Please post other issues if you have unresolved questions not relating to line breaks @Aqoolare . Thanks. Currently CSharpMath uses Typography.TextBreak, so one option is to wait for Typography.TextBreak to resolve the issue that @Happypig375 posted. I'm not convinced that text breaking is difficult enough to require a separate engine. Can't we break on spaces and hyphens only? LaTeX doesn't usually support automatic hyphenation and I assume we have no plan to support that, so breaking should be easy shouldn't it? Overleaf breaks on spaces and commas but not punctuation: |
My other problems have been resolved, thanks, the only thing I would like to clarify, that is, at the moment the transfer by Russian words does not work? Even with this code 'CSharpMath.Rendering.Text.TextLaTeXParser.AdditionalBreakingEngines.Add(new RussianBreakingEngine());'? |
Describe the bug
Line break does not work when using the Russian language.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Words are wrapped to a new line at the end of a word
Environment (please complete the following information):
Additional context
I really need to solve this problem :(
The text was updated successfully, but these errors were encountered: