Can I get a hand here?
Figuring out XPress tag importing.
Been using the excellent RTF-to-XPress tag applescripts, from www.puntspatie.nl
I would like to, after getting the RTF converted to plain text, switch fake bolds to a true bold font (in this case AGaramond Semibold).
In the Tex-Edit script, I want to change this code (which will give me fake bolds):
replace looking for "^*" looking for styles {style:{bold}, off styles:{italic, underline}} replacing with "<B>^*<B>"
to this:
replace looking for "^*" looking for styles {style:{bold}, off styles:{italic, underline}} replacing with "<f AGaramond Bold>^*<f$>"
but that code seems to cause "corruption" in the Xpress tagged file.
Can anyone see how to do this/where I went wrong?