-
-
Notifications
You must be signed in to change notification settings - Fork 59
More robust latexification of specific functions #252
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Git knows this file was just renamed. Don't know why Github doesn't.
| _latexraw(i::SubString{LaTeXStrings.LaTeXString}; kwargs...) = i | ||
| _latexraw(i::Rational; kwargs...) = i.den == 1 ? latexraw(i.num; kwargs...) : latexraw(:($(i.num)/$(i.den)); kwargs...) | ||
| _latexraw(i::QuoteNode; kwargs...) = _latexraw(i.value) | ||
| _latexraw(i::QuoteNode; kwargs...) = _latexraw(i.value; kwargs...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was a typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a minor comment around Symbol.
I'm not much familiar with the inside of Latexify.jl, but most of the changes LGTM.
Is this PR waiting for someone's approval?
|
The CI failure on Windows seems not related to this PR. |
Co-authored-by: Yuto Horikawa <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #252 +/- ##
==========================================
+ Coverage 72.23% 72.38% +0.14%
==========================================
Files 23 23
Lines 940 945 +5
==========================================
+ Hits 679 684 +5
Misses 261 261
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Closes #251 .
We were in a strange state for (for lack of a better word) "named" functions like
sin. This way should be more robust.Before
After