From: "Robert Klein" <RoKlein@roklein.de>
To: emacs-orgmode@gnu.org
Subject: begin_src "generic source code"
Date: Fri, 30 Apr 2010 20:18:40 +0200 [thread overview]
Message-ID: <op.vbzmhbu92luvc2@l670g.lobel> (raw)
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 <pre> 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 <pre>-blocks
and LaTeX lstlistings?
Thanks a lot
Robert
next reply other threads:[~2010-04-30 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-30 18:18 Robert Klein [this message]
2010-04-30 18:39 ` begin_src "generic source code" Jason McBrayer
2010-04-30 19:24 ` Stephan Schmitt
2010-04-30 19:44 ` Robert Klein
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.vbzmhbu92luvc2@l670g.lobel \
--to=roklein@roklein.de \
--cc=emacs-orgmode@gnu.org \
/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).