From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Klein" Subject: begin_src "generic source code" Date: Fri, 30 Apr 2010 20:18:40 +0200 Message-ID: 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 1O7unX-0000ns-HQ for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 14:18:47 -0400 Received: from [140.186.70.92] (port=36957 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7unW-0000ni-6o for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 14:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7unU-0005DI-JU for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 14:18:45 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:56963) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7unU-0005Cx-8m for emacs-orgmode@gnu.org; Fri, 30 Apr 2010 14:18:44 -0400 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-orgmode@gnu.org Hi all, 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. However, if I leave the programming language out of the #+begin_src and export to LaTeX or HTML, the text is rendered just like any other paragraph; it is neither a
 block in HTML nor an lstlisting in LaTeX.

Currently I'm setting the programming language to sh. This gives some
funny colors in the HTML export, however.

Is there another way to get generic source excerpts into HTML 
-blocks
and LaTeX lstlistings?

Thanks a lot
Robert