[OS X TeX] TeXShop search and replace for non-printing characters
Alan Bowen
bowenalan03 at gmail.com
Sun Jun 28 16:26:54 CEST 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://tug.org/pipermail/macostex-archives/attachments/20200628/5bdd7c2f/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.