-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(latex-renderer): rendering of package options
Rendering package options with string delimiters leads to LaTeX errors, e.g., when `render_strikethrough` activates the 'ulem' package with option 'normalem', the rendered LaTeX should read `\usepackage[normalem]{ulem}` rather than `\usepackage['normalem']{ulem}` as it previously did. This patch fixes that. NB: Too keep the implementation simple (and as it has not shown adverse side-effects when using pdflatex), the generated LaTeX for an added package listings without options is now \usepackage[]{listings} rather than \usepackage{listings}.
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters