5

I have a very large beamer tex file which requires a long time to texify. I want to make very minor changes and want to visualize these changes quickly. Is there a way to texify only the changes that I made to speed up visualization (previews)? Is there a way to preview single frame or a block of code only?

If not, what are other tips on how to speed up the texifying process and minimize the time it takes to preview my document?

giordano
  • 8,486
Paul
  • 2,610
  • 1
    Are you using a Makefile or something similar? Do you run bibtex and run pdflatex several times? – Bichoy Apr 12 '13 at 03:17
  • @Bichoy No... I simply run the "latex" command in TexShop. – Paul Apr 12 '13 at 03:21
  • Is there a way to configure what exactly this latex command does? Something like build configuration? – Bichoy Apr 12 '13 at 03:25
  • @Bichoy: I'm not sure. I'm relatively new to latex in general, and I barely know how to use the program, much less configure it :) – Paul Apr 12 '13 at 03:35
  • During a latex compilation, latex itself is ran several times on the file. And if you have bibliography, the number of required runs increase. If you can search for how to configure TeXShop to make it just run latex once, you may cut this time by a factor of 4 or even more. Sorry, this is the best I can help with. I am an old school who uses latex from the command line. – Bichoy Apr 12 '13 at 03:38
  • I generally make individual frames in a separate file that has the same preamble as the main beamer file. When the frame is finished I paste the finalized code into the main file. – erik Apr 12 '13 at 05:59

1 Answers1

9

I think this is a job for \includeonlyframes

A little example follows- note the use of label- you can try experimenting with

\includeonlyframes{lions,cows}

or

\includeonlyframes{cows}

for example

\documentclass{beamer}
\includeonlyframes{lions,cows}
\begin{document}

\begin{frame}[label=lions]{Lions}
  Lions
\end{frame}

\begin{frame}[label=zebras]{zebras}
  zebras
\end{frame}

\begin{frame}[label=cows]{cows}
  cows
\end{frame}

\end{document}
cmhughes
  • 100,947