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

Re: WML wml::std::lang questions

On Fri, 12 Mar 1999, Tobias Oetiker wrote:

> I endup with things like this:
> <IMG SRC="[LANG_DE:german.gif:][LANG_FR:french.gif:]">

Why don't you use?
  [LANG_DE:<IMG SRC="german.gif">:][LANG_FR:<IMG SRC="french.gif">:]

> which is exactly what I want to go into the slicer. Unfortunately the
> the fixhtml happens before this, so it wont be able to
> set the WITH and HEIGHT tags on this kind of image ..


> would it be possible to make the exit filter work with the slicer ? the exit
> filter should be aplied to the slicer output files ... then I could add
> just another pass of the html fixer at the and and everything would be fine
> ...

It does. Every output file is filtered, but results go to standard
output. To modify final files, you may write a simple shell-script like
this one:
#! /bin/sh
/your/path/lib/wml/exec/wml_p7_htmlfix $1 > $1.tmp && mv $1.tmp $1

and pass -E name_of_this_script to wml.


D. Barbier
** Soutien  Altern ** http://www.altern.org/defense/

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