From 83f4627679eae9fa1f0b12f2b2f4a3841f7d08c4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 30 Mar 2018 22:16:56 +0200 Subject: [PATCH] Change default value for scientific notation related variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 --- etc/ORG-NEWS | 10 ++++++++++ lisp/ox-latex.el | 3 ++- lisp/ox-texinfo.el | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index d479b982c..0edd77115 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 5aaaf991f..2e89ec700 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 ee28fad64..0ed6801c4 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 -- 2.11.4.GIT