print_const(":");
break;
case CRITIC_ADD_OPEN:
- print_const("{++");
+ print_const("\\{++");
break;
case CRITIC_ADD_CLOSE:
- print_const("++}");
+ print_const("++\\}");
break;
case CRITIC_COM_OPEN:
- print_const("{>>");
+ print_const("\\{>>");
break;
case CRITIC_COM_CLOSE:
- print_const("<<}");
+ print_const("<<\\}");
break;
case CRITIC_DEL_OPEN:
- print_const("{--");
+ print_const("\\{--");
break;
case CRITIC_DEL_CLOSE:
- print_const("--}");
+ print_const("--\\}");
break;
case CRITIC_HI_OPEN:
- print_const("{==");
+ print_const("\\{==");
break;
case CRITIC_HI_CLOSE:
- print_const("==}");
+ print_const("==\\}");
break;
case CRITIC_SUB_OPEN:
- print_const("{~~");
+ print_const("\\{~~");
break;
case CRITIC_SUB_DIV:
print_const("~>");
break;
case CRITIC_SUB_CLOSE:
- print_const("~~}");
+ print_const("~~\\}");
break;
case DASH_M:
if (!(scratch->extensions & EXT_SMART)) {
break;
case QUOTE_DOUBLE:
if ((t->mate == NULL) || (!(scratch->extensions & EXT_SMART)))
- print_const(""");
+ print_const("''");
else
(t->start < t->mate->start) ? ( print_localized(QUOTE_LEFT_DOUBLE) ) : ( print_localized(QUOTE_RIGHT_DOUBLE) );
break;
case TEXT_PLAIN:
print_token(t);
break;
+ case TOC:
+ print_const("\\{\\{TOC\\}\\}");
+ break;
case UL:
print_const("\\_");
break;
case ANGLE_RIGHT:
print_const("$>$");
break;
+ case CRITIC_ADD_OPEN:
+ print_const("\\{++");
+ break;
+ case CRITIC_ADD_CLOSE:
+ print_const("++\\}");
+ break;
+ case CRITIC_COM_OPEN:
+ print_const("\\{>>");
+ break;
+ case CRITIC_COM_CLOSE:
+ print_const("<<\\}");
+ break;
+ case CRITIC_DEL_OPEN:
+ print_const("\\{--");
+ break;
+ case CRITIC_DEL_CLOSE:
+ print_const("--\\}");
+ break;
+ case CRITIC_HI_OPEN:
+ print_const("\\{==");
+ break;
+ case CRITIC_HI_CLOSE:
+ print_const("==\\}");
+ break;
+ case CRITIC_SUB_OPEN:
+ print_const("\\{~~");
+ break;
+ case CRITIC_SUB_DIV:
+ print_const("~>");
+ break;
+ case CRITIC_SUB_CLOSE:
+ print_const("~~\\}");
+ break;
case DASH_N:
if (t->len == 1) {
print_const("-");