Re: [Groff] tbl footnotes and graph position

2011-12-02 Thread Tadziu Hoffmann
> I was so excited about the row height that I stopped looking > at the bottom of the page. Yeah, I didn't notice the missing footnotes either. > Let me see if I understand what's going on here. > 1. TS, tbl starts > 2. tbl sees T{ ... T} and invokes troff [snip] > 6. TE, tbl ends > 7.

Re: [Groff] tbl footnotes and graph position

2011-12-02 Thread Ralph Corderoy
Hi James, > 1. TS, tbl starts > 2. tbl sees T{ ... T} and invokes troff No. If you use groff then add its -V option to see the Unix pipeline that is used. $ groff -V -t foo tbl foo | troff -Tps | grops $ tbl reads foo and ignores all lines outside of .TS-.TE, just printing them

Re: [Groff] tbl footnotes and graph position

2011-12-01 Thread James K. Lowden
On Thu, 1 Dec 2011 16:19:17 +0100 Tadziu Hoffmann wrote: > Where are the actual footnotes? I hadn't noticed! :-/ I was so excited about the row height that I stopped looking at the bottom of the page. > You can transparently embed the footnote requests in the > table-cell diversion, so that

Re: [Groff] tbl footnotes and graph position

2011-12-01 Thread Werner LEMBERG
> 3. In your source file, add ".so s.tmac" at the beginning > (to make groff use your version of the ms macros), and > do not use "-ms" when calling groff. Alternatively, add `-M.' to command line arguments of groff. Werner

Re: [Groff] tbl footnotes and graph position

2011-12-01 Thread Tadziu Hoffmann
> So the content is only processed once, not twice, and the > strategy suggested by me will not work. > Please try the following: [snip] Instead of the above, there is also an alternative solution: You can transparently embed the footnote requests in the table-cell diversion, so that they are onl

Re: [Groff] tbl footnotes and graph position

2011-12-01 Thread Tadziu Hoffmann
> http://www.schemamania.org/tbl/eg/ > I thought you might like to see a working example this time. :-) Uh... sorry to have been misleading you all this time. Where are the actual footnotes? I had misinterpreted the symptoms, and believed that the table cell is rendered twice: once to determin

Re: [Groff] tbl footnotes and graph position

2011-11-30 Thread Werner LEMBERG
> If you were me, would you override/modify the ms FS/FE macros to > this automatically? Sounds like a good idea. > How could I make it easier for the next guy? (a) The hard way: Provide a patch for the ms package, together with documentation and a ChangeLog entry. (b) By sending solutions

Re: [Groff] tbl footnotes and graph position

2011-11-30 Thread James K. Lowden
On Wed, 30 Nov 2011 07:58:12 +0100 (CET) Werner LEMBERG wrote: > > T{ > > Annualized Return\*[*] > > .if !'\n(.z'' .ig > > .tm \n(.z > > .FS > > Compounded Annualized Return > > .FE > > Here `..' (two dots) is missing. Thank you! That's *much* better. > Minimal example, please. http://www

Re: [Groff] tbl footnotes and graph position

2011-11-29 Thread Werner LEMBERG
> 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,

Re: [Groff] tbl footnotes and graph position

2011-11-29 Thread James K. Lowden
On Mon, 28 Nov 2011 23:13:01 -0500 "James K. Lowden" 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 > > .. > >

Re: [Groff] tbl footnotes and graph position

2011-11-28 Thread James K. Lowden
On Tue, 15 Nov 2011 23:52:51 +0100 Tadziu Hoffmann wrote: Thank you for taking the time to answer my questions, Tadziu. I had to do some more reading and experimenting to understand your suggestions. > .TS > box nokeep; > c | cb cb | cb s s s s | c > c | cb cb | c c c c c | c > n |

Re: [Groff] tbl footnotes and graph position

2011-11-15 Thread Tadziu Hoffmann
> 1. Why is the last column in both tables so wide? tbl > columns can set a minimum width, but I don't see how to > encourage tbl to make one particular column narrower. Werner already answered that one, but I have a few more suggestions for improving the formatting of the tables. The followi

Re: [Groff] tbl footnotes and graph position

2011-11-13 Thread Werner LEMBERG
> After a week trying out groff, I have three questions about the > above tables. I hope someone can steer me in the right direction. > > http://www.schemamania.org/tbl/eg/t.pdf > http://www.schemamania.org/tbl/eg/t.ms Uh, oh, this isn't a smallest possible example which demonstrates the problem

[Groff] tbl footnotes and graph position

2011-11-13 Thread James K. Lowden
http://www.schemamania.org/tbl/eg/t.pdf http://www.schemamania.org/tbl/eg/t.ms After a week trying out groff, I have three questions about the above tables. I hope someone can steer me in the right direction. 1. Why is the last column in both tables so wide? tbl columns can set a minimum wid

[Groff] tbl footnotes and graph position

2011-11-13 Thread James K. Lowden
http://www.schemamania.org/tbl/eg/t.pdf http://www.schemamania.org/tbl/eg/t.ms After a week trying out groff, I have three questions about the above tables. I hope someone can steer me in the right direction. 1. Why is the last column in both tables so wide? tbl columns can set a minimum wid