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

[RFC] Slices within slices



Here are my reflexions.
The problem is: with those slices,

      DE         EN               DE         EN
    +-----+    +-----+          +-----+    +-----+
            DE                          EN
  +---------------------+     +---------------------+

how to extract english and german text?
1) Slices with the same name couldn't be nested, it has been fixed.
2) When writing the german part, the german slice inside the english
   text must be discarded. To do this, put an ``@'' after the slice
   name (it's in the doc).
3) But... in this case the slices above will be equivalent to
            DE                          EN
  +---------------------+     +---------------------+
   which is not what we want.

I guess i will add an option flag to ``flatten'' slices with the same
name, i.e.
      DE         EN               DE         EN
    +-----+    +-----+          +-----+    +-----+
            DE                          EN
  +---------------------+     +---------------------+

will become equivalent to

                 EN               DE
               +-----+          +-----+           
            DE                          EN
  +---------------------+     +---------------------+

and

      DE         EN               DE         EN
    +-----+    +-----+          +-----+    +-----+
            DE                          EN
  +---------------------+     +---------------------+
                         EN
  +-------------------------------------------------+

becomes

                 EN               DE
               +-----+          +-----+
            DE
  +---------------------+
                         EN
  +-------------------------------------------------+

Any opinion?

Denis

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