Lines Matching refs:TheTab
213 static TableInfo TheTab; variable
392 if (ac > 1 && !strcmp(av[1], "clear")) ClearTable(&TheTab); in CALStable()
537 FreeTabAtts(&TheTab); /* free storage, if allocated earlier */ in CheckTable()
538 SetTabAtts(e, &TheTab, 1); /* look at attributes */ in CheckTable()
542 if (!TheTab.ncols) { in CheckTable()
545 tpref, TheTab.nc); in CheckTable()
549 if (!TheTab.align) { in CheckTable()
561 if (ep2->econt[c]->necont != TheTab.nc) { in CheckTable()
564 tpref, TheTab.nc, ep2->econt[c]->necont, c); in CheckTable()
572 if (TheTab.align) { in CheckTable()
573 if (TheTab.nc != TheTab.n_align) { /* number of tokens OK? */ in CheckTable()
575 fprintf(stderr, ncolchk, "ALIGN", TheTab.align, TheTab.nc); in CheckTable()
578 for (i=0; i<TheTab.nc; i++) { in CheckTable()
579 if (*TheTab.align_v[i] != 'C' && *TheTab.align_v[i] != 'L' && in CheckTable()
580 *TheTab.align_v[i] != 'R') { in CheckTable()
583 tpref, i, TheTab.align_v[i]); in CheckTable()
590 if (TheTab.colwidth) { in CheckTable()
591 if (TheTab.nc != TheTab.n_colwidth) { /* number of tokens OK? */ in CheckTable()
593 fprintf(stderr, ncolchk, "COLWIDTH", TheTab.colwidth, TheTab.nc); in CheckTable()
596 for (i=0; i<TheTab.nc; i++) { in CheckTable()
606 if (TheTab.colsep) { in CheckTable()
607 if (TheTab.nc != TheTab.n_colsep) { /* number of tokens OK? */ in CheckTable()
609 fprintf(stderr, ncolchk, "COLSEP", TheTab.colsep, TheTab.nc); in CheckTable()
612 for (i=0; i<TheTab.nc; i++) { in CheckTable()
650 n = TheTab.nc; in check_for_spans()
669 spaninfo[TheTab.nc] = SPAN_NOT; /* after last cell */ in check_for_spans()
698 FreeTabAtts(&TheTab); /* free storage, if allocated earlier */ in TexTable()
699 SetTabAtts(e, &TheTab, 1); /* look at attributes */ in TexTable()
700 SetTabAtts(e->econt[0], &TheTab, 1); /* attrs of TGroup */ in TexTable()
704 if (TheTab.colwidth && TheTab.nc == TheTab.n_colwidth) { in TexTable()
705 widths = TheTab.colwidth_v; in TexTable()
709 if (TheTab.frame) in TexTable()
710 if (strcmp(TheTab.frame, "ALL") && strcmp(TheTab.frame, "SIDES")) in TexTable()
714 for (i=0; i<TheTab.nc; i++) { in TexTable()
719 else if (TheTab.align && TheTab.nc == TheTab.n_align) { in TexTable()
720 fprintf(fp, "%s%s", (i?" ":""), TheTab.align_v[i]); in TexTable()
725 if (TheTab.colsep) { in TexTable()
727 if ( (i+1) < TheTab.nc ) { in TexTable()
728 if ( *TheTab.colsep_v[i] == '1' ) { in TexTable()
731 if ( *TheTab.colsep_v[i] == '2' ) { in TexTable()
792 if (e->my_eorder < (TheTab.nc-1)) { in TexTableCellEnd()