Solving some dependencies problems for latex