From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: latex <-> org ? Date: Thu, 4 Dec 2008 11:51:44 -0500 Message-ID: <20081204165144.GA8550@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8HQf-0000mD-4v for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:51:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8HQd-0000lK-Gt for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:51:52 -0500 Received: from [199.232.76.173] (port=58000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8HQd-0000lB-8O for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:51:51 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:34891) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8HQc-0001SX-O4 for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:51:50 -0500 Received: from blackcap.stats.ox.ac.uk (blackcap.stats [163.1.210.5]) by markov.stats.ox.ac.uk (8.13.6/8.13.6) with ESMTP id mB4Gpk3b024641 for ; Thu, 4 Dec 2008 16:51:46 GMT Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs org-mode mailing list Has anyone worked on reversible transformation between org and latex? I'm collaborating on a latex document with some non-org users. Basically what I'd like to do is transform a latex document into an org document, fold/unfold sections and edit the document under org-mode, and then reconvert to latex. The end result would be as if the transformation to org had never happened. At its simplest those functions would convert between '\section' <-> '* section', '\subsection' <-> '** subsection' etc, but obviously there's a lot more that could be done such as all the conversions that org-export-to-latex does; I imagine that function couldn't be used directly, but ideally the inverse of the latex->org function would share conversion code with org-export-to-latex. Does this idea make sense, and has anyone already worked on this? Dan -- http://www.stats.ox.ac.uk/~davison