Skip to content

Commit

Permalink
The generated LaTeX code that is able to output extended warning mess…
Browse files Browse the repository at this point in the history
…ages is fixed to avoid compilation error (issue #74).
  • Loading branch information
gallandarakhneorg committed Apr 8, 2014
1 parent cd49e07 commit ec2a3c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pm/AutoLaTeX/Make/Make.pm
Expand Up @@ -78,7 +78,7 @@ use AutoLaTeX::TeX::BibCitationAnalyzer;
use AutoLaTeX::TeX::TeXDependencyAnalyzer;
use AutoLaTeX::TeX::IndexAnalyzer;

our $VERSION = '24.0';
our $VERSION = '25.0';

my $EXTENDED_WARNING_CODE = <<'ENDOFTEX';
%*************************************************************
Expand Down Expand Up @@ -136,9 +136,11 @@ my $EXTENDED_WARNING_CODE = <<'ENDOFTEX';
\global\DeclareRobustCommand{\GenericWarning}[2]{%
\global\autolatex@@@lineno\inputlineno\relax%
\global\advance\autolatex@@@lineno\autolatex@@@lineno@delta\relax%
\begingroup
\def\MessageBreak{^^J#1}%
%\set@display@protect%
\set@display@protect
\immediate\write\@unused{^^J\autolatex@@@generic@warning@beginmessage\the\autolatex@@@lineno: #2\on@line.^^J\autolatex@@@generic@warning@endmessage^^J}%
\endgroup
}
\autolatex@@@update@filename
\makeatother
Expand Down

0 comments on commit ec2a3c0

Please sign in to comment.