[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
TeXShop Forum • View topic - Automating Multi-Pass Processing with latexmk and TeXShop.

Automating Multi-Pass Processing with latexmk and TeXShop.

The official TeXShop Support Forum.

Latexmk 4.18 for TeXShop Available.

Postby Herbert Schulz » Sat Jul 24, 2010 12:57 pm

Howdy,

Latexmk had been updated to version 4.18. Only minor fixes with some interpretation of a citation-error by natbib the major one.

I've also added a lualatexmk engine for working with lualatex in MacTeX(TeX Live)-2010 when it is released.

You can pick up the update as Latexmk418TeXshop.zip at <>. It comes with installation instructions and documentation along with the original latexmk release.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby champoll » Tue Jul 27, 2010 10:31 pm

champoll
 
Posts: 8
Joined: Wed Apr 16, 2008 5:46 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Wed Jul 28, 2010 1:23 am

Howdy,

So latexmk detected a problem with the bibtex run so it exits with an error code and TeXshop won't change the display. You need to correct the error.

(By the way, this is a different error from the files I got from you although it's still a problem with bibliography.)
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby champoll » Wed Jul 28, 2010 1:56 am

Hi,

So I realize that this is not a bug report but a feature request for your (otherwise great) Texshop integration of latexmk. If I understand you correctly, whenever latexmk exists with an error code, Texshop doesn't refresh the preview window, even if the pdf file on disk has been updated. This means that in these cases the user needs to either correct the cause of the error code, or refresh manually by closing and reopening the pdf file.

The problem is that the user might not know exactly how to fix the cause of the error code, or might not care about it at the moment because other things are more pressing, like finishing the document on a deadline. Especially when the document is large, there will often be a case when errors creep up somewhere. When these errors are nonfatal (ie when they don't abort compilation), the user should be able to ignore them for the moment, without interrupting workflow. In my specific case, I've tried many times to fix the cause of the error without success -- whenever I think it's gone, it reappears. But it doesn't bother me because it doesn't change the appearance of the document. The only problem is that it prevents the preview from refreshing when I use latexmk.

So my suggestion would be to let Texshop refresh the preview window whenever the pdf file has been changed, or alternatively whenever latexmk returns, no matter its error code. Of course there shouldn't be a refresh when the pdf file is deleted rather than changed or when it's been replaced by an empty file...
champoll
 
Posts: 8
Joined: Wed Apr 16, 2008 5:46 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Wed Jul 28, 2010 12:18 pm

Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Wed Jul 28, 2010 12:55 pm

Howdy,

I just realized that there really is a legitimate solution to your problem. Don't comment out all the other include files! After doing a compile of the complete document add the line

\includeonly{newintro}

to the preamble. This will allow all the other information to be gathered (you will get a TOC and a Bibliography) but you will not compile the other documents. This is the standard way of working on part of a distributed document without re-compiling the whole document and retain cross references, etc.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby champoll » Wed Jul 28, 2010 6:34 pm

Hi,

Yes, it seems that the core of the matter is that latexmk should allow a distinction between fatal and nonfatal errors so that latexmk-for-Texshop can then pick it up.

In the meantime, I was able to avoid the nonfatal error by following your instructions. So the problem is solved for me. Thanks again!
champoll
 
Posts: 8
Joined: Wed Apr 16, 2008 5:46 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Tue Jan 04, 2011 4:45 pm

Howdy,

Latexmk 4.22d has been released. The main change, for those of you using the biblatex package and who want to use biber instead of bibtex as the backend bibliography processor, is that the latexmk now automatically detects if it should use biber. Seems to work fine on my testbed.

You can get the update as Latexmk422dTeXShop.zip at <>. Installation instructions come with the packaging.

EDIT: Latexmk 4.22d released. Minor bug fixes only for MikTeX (under Windows).
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Fri Jan 07, 2011 12:42 pm

Howdy,

Latexmk 4.22e has been published. The main update here is for those lovers of the biblatex package who need utf-8 encoding compatibility and wish to use biber 0.7.2 as the bibliography backend instead of bibtex (or bibtex8). This version of latexmk automatically detects the need to use biber 0.7.2 rather than bibtex (or bibtex8 with a custom engine) when that option is used with the biblatex package.

You can get the updated packaging for TeXShop as Latexmk422eTeXShop.zip from <>. It comes with installation instructions.

NOTE: this is an update for using biber 0.7.2, with biblatex 1.1a, since some wording in the biber log file has changed with this version. It will also works with biber 0.7.4/biblatex 1.1b and biber 0.8/biblatex 1.2a.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Automating Multi-Pass Processing with latexmk and TeXSho

Postby Herbert Schulz » Wed Mar 23, 2011 1:09 am

Howdy,

Latexmk 4.23 has been published. it contains the following changes from 4.22e:
1. Correctly parse blg files of biber 0.8.
2. Deal with problem that if maximum number of runs of (pdf)latex is exceeded, -pvc mode infinitely repeats (pdf)latex.
3. Fix problem that changes in generated files during run of (pdf)latex may not be detected if the run is shorter than the granularity of file times.
4. Corrections of comments and messages.
5. Documentation improvement.
6. Correct handling of errors given by rc files.
7. Enhancements for convenient use of latexmk with Makefiles (options -deps, -deps-out, -use-make).
8. -recorder option for improved detection of input and output files.

It is available set up for use with TeXShop as ``Latexmk423TeXshop.zip'' from <>.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

PreviousNext

Return to TeXShop (engl.)

Who is online

Users browsing this forum: Gordonclign, StevenGak and 1 guest