emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Broken LaTeX export of tables
Date: Tue, 31 May 2011 10:16:37 -0700	[thread overview]
Message-ID: <BANLkTimSUJaS3VPg2g-zXmsOKVCw7ogHDQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

Hi,

I think LaTeX export of tables broke sometime between these two commits

Works:

commit 2a8fbc4b464d10dda3ceebf70e4f99825f179dd5
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Mon May 16 08:36:56 2011 +0200

    Bury calendar buffer

    * lisp/org.el (org-read-date): Bury Calendar buffer after
    using it for selecting a date.

    Patch by Ben North

    TINYCHANGE


Stopped working:

commit bc161ded3693f752616dcd247fc9d638789025ee
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Fri May 27 20:50:09 2011 +0200

    Capture: Store time from prompt in file+datetree+prompt target

    * lisp/org-capture.el (org-capture-current-plist): Improve docstring.
    (org-capture-put): Add docstring.
    (org-capture-get): Add docstring.
    (org-capture-member): Add LOCAL argument. Add docstring.
    (org-capture-set-target-location): Store the time received from a date
    prompt into the :prompt-time property.

    When using the file+datetree+prompt target for capture, the time set
    by the prompt is now stored in the :prompt-time property.

I have attached a minimal org file reproducing the problem. The problem
is subscripts and superscripts inside a table are not put inside math
environments when exporting to LaTeX.

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: test.org --]
[-- Type: text/org, Size: 445 bytes --]

* Some heading

  some text with parameters: /S_p/ /S_0/ /S_1/ /S_2/

  GeV/c^2

#+CAPTION: Some parameters.
|-----------+---------------------------|
| Parameter | Value (GeV/c^2)           |
|-----------+---------------------------|
| (/S_p/)   | 1.0001 \pm 0.0012         |
| (/S_0/)   | 0.000\p{0} \pm 0.071\p{0} |
| (/S_1/)   | 0.022\p{0} \pm 0.003\p{0} |
| (/S_2/)   | 0.18\p{00} \pm 0.04\p{00} |
|-----------+---------------------------|

[-- Attachment #3: test.tex --]
[-- Type: application/x-tex, Size: 1092 bytes --]

             reply	other threads:[~2011-05-31 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31 17:16 suvayu ali [this message]
2011-06-01  6:30 ` Broken LaTeX export of tables Carsten Dominik

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimSUJaS3VPg2g-zXmsOKVCw7ogHDQ@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --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 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).