emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Editing LaTeX code in org-mode
@ 2009-09-27 14:23 Alan E. Davis
  2009-09-27 17:32 ` Matt Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: Alan E. Davis @ 2009-09-27 14:23 UTC (permalink / raw)
  To: org-mode


[-- Attachment #1.1: Type: text/plain, Size: 870 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 945 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: Editing LaTeX code in org-mode
  2009-09-27 14:23 Editing LaTeX code in org-mode Alan E. Davis
@ 2009-09-27 17:32 ` Matt Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2009-09-27 17:32 UTC (permalink / raw)
  To: Alan E. Davis; +Cc: org-mode

"Alan E. Davis" <lngndvs@gmail.com> writes:

>    #+BEGIN_LaTeX
>    questions and sections
>   #+END_LaTeX
>
> 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?)

Have you tried "C-c '"? If auctex is your default TeX environment,
hitting C-c ' inside a LaTeX should take you to an auctex buffer.

- Matt

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

end of thread, other threads:[~2009-09-27 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-27 14:23 Editing LaTeX code in org-mode Alan E. Davis
2009-09-27 17:32 ` Matt Lundin

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