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, groff-requ...@gnu.org wrote: > Send Groff mailing list submissions to > groff@gnu.org > > 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 > groff-requ...@gnu.org > > You can reach the person managing the list at > groff-ow...@gnu.org > > 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" <jklow...@schemamania.org> > To: groff@gnu.org > Subject: Re: [Groff] tbl footnotes and graph position > Message-ID: <20111130003138.33cd8e80.jklow...@schemamania.org> > Content-Type: text/plain; charset=US-ASCII > > On Mon, 28 Nov 2011 23:13:01 -0500 > "James K. Lowden" <jklow...@schemamania.org> 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 <w...@gnu.org> > To: jklow...@schemamania.org > Cc: groff@gnu.org > Subject: Re: [Groff] tbl footnotes and graph position > Message-ID: <20111130.075812.156041524...@gnu.org> > 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 > Groff@gnu.org > https://lists.gnu.org/mailman/listinfo/groff > > > End of Groff Digest, Vol 86, Issue 13 > *************************************