I have french subscript file here: https://uploadfiles.io/iehon
If you download it an open it with Word, you can see that the math sections are but between $<i>$ and <\i>:
To import the file I use:
(*Importing*) importSub = Import[FILEPATH, "Text", CharacterEncoding -> "UTF8"]; (*Deleting empty list elements*) subtitle = DeleteCases[StringSplit[ToString[importSub], "\n"], ""];
In the end I want to convert the subtitles into Latex using
TeXForm[...] but therefore, I need to convert the parts between $<i>$ and $<\i>$ to Mathematica Math Input.
Does anyone know how I can do that ?