[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users 01021] Prefix bug
- To: mgp-users@mew.org
- Subject: [mgp-users 01021] Prefix bug
- From: Geoff Kuenning <geoff@cs.hmc.edu>
- Date: Mon, 8 Jul 2002 23:33:26 -0700
- Delivered-to: mailing list mgp-users@mew.org
- Mailing-list: contact mgp-users-help@mew.org; run by ezmlm
- Reply-to: geoff@cs.hmc.edu
Since the MGP sources don't seem to include a bug-reporting address,
I'm going to have to burden this list instead.
When navigating slides non-sequentially, the xprefix of the last
visited slide (state->xprefix) is not properly reinitialized when you
return to slide 1. I believe that the problem is in thirdpass() in
parse.c, which should allocate a CTL_PREFIXN as well as a CTL_PREFIX.
The following short presentation demonstrates the problem. Display
slide 1, then slide 2, then return to slide 1. The centered text will
suddenly appear to the right of the screen.
A workaround for now is to explicitly specify %prefix 0 as part of the
first page.
############################################################
%page
%center, size 5
This text should be centered
%page
%left
%prefix 20
%size 5
This text should be indented a bit
############################################################
--
Geoff Kuenning geoff@cs.hmc.edu http://www.cs.hmc.edu/~geoff/
Perl is awk with skin cancer.
-- Henry Spencer