Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a pretty long presentation: a course comprising a couple of hundreds frames. Occasionally, I go over the presentation, notice a few corrections in distinct frames.

Fixing these requires a number of iterations to find the most pleasing placement of objects, texts, and figures. Needless to say, running LaTeX on the entire presentation is time consuming.

Instead, I mark the slides with label=current and use includeonlyframes{current} which renders only the current slides. However, I get the annoying

 LaTeX Warning: There were multiply-defined labels.

Is there a more civilized way of managing the workflow. It seems too cumbersome to mark each slide with a different label, and then enumerate the labels in the includeonlyframes command.

share|improve this question
2  
For exactly this purpose I use the comment package to comment out parts I do not want to compile. See also tex.stackexchange.com/questions/17816/… –  Daniel Jan 1 at 20:30
3  
I usually prepare a few frames in a separate file that has only the preamble in common with the main one; cross references are not a problem during the preparation of the presentation. When they're ready, I transfer them to the main file; the same idea can be used for fixing some of the already finished ones. –  egreg Jan 1 at 22:32
1  
It is only a warning. I just ignore it: I know exactly what is causing the warning and I know that it does not matter at this point in my workflow. When I have things as I like, I remove the labels, comment the includeonlyframes and reprocess. Only at this point do I pay attention to warnings of this kind. Civilisation is overrated! –  cfr Jan 1 at 22:42
2  
you could also look at the standalone bundle- a demonstration for beamer is given in tex.stackexchange.com/questions/73829/… for example –  cmhughes Jan 2 at 2:59
    
Use %\input{frame1}, %\input{frame2}, ... and uncomment only those you are workin on. This way you have many files but you (a) can concentrate on the working frame (b) cannot damage the code of another frame accidentally (c) can reuse easily the frame in another presentations and (d) exclude-include according to the available time for your disssertation or the type of audience. –  Fran May 15 at 19:39

1 Answer 1

I usually prepare a few frames in a separate file that has only the preamble in common with the main one.

Missing labels for cross references are not a problem during the preparation of the presentation: they might cause some slight difference in the final printout, but the chances are very small. Actually I almost never use cross references in presentation, but only hyperlinks: I don't find something like “see [1]” or “see slide 24” useful for the attendance.

When the group of slides is ready, I transfer them to the main file; the same idea can be used for fixing some of the already finished ones.

In this way, compilation of the whole presentation is almost never needed except in the final production stages.

One could even avoid copying the preamble by having it in a third file as in the scheme below. In the final stage it may be more convenient to transfer the contents of preamble.tex into the main file so it's self-contained (except for graphics).

Main file

\documentclass[<options>]{beamer}

\input{preamble}

\begin{document}

<already prepared slides>

\end{document}

Galley file

\documentclass[<options>]{beamer}

\input{preamble}

\begin{document}

<slides in preparation>

\end{document}

preamble.tex file (scheme)

\usebeamertheme{Whatever}
\usefonttheme{professionalfonts}

...<whatever needed in the preamble>...
share|improve this answer
    
Thanks for getting it off the list. –  Johannes_B yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.