Tex output problem by Dynare v4

Hi, Johannes Pfeifer,
I am playing with the mod file you provided:
https://github.com/JohannesPfeifer/DSGE_mod/blob/master/Gali_2015/Gali_2015_chapter_7.mod
I want a tex output of this mod file. But when I add tex option in stoch_simul command,
like, 'stoch_simul(order = 1,irf=15,tex) u n l w_real;'
Dynare complains:
ERROR: chap7.mod: line 240, cols 30-32: syntax error, unexpected TEX
I do not know what is going on here since tex option is legal as listed in Reference Manual.

Hi, Which version of Dynare are you using? I cannot reproduce the problem you report with the same mod file.

Best,
Stéphane.

@ahnulxy All the files in my repository require at least Dynare 4.5