merging latex extensiosn