Paul A. Rubin wrote:
Graham M Smith wrote:
Paul
Well, I have something to propose. I still have no idea how you managed to change margins before (it should have been grayed out), unless maybe you're on an older version of LyX. Since I could not change margins, I could not reproduce your results.

If you are using 1.6.x, though, I may have an answer. The attached file is a replacement for the article-beamer layout file. Drop it in your local layouts directory and reconfigure/restart LyX. It should enable you to adjust paper type/size and margins in "article (beamer)" the same as in any article. I've tested it both by converting existing presentations to articles and by using the embedding method in the link that Jürgen provided.
I'm using 1.6.2, on Ubuntu 9.04 and none of the margin/page controls are greyed out, so I can already adjust paper type/size and margins in article (beamer) as in any article. It was just that these then needed set back to "default" when switching back t Beamer.

Strange isn't it.


Strange indeed. Did you by any chance hack the article-beamer.layout file? Or might you have an old version of the layout files in your ~/.lyx folder that maybe are superseding the current versions? That's the only explanation I can come up with. FWIW, with my modified layout file, if I switch from "presentation (beamer)" (where page size and margins are locked) to "article (beamer)", page size and margins are unlocked and I can change them. If I then switch back to "presentation (beamer)", the page size and margin revert to Beamer defaults and are locked, as you would wish. So I don't know why they did not revert for you, but then again I don't know why you were able to change them in the first place.

I've tested this on Win XP with LyX 1.6.3 but not yet on Ubuntu. Since it's a layout file issue, I doubt that it will behave differently on Ubuntu, but then it's one of those "should not be possible" things in the first place.



Just checked Ubuntu 9.04 -- same thing as Windows. No control over page size/margins with the old "article (beamer)" layout, and the new layout switches (and switches back) correctly.

Reply via email to