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

Richard Koch koch at uoregon.edu
Mon Sep 12 22:37:12 EDT 2016


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
give you access to Apple's implementation of tabbed views.

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




More information about the MacOSX-TeX mailing list