emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ox-odt, bug] math in caption
@ 2015-02-25 14:04 Rasmus
  2015-02-25 14:29 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-02-25 14:04 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Consider

* test 
#+CAPTION: $a$ ain't a \(a\)
| a |

Expected output is that either $a$ or \(a\) or both are turned into math.
Currently none are.

—Rasmus

-- 
You people at the NSA are becoming my new best friends!

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

* Re: [ox-odt, bug] math in caption
  2015-02-25 14:04 [ox-odt, bug] math in caption Rasmus
@ 2015-02-25 14:29 ` Rasmus
  2015-02-25 22:47   ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-02-25 14:29 UTC (permalink / raw)
  To: emacs-orgmode

Rasmus <rasmus@gmx.us> writes:

> Hi,
>
> Consider
>
> * test 
>
> #+CAPTION: $a$ ain't a \(a\)
> | a |
>
> Expected output is that either $a$ or \(a\) or both are turned into math.
> Currently none are.

I guess this is at the heart of the problem

* test 
#+CAPTION: $a$ ain't a \(a\)
| a |

#+BEGIN_SRC emacs-lisp
  (org-element-map (org-element-parse-buffer) '(latex-fragment latex-environment) 'identity)
#+END_SRC

#+RESULTS:
nil


Cf. org-odt--translate-latex-fragments.  But I don't know...

—Rasmus

-- 
If you can mix business and politics wonderful things can happen!

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

* Re: [ox-odt, bug] math in caption
  2015-02-25 14:29 ` Rasmus
@ 2015-02-25 22:47   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2015-02-25 22:47 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hello,

Rasmus <rasmus@gmx.us> writes:

>> Consider
>>
>> * test 
>>
>> #+CAPTION: $a$ ain't a \(a\)
>> | a |
>>
>> Expected output is that either $a$ or \(a\) or both are turned into math.
>> Currently none are.
>
> I guess this is at the heart of the problem
>
> * test 
> #+CAPTION: $a$ ain't a \(a\)
> | a |
> #+BEGIN_SRC emacs-lisp
>   (org-element-map (org-element-parse-buffer) '(latex-fragment latex-environment) 'identity)
> #+END_SRC
>
> #+RESULTS:
> nil
>
>
> Cf. org-odt--translate-latex-fragments.  But I don't know...

This should be fixed in 50a0e712cceeef02c0d6a7c41b619b308ea1b15c. Thank
you.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2015-02-25 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-25 14:04 [ox-odt, bug] math in caption Rasmus
2015-02-25 14:29 ` Rasmus
2015-02-25 22:47   ` Nicolas Goaziou

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