Programs like innomd and mdcat can convert latex math-blocks from .md files into plain ascii representations, so that they're somewhat readable in the terminal. Unfortunately, they're not as versatile/widespread as bat, and they both have some issues when the math becomes slightly complicated.
I was wondering whether a similar feature could be considered in bat.
mathlex can be used to parse the latex syntax, if you would allow adding an extra dependency.
I'd be happy to help with the implementation, if you agree on it.
Programs like innomd and mdcat can convert latex math-blocks from
.mdfiles into plain ascii representations, so that they're somewhat readable in the terminal. Unfortunately, they're not as versatile/widespread asbat, and they both have some issues when the math becomes slightly complicated.I was wondering whether a similar feature could be considered in
bat.mathlex can be used to parse the latex syntax, if you would allow adding an extra dependency.
I'd be happy to help with the implementation, if you agree on it.