Www.julialang.org: Conversion issues in blog posts

Created on 2 Jan 2020  ·  13Comments  ·  Source: JuliaLang/www.julialang.org

When I did this job recently, the most trouble I had was with the maths. So:

were the first two I looked at, and the math problems are familiar - all those unconverted $ signs. Before going through all the blog posts again†, is there some general setting that you can throw that does the maths right...? Is it a KATEX/MathJAX thing? For Julia, the maths has to be good...

† Don't do it more than once, that way madness lies... :)

high

Most helpful comment

Thank you @cormullion. This is very helpful. Will get these fixed soon. :)

All 13 comments

Thanks for reporting this, I'll get this fixed asap.

Check out: https://deploy-preview-16--hugo-julialang.netlify.com

The issue described above should be resolved now. Great work @abhishalya

A few items I spotted -

Probably a good idea to have another pass through them visually to spot minor glitches ...

@cormullion Thanks for the feedback, I'll get these fixed today. Also just to let you know, we'll be moving the site from here back to the www.julialang.org repo. So you can create further issues there.

@cormullion It would be really nice if you could review https://switch_hugo--julialang-preview.netlify.com/ -> https://github.com/JuliaLang/www.julialang.org/pull/544

@abhishalya Happy to, although it won't be till tomorrow, since the weekend has arrived... :)

Anyway, well done! Impressive piece of work already!

Happy to, although it won't be till tomorrow, since the weekend has arrived... :)

No problem, we're in no hurry. :)

Anyway, well done! Impressive piece of work already!

Thanks ;)

link to #544

I had a quick look through and noted things I spotted. Mostly missing images. Occasionally the syntax highlighting has gone (I think people like having it...). And there are a few math-y glitches.

Thank you @cormullion. This is very helpful. Will get these fixed soon. :)

I'm not sure if I'm looking at the latest version, but there are more math errors now than there were before...

... eg

https://switch_hugo--julialang-preview.netlify.com/blog/2015/10/jsoc-2015-project-automatic-differentiation-in-julia-with-forwarddiff.jl/

https://switch_hugo--julialang-preview.netlify.com/blog/2013/04/distributed-numerical-optimization/

Hmm, we need to use shortcodes. I already have one to include math. But, we should then aim to switch all html to proper markdown.

@cormullion the issue was/is that Netlfiy was/is working its dirty magic. In the preview's it looks fine and then once it gets deployed things break.

This should be completely fixed with JuDoc implementation.

For Hugo, math is just not easy to include, its hacky as it was with Jekyll.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ViralBShah picture ViralBShah  ·  4Comments

amellnik picture amellnik  ·  8Comments

logankilpatrick picture logankilpatrick  ·  4Comments

ViralBShah picture ViralBShah  ·  7Comments

essenciary picture essenciary  ·  6Comments