version 1.61, 2015/03/05 08:35:35 |
version 1.63, 2015/03/05 15:18:13 |
Line 544 dodefn(struct texi *p, enum texicmd cmd, size_t *pos) |
|
Line 544 dodefn(struct texi *p, enum texicmd cmd, size_t *pos) |
|
break; |
break; |
} |
} |
teximacro(p, "Bd -filled -offset indent"); |
teximacro(p, "Bd -filled -offset indent"); |
p->seenvs = 1; |
|
parseto(p, pos, blk); |
parseto(p, pos, blk); |
teximacro(p, "Ed"); |
teximacro(p, "Ed"); |
|
p->seenvs = 1; |
} |
} |
|
|
static void |
static void |
Line 755 doinline(struct texi *p, enum texicmd cmd, size_t *pos |
|
Line 755 doinline(struct texi *p, enum texicmd cmd, size_t *pos |
|
|
|
teximacroopen(p, macro); |
teximacroopen(p, macro); |
p->seenws = 0; |
p->seenws = 0; |
|
if (TEXICMD_CODE == cmd) |
|
p->literal++; |
if (TEXICMD_SC == cmd) |
if (TEXICMD_SC == cmd) |
p->uppercase++; |
p->uppercase++; |
parsebracket(p, pos, 0); |
parsebracket(p, pos, 0); |
if (TEXICMD_SC == cmd) |
if (TEXICMD_SC == cmd) |
p->uppercase--; |
p->uppercase--; |
|
if (TEXICMD_CODE == cmd) |
|
p->literal--; |
texipunctuate(p, pos); |
texipunctuate(p, pos); |
teximacroclose(p); |
teximacroclose(p); |
} |
} |
Line 880 doverbatim(struct texi *p, enum texicmd cmd, size_t *p |
|
Line 884 doverbatim(struct texi *p, enum texicmd cmd, size_t *p |
|
advance(p, pos); |
advance(p, pos); |
} |
} |
teximacro(p, "Ed"); |
teximacro(p, "Ed"); |
|
p->seenvs = 1; |
if (*pos < BUFSZ(p)) |
if (*pos < BUFSZ(p)) |
advanceto(p, pos, endpos + endsz); |
advanceto(p, pos, endpos + endsz); |
} |
} |
Line 1029 dodisplay(struct texi *p, enum texicmd cmd, size_t *po |
|
Line 1034 dodisplay(struct texi *p, enum texicmd cmd, size_t *po |
|
break; |
break; |
} |
} |
|
|
p->seenvs = 1; |
|
parseto(p, pos, texitoks[cmd].tok); |
parseto(p, pos, texitoks[cmd].tok); |
teximacro(p, "Ed"); |
teximacro(p, "Ed"); |
|
p->seenvs = 1; |
} |
} |
|
|
static void |
static void |
Line 1045 doexample(struct texi *p, enum texicmd cmd, size_t *po |
|
Line 1050 doexample(struct texi *p, enum texicmd cmd, size_t *po |
|
parseto(p, pos, texitoks[cmd].tok); |
parseto(p, pos, texitoks[cmd].tok); |
p->literal--; |
p->literal--; |
teximacro(p, "Ed"); |
teximacro(p, "Ed"); |
|
p->seenvs = 1; |
} |
} |
|
|
static void |
static void |
Line 1668 dosection(struct texi *p, enum texicmd cmd, size_t *po |
|
Line 1674 dosection(struct texi *p, enum texicmd cmd, size_t *po |
|
teximacroopen(p, sects[sec]); |
teximacroopen(p, sects[sec]); |
parseeoln(p, pos); |
parseeoln(p, pos); |
teximacroclose(p); |
teximacroclose(p); |
p->seenvs = 1; |
|
} |
} |
|
|
static void |
static void |
Line 1722 doitem(struct texi *p, enum texicmd cmd, size_t *pos) |
|
Line 1727 doitem(struct texi *p, enum texicmd cmd, size_t *pos) |
|
} |
} |
|
|
/* Trick so we don't start with Pp. */ |
/* Trick so we don't start with Pp. */ |
p->seenvs = 1; |
|
parseeoln(p, pos); |
parseeoln(p, pos); |
|
|
if (TEXILIST_ITEM == p->list) |
if (TEXILIST_ITEM == p->list) |
Line 1819 dotable(struct texi *p, enum texicmd cmd, size_t *pos) |
|
Line 1823 dotable(struct texi *p, enum texicmd cmd, size_t *pos) |
|
|
|
p->list = TEXILIST_ITEM; |
p->list = TEXILIST_ITEM; |
teximacro(p, "Bl -tag -width Ds"); |
teximacro(p, "Bl -tag -width Ds"); |
p->seenvs = 1; |
|
parseto(p, pos, texitoks[cmd].tok); |
parseto(p, pos, texitoks[cmd].tok); |
teximacro(p, "El"); |
teximacro(p, "El"); |
|
p->seenvs = 1; |
p->list = sv; |
p->list = sv; |
} |
} |
|
|
Line 1850 doenumerate(struct texi *p, enum texicmd cmd, size_t * |
|
Line 1854 doenumerate(struct texi *p, enum texicmd cmd, size_t * |
|
|
|
p->list = TEXILIST_NOITEM; |
p->list = TEXILIST_NOITEM; |
teximacro(p, "Bl -enum"); |
teximacro(p, "Bl -enum"); |
p->seenvs = 1; |
|
parseto(p, pos, texitoks[cmd].tok); |
parseto(p, pos, texitoks[cmd].tok); |
teximacro(p, "El"); |
teximacro(p, "El"); |
|
p->seenvs = 1; |
p->list = sv; |
p->list = sv; |
} |
} |
|
|
Line 1865 doitemize(struct texi *p, enum texicmd cmd, size_t *po |
|
Line 1869 doitemize(struct texi *p, enum texicmd cmd, size_t *po |
|
|
|
p->list = TEXILIST_NOITEM; |
p->list = TEXILIST_NOITEM; |
teximacro(p, "Bl -bullet"); |
teximacro(p, "Bl -bullet"); |
p->seenvs = 1; |
|
parseto(p, pos, texitoks[cmd].tok); |
parseto(p, pos, texitoks[cmd].tok); |
teximacro(p, "El"); |
teximacro(p, "El"); |
|
p->seenvs = 1; |
p->list = sv; |
p->list = sv; |
} |
} |
|
|