all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* latex include file
@ 2012-11-22 19:06 Marvin Doyley
  2012-11-22 19:37 ` Suvayu Ali
  2012-11-22 20:30 ` Marvin Doyley
  0 siblings, 2 replies; 5+ messages in thread
From: Marvin Doyley @ 2012-11-22 19:06 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi there,

I am trying to figure out how to export a latex file while suppressing the
\begin{document} \end{document} and all the other frontmatter stuff.

In essence, I would like to create a .tex file that will be included in
another latex file. More specifically, I want the exported file to look
something like

\section{xxxx}

BLAH BLAH

\begin{equation}

E=MC^2
\end{equation}

I have created a costume org-export-latex-classes to suppress packages, but
I am stuck with the other front matter stuff.

Best Wishes
M

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

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

* Re: latex include file
  2012-11-22 19:06 latex include file Marvin Doyley
@ 2012-11-22 19:37 ` Suvayu Ali
  2012-11-22 20:30 ` Marvin Doyley
  1 sibling, 0 replies; 5+ messages in thread
From: Suvayu Ali @ 2012-11-22 19:37 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Nov 22, 2012 at 02:06:03PM -0500, Marvin Doyley wrote:
> Hi there,
> 
> I am trying to figure out how to export a latex file while suppressing the
> \begin{document} \end{document} and all the other frontmatter stuff.
> 
> In essence, I would like to create a .tex file that will be included in
> another latex file. More specifically, I want the exported file to look
> something like
> 
> \section{xxxx}
> 
> BLAH BLAH
> 
> \begin{equation}
> 
> E=MC^2
> \end{equation}
> 
> I have created a costume org-export-latex-classes to suppress packages, but
> I am stuck with the other front matter stuff.
> 

Have you tried the "Body only" option in the new exporter?

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: latex include file
  2012-11-22 19:06 latex include file Marvin Doyley
  2012-11-22 19:37 ` Suvayu Ali
@ 2012-11-22 20:30 ` Marvin Doyley
  2012-11-22 22:15   ` Suvayu Ali
  2012-11-23 16:17   ` Marvin Doyley
  1 sibling, 2 replies; 5+ messages in thread
From: Marvin Doyley @ 2012-11-22 20:30 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

I haven't tried this, I will upgrade to the latest version of org and
try. How do I tell org only to export the body ?

Sent from my iPhone

On Nov 22, 2012, at 2:06 PM, Marvin Doyley <marvinpas@gmail.com> wrote:

> Hi there,
>
> I am trying to figure out how to export a latex file while suppressing the \begin{document} \end{document} and all the other frontmatter stuff.
>
> In essence, I would like to create a .tex file that will be included in another latex file. More specifically, I want the exported file to look something like
>
> \section{xxxx}
>
> BLAH BLAH
>
> \begin{equation}
>
> E=MC^2
> \end{equation}
>
> I have created a costume org-export-latex-classes to suppress packages, but I am stuck with the other front matter stuff.
>
> Best Wishes
> M
>
>
>

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

* Re: latex include file
  2012-11-22 20:30 ` Marvin Doyley
@ 2012-11-22 22:15   ` Suvayu Ali
  2012-11-23 16:17   ` Marvin Doyley
  1 sibling, 0 replies; 5+ messages in thread
From: Suvayu Ali @ 2012-11-22 22:15 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Nov 22, 2012 at 03:30:54PM -0500, Marvin Doyley wrote:
> I haven't tried this, I will upgrade to the latest version of org and
> try. How do I tell org only to export the body ?

When you use the new exporter, this is an option in the export dispatch
menu.  To try it out, install the latest Org release and do:

 (require org-e-latex)

Then you can access the new dispatch menu do:

  M-x org-export-dispatch RET

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: latex include file
  2012-11-22 20:30 ` Marvin Doyley
  2012-11-22 22:15   ` Suvayu Ali
@ 2012-11-23 16:17   ` Marvin Doyley
  1 sibling, 0 replies; 5+ messages in thread
From: Marvin Doyley @ 2012-11-23 16:17 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

It worked
Thanks
M

Sent from my iPhone

On Nov 22, 2012, at 3:30 PM, Marvin Doyley <marvinpas@gmail.com> wrote:

> I haven't tried this, I will upgrade to the latest version of org and
> try. How do I tell org only to export the body ?
>
> Sent from my iPhone
>
> On Nov 22, 2012, at 2:06 PM, Marvin Doyley <marvinpas@gmail.com> wrote:
>
>> Hi there,
>>
>> I am trying to figure out how to export a latex file while suppressing the \begin{document} \end{document} and all the other frontmatter stuff.
>>
>> In essence, I would like to create a .tex file that will be included in another latex file. More specifically, I want the exported file to look something like
>>
>> \section{xxxx}
>>
>> BLAH BLAH
>>
>> \begin{equation}
>>
>> E=MC^2
>> \end{equation}
>>
>> I have created a costume org-export-latex-classes to suppress packages, but I am stuck with the other front matter stuff.
>>
>> Best Wishes
>> M
>>
>>
>>

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

end of thread, other threads:[~2012-11-23 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 19:06 latex include file Marvin Doyley
2012-11-22 19:37 ` Suvayu Ali
2012-11-22 20:30 ` Marvin Doyley
2012-11-22 22:15   ` Suvayu Ali
2012-11-23 16:17   ` Marvin Doyley

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.