Aloha Rainer,

Rainer M Krug <rai...@krugs.de> writes:

> Hi
>
> I used the source block language 'makefile'
>
> #+begin_src R makefile
> ...
> #+end_src
>
> and now I would like top export this block to html. I am using the
> listings package for this, and it supports the syntax, but the
> language is called 'make', while org uses 'makefile'
>
> Is there a way of telling the tex exporter to export 'makefile' blocks
> as language 'make', or can I easily tell listings that the language
> 'makefile' is equal to 'make'?

You can configure the listings package with the commands
\lstnewenvironment and \lstset.  There is a worked example here:

http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-4

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to