version 1.57, 2019/05/01 17:20:47 |
version 1.59, 2019/05/02 11:58:18 |
Line 97 static const struct alias aliases[] = { |
|
Line 97 static const struct alias aliases[] = { |
|
{ "imageobject", NODE_IGNORE }, |
{ "imageobject", NODE_IGNORE }, |
{ "indexterm", NODE_DELETE }, |
{ "indexterm", NODE_DELETE }, |
{ "informaltable", NODE_TABLE }, |
{ "informaltable", NODE_TABLE }, |
|
{ "jobtitle", NODE_IGNORE }, |
{ "keycap", NODE_KEYSYM }, |
{ "keycap", NODE_KEYSYM }, |
{ "keycode", NODE_IGNORE }, |
{ "keycode", NODE_IGNORE }, |
{ "keycombo", NODE_IGNORE }, |
{ "keycombo", NODE_IGNORE }, |
{ "mediaobject", NODE_BLOCKQUOTE }, |
{ "mediaobject", NODE_BLOCKQUOTE }, |
|
{ "orgdiv", NODE_IGNORE }, |
{ "orgname", NODE_IGNORE }, |
{ "orgname", NODE_IGNORE }, |
{ "othercredit", NODE_AUTHOR }, |
{ "othercredit", NODE_AUTHOR }, |
{ "othername", NODE_PERSONNAME }, |
{ "othername", NODE_PERSONNAME }, |
Line 354 pnode_closetext(struct parse *p, int check_last_word) |
|
Line 356 pnode_closetext(struct parse *p, int check_last_word) |
|
|
|
while (cp > n->b && !isspace((unsigned char)cp[-1])) |
while (cp > n->b && !isspace((unsigned char)cp[-1])) |
cp--; |
cp--; |
if (cp == n->b) |
|
return; |
|
|
|
last_word = cp; |
last_word = cp; |
while (cp > n->b && isspace((unsigned char)cp[-1])) |
while (cp > n->b && isspace((unsigned char)cp[-1])) |
*--cp = '\0'; |
cp--; |
|
if (cp == n->b) |
|
return; |
|
*cp = '\0'; |
|
|
/* Move the last word into its own node, for use with .Pf. */ |
/* Move the last word into its own node, for use with .Pf. */ |
|
|