Valorization of humin as a glucose derivative to fabricate a porous carbon catalyst for esterification and hydroxyalkylation/alkylation.