   p             = if direction is 'width' then 'colnr' else 'rownr'
   #.........................................................................................................
   ### TAINT should implement this in intergrid ###
-  debug '33944', Object.keys IG.GRID
   for cell from IG.GRID.walk_cells_from_selector me.grid, selector
     lanenr = cell[ p ]
     continue if seen_lanenrs.has lanenr

jr                        = JSON.stringify
IG                        = require 'intergrid'
UNITS                     = require './mkts-table-units'

#-----------------------------------------------------------------------------------------------------------
tex = ( source ) -> [ 'tex', source, ]

  for designation, d of me.border_dimensions
    continue unless ( fieldborders = me.fieldborders[ designation ] )?
    if ( borderstyle = fieldborders[ 'left' ] )?
      yield texr 'ð13', "\\draw[#{borderstyle}] (#{d.left},#{d.top}) -- (#{d.left},#{d.bottom});"
    if ( borderstyle = fieldborders[ 'right' ] )?
      yield texr 'ð14', "\\draw[#{borderstyle}] (#{d.right},#{d.top}) -- (#{d.right},#{d.bottom});"
    if ( borderstyle = fieldborders[ 'top' ] )?
      yield texr 'ð15', "\\draw[#{borderstyle}] (#{d.left},#{d.top}) -- (#{d.right},#{d.top});"
    if ( borderstyle = fieldborders[ 'bottom' ] )?
      yield texr 'ð16', "\\draw[#{borderstyle}] (#{d.left},#{d.bottom}) -- (#{d.right},#{d.bottom});"
  #.........................................................................................................
  yield return

