I am sending a test case where the second "\\f$" item is replaced with the previous "\\f["
(using 1.8.13)
(It could be some temporary filen