Skip to content

Commit

Permalink
Make details bold
Browse files Browse the repository at this point in the history
  • Loading branch information
kpj committed Jul 31, 2015
1 parent 85a5071 commit 939cb99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/LaTeXML/Common/Error.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ sub colorizeString {
my $out = colored($string, $alias);
return $out; }

coloralias('details', 'bold');
coloralias('success', 'green');
coloralias('info', 'blue');
coloralias('warning', 'yellow');
Expand Down
8 changes: 4 additions & 4 deletions lib/LaTeXML/Core/State.pm
Original file line number Diff line number Diff line change
Expand Up @@ -576,12 +576,12 @@ sub getStatusMessage {

if $$status{fatal};
my @undef = ($$status{undefined} ? keys %{ $$status{undefined} } : ());
push(@report, scalar(@undef) . " undefined macro" . (@undef > 1 ? 's' : '')
. "[" . join(', ', @undef) . "]")
push(@report, colorizeString(scalar(@undef) . " undefined macro" . (@undef > 1 ? 's' : '')
. "[" . join(', ', @undef) . "]", 'details'))
if @undef;
my @miss = ($$status{missing} ? keys %{ $$status{missing} } : ());
push(@report, scalar(@miss) . " missing file" . (@miss > 1 ? 's' : '')
. "[" . join(', ', @miss) . "]")
push(@report, colorizeString(scalar(@miss) . " missing file" . (@miss > 1 ? 's' : '')
. "[" . join(', ', @miss) . "]", 'details'))
if @miss;
return join('; ', @report) || colorizeString('No obvious problems', 'success'); }

Expand Down

0 comments on commit 939cb99

Please sign in to comment.