LaTeX forum ⇒ Feature SuggestionsBetter expl3 support for warning and error messages

Suggestions and discussions for new TeXnicCenter features
baghira
Posts: 1
Joined: Wed Feb 25, 2015 11:00 am

Better expl3 support for warning and error messages

Postby baghira » Wed Feb 25, 2015 12:33 pm

An error message in expl3 is defined, for example in the acro package, as follows:
  1. \msg_set:nnnn { acro } { undefined }
  2. %{ You've~requested~acronym~`#1'~but~it~seems~that~it~was~never~defined! }
  3. {
  4. You've~requested~acronym~`#1'~\msg_line_context: \c_space_tl but~you~
  5. apparently~haven't~defined~it,~yet!~Maybe~you've~misspelled~it?
  6. }


This creates for an error message the following output in the log file:
  1. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. !
  3. ! acro error: "undefined"
  4. !
  5. ! You've requested acronym `foo' but it seems that it was never defined!
  6. !
  7. ! See the acro documentation for further information.
  8. !
  9. ! For immediate help type H <return>.
  10. !...............................................
  11.  
  12. l.55 \ac{foo}
  13.  
  14. |'''''''''''''''''''''''''''''''''''''''''''''''
  15. | You've requested acronym `foo' on line 55 but you apparently haven't defined
  16. | it, yet! Maybe you've misspelled it?
  17. |...............................................

As a warning message it is written in the log as follows:
  1. *************************************************
  2. * acro warning: "undefined"
  3. *
  4. * You've requested acronym `foo' on line 55 but you apparently haven't defined
  5. * it, yet! Maybe you've misspelled it?
  6. *************************************************


The problem is how these messages are represented in TeXnicCenter. The error message is counted as 7 errors, one for each line in the report and one for each empty line between the text (see the attached picture). The additional text with the line is not shown.
For a warning there is only one the following line viewed: "undefined". No package name, no additional text what this should mean.

It would be really helpful when one could select the details of the shown messages and when one error would be represented just as one error. And maybe the empty lines should be removed completely because this makes it very big.
Attachments
Acro-Errormessage.JPG
Acro-Errormessage.JPG (23.51 KiB) Viewed 1585 times

User avatar
Johannes_B
Site Moderator
Posts: 3588
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Feb 25, 2015 6:01 pm

Hi and welcome,

i suggst to make a feature request at the TXC website. This might be an even better place to post. ;-)
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “Feature Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest