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

No Subject

__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 1.6.8 (12-01-1999)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT

From:     David Mentré
Reply-To: David.Mentre@irisa.fr

Table Of Content does not work with home-defined containers.

* The following code :
#use wml::std::all

<define-container h2>
 <h2* align=center>%body</h2*>


<h1> I</h1>


* renders :
<a href="#ToC1"><strong> I</strong></a>
  <----- reference to 1 missing here
        <a href="#ToC2"><strong>a</strong></a>
<a href="#ToC3"><strong>II</strong></a>
  <----- reference to 2 missing here
        <a href="#ToC4"><strong>b</strong></a>
<H1><a name="ToC1"> I</a></H1>
  <h2 align="center">1</h2>
  <H3><a name="ToC2">a</a></H3>
<H1><a name="ToC3">II</a></H1>
  <h2 align="center">2</h2>
  <H3><a name="ToC4">b</a></H3>

* Without the <h2> container redefinition, everything is fine :
<a href="#ToC1"><strong> I</strong></a>
    <a href="#ToC2"><strong>1</strong></a>
        <a href="#ToC3"><strong>a</strong></a>
<a href="#ToC4"><strong>II</strong></a>
    <a href="#ToC5"><strong>2</strong></a>
        <a href="#ToC6"><strong>b</strong></a>
<H1><a name="ToC1"> I</a></H1>
 <H2><a name="ToC2">1</a></H2>
  <H3><a name="ToC3">a</a></H3>
<H1><a name="ToC4">II</a></H1>
 <H2><a name="ToC5">2</a></H2>
  <H3><a name="ToC6">b</a></H3>

Used WML System:
Built Environment:
    Host: sparc-sun-solaris2.6
    Perl: 5.004_04 (/usr/local/bin/perl5)
    User: flemouel@garfield.irisa.fr
    Date: 03-Feb-1999
Built Location:
    Prefix: /soft/wml/1.6.8
    BinDir: /soft/wml/1.6.8/bin
    LibDir: /soft/wml/1.6.8/lib
    ManDir: /soft/wml/1.6.8/man

Used Perl System:
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
    osname=solaris, osvers=2.4, archname=sun4-solaris
    uname='sunos mingus 5.4 generic_101945-59 sun4m sparc '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=n useperlio=undef d_sfio=undef
    cc='cc', optimize='-O', gccversion=
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Sep 14 1998 11:27:50

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com