-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Labels
Format: LaTeXRelated to the LaTeX / PDF outputRelated to the LaTeX / PDF output
Description
md: "echo `$(nothing)`
"
```echo `$(nothing)` ```
tex:
\(echo `$(nothing)`\)
should be:
\(echo `\$(nothing)`\)
Related code:
Documenter.jl/src/Writers/LaTeXWriter.jl
Lines 683 to 687 in cd57c41
function latexinline(io, math::Markdown.LaTeX) | |
# Handle MathJax and TeX inconsistency since the first wants `\LaTeX` wrapped | |
# in math delims, whereas actual TeX fails when that is done. | |
math.formula == "\\LaTeX" ? _print(io, math.formula) : _print(io, "\\(", math.formula, "\\)") | |
end |
TODO:
- Add a test case
Background: JuliaLang/julia#45034 (comment)
Metadata
Metadata
Assignees
Labels
Format: LaTeXRelated to the LaTeX / PDF outputRelated to the LaTeX / PDF output