split latex-partial to plugin.