* pageshifting
@ 2011-03-17 15:24 Willi Egger
2011-03-18 10:00 ` pageshifting Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2011-03-17 15:24 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 500 bytes --]
Hi,
it looks as of there is a bug in page-imp in MKIV. The problem does not show up in MKII.
When using vertical and or horizontal pageshift lists while arranging an error occurs:
! Incomplete \iffalse; all text was ignored after line 27.
system > tex > error on line 0 in file : Incomplete \iffalse; all text was ignored after line 27 ...
<empty file>
<inserted text>
\fi
...
! Emergency stop.
Please refer to the attached minimal example
Willi
[-- Attachment #2: test-vertical-pageshifting.tex --]
[-- Type: application/octet-stream, Size: 631 bytes --]
% Context file
% Filename: test-vertical-pageshift.tex
%
% 17-03-2011
% Copyright (c) 2011 BOEDE. All rights reserved.
\setupcolors[stat=start]
\setuplayout[location=middle,marking=on]
\showframe
\setuppapersize[A7][A3,landscape]
\setuparranging[2*8]
\definepageshift%
[ver]%
[vertical]%
[5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm,5mm]
\definepageshift%
[hor]%
[horizontal]%
[5mm,-5mm,5mm,-5mm,5mm,-5mm,5mm,-5mm,5mm,-5mm,5mm,-5mm,5mm,-5mm,5mm,-5mm]
\setuppageshift[paper][ver]
% \setuppageshift[paper][hor]
% \setuppageshift[paper][ver][hor]
\starttext
\dorecurse{8}{\input tufte \page}
\stoptext
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pageshifting
2011-03-17 15:24 pageshifting Willi Egger
@ 2011-03-18 10:00 ` Wolfgang Schuster
2011-03-18 14:59 ` pageshifting Willi Egger
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-18 10:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.03.2011 um 16:24 schrieb Willi Egger:
> Hi,
>
> it looks as of there is a bug in page-imp in MKIV. The problem does not show up in MKII.
>
> When using vertical and or horizontal pageshift lists while arranging an error occurs:
page-imp.mkiv (missing \fi’s at the end of \ifcsname):
\def\dosetuppageshift[#1][#2][#3]% page|paper horizontal vertical
{\ifthirdargument % paper=arrange
- \edef\hpageshifts{\ifcsname\??pt\v!horizontal:#2\endcsname\csname\??pt\v!horizontal:#2\endcsname}%
+ \edef\hpageshifts{\ifcsname\??pt\v!horizontal:#2\endcsname\csname\??pt\v!horizontal:#2\endcsname\fi}%
- \edef\vpageshifts{\ifcsname\??pt\v!vertical :#3\endcsname\csname\??pt\v!vertical :#3\endcsname}%
+ \edef\vpageshifts{\ifcsname\??pt\v!vertical :#3\endcsname\csname\??pt\v!vertical :#3\endcsname\fi}%
\doifelse{#1}\v!page {\let\shiftprintpagebox\shiftpagebox}{\let\shiftprintpagebox\gobbleoneargument}%
\doifelse{#1}\v!paper{\let\shiftpaperpagebox\shiftpagebox}{\let\shiftpaperpagebox\gobbleoneargument}%
\else\ifsecondargument
\doifinsetelse{#1}{\v!page,\v!paper}
{\setuppageshift[#1][#2][#2]}
{\setuppageshift[\v!page][#1][#2]}%
\else\iffirstargument
\setuppageshift[\v!page][#1][#1]%
\fi\fi\fi}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pageshifting
2011-03-18 10:00 ` pageshifting Wolfgang Schuster
@ 2011-03-18 14:59 ` Willi Egger
0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2011-03-18 14:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello Wolfgang,
that is what I thought. Thanks!
Still when I run first-setup.sh --context=beta I receive the version of 2011-02-25. with Luatex beta-0.65.0-2010121316 ?? - I heard though that Luatex .66 is available but why not in the minimals?
Willi
On 18 Mar 2011, at 11:00, Wolfgang Schuster wrote:
>
> Am 17.03.2011 um 16:24 schrieb Willi Egger:
>
>> Hi,
>>
>> it looks as of there is a bug in page-imp in MKIV. The problem does not show up in MKII.
>>
>> When using vertical and or horizontal pageshift lists while arranging an error occurs:
>
> page-imp.mkiv (missing \fi’s at the end of \ifcsname):
>
> \def\dosetuppageshift[#1][#2][#3]% page|paper horizontal vertical
> {\ifthirdargument % paper=arrange
> - \edef\hpageshifts{\ifcsname\??pt\v!horizontal:#2\endcsname\csname\??pt\v!horizontal:#2\endcsname}%
> + \edef\hpageshifts{\ifcsname\??pt\v!horizontal:#2\endcsname\csname\??pt\v!horizontal:#2\endcsname\fi}%
> - \edef\vpageshifts{\ifcsname\??pt\v!vertical :#3\endcsname\csname\??pt\v!vertical :#3\endcsname}%
> + \edef\vpageshifts{\ifcsname\??pt\v!vertical :#3\endcsname\csname\??pt\v!vertical :#3\endcsname\fi}%
> \doifelse{#1}\v!page {\let\shiftprintpagebox\shiftpagebox}{\let\shiftprintpagebox\gobbleoneargument}%
> \doifelse{#1}\v!paper{\let\shiftpaperpagebox\shiftpagebox}{\let\shiftpaperpagebox\gobbleoneargument}%
> \else\ifsecondargument
> \doifinsetelse{#1}{\v!page,\v!paper}
> {\setuppageshift[#1][#2][#2]}
> {\setuppageshift[\v!page][#1][#2]}%
> \else\iffirstargument
> \setuppageshift[\v!page][#1][#1]%
> \fi\fi\fi}
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-18 14:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-17 15:24 pageshifting Willi Egger
2011-03-18 10:00 ` pageshifting Wolfgang Schuster
2011-03-18 14:59 ` pageshifting Willi Egger
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).