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

Fix the location of hats on symbols in the documentation. #5933

Merged
merged 1 commit into from
Feb 20, 2018

Conversation

sophy1029
Copy link
Contributor

In the MathML generated documentation of step-51, there are a number of hats that are misplaced. See for example http://www.dealii.org/8.5.0/doxygen/deal.II/step_51.html#HybridizablediscontinuousGalerkinmethods
This looks correct in latex, but apparently comes out wrong on the website. This patch is a trial with the first two occurrences so we can see if placing another set of braces helps the problem.

@bangerth
Copy link
Member

For the record, @sophy1029 is one of the students in my class. I'd appreciate if someone else could take a look.

@tjhei
Copy link
Member

tjhei commented Feb 20, 2018

Did you use a different email address in the commit and the github user account to create the PR? Let me know if you want to fix that before we merge the PR.

@sophy1029
Copy link
Contributor Author

sophy1029 commented Feb 20, 2018 via email

@jppelteret
Copy link
Member

Thanks for the contribution @sophy1029! Out of curiosity, which browser are you viewing the documentation with? I looked at the 8.5.0's documentation with 2 browsers and it renders fine on the one but not the other. But if this fixes the problem case then that'd be great!

Safari
step-50-safari

Firefox
step-50-firefox

@sophy1029
Copy link
Contributor Author

sophy1029 commented Feb 20, 2018 via email

@jppelteret
Copy link
Member

Ah, so its the same for both of us then. I also checked this on Chrome and it looks fine. Lets apply your patch and see if it has the desired effect!

@jppelteret jppelteret merged commit 3722bcc into dealii:master Feb 20, 2018
@jppelteret
Copy link
Member

Congratulations on your first contribution to deal.II :-) We hope that it'll be the first of many!

@bangerth
Copy link
Member

By the way, this is the place where the updated documentation will show up:
http://www.dealii.org/developer/doxygen/deal.II/step_51.html#HybridizablediscontinuousGalerkinmethods

@sophy1029 -- can you check tomorrow whether the issue is fixed on your browser, at least for the two places that you modified?

@sophy1029
Copy link
Contributor Author

sophy1029 commented Feb 20, 2018 via email

@sophy1029
Copy link
Contributor Author

It still doesn't work on Safari. But it looks fine on Chrome on Mac.

@bangerth
Copy link
Member

Ah, that's too bad. That's then a bug in Safari, I'm afraid. There isn't anything we can do about it, but thanks for trying!

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

Successfully merging this pull request may close these issues.

None yet

5 participants