mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-02 08:22:16 +00:00
Remove org-export-latex-use-verb.
* org-latex.el (org-export-latex-emph-format): Don't use `org-export-latex-use-verb'. Remove this variable. This variable was introduced by Carsten for testing purpose, it was not meant to be a user variable.
This commit is contained in:
parent
b2838f40ff
commit
8158131e7a
@ -1978,14 +1978,11 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||
(replace-match rpl t t)))
|
||||
(backward-char)))
|
||||
|
||||
(defvar org-export-latex-use-verb t
|
||||
"Toggle the use of \\verb for ~ emphasis.
|
||||
Set to nil for \\texttt, t for \\verb.")
|
||||
(defun org-export-latex-emph-format (format string)
|
||||
"Format an emphasis string and handle the \\verb special case."
|
||||
(when (member format '("\\verb" "\\protectedtexttt"))
|
||||
(save-match-data
|
||||
(if (and (equal format "\\verb") org-export-latex-use-verb)
|
||||
(if (equal format "\\verb")
|
||||
(let ((ll "~,./?;':\"|!@#%^&-_=+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>()[]{}"))
|
||||
(catch 'exit
|
||||
(loop for i from 0 to (1- (length ll)) do
|
||||
|
Loading…
Reference in New Issue
Block a user