[OS X TeX] Problems with TexShop macros

Herbert Schulz herbs at wideopenwest.com
Tue Apr 19 12:02:26 EDT 2022



> On Apr 19, 2022, at 10:22 AM, M. Tamer Özsu via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> I am on TexShop 4.70 on Monterrey 12.3.1 and when I select “Insert Begin/End” macro, it beeps and nothing happens.
> 
> When I select “Close Begin/End” I get an AppleScript error: A “to” cannot go after this “to”
> 
> Any guidance would be welcome.
> 
> ==Tamer
> --
> M. Tamer Özsu
> University of Waterloo
> 

Howdy,

I get the same thing with the `Begin/End' macro. I don't have a `Close Begin/End' macro but I've played with the macro menu so may have renamed or removed it. Instead you can use the Source->Close Current Environment menu item or learn more about Command Completion (see Help->TeXShop Tips and Tricks for a bit more information). 

E.g. if I want an itemized environment I just out `bite' or `\bite' at the start of a line and press Esc to produce

\begin{itemize}
\item
•
\end{itemize}•

with the first `bullet' selected. Typing deletes that first bullet and inserts your text. To add another item just place `it' or `\it' at the start of a new line and press Esc to produce

\item
•

with the `bullet' selected, etc. To jump out of the environment simply use the Source->Command Completion->Marks->Next Mark (or simpler, Ctl-Cmd-F) which selects that final (the next) `bullet' so typing a Return removes it and goes to the next line. PS: after the initial `bit' and Esc to get the basic itemize environment pressing Esc again gives you the version with an optional argument with that argument selected for entry and Cmd-Ctl-F then goes to and selects the `bullet' for the first item text, etc.

Good Luck,

Herb Schulz
herbs at wideopenwest.com




More information about the MacOSX-TeX mailing list