From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Klein" Subject: Re: begin_src "generic source code" Date: Fri, 30 Apr 2010 21:44:18 +0200 Message-ID: References: <4BDB2E60.8070508@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7wBB-0003ok-Ig for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 15:47:17 -0400 Received: from [140.186.70.92] (port=50763 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7wBA-0003o5-6p for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 15:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7wB8-0002gU-I6 for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 15:47:16 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:64679) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7wB8-0002gD-7A for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 15:47:14 -0400 In-Reply-To: <4BDB2E60.8070508@cs.tu-berlin.de> Resent-To: roklein@roklein.de Resent-Message-ID: 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: Stephan Schmitt On Fri, 30 Apr 2010 21:24:16 +0200, Stephan Schmitt wrote: > Maybe one of these fits your needs: > > #+begin_example > #+begin_quote > > hth, > Stephan Thanks, #+begin_example works and even uses lstlistings in LaTeX. (I remember different from a couple of weeks ago. Probably something in my .emacs.) Using both "#+begin_src conf" for real configuration files and "#+begin_example" e.g. for a pxelinux message file will do the job as I want. Thank you very much Robert > Also sprach Jason McBrayer: >> On Fri, Apr 30, 2010 at 2:18 PM, Robert Klein >> wrote: >>> is there a way to include generic source code in an org document? >>> >>> I'm trying to put excerpts from configuration files into an org >>> document. >> Have you tried #+begin_src conf ? >> Conf-mode seems to reasonably support quite a few configuration file >> modes, and I suppose it ought to handle your highlighting (etc) needs >> in org-mode fairly well.