Initialize tex repository