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
|
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
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
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)))
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
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
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