-
Notifications
You must be signed in to change notification settings - Fork 51
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
equations in docs #28
Comments
This is a bug in elinks, which is an independent program, we spawn subprocess to run elinks and render the HTML pages. The lastest update for elinks is 2012-10-30, so I would not expect them to fix it. |
@jeaye Could you please review this issue? |
I've recently been thinking about trying out https://www.brow.sh/ instead of elinks. It should offer much better rendering, since it just uses a headless Firefox. The only question would be around rendering a full frame to a string and pulling out the content we need. If you're looking for something to dig into, that would be a huge step for stdman's formatting. |
@jeaye |
I have also tested Browsh for this page: For the
Which is still not perfect. For elinks, it generates:
Browsh looks better, but still not ideal.
|
Thanks so much for testing this. It does seem like cppref may be the issue for the the last bit. Copy/paste is always a good test for how things will render in text. Outside of that, though, browsh does a much nicer job than elinks. Do you see any potential issues in stdman using browsh for generation instead? The only thing I noticed is that browsh is rendering ads; I wonder if we can configure it to use uBlock Origin. If not, we can just cut out that bit of the HTML. |
I will make a proposal later, I need to go through the current source code of stdman |
When I opened man page for std::normal_distribution I found out that the equation is not displayed correctly.
It looks like this:
f(x; μ,σ) =
and it should be all in one line.
The text was updated successfully, but these errors were encountered: