[O] Beamer handouts, pgfpages, no love

2013-06-17 Thread James Harkins
Hi,

Today I was playing around with exporting a beamer presentation for handouts, 
following the advice online to use pgfpages for saving dead trees. I'm not sure 
if it's an org problem or a LaTeX problem.

Exporting to a presentation is no problem:

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default

For handouts, I tried changing it like this:

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [handout]
#+BEAMER_THEME: default
#+LATEX_HEADER: \usepackage{pgfpages}
#+LATEX_HEADER: \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]

One problem: if I use any :BMCOL: tags, I get strange errors like this:

! LaTeX Error: \begin{minipage} on input line 117 ended by \end{altenv}.

... where the entity that is \ended could be several different things.

So I tried :noexport:ing all the sections that have columns, and now the export 
completes without fatal errors, but pgfpages then ends up making each frame 
about twice as large, instead of half. As far as I can see, it is actually 
trying to put two slides on each page (I can see only every other one), but 
each frame is so much larger than it's supposed to be that I can only see part 
of one of the two.

I'm using xelatex, if that makes any difference.

I could find list messages from about a year ago where somebody was 
successfully using pgfpages. I have no idea why it was working for him but not 
for me. His latex_header stuff was pretty similar to what I have above.

Thanks,
hjh

PS Belated thanks to Nick for answering the question of mine about emphasis 
markup and footnote tags. I haven't had a chance to try yet, but I did see the 
reply.



Re: [O] Beamer handouts, pgfpages, no love

2013-06-17 Thread Nicolas Goaziou
Hello,


James Harkins  writes:

> Today I was playing around with exporting a beamer presentation for
> handouts, following the advice online to use pgfpages for saving dead
> trees. I'm not sure if it's an org problem or a LaTeX problem.
>
> Exporting to a presentation is no problem:
>
> #+startup: beamer
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [presentation]
> #+BEAMER_THEME: default
>
> For handouts, I tried changing it like this:
>
> #+startup: beamer
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [handout]
> #+BEAMER_THEME: default
> #+LATEX_HEADER: \usepackage{pgfpages}
> #+LATEX_HEADER: \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
>
> One problem: if I use any :BMCOL: tags, I get strange errors like this:
>
> ! LaTeX Error: \begin{minipage} on input line 117 ended by \end{altenv}.
>
> ... where the entity that is \ended could be several different things.

An ECM could be useful. By the way, does the generated LaTeX code look
wrong?


Regards,

-- 
Nicolas Goaziou



Re: [O] Beamer handouts, pgfpages, no love

2013-06-30 Thread James Harkins
On Jun 30, 2013 7:22 PM, "Nicolas Goaziou"  wrote:
> James Harkins  writes:
>
> > This example does reproduce the issue where the slides are rendered at
> > twice their normal size, instead of half. (I installed TexLive 2012 --
> > I'm not using the outdated tex packages from Ubuntu.)
> >
> The generated LaTeX code looks correct. Why do you think it isn't?

I never said that. I was only reporting some testing results.

> And
> if there's a problem, couldn't it be related to pgf instead of Org?

Yes, that's quite likely. Just reporting some testing results.

hjh