>Date: Tue, 15 Jul 2025 09:45:57 +0200 >From: "Dr. Arne Babenhauserheide" <arne_...@web.de> >To: David Masterson <dsmaster...@icloud.com> >Cc: William Denton <will...@williamdenton.org>, emacs-orgmode@gnu.org >Subject: Re: LaTeX to Org ? (also Auctex/Lyx) >Message-ID: <87ldop522y....@web.de> >Content-Type: text/plain; charset="utf-8" > >David Masterson <dsmaster...@icloud.com> writes: > >> 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? >>> >>> 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)? > >I use Export to LaTeX, then fix up the LaTeX file (in Emacs), then add >the required changes as > >#+latex: ... >and >#+latex_header: ... > >The roundtrip time with plain pdflatex document.tex is faster than with >full export to PDF. > >Best wishes, >Arne >-- >Unpolitisch sein >heißt politisch sein, >ohne es zu merken. >draketo.de
Hi, my experience (and possibly .2 cents) 1. LaTeX2Org I needed to go that path for a couple of manuals when I started lecturing and it was generally feasible with AWK/Python. I got my .org file, fixed it and could continue on the Org path. 2. #+LATEX: Mainly for TiKZ figures (and animations): I keep them in separate files I #+latex: \include{...} 3. #+LATEX_HEADER: I've collected all my variations on RequirePackage{fancyvrb} for my listings for documents and slides in one file, which I have in my Templates directory to copy to the different documentation projects. As a plus, I also have a dir-locals.el to use with the feature and fix the appearance of my slides/lecture notes. With the time, collecting and reusing has made the round-trip time +/- equivalent to exporting to latex, fixing there and coming back. That path, however, has been extemely usefull when implementing stuff on the feature branch. best, /pa -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Sagen's Paradeiser, write BE! Year 1 of the New Koprocracy