From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: An Org-mode LaTeX class? Date: Tue, 28 Oct 2014 10:15:21 +0100 Message-ID: <87d29cftcm.fsf@gmail.com> References: <87y4s1t1nw.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj2sS-0006ET-IJ for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 05:15:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xj2sM-0006fb-Gq for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 05:15:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:48433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj2sM-0006fX-6b for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 05:15:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xj2sK-00071O-LT for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 10:15:36 +0100 Received: from e178060153.adsl.alicedsl.de ([85.178.60.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 10:15:36 +0100 Received: from tjolitz by e178060153.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 10:15:36 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Marcin Borkowski writes: > Imagine someone wrote a dedicated Org-mode LaTeX class, and the LaTeX > exporter got an option to export to this class. The class modifies > LaTeX so that it supports all Org's elements and objects, and things > like tags, timestamps, checkboxes etc. Moreover, the look of these > elements is configurable on the LaTeX end, and further by means of Org > options. This way, we drop the "generic LaTeX" thing (which is nice for > people sending articles to journals etc. – so my dream should not > replace the current LaTeX exporter, only constitute a variant!), but > instead we gain a beautiful, configurable pdf rendering of Org buffers. > > What do you think? Make sure to have a look at expl3 (and others like e.g. xparse and xstring) package, i.e. upcoming LaTeX 3, before writing this class, because as a programming language the new version seems highly superior, and will most likely result in much cleaner and more readable code. Its well documented, search for 'The LaTeX 3 Interface' and 'The expl3 Package and LaTeX 3 Programming'. -- cheers, Thorsten