When I collaborate with other individuals, I generally receive text to be typeset in the form of a word document. However, it seems that there are almost always characters that, when I copy and paste - for lack of a better word, "bugger up" pdflatex.
Is there a way to sanitize these special characters and replace them with their plain text cognates?
ā with ', double-spaces with space, and so on.
Note: I could very well be referring to an issue associated with encoding, but I don't understand that - and neither will my collaborators.
PS: No idea what tag is relevant here, so please do so appropriately should you have the ability to do so.
sedfor tasks like this because I don't think a LaTeX package can/should solve these problems and becausesedis made for things like this. – Marc van Dongen Mar 2 '12 at 6:10windowsisn't particularlysedfriendly). – Marc van Dongen Mar 2 '12 at 6:28sedshould work fine in cygwin. I understand the overhead involved in that though. You may want to check out the regular expressions abilities of other languages. Python works extremely well with Windows for example. – Mark S. Everitt Mar 2 '12 at 7:20