[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Groff Digest, Vol 86, Issue 13
From: |
Kevin Jolly |
Subject: |
Re: [Groff] Groff Digest, Vol 86, Issue 13 |
Date: |
Wed, 30 Nov 2011 11:19:53 -0600 |
Paul --
Just an FYI - I've added the checkbox for "Not Applicable" to the checklist
form - but it will be non-functional until I get some programming and data work
done on the back end - I'll update you when it's functional.
Kevin
On Nov 30, 2011, at 11:01 AM, address@hidden wrote:
> Send Groff mailing list submissions to
> address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnu.org/mailman/listinfo/groff
> or, via email, send a message with subject or body 'help' to
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Groff digest..."
>
>
> Today's Topics:
>
> 1. Re: tbl footnotes and graph position (James K. Lowden)
> 2. Re: tbl footnotes and graph position (Werner LEMBERG)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Nov 2011 00:31:38 -0500
> From: "James K. Lowden" <address@hidden>
> To: address@hidden
> Subject: Re: [Groff] tbl footnotes and graph position
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=US-ASCII
>
> On Mon, 28 Nov 2011 23:13:01 -0500
> "James K. Lowden" <address@hidden> wrote:
>
>>> A quick fix for this would be to simply ignore the footnotes
>>> when not in the top-level diversion, like so:
>>>
>>> T{
>>> Annualized Return*
>>> .if !'\n(.z'' .ig
>>> .FS
>>> * (footnote text)
>>> .FE
>>> ..
>>> T}
>
> After spending time with the .if statement, I now understand my "fix"
> to your correct syntax changed the meaning. May I try again?
>
> My footnoted table row now looks like this, just as you indicated:
>
> T{
> Annualized Return\*[*]
> .if !'\n(.z'' .ig
> .tm \n(.z
> .FS
> Compounded Annualized Return
> .FE
> T} abc
>
> but whenever the conditional expression is true, I get errors:
>
> $ make
> groff -ms -t -G -p -T dvi -P-l t.ms > t.dvi
> <standard input>:9: zero field width
> <standard input>:9: warning: can't find character with input code 3
> <standard input>:9: zero field width
> <standard input>:19: zero field width
> <standard input>:19: zero field width
> <standard input>:26: zero field width
> <standard input>:26: zero field width
> :0: macro error: diversion open while ejecting page (recovering)
>
> I get the same errors with
>
> .if o .ig
> and
> .if !e .ig
>
> and with
>
> .if !'\n(.z'' foo
>
> "foo" appears in the output.
>
> The condition is evaluating correctly, but .ig appears to make
> the ms .FS macro unhappy.
>
> Is there an option in groff similar to the C preprocessor to apply the
> macros and output the resulting troff? If we could see the interaction
> of the .ig with .FS, perhaps the "zero field width" message would be
> more meaningful.
>
> --jkl
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 30 Nov 2011 07:58:12 +0100 (CET)
> From: Werner LEMBERG <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Groff] tbl footnotes and graph position
> Message-ID: <address@hidden>
> Content-Type: Text/Plain; charset=us-ascii
>
>
>> T{
>> Annualized Return\*[*]
>> .if !'\n(.z'' .ig
>> .tm \n(.z
>> .FS
>> Compounded Annualized Return
>> .FE
>
> Here `..' (two dots) is missing.
>
>> T} abc
>>
>> but whenever the conditional expression is true, I get errors: [...]
>
> Do you get the same errors with `..' inserted also?
>
> Minimal example, please.
>
>> Is there an option in groff similar to the C preprocessor to apply the
>> macros and output the resulting troff?
>
> No. However, you can try `-mtrace', see the groff_trace man page.
>
>
> Werner
>
>
>
> ------------------------------
>
> _______________________________________________
> Groff mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/groff
>
>
> End of Groff Digest, Vol 86, Issue 13
> *************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Groff] Groff Digest, Vol 86, Issue 13,
Kevin Jolly <=