emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] two sets of default header arguments for one language


From: Rainer M Krug
Subject: Re: [O] two sets of default header arguments for one language
Date: Thu, 10 Sep 2015 23:16:26 +0200


Envoyé de mon iPhone

> Le 10 sept. 2015 à 15:54, Alan Schmitt <address@hidden> a écrit :
> 
> Hello,
> 
> I’m writing some lab exercises where I have a fairly long list of header
> arguments for each source block. I know I can use language-specific
> default arguments, but I need to switch between questions (short list):
> 
> #+begin_src ocaml :tangle tp1.ml
> 
> and answers
> 
> #+begin_src ocaml :exports results :results verbatim drawer :post 
> wrap-myres(text=*this*) :tangle tp1_ans.ml
> 
> Is there a way to have two sets of default arguments for a given
> language, or can I declare a new language just for the sake of different
> arguments?
> 

Do macros work for properties ? If yes, you could degine two macro, one for 
each set of properties. 

Rainer 

> Thanks,
> 
> Alan
> 
> -- 
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Last week athmospheric CO₂ average (Updated September 6, 2015, Mauna Loa 
> Obs.):
> 377.86 ppm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]