backport r37909:

Author: spitz
Date: Sun Mar 13 12:57:01 2011
New Revision: 37909
URL: http://www.lyx.org/trac/changeset/37909

Log:
* LaTeX.cpp: fix another variant of bug #7344 (delete aux files and rerun LaTeX if hyperref has been toggled)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37981 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-03-21 09:18:25 +00:00
parent adbe546d65
commit 57a34827df
2 changed files with 8 additions and 0 deletions

View File

@ -758,6 +758,12 @@ int LaTeX::scanLogFile(TeXErrors & terr)
++num_errors;
}
}
if (prefixIs(token, "! Paragraph ended before \\Hy@setref@link was complete.")){
// bug 7344. We must rerun LaTeX if hyperref has been toggled.
retval |= ERROR_RERUN;
LYXERR(Debug::LATEX, "Force rerun.");
}
} else {
// information messages, TeX warnings and other
// warnings we have not caught earlier.

View File

@ -56,6 +56,8 @@ What's new
- When exporting, alert about uncodable characters in child docs (bug 7326).
- Prevent LaTeX error when toggling hyperref (bug 7344).
* USER INTERFACE