[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spec for @inlinehtml etc.

From: Patrice Dumas
Subject: Re: spec for @inlinehtml etc.
Date: Sun, 25 Dec 2011 02:49:47 +0100
User-agent: Mutt/

On Sat, Dec 24, 2011 at 03:08:16PM -0800, Karl Berry wrote:
> Um.  I hadn't thought about that.  I suppose @inlineraw should behave
> the same as the raw environments (@html, etc.). 
> Clearly there some commands that don't make inside raw environments
> (@node comes to mind immediately), but I think the straightforward
> markup commands do.  Ultimately this comes from @tex, where one
> definitely wants to be able to access the Texinfo commands to do
> formatting.
> I don't know of any practical cases of raw Info/HTML/etc. where it
> matters, so we could perhaps do things differently if it means a lot of
> new work for you.  Since raw formatter commands are seldom used in the
> first place.

In tp, no command is looked at in raw Info/HTML/TeX/..., as if we were
in @verbatim, @ignore, or user defined macro body.  The only sequence 
taken into account is something like
@end html
with the following code:

 } elsif ($line =~ /^(\s*?)address@hidden([a-zA-Z][\w-]*)/
                 and ($2 eq $current->{'cmdname'})) {

But having a new context in which the only recognized @-commands are
the @-commands escaping @, } { and , should not be that hard.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]