[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @alias-es in xml, docbook?
From: |
Karl Berry |
Subject: |
Re: @alias-es in xml, docbook? |
Date: |
Sat, 20 Sep 2003 20:51:37 -0400 |
It seems that @-commands defined by @alias directives don't get
applied when generating xml or docbook.
Here's a partial fix. If the @alias command itself (or parts thereof)
is being generated by a macro, it will still fail, but at least the
usual case doesn't bomb out completely now.
BTW, I did not get the same error message you did. I got
alias.tex:10: Expected `='.
Were you using makeinfo from 4.6?
Thanks for the report.
*** macro.c 4 Sep 2003 00:00:18 -0000 1.3
--- macro.c 21 Sep 2003 00:46:22 -0000 1.4
***************
*** 1000,1013 ****
static alias_type *aliases;
! /* @alias */
void
cm_alias ()
{
alias_type *a = xmalloc (sizeof (alias_type));
skip_whitespace ();
! get_until_in_line (1, "=", &(a->alias));
canon_white (a->alias);
discard_until ("=");
--- 1000,1014 ----
static alias_type *aliases;
! /* @alias aname = cmdname */
!
void
cm_alias ()
{
alias_type *a = xmalloc (sizeof (alias_type));
skip_whitespace ();
! get_until_in_line (0, "=", &(a->alias));
canon_white (a->alias);
discard_until ("=");