[TxMt] LaTeX bundle: various fixes

Charilaos Skiadas skiadas at hanover.edu
Sun Jul 15 15:19:31 UTC 2007

Hi Robin,

	very nice work with these changes thanks for doing this!

I just made the changes locally, and tried to compile one of my files  
through latexmk, and though everything went well, the output window  
contained the following text as plain text, without any formatting:

Latexmk: This is latexmk, John Collins, 26 February 2007, version:  
3.08n. **** Report bugs etc to John Collins . **** Latexmk: Missing  
input file: 'fancyvrb.cfg' from 'No file ...' line Latexmk: Input bbl  
file "./TextMateForLaTeX.bbl", so turn on bibtex_mode Latexmk: Found  
bibliography files [./TextmateAndLaTeX.bib ./pracjourn.bib]  
------------ Run number 1 of 'pdflatex -interaction=nonstopmode -file- 
line-error-style TextMateForLaTeX.tex' ------------ Latexmk: Saving  
old .aux file "./TextMateForLaTeX.aux" Latexmk: Missing input file:  
'fancyvrb.cfg' from 'No file ...' line Latexmk: Input bbl file "./ 
TextMateForLaTeX.bbl", so turn on bibtex_mode Latexmk: Found  
bibliography files [./TextmateAndLaTeX.bib ./pracjourn.bib] Latexmk:  
File "./TextMateForLaTeX.aux" has not changed, so it is valid

This is I am guessing the output from latexmk. Was it supposed to do  
it like this, or is that a bug?

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

On Jul 15, 2007, at 10:45 AM, Robin Houston wrote:

> Attached is a patch file containing the changes between the CVS
> version of the Latex bundle and my version. They are as follows:
> 1a. Improve the parsing of %!TEX lines, so that it conforms to the
> behaviour of TeXShop. Previously it was too strict about the format;
> in particular it demanded a single space following the = sign, rather
> than arbitrary whitespace. (Oddly, a single space before the = sign
> *is* required.)
> 1b. Do not ignore "file not found" errors in options.rb. (Why was  
> this done?)
> 2a. The second group of changes concerns the error handling in the
> 'Typeset & View' command. Previously, detection of errors depended on
> parsing the output of the TeX command. However, it is difficult or
> impossible to do this reliably, because of the variety of forms that
> error messages can take. The new code also looks at the exit value of
> the tex process.
> 2b. While working on the latexErrWarn.py script, I noticed that the
> code detecting the -v (verbose) option was broken. I have fixed it;
> but, to conform to existing behaviour, this option is no longer passed
> to the script.
> 3. Allow per-file setting (in a %!TEX line) to override the global
> $TM_LATEX_PROGRAM setting. For backwards compatibility reasons, an
> exception is made for latexmk. There is a new option
> $TM_LATEX_COMPILER which does over-ride everything; this should be the
> recommended way of using frameworks like latexmk in the future.
> Eventually the latexmk exception should be removed.
> Robin
> <latex-bundle.patch>
> <mime-attachment.txt>

More information about the textmate mailing list