Re: [O] latex include file

2012-11-23 Thread Marvin Doyley
It worked
Thanks
M

Sent from my iPhone

On Nov 22, 2012, at 3:30 PM, 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 ?
>
> Sent from my iPhone
>
> On Nov 22, 2012, at 2:06 PM, 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{}
>>
>> 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
>>
>>
>>



Re: [O] latex include file

2012-11-22 Thread Suvayu Ali
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.



Re: [O] latex include file

2012-11-22 Thread Marvin Doyley
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  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{}
>
> 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
>
>
>



Re: [O] latex include file

2012-11-22 Thread Suvayu Ali
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{}
> 
> 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.



[O] latex include file

2012-11-22 Thread Marvin Doyley
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{}

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