textmate/latex.tmbundle — pull request #100 by sanssecours (2014-10-27 13:13:16+00:00)
Title: Update `texmate`

Hi,

the following pull request started with the intention to add support for `lualatex`. I thought it would take me a few days to integrate the changes. It turns out that I needed a little more time and that I also changed a little bit more than planned. Adding support for lualatex took about 30 minutes however :). So here is an overview over the included changes:

- The code is now formatted according to PEP 8. Running `pyflakes` over `texmate` and `texparser` should not display any warnings.

- `texmate` does not support OS X 10.4 any more.

- The code now uses `doctests` to document and test the functionality of the code. We also use `cram` to test the functionality of the command line utility `texmate` as a whole.

- I removed a few bugs from the code. However, I am pretty sure that I added some additional bugs in the process of cleaning and extending the code. It would be really nice if someone could test it with his own tex files and tell me about the problems that she or he encountered.

- I extended the code for the temporary `latexmk` configuration file. Translating files that use `makeglossaries` using `latexmk` should now result in PDFs that contain a glossary. Before this change `latexmk` usually did not generate the glossary.

- `texmate` now has a proper command line interface. This makes testing the code as a whole a lot easier, since we now can overwrite the values set inside the bundle preferences temporarily.

- I made minor changes to the way output is appended to the HTML output window if we use the pushbutton interface. The output is still buggy, but should in general be a little bit better than before. Maybe I will look into fixing this in the future. For that purpose however, I need to extend my knowledge about `JavaScript` and `TextMate.system`…

- `texparser` should now handle long output lines from the different tex engines a bit more reliable. We now also support additional log messages.

- The bundle now supports `lualatex` as default tex engine.

- The bundle now supports gutter marks. Only errors and warnings reported by the `LaTexParser` will generate gutter marks tough, since the other error messages usually do not include information about the line, where an error occurred.

- “Clean” now shows which file were deleted.

- `texmate` now caches information about typesetting data. This generally should improve the startup performance of “Typeset & View (PDF)” and the other commands which use `texmate`.

The changes should close issue #70: “Support for lualatex” and make pull request #99: “BugFix: Makeglossaries” unnecessary.

Kind regards,

René