Re: [O] Seeking advice for conditional code

2013-02-01 Thread Eric S Fraga
Sebastien Vauban writes: > One important aspect here, is that, with LP, you can present your program in > an order which makes sense for the "story". It can be tangled in a totally > different order. Well said. This is a subtle point but a very important one! Combined with the possibility of t

Re: [O] Seeking advice for conditional code

2013-02-01 Thread Sebastien Vauban
Hi François, François Pinard wrote: > "Sebastien Vauban" > >> For curiosity, why aren't you considering tangling? > > Quick half of a reply, I'll revise the rest of your message later. > > That would be far too much of a change for the habits of the team, or at > least, this is how I perceive the

Re: [O] Seeking advice for conditional code

2013-01-31 Thread François Pinard
"Sebastien Vauban" > For curiosity, why aren't you considering tangling? Quick half of a reply, I'll revise the rest of your message later. That would be far too much of a change for the habits of the team, or at least, this is how I perceive the equilibrium between developers. Moreover, some of

Re: [O] Seeking advice for conditional code

2013-01-31 Thread Sebastien Vauban
Hi François, François Pinard wrote: > "Sebastien Vauban" writes: >> Please tell if that's more or less the direction you want to take... > > Direction already taken, and completed a few minutes ago! :-). But I'll > happily revert to something else it if there is a better way to proceed. > The add

Re: [O] Seeking advice for conditional code

2013-01-31 Thread François Pinard
"Sebastien Vauban" writes: > Hi François, Hi, Sebastien! :-) > Please tell if that's more or less the direction you want to take... Direction already taken, and completed a few minutes ago! :-). But I'll happily revert to something else it if there is a better way to proceed. The addition of

Re: [O] Seeking advice for conditional code

2013-01-31 Thread John Kitchin
I think I have done something like this with tags and custom export lisp code. Something like: (let ((org-export-exclude-tags '("supplementary" "noexport"))) (org-export-as-latex 5)) That allows me to export all sections not tagged by those values. This would require all your code blocks be

Re: [O] Seeking advice for conditional code

2013-01-31 Thread Sebastien Vauban
Hi François, François Pinard wrote: > Would someone be kind enough to point me in the right direction, if > there is one already? My need is to have conditional code at > publication time, and being able to include or exclude regions of code > according to some symbol being "active" or "defined",