Hi All,<br><br>I'm working on an all new version of the Latex and View command. See my earlier message for you you can switch to this branch of the svn repository if you'd like to beta test. I'm hoping to commit a major new version today. I've attached a screenshot of the configuration window.
<br><br>Whats missing?<br>Is the wording on the options for opening the viewer clear?<br><br>Here is another big question I've been thinking about. Since all of these new configuration settings will be stored along with the standard TextMate prefereces in a preferences file, how much backward compatibility should this new version try to maintain?
<br><br>The current Latex and View command has grown organically over the life of TextMate and there are lots of environment variables that have been added over time, some that are semi-redundant even.<br><br>TM_LATEX_PROGRAM
<br>TM_LATEX_COMPILER<br>TM_LATEX_VIEWER<br>TM_LATEX_ERRLVL<br>TM_LATEX_OPTIONS<br><br>All of the above can/will be replaced with the new interface, and I think we should make a break and do away with these.<br><br>TM_LATEX_MASTER
<br>This one is more interesting. We currently have two ways to specify a master/root file. Using this variable, or using the TexShop %!TEX directive embedded directly in the file. The TexShop way seems clearly superior to me since it allows for more flexibility than a single environment variable per directory or project. So my proposal is that the environment variable goes away.
<br><br>TEX_PSTRICKS<br>Since we can automatically detect when we should use latex instead of pdflatex this is redundant and should go away.<br><br>As I mentioned above, TexShop allows authors to embed directives right in their source file that specify a master file, there are others as well. I propose that we use that same set of directives and allow the following in-file settings to take precedence over the preferences set in the preference dialog box:
<br><br>TS-options -- command line options passed to the latex engine<br>TS-program -- the typesetting engine to use just for this file<br>encoding -- how the file is encoded, I don't really know what to do with this one. Anybody?
<br><br>I've looked at the TexShop documentation and I think this is it, are there other %!TEX directives I'm missing?<br><br>Thanks,<br><br>Brad<br>-- <br>Brad Miller<br>Assistant Professor, Computer Science<br>Luther College