NAME

A2E::MLHT


DESCRIPTION

Generate files in several languages from one multilingual template, using =over =item static variable lists generated by the (dynamic) means of the maketext syntax described in A2E::Tmplfil and A2E::SArb::Make =item reactivate dynamic variables and fill the with values using the Textbau filter implemented in A2E::Template::Plugin::Textbau =back


FILES

general configuration

    /etc/opt/a2e/mlht.konf

and site-specific configuration, loaded depending on --daba value

    /etc/opt/a2e/mlht_a2e.konf
    /etc/opt/a2e/mlht_ffii.konf

as well as user-specific additions

    ~/mlht.konf
    ~/mlht_ffii.konf
    ~/mlht_a2e.konf

and document specific configuration files

    ./mlht.konf
    @mlht


BUGS, CAVEATS


TODO


PREREQUISITES

    A2E::Dokfs(3)
    A2E::Tmplfil(3)


SEE ALSO

    A2E::Template::Plugin::Textbau
    tmplfil(1)


IMPLEMENTATION

Header

Overwrite Functions

Function defvars

Function doks2dokurllabs

Lightweight version of doks2reks, possibly now obsolete.

Function doks2reks

Return a list of hashrefs, each having fields dok, url and lab, which contain the info needed for a navigation menu. Subroutine of vmethods predokreks, postdokreks, subdokreks

Function defin_mlht_makefuns

Define some extensions of the mlht maketext (A2E::SArb::Make) language to be used in text chunk files, such as tit in

    text1 := The title of oas_varb0904 is $(tit:oas_varb0904)

Function defin_mlht_tmplfuns

See also &A2E::Template::Context::defin_tmplfuns More generic methods/filters/blocks that are independent of the A2E::Dokfs application layer should go there.

Function postkonfig

Implementation Functions

Function mlht_set_dokvars

read in document configuration

Function mlht_set_restvars

Subroutine mlht_get_dokl

mlht_set_restvars

set some special, language-independent variables

Function dbm2tmplvars

Give a file name of a dbm database file and return a hashref containing all the template variables of that document. Optionally an initial hashref can be passed as a second argument. This can however not be used for passing any variables into the database.

Function dok2tmplvars

Give an identifier of a quoted document and return a hashref containing all the template variables of that document. An optional second argument is the language. An optional initial hashref can be passed thereafter as in dbm2tmplvars.

SET_LANG: If no language argument is given, we check whether the quoted document is available in our current language. If this is the case we choose the current language, otherwise the source language of the quoted document.

Function mlht_set_langvars

Function mlht_set_tmplvars

set template variables

Function proc_faylz

Function mlht


The End