1 Oct 05:14 2011

### Re: how make cocoAspell recognize LaTeX commands?


On Sep 30, 2011, at 3:50 PM, Murray Eisenberg wrote:

> I'm using TeXShop 2.43 under OS X 10.6.8 and installed cocoAspell 2.1.
>
> As the docs say, I then:
>
> - in System Preferences, Spelling preferences panel selected "English
> (United States) as the Dictionary and checked the Filter for TeX/LaTeX; and
>
> -  in System Preferences, Language & Text, Text pane, chose what I believe
> is the corresponding dictionary for the Spelling choice: "English (United
> States} [w_accents] (Aspell) -- this is the only Aspell entry I see in that
> drop-down for Spelling.
>
> Nonetheless, in TeXShop, every LaTeX command that is not an ordinary English
> word is still getting flagged as misspelled. E.g.:
>
>  documentclass, usepackages, textbf, displaystyle, emph, frac
>
> (Only such command as \section, \begin, \end, \item formed from actual words
> are left unflagged)
>
> What's wrong and how does one fix this?

Howdy,

Take a look in the TeX/LaTeX Tab under the Filters Tab to see the list of commands that are understood.

In TeXShop under Edit->Show Spelling and Grammar make sure that the English(Aspell) dictionary is


1 Oct 05:20 2011

### Re: how enable smart quotes of LaTeX kind


On Sep 30, 2011, at 5:25 PM, Murray Eisenberg wrote:

> In TeXShop 2.43, I don't understand how to use the Edit > Substitutions dialog so that if I type, say
>
>   "hello world"
>
> it will automatically be changed to the LaTeX markup:
>
>  hello world''
>
> I don't see any choice to get the latter.
>

Howdy,

I assume you want two  at the beginning and two ' at the end. Don't use substitutions but turn on Key Bindings
(Check TeXShop->Preferences->Source->Editor->Key Bindings) and the pressing " (dumb double quote)
will produce  then any selection and the cursor and the ''.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/


1 Oct 18:29 2011

### TeXShop and Cloud Computing

I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had some
problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.

Which brings me to my questions.

1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my iMac,
these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these are
now hidden in Lion;  if I use the search function (the magnifying glass on my tool bar) I can find about 15
different files with the correct name, but can't find the pathname to any of them.  Obviously there is only
one I want to use, and that is the one which TeXShop calls up.  How do I find it?

2. Even more to the point, I want to put these files in DropBox so that again I have only one copy to modify when I
need to.  Where do I put them in Drop Box so that TeXShop will find them when I \usepackage them?  (of course,
TeXShop resides in two copies, one on my laptop and one on my iMac).
And can that be designed so that these files get used when I am using TeXShop on a file that didn't come from
Drop Box as well?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966


1 Oct 19:01 2011

### Re: TeXShop and Cloud Computing

On Oct 1, 2011, at 12:29 PM, Nitecki, Zbigniew H. wrote:

> I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had
some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.
>
> Which brings me to my questions.
>
> 1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my
iMac, these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these
are now hidden in Lion;  if I use the search function (the magnifying glass on my tool bar) I can find about 15
different files with the correct name, but can't find the pathname to any of them.  Obviously there is only
one I want to use, and that is the one which TeXShop calls up.  How do I find it?

If you open a Terminal window, and type

kpsewhich foo.sty

it will return the actual path that TeX uses to find that particular file.  So for example, on my machine

kpsewhich article.cls

returns /usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls

while

kpsewhich Statweave.sty


1 Oct 19:12 2011

### Re: TeXShop and Cloud Computing

The way I work, I have the current document in a folder in Dropbox.

This folder contains all the source files, illustrations, and a current copy of my style file:

lattice.sty.

This is the folder I archive when I am done.

1. Whichever computer I use, it has the current version of all my files.

2. Say, in 10 years time, I want to use parts of this article, so first I typeset it. Since lattice.sty
is in the archived folder, no problem.

In 10 years time, lattice.sty will evolve. But since for the old papers I always have the lattice.sty
from that time, I am OK.

I have 260 versions of lattice sty stored in my computer…

GG

On 2011-10-01, at 12:29 PM, Nitecki, Zbigniew H. wrote:

> I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had
some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.


1 Oct 19:14 2011

### Re: TeXShop and Cloud Computing

On 2011-10-01, at 6:29 PM, Nitecki, Zbigniew H. wrote:

> I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had
some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.
>
> Which brings me to my questions.
>
> 1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my
iMac, these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these
are now hidden in Lion;  if I use the search function (the magnifying glass on my tool bar) I can find about 15
different files with the correct name, but can't find the pathname to any of them.  Obviously there is only
one I want to use, and that is the one which TeXShop calls up.  How do I find it?

The files are stored in their usual place where you put them: ~/Library->texmf->...

If you want to have your Library folder back, simply open the terminal and run

chflags nohidden ~/Library/

and you will have your ~/Library folder back.

> 2. Even more to the point, I want to put these files in DropBox so that again I have only one copy to modify when
I need to.  Where do I put them in Drop Box so that TeXShop will find them when I \usepackage them?  (of course,
TeXShop resides in two copies, one on my laptop and one on my iMac).
> And can that be designed so that these files get used when I am using TeXShop on a file that didn't come from
Drop Box as well?


1 Oct 19:16 2011

### Re: TeXShop and Cloud Computing

Thanks---I will try that.  I am not that experienced in using command lines in Terminal:  is your suggestion
in response to question 2 a command to enter in Terminal, or is it a command to put in a file in the folder you
suggest (and in the latter case, what should that folder be called)?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/

On Oct 1, 2011, at 13:01, Alan Munn wrote:

On Oct 1, 2011, at 12:29 PM, Nitecki, Zbigniew H. wrote:

I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had some
problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.

Which brings me to my questions.

1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my iMac,
these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these are


1 Oct 19:29 2011

### Re: TeXShop and Cloud Computing

Minor correction, type

sudo chflags nohidden ~/Library/

--
M. Tamer Özsu
University of Waterloo

(Currently on sabbatical leave at ETH Zürich)

On 2011-10-01, at 7:14 PM, M. Tamer Özsu wrote:

> On 2011-10-01, at 6:29 PM, Nitecki, Zbigniew H. wrote:
>
>> I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had
some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The
recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex
files from the iPad while traveling, and in particular I have started using DropBox instead of
synchronization to have access from different computers to a single set of files.  This seems to work a lot
better than synchronizing.
>>
>> Which brings me to my questions.
>>
>> 1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my
iMac, these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these
are now hidden in Lion;  if I use the search function (the magnifying glass on my tool bar) I can find about 15
different files with the correct name, but can't find the pathname to any of them.  Obviously there is only
one I want to use, and that is the one which TeXShop calls up.  How do I find it?


1 Oct 19:44 2011

### Re: TeXShop and Cloud Computing

TeX will always use the .sty, .bib, etc. files that are in the same folder as the tex source file. Hence I suggest you put your corresponding files in the dropbox (sub)folder where your source files are residing.

To use the same files when your source file isn't stored in the dropbox folder but somewhere on your local computer create  symbolic links to any of these helper files in the proper subfolders of ~/Library/texmf.

Consult the man pages for the command ln to get it right.

Claus

On Oct 1, 2011, at 19:16, Nitecki, Zbigniew H. wrote:

Thanks---I will try that.  I am not that experienced in using command lines in Terminal:  is your suggestion in response to question 2 a command to enter in Terminal, or is it a command to put in a file in the folder you suggest (and in the latter case, what should that folder be called)?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/

On Oct 1, 2011, at 13:01, Alan Munn wrote:

On Oct 1, 2011, at 12:29 PM, Nitecki, Zbigniew H. wrote:

I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office.  The recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex files from the iPad while traveling, and in particular I have started using DropBox instead of synchronization to have access from different computers to a single set of files.  This seems to work a lot better than synchronizing.

Which brings me to my questions.

1.I have several .sty files with a mass of custom macros that I use in all of my work.  On my laptop and on my iMac, these reside in my user ->Library->texmf->tex (or bibtex)->latex  folder.  I understand that these are now hidden in Lion;  if I use the search function (the magnifying glass on my tool bar) I can find about 15 different files with the correct name, but can't find the pathname to any of them.  Obviously there is only one I want to use, and that is the one which TeXShop calls up.  How do I find it?

If you open a Terminal window, and type

kpsewhich foo.sty

it will return the actual path that TeX uses to find that particular file.  So for example, on my machine

kpsewhich article.cls

returns /usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls

while

kpsewhich Statweave.sty

returns

/Users/alan/Library/texmf/tex/latex/Statweave/Statweave.sty

which is in my local texmf folder.

2. Even more to the point, I want to put these files in DropBox so that again I have only one copy to modify when I need to.  Where do I put them in Drop Box so that TeXShop will find them when I \usepackage them?  (of course, TeXShop resides in two copies, one on my laptop and one on my iMac).
And can that be designed so that these files get used when I am using TeXShop on a file that didn't come from Drop Box as well?

I don't know much about Drop Box, but  I would suggest putting them a single folder inside your dropbox, and then creating a symbolic link inside the local texmf folder on each of the macs to that dropbox folder.  Then the dropbox folder will appear as if it is in the local texmf folder.

Assuming that your files are just of one type (e.g. latex packages) you would make the link inside ~/Library/texmf/tex/latex

ln -s <path-to-dropbox-dir> ~/Library/texmf/tex/latex/<local-dir-name>

Alan

--
Alan Munn
amunn-KK0ffGbhmjU@public.gmane.org<mailto:amunn-KK0ffGbhmjU@public.gmane.org>

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex


1 Oct 20:05 2011

### Re: TeXShop and Cloud Computing

On Oct 1, 2011, at 1:12 PM, George Gratzer wrote:

> The way I work, I have the current document in a folder in Dropbox.
>
> This folder contains all the source files, illustrations, and a current copy of my style file:
>
> lattice.sty.
>
> This is the folder I archive when I am done.
>
> This has the following advantages:
>
> 1. Whichever computer I use, it has the current version of all my files.
>
> 2. Say, in 10 years time, I want to use parts of this article, so first I typeset it. Since lattice.sty
> is in the archived folder, no problem.
>
> In 10 years time, lattice.sty will evolve. But since for the old papers I always have the lattice.sty
> from that time, I am OK.
>
> I have 260 versions of lattice sty stored in my computer…

I'm not sure this should be listed under "Advantages"

Just out of curiosity, how often are you likely to need to recompile an old file (rather than just use its
preexisting pdf?)

Alan

--

--
Alan Munn
amunn@...


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

`

Gmane