=================================================================== RCS file: /cvs/texi2mdoc/main.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -p -r1.62 -r1.63 --- texi2mdoc/main.c 2015/03/05 09:36:41 1.62 +++ texi2mdoc/main.c 2015/03/05 15:18:13 1.63 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.62 2015/03/05 09:36:41 kristaps Exp $ */ +/* $Id: main.c,v 1.63 2015/03/05 15:18:13 kristaps Exp $ */ /* * Copyright (c) 2015 Kristaps Dzonsons * @@ -755,11 +755,15 @@ doinline(struct texi *p, enum texicmd cmd, size_t *pos teximacroopen(p, macro); p->seenws = 0; + if (TEXICMD_CODE == cmd) + p->literal++; if (TEXICMD_SC == cmd) p->uppercase++; parsebracket(p, pos, 0); if (TEXICMD_SC == cmd) p->uppercase--; + if (TEXICMD_CODE == cmd) + p->literal--; texipunctuate(p, pos); teximacroclose(p); }