From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Editing LaTeX code in org-mode Date: Mon, 28 Sep 2009 00:23:31 +1000 Message-ID: <7bef1f890909270723m74b93627k4a072cd24e862ede@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0737038449==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrufN-0004zU-SF for emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:23:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrufJ-0004xm-3r for emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:23:57 -0400 Received: from [199.232.76.173] (port=46139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrufI-0004xY-Oi for emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:23:52 -0400 Received: from mail-iw0-f198.google.com ([209.85.223.198]:47820) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrufI-00022Y-Do for emacs-orgmode@gnu.org; Sun, 27 Sep 2009 10:23:52 -0400 Received: by iwn36 with SMTP id 36so395275iwn.24 for ; Sun, 27 Sep 2009 07:23:51 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --===============0737038449== Content-Type: multipart/alternative; boundary=0016e64ec0a226c6c004748fee06 --0016e64ec0a226c6c004748fee06 Content-Type: text/plain; charset=ISO-8859-1 I am using the LaTeX class examdesign to write exams. It seems I can pretty nicely get the header included into org for purposes of exporting. So far, I haven't figured out how to convert plain text exams to a form that examdesign can use, so I need to edit latex surrounded by #+BEGIN_LaTeX questions and sections #+END_LaTeX I have written a little elisp code to convert formatted plain text multiple choice from a CD to LaTeX, so I can get this to work once I figure out how I want to write the questions. For now, however, is there a way to use AUCTeX to edit the LaTeX in the environment above? Currently, my habit of using C-c e to enter environments is getting in the way, for example. Perhaps there is a way to easily enter environments, perhaps the "multiplechoice" environment can be defined in a variable? (and others?) Thank you. Alan Davis --0016e64ec0a226c6c004748fee06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am using the LaTeX class examdesign to write exams.=A0 It seems I can pre= tty nicely get the header included into org for purposes of exporting.=A0 S= o far, I haven't figured out how to convert plain text exams to a form = that examdesign can use, so I need to edit latex surrounded by

=A0=A0 #+BEGIN_LaTeX
=A0=A0 questions and sections
=A0 #+END_LaTe= X

I have written a little elisp code to convert formatted plain text= multiple choice from a CD to LaTeX, so I can get this to work once I figur= e out how I want to write the questions.

For now, however, is there a way to use AUCTeX to edit the LaTeX in the= environment above?=A0 Currently, my habit of using C-c e to enter environm= ents is getting in the way, for example.

Perhaps there is a way to e= asily enter environments, perhaps the "multiplechoice" environmen= t can be defined in a variable? (and others?)

Thank you.

Alan Davis
--0016e64ec0a226c6c004748fee06-- --===============0737038449== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0737038449==--