emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Broken LaTeX export of tables
@ 2011-05-31 17:16 suvayu ali
  2011-06-01  6:30 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: suvayu ali @ 2011-05-31 17:16 UTC (permalink / raw)
  To: org-mode mailing list

[-- 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 --]

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

* Re: Broken LaTeX export of tables
  2011-05-31 17:16 Broken LaTeX export of tables suvayu ali
@ 2011-06-01  6:30 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2011-06-01  6:30 UTC (permalink / raw)
  To: suvayu ali; +Cc: org-mode mailing list


On 31.5.2011, at 19:16, suvayu ali wrote:

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

Thanks for the report, this works again now.

- Carsten

> 
> 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.
> <test.org><test.tex>

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

end of thread, other threads:[~2011-06-01  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 17:16 Broken LaTeX export of tables suvayu ali
2011-06-01  6:30 ` Carsten Dominik

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).