From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Best practices for literate programming [was: Latex export of tables] Date: Tue, 16 Apr 2013 14:06:11 -1000 Message-ID: References: <20130412080600.GA18235@panahar> <20130414232953.GC11696@kuru.dyndns-at-home.com> <20130416115619.GA12405@panahar> <20130416173948.GC7402@kuru.dyndns-at-home.com> <20130416221022.GA7809@panahar> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USFtc-0004lP-8V for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 20:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USFta-0007hj-S1 for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 20:06:44 -0400 Received: from oproxy5-pub.bluehost.com ([67.222.38.55]:58171) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1USFta-0007hR-Jx for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 20:06:42 -0400 In-Reply-To: <20130416221022.GA7809@panahar> (Vikas Rawal's message of "Wed, 17 Apr 2013 03:40:22 +0530") 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Aloha Vikas, Vikas Rawal writes: >> I've been down it too many times myself. The habits I've developed >> over time have helped, but I think they are less systematic than >> what you've devised. > > Tom, do tell us more about what these habits are. The new exporter is really your friend. Where before I might choose to generate a LaTeX block, now I look to generate Org output and then count on the exporter to do the right thing on the way to pdf. The exporter's attribute system is very easy to use. The attributes you need to access are always right there. I've also come to rely on filters quite a bit. I use them for non-breaking spaces, the plus/minus symbol, and for the multiple citation commands used by biblatex (e.g., \parencites). There seems to be a move afoot to collect filters so they can be widely distributed. I'd like to see the filters go to the Library of Babel, but for reproducible research it is probably best to keep them with the source document so there is no doubt about the fidelity of filter code. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com