diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-28 19:46:48 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-28 19:49:11 +0200 |
| commit | 5e4af8dca9b9fcf69b5f7decc5926330cc9b2480 (patch) | |
| tree | 83f7e011eddd9d913e81ee01d00aa5b340d750cc | |
| parent | 4530844c7551d906768487aeb81b338ec857e616 (diff) | |
| download | memory-leaks-5e4af8dca9b9fcf69b5f7decc5926330cc9b2480.tar.xz | |
Note down issue with AUCTeX
Need to try the repository version, make a bug report if it's still
failing, and ask when are new releases coming out if not.
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | itches/emacs/language-support.org | 29 |
2 files changed, 30 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Peniblec's Memory Leaks -## still reachable: 8765 words in 22 pages +## still reachable: 8811 words in 22 pages Hi! I am a software engineer interested in [a bunch of things]. diff --git a/itches/emacs/language-support.org b/itches/emacs/language-support.org index 8d007d3..76f1f5e 100644 --- a/itches/emacs/language-support.org +++ b/itches/emacs/language-support.org @@ -57,3 +57,32 @@ of overwriting when pressing $ again. **** pressing ="= on active region does not surround it with quotes even with electric-pair-mode TeX-insert-quote erases the region and inserts =``= instead. **** pressing =$= inserts a single $ +*** =catcode`$= starts a math environment +Minimal example: + +#+BEGIN_SRC latex +\documentclass{article} + +\usepackage{fancyvrb} +\usepackage{listings} +\usepackage{xcolor} + +\lstset{ + fancyvrb=true +} + +\begin{document} + +\begin{Verbatim}[ + commandchars=\\\{\}, + codes={\catcode`$=3}, + formatcom={\lstset{fancyvrb=false}} +] +Things increased: \textcolor{red}{+32.05%} (189818 $\nearrow$ 250657) +Things decreased: \textcolor{green}{-49.22%} (514 $\searrow$ 261) +\end{Verbatim} + +\end{document} +#+END_SRC + +Can workaround it with =\catcode36= instead of =\catcode`$=. |
