emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting LaTeX fragments equations Org-mode 8.2.10
@ 2014-12-15 19:54 kevin.lemorzadec
  2014-12-15 20:28 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: kevin.lemorzadec @ 2014-12-15 19:54 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,
Since I updated to Org-mode version 8.2.10, I am having trouble exporting
equation in latex properly. Some \ are inserted in the tex verion.

For example:
\begin{equation} \label{eqn:Lpar}
Lpar_{k}=\frac{hb_{k}}{slope}
\end{equation}

Becomes:
\begin{equation} \label{eqn:Lpar}
Lpar$_{\text{k}}$=\frac\{hb$_{\text{k}}$\}\{slope\}
\end{equation}

I tried to force #+OPTIONS: tex:t
which should be the default value but that didn't help.

Any suggestion of what I may be missing?


-- 
Kevin

[-- Attachment #2: Type: text/html, Size: 850 bytes --]

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

* Re: Exporting LaTeX fragments equations Org-mode 8.2.10
  2014-12-15 19:54 Exporting LaTeX fragments equations Org-mode 8.2.10 kevin.lemorzadec
@ 2014-12-15 20:28 ` Thomas S. Dye
  2014-12-15 20:44   ` kevin.lemorzadec
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2014-12-15 20:28 UTC (permalink / raw)
  To: kevin.lemorzadec; +Cc: emacs-orgmode

Aloha Kevin,

"kevin.lemorzadec" <kevin.lemorzadec@mun.ca> writes:

> Since I updated to Org-mode version 8.2.10, I am having trouble exporting
> equation in latex properly. Some \ are inserted in the tex verion.
>
> For example:
> \begin{equation} \label{eqn:Lpar}
> Lpar_{k}=\frac{hb_{k}}{slope}
> \end{equation}
>
> Becomes:
> \begin{equation} \label{eqn:Lpar}
> Lpar$_{\text{k}}$=\frac\{hb$_{\text{k}}$\}\{slope\}
> \end{equation}
>
> I tried to force #+OPTIONS: tex:t
> which should be the default value but that didn't help.
>
> Any suggestion of what I may be missing?

I think this came up on the list a few days ago.  IIRC, the
\begin{equation} has to be on its own line.  The \label{} should move
down to the next line.  Does that work?

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Exporting LaTeX fragments equations Org-mode 8.2.10
  2014-12-15 20:28 ` Thomas S. Dye
@ 2014-12-15 20:44   ` kevin.lemorzadec
  0 siblings, 0 replies; 3+ messages in thread
From: kevin.lemorzadec @ 2014-12-15 20:44 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode

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

It does,
Thanks for the answer,

Kevin

On Mon, Dec 15, 2014 at 4:58 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
> Aloha Kevin,
>
> "kevin.lemorzadec" <kevin.lemorzadec@mun.ca> writes:
>
> > Since I updated to Org-mode version 8.2.10, I am having trouble exporting
> > equation in latex properly. Some \ are inserted in the tex verion.
> >
> > For example:
> > \begin{equation} \label{eqn:Lpar}
> > Lpar_{k}=\frac{hb_{k}}{slope}
> > \end{equation}
> >
> > Becomes:
> > \begin{equation} \label{eqn:Lpar}
> > Lpar$_{\text{k}}$=\frac\{hb$_{\text{k}}$\}\{slope\}
> > \end{equation}
> >
> > I tried to force #+OPTIONS: tex:t
> > which should be the default value but that didn't help.
> >
> > Any suggestion of what I may be missing?
>
> I think this came up on the list a few days ago.  IIRC, the
> \begin{equation} has to be on its own line.  The \label{} should move
> down to the next line.  Does that work?
>
> hth,
> Tom
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>


-- 
Kevin Le Morzadec - Ph.D. candidate
                               Dept of Physics and Physical Oceanography,
                               Memorial University of Newfoundland, Canada
                               Tel 709-864-8654

[-- Attachment #2: Type: text/html, Size: 2050 bytes --]

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

end of thread, other threads:[~2014-12-15 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 19:54 Exporting LaTeX fragments equations Org-mode 8.2.10 kevin.lemorzadec
2014-12-15 20:28 ` Thomas S. Dye
2014-12-15 20:44   ` kevin.lemorzadec

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