From mboxrd@z Thu Jan 1 00:00:00 1970 From: Riccardo Romoli Subject: Re: AUCTex within org-babel Date: Thu, 9 Feb 2012 16:48:58 +0100 Message-ID: References: <87ty31csgh.fsf@gmx.com> <874nv1gil3.fsf@gmail.com> <87k43wf5lx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=002354332aca4fb52b04b889f3b1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvWF6-0005by-3g for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 10:49:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvWF2-0004cR-0s for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 10:49:04 -0500 Received: from mail-qw0-f48.google.com ([209.85.216.48]:48375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvWF1-0004bi-Tv for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 10:48:59 -0500 Received: by qauh8 with SMTP id h8so1300697qau.0 for ; Thu, 09 Feb 2012 07:48:59 -0800 (PST) In-Reply-To: <87k43wf5lx.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?ISO-8859-1?Q?Jonas_H=F6rsch?= Cc: emacs-orgmode@gnu.org, Eric Schulte --002354332aca4fb52b04b889f3b1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have a further question: how can I export a code like this: #+begin_src latex \begin{figure} \centering \includegraphics[width=3D1\textwidth]{foo.jpg} \caption{Figure example} \label{fig:foo} \end{figure} #+end_src to LaTeX to obtain a "working" figure code?? Best Riccardo 2012/2/9 Jonas H=F6rsch > hi riccardo, > > On Thu, Feb 09 2012, Riccardo Romoli wrote: > > > if you enter in the AUCTeX buffer (C-c') and than you use the AUCTeX C-= c > > C-e, you can choose the environment you need in the emacs minibuffer su= ch > > as in LaTeX. > > yes, indeed. and my claim was, that the completion facility of AUCTeX > then only shows the environment > \begin{document}..\end{document} and not f.ex. figure. > > but when i tried to verify that claim right now, it curiously seems not > to be true any longer. > > so sorry for the noise, my problem (if it ever was one) is solved. > > cheers, > jonas > > > --002354332aca4fb52b04b889f3b1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have a further question: how can I export a code like this:

#+begi= n_src latex
=A0 \begin{figure}
=A0=A0=A0 \centering
=A0=A0=A0 \in= cludegraphics[width=3D1\textwidth]{foo.jpg}
=A0=A0=A0 \caption{Figure ex= ample}
=A0=A0=A0 \label{fig:foo}
=A0 \end{figure}
#+end_src

to LaTeX to obtain a "working&quo= t; figure code??

Best
Riccardo

= 2012/2/9 Jonas H=F6rsch <coroa@online.de>
hi riccardo,

On Thu, Feb 09 2012, Riccardo Romoli wrote:

> if you enter in the AUCTeX buffer (C-c') and than you use the AUCT= eX C-c
> C-e, you can choose the environment you need in the emacs minibuffer s= uch
> as in LaTeX.

yes, indeed. and my claim was, that the completion facility of AUCTeX=
then only shows the environment
\begin{document}..\end{document} and not f.ex. figure.

but when i tried to verify that claim right now, it curiously seems not
to be true any longer.

so sorry for the noise, my problem (if it ever was one) is solved.

cheers,
jonas



--002354332aca4fb52b04b889f3b1--