[OS X TeX] TeXShop search and replace for non-printing characters

Alan Bowen bowenalan03 at gmail.com
Sun Jun 28 10:26:54 EDT 2020


I want to replace some end of paragraphs with text and code in a TeXShop
source file so that the next lines after a paragraph read:
.....
\stopparagraph

\startparagraph
.......
So far I have the the regex search term  $ and the replacement text
\n\\stopparagraph
\n\\startparagraph

This works but I end up with an unwanted empty line after
\startparagraph

Moreover,\n\\startparagraph\r\n
does not seem to be CRLF but adds yet another empty line.

Is there a way to avoid this unwanted line or perhaps a better way to get
what I want?

Any tips or pointers to relevant documentation will be gratefully received.

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20200628/5bdd7c2f/attachment.htm>


More information about the MacOSX-TeX mailing list