Possible solution to Plotly Issue #3828, bold latex strings in exported pdfs #168
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A detailed explanation can be found at issue plotly/Kaleido#196.
TLRD
The changes are about 10 lines and an extra file that is used to create the configuration of Mathjax as mentioned in the MathJax Docs so that the stroke is set to zero.
Note
As you can see, I made a change in
repos/linux_scripts/perform_kaleido_build
to copy the config file at the build directory. However, I didn't make any changes in the mac or windows scripts because I don't use mac and I didn't test the changes on windows. In theory, it's just an extracp
somewhere at the end.