[OS X TeX] Return

Kino quinon at rio.odn.ne.jp
Sun Jan 9 22:25:49 EST 2005


On 10 Jan 2005, at 5:32, Alain Schremmer wrote:

> 1. I tried Schultz's solution but, if it works with
> Find
> semantic\n
> and Replace by
> semantic\n\n
> it does not work with
> Find
> %end semantic\n%begin syntactic
> and Replace by
> %end semantic\n\n%begin syntactic


> It looks as if it might have to do with anyone of,
> %

has no special meaning in OgreKit.

> the space between "end" and "semantic"
> the indentations.


With Regular Expression checked in Find panel and

     Find: "(?<=%end semantic\n)(?=[ \t]*%begin syntactic)"
     Replace: "\n"

will do the job (without quotes).


You'll find the list of regex you can use in TeXShop Find Panel as

TeXShop.app/Contents/Frameworks/OgreKit.framework/Versions/A/Resources/ 
Documentation/OniGuruma/RE



Kino

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list