dgutov / mmm-mode

New official home for mmm-mode, fixed for Emacs >= 23
http://mmm-mode.sourceforge.net/
GNU General Public License v2.0
333 stars 31 forks source link

Integrate orgmode, auctex, reftex, and preview latex with mmm-mode. #120

Open hongyi-zhao opened 3 years ago

hongyi-zhao commented 3 years ago

Orgmode is powerful and great, but if I want to write latex from within it, I also want to utilize the capabilities supplied by, e.g., auctex, reftex, preview latex and so on.

I'm not sure whether mmm-mode is for this purpose. See here for more discussions on this question. Any hints/notes/comments for the co-operation and combination of these tools will be highly appreciated.

Regards

dgutov commented 3 years ago

Um, I don't really know Org. There is a package called org-babel, which people often use for code snippets. Does it help?

Regarding Latex, you can search for latex in this repository. The results tell us that we have presets for cweb and noweb, which are both Latex-adjacent technologies. I don't know how relevant either of them is these days, though.

yugaego commented 3 years ago

Hi @hongyi-zhao , I'm curious what was your conclusion? Might be you had a chance to try mmm-mode (or org-mode's Babel) in action for the declared goals and would be able to provide a feedback for future possible interested parties? Might be AUCTeX nailed it all eventually?

[I recalled your question today on stumbling upon an org-mode oriented article with a somewhat related Why don’t you just use LaTeX? section in it.]

hongyi-zhao commented 3 years ago

Dear @dgutov @yugaego This issue was filed 8 months ago. Since then, I've tried and thought a lot, but to be frank, I still haven't tried the mmm-mode (or org-mode's Babel) relevant methods. Based on my currently use experience and understanding, I think the following two methods should be the feasible ones, especially for those engaged in academic research:

  1. As you have said, AUCTeX centered workflow. This is exactly the kind of environment I’m using right now. For my case, it's configured based on vanilla Emacs, as shown in the screenshot below:

image

  1. Org-mode centered workflow, which can be quickly started with scimax. Also see this wonderful webinar: All Things Org Mode: PIM, Scientific Writing, Presentation, Programming.

Regards, HY

yugaego commented 3 years ago

Thank you for sharing! 👍🏻