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

Re: moving from m4



El Tue, May 25, 1999 at 02:46:05PM +0200, Denis Barbier contaba:

>Please keep in mind that macros are written by developers whereas
>webpages might be written by everyone.
>The <m4> tag in wml::std::tag will be defined by

Probably I did not mention. I am using:

-------------------------------------------------------------
This is WML Version 1.6.4 (23-03-1998)
Copyright (c) 1996,1997,1998 Ralf S. Engelschall.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
---------------------------------------------------------------

Maybe is a bit old. 

>In your case, you could replace all occurences of quotes (` and ') by
><` and '> respectively, and define another macro
><define-container mym4>
><m4 quotes="<`,'>">
>%body
></m4>
></define-container>

So far, I understand the new <m4> allows you to choose which
characters to use for `quotes'.  A very good idea.

While working with m4 I had already thought in changin the quote
chars to different ones. This idea is good. 

Now I only need to change all my `quoted' files to this new format.

>Few people use this m4 pass, so any feedback is really helpful.

Well, in my current version, something strange happens. When I use
the macros you wrote me, it leaves the code full of `m4_dnl'.

The problem comes from:

    m4_quotes()m4_dnl
    m4_noquotes()m4_dnl

Something strange happens that make `gm4' to proper understand this
macros. It leaves this result:

    m4_dnl
    m4_dnl

Probably it is related with such macros (m4_quotes) and
(m4_noquotes). They are not builtin macros. Where are they defined?

-- 
Saudos:
><ose        xmanoel@bigfoot.com   (Vigo/Galicia/Espaņa)
         http://pagina.de/xmanoel/
         http://w3.to/mikkeli/

05/27	First joint meeting of U.S. and European ALGOL definition cte., 1958
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com