SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2k stars 364 forks source link

Add .pdf_tex as tex files #1360

Open hadisfr opened 6 years ago

hadisfr commented 6 years ago

What's your idea about adding .pdf_tex to defualt tex_file_exts?

https://github.com/SublimeText/LaTeXTools/blob/e337fbfee53e2e887028a5bb9e3673c0cab8a538/LaTeXTools.sublime-settings#L77

Refs: svg-inkscape at CTAN, a2107 at tex.stackexchange

ig0774 commented 6 years ago

I'd be hesitant to add anything beyond extensions recognised by default by the LaTeX syntax (which is separate from this package). I.e., we could possibly add .ltx, but there hasn't been much demand for it... If the extension isn't recognised by the LaTeX syntax, some LaTeXTools features will work, but others won't.

hadisfr commented 6 years ago

Actually it seems not a package to me. 🤔 There isn't any code in the package's download section in CTAN. And if you mean only LaTeX syntax, I think those files don't use any command except normal LaTeX command. They don't need importing any package, etc. They only do some preprocceses to make pdf picture ready to appropriately settle in LaTeX output. By the way, I'm not sure.