# [OS X TeX] Is there a way to let TeXShop remember the position of EACH file on close of THAT file?

Alain Schremmer schremmer.alain at gmail.com
Wed Sep 14 15:33:34 CEST 2016

```On , at 2016 Sep 12,11:47 PM, George Gratzer wrote:

> In my old LaTeX books, I wrote a lot about how to organize a book, a main file,
> a file for each chapter, \includeonly-s in the main file to speed up typesetting
> (in the beta version of Textures, a page took over 2 minutes to typeset).

1. As I have posted a couple of times, I never liked  \includeonly and developed a Mac file structure that I find much more convenient.
>
> Today my books of 500-600 pages are in single files. A 600 page book
> takes about 5-10 seconds to typeset with lots and lots of illustrations.
>
> Fusion technology shrinks the initial 10 sec typesetting down to 5 secs
> by moving the illustration to the optical drive.

2. To use Dick''s phrase, my "application is so VERY specialized" in that I am dealing with "ancillaries" that are VERY hard to put in a single file.

> If we ask Dick for new features, we should think twice.
> He wants off until next year sometimes. Then we can ask him to do something useful
> for the thousands of us.
>
> Happy Holidays, Dick.

3. As I just responded to Dick, I regret having appeared to "ask [him] for a new feature".

Regards,
--schremmer

>
> George
>
>
>
>
>> On Sep 12, 2016, at 10:37 PM, Richard Koch <koch at uoregon.edu> wrote:
>>
>> Alain,
>>
>> Adding your proposed feature to TeXShop strikes me as a very difficult piece of work --- with almost no reward, since the application you suggest is so VERY specialized.
>>
>> It would be much better to adapt some existing technology to the problem. You are running a very old operating system, 10.6.8, using a version of TeXShop that is no longer supported. But let us suppose, just for the sake of argument, that you'd be willing to run TeXShop 3.73 on Apple's new Sierra. This would
>>
>> Then one way to proceed would be to think of each of your folders as a window of tabbed views, where the tabs correspond to files in the folder. You wouldn't have to worry about the corresponding pdf files, because if you activate tab #7 and then type command-2, the corresponding pdf Preview for the file in tab #7 will come up.
>>
>> Sorting into new piles would then be easy, because Apple allows you to drag tabs from one window to another window. So think of sorting as just
>> sorting the tabs. That would even be very visual, since when you move a tab, the whole source also moves to a new window.
>>
>> The trouble with this suggestion is that Apple hasn't provided easy ways to load and save tab sets.
>>
>> But now you have a request which would be much more likely to interest the author of TeXShop. Namely
>>
>> 	a) Given a tabbed window, save a "list of tabs," i.e., a small file listing the full paths to each tabbed source file.
>>
>> 	b) Given such a "list of tabs", write a routine which opens a new window in TeXShop and creates a tabbed view for each full path in the "list of tabs."
>>
>> This would require coding work, either in TeXShop, or by Apple if they later enhance their tabs code. But now I can think of lots of uses for the added feature, so you might induce someone to actually add that feature.
>>
>> Dick Koch
>>
>>
>>
>>
>>
>>> On Sep 12, 2016, at 2:13 PM, Alain Schremmer <schremmer.alain at gmail.com> wrote:
>>>
>>>
>>> TeXShop can remember the last position of a source/preview file on close and then ALL source/preview files open in that position.
>>>
>>> But, occasionally, specifically when dealing with ancillaries, I need, say, to compare the contents of a dozen files in one folder with a dozen newer files in another folder but NOT one-to-one. In other words, some stuff that is in old #3 needs to go to new #1 but other stuff in old #3 needs to go into new #5. Etc. In addition, to know where the stuff should go, I need to have other files open, e.g. preview files. So, I spend an inordinate amount of time placing these files so as not to confuse them (too much.) And then, when I close them to gain space, all is lost.
>>>
>>> Would any one have any thought whether one could let TeXShop remember the position of EACH file on close of THAT file? Then, I would not need to keep that many files open and, upon re-opening, they would be placed where I placed them (e.g. left screen/right screen) and I would know what it is.
>>>
>>> Hopeful regards
>>> --schremmer
>>>
>>> Running TeXShop 2.47 with TeXLive 2013 under OS X 10.6.8
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: https://www.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
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: https://www.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
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.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

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.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
```