Dear Hans,

On Wed, 24 Mar 2010, Hans Hagen wrote:

when given examples of something that does not work i can repair it

in lpdf-ini.lua one can find the following utility function for setting a boolean config parameter:

local function pdfboolean(b,default)
    if ((type(b) == "boolean") and b) or default then
        return p_true
    else
        return p_false
    end
end

How is it supposed to work if the config parameter has value "false" and default value is "true"? It seems in this case the value of "b" is ignored.

   Sincerely, Michail
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to