Wow, this seems fantastic both for math and for doc exportting. Are those files public?
Cheers Matteo On mar, lug 15, 2025 at 03:50 Leo Butler <leo.but...@umanitoba.ca> wrote: > 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. > > 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. > > ---- > > On the other hand, for me, writing a research article now starts in Org, > but by the time I am ready to submit the paper, I must do a one-way > export to LaTeX. I am not aware of any journals that accept submissions > in Org (are there any?). > > And, on the third hand, if I am collaborating on a paper, then I will > start in Org, but collaboration almost certainly means sharing a LaTeX > document. > >>> >>> And leave Emacs!?!? I bet most people here would work on the Org >>> file, perhaps adding chunks of raw LaTeX, until it did just what they >>> want. >> >> 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. > > Best regards, > Leo