TABLE OF CONTENTS


::pwtk::latex::tabulateFigs

SYNOPSIS

proc ::pwtk::latex::tabulateFigs {latexFile figList titleList infoList textList {npage 1} {ncol -1} {composite 0}} {

PURPOSE

Tabulate figures into a LaTeX document.

ARGUMENTS

TODO

{npage 1} {ncol -1} {composite 0} arguments are not elegant, transform into options

SOURCE

    variable fid
    variable content
    
    if { ! $composite } {
        set fid [open $latexFile w]
    
        make_head
        if { [info exists content] } {
            eval $content
            unset content
        }
        make_longtable $figList $titleList $infoList $textList $npage $ncol
        make_tail

        close $fid
    } else {        
        append content [list make_longtable "$figList" "$titleList" "$infoList" "$textList" $npage $ncol]\n
    }    
}