[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Groff] RE: eqn matrix?
From: |
Ted Harding |
Subject: |
RE: [Groff] RE: eqn matrix? |
Date: |
Mon, 24 Sep 2007 00:48:11 +0100 (BST) |
On 23-Sep-07 23:15:29, andlabs wrote:
>
> It seems as if the problem comes from my original file using tabs as
> whitespace instead of spaces, as it came in the email. That is weird,
> but it works now. Thanks.
Yes, that must be it. In my file, I replaced the space in
matrix {
with a tab, and eqn did not like it! (Same message as you got).
But now, like you, I'm puzzled that it should be seen as a problem.
The ironic side is, that if you left the space out altogether:
matrix{
it would work perfectly well!
Best wishes,
Ted.
> Ted.Harding wrote:
>>
>> I got perfect results after mouse-copying your code into groff.
>> The error message you suggests that some invisible stray byte[s]
>> got into your file immediately after "matrix { " (which did
>> not come through in your mail, by the way).
>>
>> Check what is in your file with an octal or hex file editor
>> or scanner!
>>
>> Hoping this helps,
>> Ted.
>>
>> On 23-Sep-07 21:51:43, andlabs wrote:
>>>
>>> Hello. Given
>>>
>>> .EQ
>>> matrix {
>>> ccol {
>>> { { roman cot ^ x } = { cos x } over { sin x } }
>>> above { { arc roman cot ^ x } = { pi over 2 } - { arc tan x } }
>>> above { { roman coth ^ x } = { cosh x } over { sinh x } }
>>> }
>>> ccol {
>>> { { roman sec ^ x } = 1 over { cos x } }
>>> above { { arc roman sec ^ x } = arc cos x sup -1 }
>>> above { { roman sech ^ x } = 1 over { cosh x } }
>>> }
>>> ccol {
>>> { { roman csc ^ x } = 1 over { sin x } }
>>> above { { arc roman csc ^ x } = arc sin x sup -1 }
>>> above { { roman csch ^ x } = 1 over { sinh x } }
>>> }
>>> }
>>> .EN
>>>
>>> I get:
>>>
>>> eqn:pghoc:365: syntax error
>>> context is
>>> matrix { >>> <<<
>>>
>>> What does this mean? I thought eqn ignored whitespace.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/eqn-matrix--tf4506058.html#a12851019
>>> Sent from the Groff - General mailing list archive at Nabble.com.
>>
>> --------------------------------------------------------------------
>> E-Mail: (Ted Harding) <address@hidden>
>> Fax-to-email: +44 (0)870 094 0861
>> Date: 24-Sep-07 Time: 00:09:02
>> ------------------------------ XFMail ------------------------------
>>
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/eqn-matrix--tf4506058.html#a12851693
> Sent from the Groff - General mailing list archive at Nabble.com.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 24-Sep-07 Time: 00:47:57
------------------------------ XFMail ------------------------------