Browse Source

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>
Nicolas Goaziou 2 years ago
parent
commit
83f4627679
3 changed files with 13 additions and 2 deletions
  1. 10 0
      etc/ORG-NEWS
  2. 2 1
      lisp/ox-latex.el
  3. 1 1
      lisp/ox-texinfo.el

+ 10 - 0
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

+ 2 - 1
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}\").
 

+ 1 - 1
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