Envoyé de mon iPhone
> Le 8 juil. 2014 à 14:40, Nick Dokos a écrit :
>
> Rainer M Krug 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")
>> |
Rainer M Krug 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 "sql
Rainer M Krug 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 APPEND COMPA
Nick Dokos writes:
> Rainer M Krug 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")))
>> `
Aloha Rainer,
Rainer M Krug 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 variable
Rainer M Krug 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 j
t...@tsdye.com (Thomas S. Dye) writes:
> Aloha Rainer,
>
> Rainer M Krug 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