View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000401 | luatex | feature request | public | 2010-05-20 18:00 | 2010-07-28 15:34 |
Reporter | Taco | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.70.0 | Fixed in Version | 0.61.0 | ||
Summary | 0000401: Lua interface to \errmessage | ||||
Description | From Manuel Pégourié-Gonnard: Unless I'm mistaken, there is currently no Lua interface to TeX's primitive \errmessage (and \errhelp). Of course, there is Lua's error(), but it doesn't exactly allow to generate nice-looking messages :-) Did I miss something? Is there anything like this planned? (A function like tex.errmessage(<string> message, [<string> long_help]) would be great, for example.) Thanks, Manuel. | ||||
Tags | No tags attached. | ||||
|
it's probably mentioned somewhere in a status report, but error messages will be dealt with once we're close to 1.0 as at that moment the code is ready for it; much code needs to be unwoven |
|
It think I read something like that somewhere, though I can't find the reference. I was thinking that maybe an interface to \errmessage wouldn't be too hard to implement (I may be completely mistaken here) and would fill the gap while waiting for a more complete error system overhaul. Of course it was only a suggestion and I don't mind waiting. |
|
Actually, this request is quite easy to implement in a clean way, so that is what I'll do |
|
in the meantime you can do a tex.print("\\errmessage{.....}") |
|
A tex.print("\\errmessage{.....}") doesn't work if you're in the middle of an \edef or similar situation. I'm glad to know this request is easy to implement, thanks for looking into it, Taco. |
|
commit 3758: tex.error(<string> s) tex.error(<string> s, <table> help) This creates an error somewhat like the combination of \tex{errhelp} and \type{errmessage} would. During this error, deletions are disabled. The array part of the \type{help} table has to contain strings, one for each line of error help. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-20 18:00 | Taco | New Issue | |
2010-05-20 18:00 | Taco | Status | new => assigned |
2010-05-20 18:00 | Taco | Assigned To | => Taco |
2010-05-20 18:14 | Hans Hagen | Note Added: 0000540 | |
2010-05-20 18:23 | mpg | Note Added: 0000541 | |
2010-07-28 11:09 | Taco | Note Added: 0000568 | |
2010-07-28 11:18 | Hans Hagen | Note Added: 0000569 | |
2010-07-28 11:25 | mpg | Note Added: 0000570 | |
2010-07-28 11:29 | Taco | Note Added: 0000571 | |
2010-07-28 11:29 | Taco | Status | assigned => resolved |
2010-07-28 11:29 | Taco | Resolution | open => fixed |
2010-07-28 15:33 | Taco | Fixed in Version | => 0.61.0 |
2010-07-28 15:34 | Taco | Status | resolved => closed |