From: Stroller <lin...@my...> - 2006-11-06 07:17:45
|
On 20 Oct 2006, at 17:58, Angus Jordan wrote: >> From what I can read of the pagebreak code in the Form.pm package, >> it is >> this code that is causing this white space. > > It looks like it counts the amount of line items in an invoice, and > then > makes breaks based on them. It does not include the %notes% > variable in > it's calculation. Further to my previous posting to the list on this thread: is it actually necessary for SL to count the number of line items in an invoice? It's kinda late here, so please just throw caffeine at me if I'm waaaaay off base with this, but it seems to me that SL does this because the "\begin{tabularx} ... <%foreach number%> ... <%end number %> \end{tabularx}" table (ie the list of items being invoiced) might span multiple pages. The impression I get is that LaTeX can handle this natively using the longtable package. I think that if the main invoicable items table is ported to longtable then <%itemnotes%> could be properly printed by SL. The itemnotes could be as long as the user wishes and there is no need to count them. More details will surely be in longtable.dvi, which I find to be installed on my system; I'll have a look at this & try using it tomorrow. Any thoughts? Stroller. |