emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Robert Klein" <RoKlein@roklein.de>
To: Stephan Schmitt <drmabuse@cs.tu-berlin.de>
Subject: Re: begin_src "generic source code"
Date: Fri, 30 Apr 2010 21:44:18 +0200	[thread overview]
Message-ID: <op.vbzqf4l02luvc2@l670g.lobel> (raw)
In-Reply-To: <4BDB2E60.8070508@cs.tu-berlin.de>

On Fri, 30 Apr 2010 21:24:16 +0200, Stephan Schmitt
<drmabuse@cs.tu-berlin.de> 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 <RoKlein@roklein.de>  
>> 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.

  reply	other threads:[~2010-04-30 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-30 18:18 begin_src "generic source code" Robert Klein
2010-04-30 18:39 ` Jason McBrayer
2010-04-30 19:24   ` Stephan Schmitt
2010-04-30 19:44     ` Robert Klein [this message]
2010-04-30 19:25   ` Robert Klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vbzqf4l02luvc2@l670g.lobel \
    --to=roklein@roklein.de \
    --cc=drmabuse@cs.tu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).