jsinglet/latex-preview-pane

latex-preview-pane does not support TeX-master

cpbotha opened this issue · 5 comments

With large(ish) documents, documents are often split up. By setting the TeX-master local variable, AUCTeX knows which file to build. See http://www.gnu.org/software/auctex/manual/auctex/Multifile.html

It looks like latex-preview-pane simply runs pdf-latex-command on the file visited by the current buffer, which will not work when you are viewing one of the included files (more often the case than not).

I'm just passing by (recently finished a large LaTeX project :) -- so I'm leaving this here in case any other users search for the same thing.

Thanks for the heads up! Issue #10 would be one way into that feature and I'm certainly looking into implementing it. Thanks again. I'll close this ticket also when it's done.

I'm trying to make things work on multi-file latex source. If someone has scripted a way to do this, I'd love to know. Many thanks in advance!

Can you give me an example of the command you'd normally run to accomplish this?

Hi Guys,

I'm happy to report this is now fully supported in Latex Preview Pane. When you upgrade, you'll see a new menu option that allows you to create multi-file documents. It supports using AUCTeX (via the TeX-master variable) or without (using LPP's own internal tracking).

Thanks for reporting this guys!

JLS
lpp-menu

Cool. Many thanks! Seems to work.