diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-03-30 22:16:56 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-03-30 22:20:30 +0200 |
commit | 83f4627679eae9fa1f0b12f2b2f4a3841f7d08c4 (patch) | |
tree | c0df1f73d319bd1f9678625436e2f2676ae2b391 | |
parent | 452f4d85275d2fb5edcbc7fa447d1c0d417ceda9 (diff) | |
download | org-mode-83f4627679eae9fa1f0b12f2b2f4a3841f7d08c4.tar.gz |
Change default value for scientific notation related variables
* lisp/ox-latex.el (org-latex-table-scientific-notation):
* lisp/ox-texinfo.el (org-texinfo-table-scientific-notation): Change
default value to nil.
Reported-by: Günter Lichtenberg <mail@guenterlichtenberg.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00527.html>
-rw-r--r-- | etc/ORG-NEWS | 10 | ||||
-rw-r--r-- | lisp/ox-latex.el | 3 | ||||
-rw-r--r-- | lisp/ox-texinfo.el | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index d479b98..0edd771 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -265,6 +265,16 @@ Org Tempo may be used as a replacement. See details above. ** Miscellaneous +*** New default value for ~org-texinfo-table-scientific-notation~ + +It is now nil, which means numbers in scientific notation are not +handled specially by default. + +*** New default value for ~org-latex-table-scientific-notation~ + +It is now nil, which means numbers in scientific notation are not +handled specially by default. + *** New face: ~org-upcoming-distant-deadline~ It is meant to be used as the face for distant deadlines, see diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 5aaaf99..2e89ec7 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -810,8 +810,9 @@ attributes." :type 'boolean :safe #'booleanp) -(defcustom org-latex-table-scientific-notation "%s\\,(%s)" +(defcustom org-latex-table-scientific-notation nil "Format string to display numbers in scientific notation. + The format should have \"%s\" twice, for mantissa and exponent \(i.e., \"%s\\\\times10^{%s}\"). diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index ee28fad..0ed6801 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -267,7 +267,7 @@ be placed after the end of the title." :group 'org-export-texinfo :type 'boolean) -(defcustom org-texinfo-table-scientific-notation "%s\\,(%s)" +(defcustom org-texinfo-table-scientific-notation nil "Format string to display numbers in scientific notation. The format should have \"%s\" twice, for mantissa and exponent |