question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tex Macros in _config.yml not being applied [html]

See original GitHub issue

Describe the bug

It doesn’t seem that the TeX Macros when specified in _config.yml are taking affect for mathjax configuration.

To Reproduce

Build jb build docs and open docs/_build/html/advanced/sphinx.html

Screen Shot 2020-08-26 at 10 04 31 am

Expected behavior

The red \bmat should be replaced with definitions defined by the TeX macro.

Environment

  • CI environment reproduces issues

Additional context

Looking to see if mathjax can support \DeclareMathOperator

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
bryanwwebercommented, Aug 27, 2020

Thanks @chrisjsewell the changes in #911 fixed the config file issue 🎉

1reaction
chrisjsewellcommented, Aug 27, 2020

Yep thanks, thats a known (and annoying) issue that will be fixed hopefully in the next few days when jupyter-sphinx 0.3 is released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does macros get applied to the source code before compilation?
The short answer is no: Tex reads the document starting from the top, and acts in the order of the document. Try e.g.,...
Read more >
Accessing YAML parameters as macros within external LaTeX ...
Show activity on this post. I'm looking for ways to add variables (or LaTeX macros) to the YAML header or soon after such...
Read more >
TeX and LaTeX extensions — MathJax 3.2 documentation
Some less-used commands are defined in extensions to the TeX processor. MathJax will load some extensions automatically when you first use the commands...
Read more >
Optimize GitLab CI/CD configuration files
You can see that the hidden jobs are conveniently used as templates, ... It is similar to YAML anchors, but simpler and you...
Read more >
AUCTeX 13.1: 3.2 Folding Macros and Environments - GNU.org
A popular complaint about markup languages like TeX and LaTeX is that there is too much clutter in the source text and that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found