#ifndef _ID_INVIS_H #define _ID_INVIS_H "$Id: invis.h,v 3.1 1996/01/15 23:11:39 brad Exp $" #endif #define PROLE_VERSION 1 #define MAX_STACK_DEPTH 20 #define ilev1(x) (x+1) #define ilev2(y,x) (((x+1) << 4)|y+1) #define ilev3(z,y,x) ((((x+1) << 8)| (y+1) << 4) | z+1) #define INVIS_HEADER ilev3(2,2,0) #define INVH_MASK 0xfff /* anything with lower 12 bits of header is the header */ #define IHEADER_VERSION(vermaj,vermin,minmaj) (ilev3(2,2,0) | (ilev3(vermaj,vermin,minmaj) << 12) ) #define INVIS_TRAILER ilev3(2,3,0) #define INVIS_ORDINARY ilev1(1) /* obselete */ #define INVIS_CONTINUATION ilev1(1) #define INVIS_PARA ilev1(2) #define INVIS_BREAK ilev2(0,0) #define INVIS_MONO ilev1(0) #define INVIS_CENTHEAD ilev2(1,0) /* " \t" */ #define INVIS_H1 ilev2(2,0) /* " \t" */ #define INVIS_H2 ilev2(3,0) /* " \t" */ #define INVIS_H3 ilev2(4,0) /* " \t" */ #define INVIS_H4 ilev2(5,0) /* " \t" */ #define INVIS_H5 ilev2(6,0) /* " \t" */ #define INVIS_TITLE ilev2(7,0) /* " \t" */ #define INVIS_H1TITLE ilev2(8,0) /* " \t" */ #define INVIS_LI ilev1(3) /* " " */ #define INVIS_RAW ilev1(4) /* " " */ #define INVIS_COMMENT ilev1(5) /* " " */ #define INVIS_LINK ilev1(6) /* " " */ #define INVIS_IMAGE ilev1(7) /* " " */ #define INVIS_POINT ilev1(8) #define INVIS_LINK2 ilev1(9) #define INVIS_HR ilev2(0,1) /* "\t " */ #define INVIS_NOTE ilev2(1,1) /* Blank line encodings */ #define IVLINE_BLANK ilev1(0) /* "" */ #define IVLINE_END ilev1(1) /* " " */ #define IVLINE_END2 ilev1(2) /* " " */ #define IVLINE_END3 ilev1(3) /* " " */ #define IVLINE_END4 ilev1(4) /* " " */ #define IVLINE_TABLE ilev2(1,2) /* " \t " */ /* Not yet implemented */ #define IVLINE_UL ilev2(3,1) /* " \t " */ #define IVLINE_OL ilev2(3,2) /* " \t " */ #define IVLINE_DIR ilev2(3,3) /* " \t " */ #define IVLINE_RAW ilev2(3,4) /* " \t " */ #define IVLINE_PRE ilev2(1,1) /* " \t " */ #define IVLINE_QUOTE ilev2(3,5) /* " \t " */ #define IVLINE_CENTER ilev2(3,6) /* " \t " */ #define IVLINE_DEFL ilev2(3,7) #define IVLINE_MAGLINKS ilev2(4,1) #define IVLINE_PLAINLINK ilev2(5,1) #define IVLINE_ANCHOR ilev2(4,2) #define IVLINE_EMPTY ilev3(2,5,0) #define IVLINE_DEFINE 0x80000000 #define MF_DEFBLOCK 1