Eu tenho uma solução temporária. Eu comento a linha .tex acima (com “%”), então adiciono o seguinte no meu arquivo PrintDraftChanges.txt:
'(?<!\\ft) *:( |\n)' > '\u202f:\1' # Place non-breaking thin space before colon
No meu caso particular, eu não queria substituir o espaço após o marcador \ft (pois isso faria com que não funcionasse mais), então coloquei um pequeno look-behind negativo lá. E o dois-pontos pode realmente ocorrer no final da linha, então eu tenho que procurar por um espaço ou uma quebra de linha após o dois-pontos.
Isso funciona porque estou adicionando um pouco mais de contexto na string de pesquisa, o que evita alterar o dois-pontos no caminho do arquivo PDF.
Eu preferiria encontrar outra solução, se possível, já que eu não tenho quase o mesmo controle com \u202f que tenho com o comando \kern no arquivo .tex. Mas isso pelo menos me dá uma aproximação grosseira, para avançar na minha tipografia.
I have a temporary word-around. I comment out the .tex line above (with “%”), then add the following into my PrintDraftChanges.txt file:
'(?<!\\ft) *:( |\n)' > '\u202f:\1' # Place non-breaking thin space before colon
In my particular case, I didn’t want to replace the space after the \ft marker (as it makes it not work anymore), so I put in a little negative look-behind there. And the colon can actual occur at the end of the line, so I have to look for either a space or a newline after the colon.
This works because I’m adding a little more context into the search string, so it avoids changing the colon in the PDF file path.
I would prefer to find another solution, if possible, since I don’t have nearly as much control with \u202f as I do with the \kern command in the .tex file. But this at least gives me a rough approximation, to move forward in my typesetting.
Tradução automática de English