[O] Orgmode 9.09 and export of source blocks

2017-06-29 Thread cedric simon
Hi everyone,

I work with org mode for writing all my documentation and use source code
blocks extensively.
I don't know if I found a bug or something, but I encounter a strange
behavior with SQL source blocks.
Despite the settings I apply, they are always evaluated if I have ":exports
both" set.

I opened a discussion on reddit here:
https://www.reddit.com/r/emacs/comments/6k5t1h/orgmode_909_and_export_of_source_blocks/
if you want to see some input I already received.

This could be dangerous because in my documentation file, I have some
source blocks that delete records.
Since I don't have ":exports both" on them, they are not evaluated during
export.

I made a reproducible document, it's on gist, if you have time please have
a look:
https://gist.github.com/simonced/2a4ee29ed779a563b9fb7a9d8dcc83cf

Thank you for your time, any help will be appreciated.
Ask me any other details if you need, I'll do my best to answer quickly.


Cedric Simon


[O] exporting tex macros to mathjax js file

2014-01-16 Thread cedric
Hi,

I am discovering the org-mode.

I wonder if there is a way to transpose an include file containing tex
macros to a mathjax local configuration file.

I guess it is possible to use sed to do that but is there a better way to
handle that?

Maybe I should ask to mathjax developpers?

What do you think?

Cédric