Leo Butler <leo.but...@umanitoba.ca> writes: > On Mon, Jul 14 2025, David Masterson <dsmaster...@icloud.com> wrote: > >> William Denton <will...@williamdenton.org> writes: >> >>> On Monday, July 14th, 2025 at 18:38, David Masterson >>> <dsmaster...@icloud.com> wrote: >>> >>>> I was originally wondering if anyone uses Emacs/Org to write their >>>> initial document, export it to LaTeX, fix it up with Auctex or Lyx, then >>>> regenerate the Org file for storage and possible later updates? > > I use org to organize the math courses I teach. A single file contains a > course syllabus (latex), each week's lecture slides (beamer), quizzes > (latex), lab worksheets (latex), exams (latex), classlists, marksheets > and sqlite code to compute final grades.
Wow! A single file... > There are also code blocks that contain header files to customize the > various documents and languages used (e.g. to set up the syllabus > document to conform with University expectations, etc.). > > I just learned about the latex-preview code this past semester, which > makes editing latex code in org much less painful than the alternatives. > But, even without that code, selectively marking trees as :noexport: > makes it faster to do the edit-compile-revise cycle in Org. Things to learn... >> Well, okay, not Lyx, but Auctex is still in Emacs. Org is good for >> producing pretty good documents as long as you don't want to dig into >> LaTeX. Going beyond that, though, would it be easier to come up with >> LaTeX snippets yourself to add to your Org file or use Auctex to enhance >> the exported LaTeX (and learn LaTeX in the process)? > > Using the keychord C-c ' on a latex block will pop you into a latex > buffer. If your emacs is configured to use AucTeX, then you have the > power of Org and AucTeX, all in one. > > Org has some good defaults for latex/beamer export, but it also has the > power and flexibility to customize that export to replicate what you > would get just by working in AucTeX on a latex file. Thanks -- David Masterson