From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Latex export or Latex tangle? Best practice? Date: Mon, 27 Apr 2015 20:06:18 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmvrI-00072c-B5 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 23:06:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmvrB-0007hh-Np for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 23:06:52 -0400 Received: from iport-acv5-out.ucsd.edu ([132.239.0.10]:64331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmvrB-0007fS-E0 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 23:06:45 -0400 In-Reply-To: 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: Lawrence Bottorff Cc: emacs-orgmode@gnu.org On Mon, 27 Apr 2015, Lawrence Bottorff wrote: > In a previous post I was getting at the issue of whether I should just do > regular export or use latex "code blocks" for what I wanted in a final > document. What I want is the ability to create a big, rambling, annotated > org file -- with "keeper" stuff inside the latex babel blocks -- then > tangle the .org file, thereby leaving all the annotations and lead-up notes > behind. I'm sure I'm not alone in wanting "notes" to evolve into a > "finished product" and orgmode would seem to offer a good path. So, I don't > want to have to hand-edit out my so-called annotations. Is keeping the good > stuff in latex babel blocks a best practice? > > LB > I sometimes use noweb references for the purpose of having either a concise code block to tangle or a document for export that draws on code blocks elsewhere in the document. >From what I see higher in this thread, I recommend that you export a subtree that includes src blocks with noweb refs. Whatever latex boilerplate you need can be :EXPORT_*: properties. see (info "(org) Noweb reference syntax") and the paragraphs at the end of (info "(org) Export settings") HTH, Chuck