Discussion:
siunitx error
(too old to reply)
GL
2015-02-13 04:31:17 UTC
Permalink
Hello,

I've got something like this :

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "unknown-option"
!
! Unknown option 'a'.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................


Would it be possible to include the \inputlineno in the error message ?

as it is most often a useful info.

Best regards.
Joseph Wright
2015-02-13 09:25:54 UTC
Permalink
Post by GL
Hello,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "unknown-option"
!
! Unknown option 'a'.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................
Would it be possible to include the \inputlineno in the error message ?
as it is most often a useful info.
Best regards.
I'm not a particular fan of using error messages with line numbers: they
can be badly misleading but also if your document is at all 'sane' the
context should be obvious as you edit/compile.
--
Joseph Wright
Joseph Wright
2015-02-13 09:33:10 UTC
Permalink
Post by Joseph Wright
Post by GL
Hello,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "unknown-option"
!
! Unknown option 'a'.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................
Would it be possible to include the \inputlineno in the error message ?
as it is most often a useful info.
Best regards.
I'm not a particular fan of using error messages with line numbers: they
can be badly misleading but also if your document is at all 'sane' the
context should be obvious as you edit/compile.
Moreover, the issue with putting a line number in is it implies that has
a bearing on the error: it doesn't. For example, "a" is not a known
option for siunitx wherever you put it, not just on line X of your document.
--
Joseph Wright
Joseph Wright
2015-02-13 09:36:42 UTC
Permalink
Post by Joseph Wright
Post by Joseph Wright
Post by GL
Hello,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "unknown-option"
!
! Unknown option 'a'.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................
Would it be possible to include the \inputlineno in the error message ?
as it is most often a useful info.
Best regards.
I'm not a particular fan of using error messages with line numbers: they
can be badly misleading but also if your document is at all 'sane' the
context should be obvious as you edit/compile.
Moreover, the issue with putting a line number in is it implies that has
a bearing on the error: it doesn't. For example, "a" is not a known
option for siunitx wherever you put it, not just on line X of your document.
All that said, I am happy to consider requests! (I have a few other
siunitx ones to do probably tomorrow.)
--
Joseph Wright
GL
2015-02-13 12:32:39 UTC
Permalink
Post by Joseph Wright
Post by Joseph Wright
Post by GL
Hello,
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "unknown-option"
!
! Unknown option 'a'.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................
Would it be possible to include the \inputlineno in the error message ?
as it is most often a useful info.
Best regards.
I'm not a particular fan of using error messages with line numbers: they
can be badly misleading but also if your document is at all 'sane' the
context should be obvious as you edit/compile.
Moreover, the issue with putting a line number in is it implies that has
a bearing on the error: it doesn't. For example, "a" is not a known
option for siunitx wherever you put it, not just on line X of your document.
It's true than input line numbers are not always accurate (and i'm
particularly aware since tabu collects its environment body, and the
only line numbers that can be displayed are \inputline: usually the
end of the environment, and \@currenvline: the beginning).

Nevertheless, playing with tabulars, such an error is easier to find
with the inputlineno when you have more than one preamble in your
document.
This is why every compiler displays it (and LaTeX (2ε at least, i mean:
the /stable/ realease :-) ) provides \***@line...

Anyway, the correct answer was : "type: i\showthe\inputlineno<return>"
until TeX gets controlled by speech... hopefully.

Regards.

Loading...