emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: New exporter and latex table export with floats in engineering notation [8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)]
@ 2013-04-10  6:13 Dieter Wilhelm
  2013-04-10  6:39 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Wilhelm @ 2013-04-10  6:13 UTC (permalink / raw)
  To: emacs-orgmode

Aloha (),

please try to latexport the following table with the latest and greatest

| 3E5 | 3.2e3 | 3.3E-4|

and you will still receive this output

\begin{tabular}{rrr}
3\,(5) & 3.2\,(3) & 3.3\,(-4)\\
\end{tabular}

which is looking like

3 (5) 3.2 (3) 3.3 (-4)

what can I do to receive reals in tables with engineering notation?

--
Thanks
        Dieter


Emacs  : GNU Emacs 24.3.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2013-03-24 on urmel
Package: Org-mode version 8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)

current state:
==============
(setq
 org-src-lang-modes '(("ANSYS" . ansys) ("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
		      ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql)
		      ("calc" . fundamental) ("C" . c) ("cpp" . c++) ("screen" . shell-script))
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
			       org-beamer-auto-fragile-frames
			       org-beamer-place-default-actions-for-lists)
 org-export-date-timestamp-format "%Y-%m-%d"
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp "\\<Dieter Wilhelm\\>"
 org-html-postamble t
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-export-copy-to-kill-ring t
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-export-allow-BIND t
 org-export-with-tags 'not-in-toc
 org-use-speed-commands t
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks
		  org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-html-postamble-format '(("en"
			      "<p class=\"author\">Author: %a (%e)</p>\n<p class=\"date\">Modification date: %C </p>\n<p class=\"creator\">Generated by %c </p>\n")
			     ("de"
			      "<p class=\"author\">Autor: %a (%e)</p>\n<p class=\"date\">Letzte Änderung: %C </p>\n<p class=\"creator\">Erzeugt von %c </p>\n")
			     ("fr"
			      "<p class=\"author\">Auteur: %a (%e)</p>\n<p class=\"date\">Date de la modification: %C </p>\n<p class=\"creator\">Produit par %c </p>\n")
			     )
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-with-drawers nil
 org-link-abbrev-alist '(("att" . org-attach-expand-link))
 org-export-allow-bind-keywords t
 org-babel-tangle-lang-exts '(("ansys" . "mac") ("emacs-lisp" . "el"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-latex-listings t
 org-link-mailto-program '(compose-mail "%a" "%s")
 org-agenda-files '("~/org/private.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-confirm-babel-evaluate nil
 org-src-fontify-natively t
 org-publish-project-alist '(("org-notes" :sitemap-title "Die Dünenhof-Seite" :auto-sitemap t
			      :base-directory "~/org/www/" :base-extension "org" :publishing-directory
			      "~/www.duenenhof-wilhelm2.de/" :recursive t :publishing-function
			      org-html-publish-to-html :headline-levels 4 :auto-preamble nil :exclude
			      "template.*\\|navigation.*")
			     ("org-static" :base-directory "~/org/www/" :base-extension
			      "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|org\\|htm\\|ico"
			      :publishing-directory "~/www.duenenhof-wilhelm2.de/" :recursive t
			      :publishing-function org-publish-attachment)
			     ("duenenhof" :components ("org-notes" "org-static")))
 org-export-latex-classes '(("scrartcl"
			     "\\documentclass[pagesize]{scrartcl}\n         [PACKAGES]\n         [EXTRA]"
			     ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
			     ("\\paragraph{%s}" . "\\paragraph*{%s}")
			     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
			    ("scrreprt"
			     "\\documentclass[pagesize]{scrreprt}\n         [PACKAGES]\n         [EXTRA]"
			     ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
			     ("\\paragraph{%s}" . "\\paragraph*{%s}")
			     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
			    ("koma-report"
			     "\\documentclass[a4paper]{scrreprt}\n         [PACKAGES]\n         [EXTRA]"
			     ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
			     ("\\paragraph{%s}" . "\\paragraph*{%s}")
			     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
			    ("koma-article"
			     "\\documentclass[a4paper]{scrartcl}\n         [PACKAGES]\n         [EXTRA]"
			     ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
			     ("\\paragraph{%s}" . "\\paragraph*{%s}")
			     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
			    ("article" "\\documentclass[11pt]{article}"
			     ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
			     ("\\paragraph{%s}" . "\\paragraph*{%s}")
			     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
			    ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
			     ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
			    ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}")
			     ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
			     ("\\subsection{%s}" . "\\subsection*{%s}")
			     ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
			    ("beamer" "\\documentclass{beamer}" org-beamer-sectioning))
 )
-- 
Best wishes

H. Dieter Wilhelm
Darmstadt
Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: New exporter and latex table export with floats in engineering notation [8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)]
  2013-04-10  6:13 Bug: New exporter and latex table export with floats in engineering notation [8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)] Dieter Wilhelm
@ 2013-04-10  6:39 ` Nicolas Goaziou
  2013-04-10 11:18   ` Dieter Wilhelm, H.
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-04-10  6:39 UTC (permalink / raw)
  To: Dieter Wilhelm; +Cc: emacs-orgmode

Hello,

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

> please try to latexport the following table with the latest and greatest
>
> | 3E5 | 3.2e3 | 3.3E-4|
>
> and you will still receive this output
>
> \begin{tabular}{rrr}
> 3\,(5) & 3.2\,(3) & 3.3\,(-4)\\
> \end{tabular}
>
> which is looking like
>
> 3 (5) 3.2 (3) 3.3 (-4)
>
> what can I do to receive reals in tables with engineering notation?

See `org-latex-table-scientific-notation'.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: New exporter and latex table export with floats in engineering notation [8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)]
  2013-04-10  6:39 ` Nicolas Goaziou
@ 2013-04-10 11:18   ` Dieter Wilhelm, H.
  0 siblings, 0 replies; 3+ messages in thread
From: Dieter Wilhelm, H. @ 2013-04-10 11:18 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Emacs-orgmode@gnu.org

2013/4/10 Nicolas Goaziou <n.goaziou@gmail.com>:
> Hello,
>
> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
>
>> please try to latexport the following table with the latest and greatest
>>
>> | 3E5 | 3.2e3 | 3.3E-4|
>>
>> and you will still receive this output
>>
>> \begin{tabular}{rrr}
>> 3\,(5) & 3.2\,(3) & 3.3\,(-4)\\
>> \end{tabular}
>>
>> which is looking like
>>
>> 3 (5) 3.2 (3) 3.3 (-4)
>>
>> what can I do to receive reals in tables with engineering notation?
>
> See `org-latex-table-scientific-notation'.

Thanks for the pointer. Amazing, Org is becaming more and more Emacs
like: The learning process never stops. :-)

I had to (require 'org-latex) to see the variable and can now setq or
#+bind: the thing, wonderful.

--
  Dieter

> Regards,
>
> --
> Nicolas Goaziou
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-10 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10  6:13 Bug: New exporter and latex table export with floats in engineering notation [8.0-pre (release_8.0-pre-355-g0480d0 @ /appl/org-mode/lisp/)] Dieter Wilhelm
2013-04-10  6:39 ` Nicolas Goaziou
2013-04-10 11:18   ` Dieter Wilhelm, H.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).