Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-11 Thread Rainer M Krug
Envoyé de mon iPhone Le 8 juil. 2014 à 14:40, Nick Dokos ndo...@gmail.com a écrit : Rainer M Krug rai...@krugs.de writes: Much simpler then that: I simply changed the variable org-latex-listings-langs to include makefile: , | (setq org-latex-listings-langs |

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-10 Thread Thorsten Jolitz
Rainer M Krug rai...@krugs.de writes: Now if I just could figure out on how I can simply *add* the makefile to the list without defining it completely new.. Maybe ,[ C-h f add-to-list RET ] | add-to-list is a compiled Lisp function in `subr.el'. | | (add-to-list LIST-VAR ELEMENT optional

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-10 Thread Nick Dokos
Rainer M Krug rai...@krugs.de writes: Much simpler then that: I simply changed the variable org-latex-listings-langs to include makefile: , | (setq org-latex-listings-langs | '((emacs-lisp Lisp) | (lisp Lisp) ... | (sql SQL) | (sqlite

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-09 Thread Rainer M Krug
Nick Dokos ndo...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Much simpler then that: I simply changed the variable org-latex-listings-langs to include makefile: , | (setq org-latex-listings-langs | '((emacs-lisp Lisp) ... | (makefile make)))

[O] SOLVED: source code block language 'makefile' and listings package

2014-07-08 Thread Rainer M Krug
t...@tsdye.com (Thomas S. Dye) writes: 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

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-08 Thread Nick Dokos
Rainer M Krug rai...@krugs.de writes: Much simpler then that: I simply changed the variable org-latex-listings-langs to include makefile: , | (setq org-latex-listings-langs | '((emacs-lisp Lisp) ... | (makefile make))) ` Works perfectly. Now if I

Re: [O] SOLVED: source code block language 'makefile' and listings package

2014-07-08 Thread Thomas S. Dye
Aloha Rainer, Rainer M Krug rai...@krugs.de writes: 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 Much simpler then that: I simply changed the