ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: ConTeXt 2007.01.12 problem
Date: Fri, 12 Jan 2007 10:07:09 -0500	[thread overview]
Message-ID: <ED796F13-093C-4DE1-9191-3E9ADC60289A@princeton.edu> (raw)
In-Reply-To: <45A7A0A0.1030503@wxs.nl>

On Jan 12, 2007, at 9:52 AM, Hans Hagen wrote:

> Alan Bowen wrote:
>> Processing a file that used to typeset successfully now gets the
>> error message:
>>
>> ! Undefined control sequence.
>> \initializenextposition ...dosetpositionpapersize
>>                                                     
>> {\printpaperwidth }
>> {\print...
>>
>> \setposition ...ing \else \initializenextposition
>>                                                    \def
>> \currentposition {#1}...
>>
>> \dopositionmarginbox ...argin :\currentmarginpos }
>>                                                    \ifcase
>> \marginrepositionm...
>>
>> \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6}
>>                                                    \rawpagereference
>> \s!mar {...
>>
>> \do@@description ... \copy \fi \@@descriptionbox }
>>                                                    \@@dodescription
>> \dodogotopar ...ceto \fi }{\footnotereferenceto }}
>>                                                    \BeforePar  
>> \emptytoks
>> ....
>>
>> Is there a fix for this?
>>
>
> the end of spec-mis.tex should look like this
>
>     \let\dosetpositionpapersize\gobbletwoarguments
>
> \fi
>
> \protect \endinput
>
>
> (i will check the upload for it later)
>
> Hans

Thanks, Hans—

the spec-mis.tex I have ends with

     \def\dosetpositionplus#1#2#3#4#5%
       {\pdfsavepos
        \dolazysavepositionplus
          {#1}%
          {\noexpand\realfolio}%
          {\noexpand\the\dimexpr\pdflastxpos\scaledpoint\relax}%
          {\noexpand\the\dimexpr\pdflastypos\scaledpoint\relax}%
          {#2}{#3}{#4}{#5}}

\fi

\protect \endinput

I tried changing the end of spec-mis.tex as you suggest, but  
processing still fails with the same error message.

Alan

  reply	other threads:[~2007-01-12 15:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 14:43 Alan Bowen
2007-01-12 14:47 ` Hans Hagen
2007-01-12 14:52   ` Alan Bowen
2007-01-12 14:52 ` Hans Hagen
2007-01-12 15:07   ` Alan Bowen [this message]
2007-01-12 15:08     ` Hans Hagen
2007-01-12 15:23       ` Alan Bowen
2007-01-12 15:39         ` Hans Hagen
2007-01-12 19:47 ` [NTG-context] " Mike Bird
2007-01-12 19:51   ` Norbert Preining
2007-01-12 19:54   ` Taco Hoekwater
2007-01-12 20:21     ` [NTG-context] " Mike Bird
2007-01-13  0:05       ` Norbert Preining
2007-01-13  0:23         ` Taco Hoekwater
2007-01-13  2:50           ` Sanjoy Mahajan
2007-01-13  8:52             ` Hans Hagen
2007-01-13 14:10               ` Sanjoy Mahajan
2007-01-14 18:56                 ` Hans Hagen
2007-01-13  9:03     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ED796F13-093C-4DE1-9191-3E9ADC60289A@princeton.edu \
    --to=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).