From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: vertically misplaced thousands separator
Date: Mon, 13 Jun 2016 08:46:28 -0400 [thread overview]
Message-ID: <9e7fbd89-bc82-3167-8cec-72809c0fd49c@verizon.net> (raw)
In-Reply-To: <4a12611a-11d5-557a-b299-5cbe4d47a994@verizon.net>
[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]
Forgot to mention that just a plain 99999.99 (no code blocks) exports
the same way, comma above the 99999.99
On 06/13/2016 08:31 AM, Charles Millar wrote:
>
> I am not sure if this is a bug in orgmode latex exporter or whether it
> is specific to LaTeX and that there is some code that will take care
> of this.
>
> First, attached is a copy of my LaTeX setup.
>
> I recently added \\usepackage[npthousnadsep{,}]{numprint} to my setup.
>
> When I export the following in line code
>
> This is inline src_emacs-lisp[:var totalcommissions=TOTALCOM[-1,-1]
> fmt="%.2f"]{(format fmt totalcommissions)} {{{results(=99999.99=)}}}
> for some reason
>
> the thousands separator is place above the exported line, thus
>
> ,
> This is inline 99999.99 for some reason
>
> Likewise, a source block, e.g.
>
> ** Block
>
> This is a block
>
> #+begin_src emacs-lisp :var totalcommissions=TOTALCOM[-1,-1]
> fmt="%.2f" :exports results
> (format fmt totalcommissions)
> #+end_src
>
> #+RESULTS:
> : 99999.99
>
> for the same code
>
> exports as
>
> ,
> This is a block
> 99999.99
>
> |{group-separator ={,}|
>
> for the same code
>
> Of course I expected 99,999.99 in both cases.
>
> I also tried this with \\usepackage{siunitx} and
> \\usepackage[group-separator={,}]{siunitx} (numprint separator was
> removed) and had the same results
>
> Org-mode version 8.3.4 (release 8.3.4 -907-g65e437 @
> usr/local/share/emacs/site-lisp/org-mode/lisp)
>
> GNU Emacs 24.4.1 (x86 64 -pc-linux-gnu, GTK+ Version 3.14.5) of
> 2015-03-07 on trouble, modified
> by Debian
>
> Charlie Millar
[-- Attachment #2: Type: text/html, Size: 2788 bytes --]
next prev parent reply other threads:[~2016-06-13 12:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 12:31 vertically misplaced thousands separator Charles Millar
2016-06-13 12:46 ` Charles Millar [this message]
2016-06-13 13:46 ` Charles Millar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e7fbd89-bc82-3167-8cec-72809c0fd49c@verizon.net \
--to=millarc@verizon.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.