

Sims' changes led to significant improvements in the underlying TeXShop code, and these improvements are explained at the end of this section for interested readers. There is a new tool in the Source and Combined Windows toolbars called "Labels".It behaves like theĮxisting Tags tool except that it lists all labels in the source code. Selecting an item in the resulting pull down menu takes the user to the definition of that particular label. The Tags menu now also tags lines beginning with the following commands, for users of Beamer and Powerdot.When a TeXShop engine job runs, it will find that TeXShop has set a new environmental variable for it called TS_CHAR.This variable holds the current selection location in the source file. Some engine authors may find this useful. Michael Beeson sent a crash report for TeXShop when using the "search" method of synchronization, a very old method mostly superseded by Lauren's SyncTeX.The most controversial Sims' addition, and the most useful for some, concerns to spell checking in TeXShop.When spell checking is on, many LaTeX commands are marked as misspelled.
COCOASPELL TEXSHOP INSTALL
One common solution is to install a LaTeX-aware spell checker like cocoAspell. Thanks to Sims, TeXShop can now handle this problem - for some users - while using the standard Apple spell checker and standard Apple dictionaries.Īpple provides three ways to spell check text in Cocoa, and TeXShop inherits these three methods. The methods are activated for the current file in TeXShop's Edit menu, and default values can be set in TeXShop Preferences. The first of these items is titled "Check Spelling", and has a keyboard shortcut "command + semicolon". When this combination is pressed, the first misspelled word is highlighted.

This spell check command is thus a glorified search in which only misspelled words are found.Ī second way to spell check is to activate the menu item "Correct Spelling Automatically." This converts your computer into a giant iPhone, constantly standing behind you and changing what you type into what it thinks you ought to have typed.Įach additional press causes TeXShop to jump to the next misspelled word and highlight it.
COCOASPELL TEXSHOP HOW TO
This feature can be turned off in system preferences, but users had a hard time discovering how to do it. So I added this item to TeXShop, not because I wanted users to use it, but because I wanted users to easily turn it off ! #TEXSHOP VERSION CHECK ON MAC HOW TO# The final way to spell check is to use the menu item "Check Spelling While Typing." This item underlines misspelled words as they are typed, and the user can then go back and correct these words.
COCOASPELL TEXSHOP CODE
The new spelling code works well with this style of spell checking. The new code doesn't work with the other methods, but it does no harm there. The first spell checking item turns off spell checking for all TeX command words: Leave them off if you use cocoAspell or any spell checking method except "Check Spelling While Typing." In TeXShop Preferences, there is a new box of selections labeled "Spell Checking".

\documentclass, \usepackage, \begin, \alpha and the like. Some users may write little essays as source comments and prefer to leave spell checking on for them The second is explained in the next paragraph and the third turns off spell checking inside comments. Many TeX commands have optional parameters and mandatory parameters.
