[enh] allow to write a formulas.txt file
[doc] add information on formulas.txt