[dev-context] \rotation is broken

2011-06-14 Thread luigi scarso
! Undefined control sequence.
\starttext \rotate[rotation=90]{FOO}\stoptext



system   tex  error on line 1 in file test.tex: Undefined
control sequence ...

 1   \starttext \rotate[rotation=90]{FOO} \stoptext


\dodorotatenextbox ...ta \fi \dododorotatenextbox
  \wd \nextbox \if!!donea \s...
\dorotatenextbox ...otatenextbox \@@rorotation #2}
  \hbox {\boxcursor \flushne...
\dodowithnextbox ...xtbox \@@rorotation \!!counta
  \egroup
l.1 \starttext \rotate[rotation=90]{FOO}
 \stoptext



core-mis.mkiv:

% We can completely do this in lua .. when 'I'm bored ...

% \def\dododorotatenextbox
%   {\setbox\nextbox\vbox to \@@layerysiz
%  {\vfill
%   \hbox to \@@layerxsiz
% {\dostartrotation\@@rorotation
%\nextboxwd\zeropoint
%\nextboxht\zeropoint
%\flushnextbox
%  \dostoprotation
%  \hfill}%
%   \kern\@@layerypos}%
%   \setbox\nextbox\hbox
% {\kern\@@layerxpos
%  \kern\@@layerxoff
%  \lower\@@layeryoff\flushnextbox



-- 
luigi
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] x-set-11.mkiv

2011-06-14 Thread Wolfgang Schuster
Hi Hans,

the \blank command is ignored when the complete list is printed with 
\placesetups
because packed mode is used, with a normal \vskip this doesn’t happen. I reduced
the skip because “.75\lineheight” looks better for commands without optional 
arguments.

\startxmlsetups xml:setups:typeset
\getvalue{\e!start setuptext}
...
\xmldoif{#1}{/arguments} {
\bgroup
\enablemode[setups-pass-two]
\doglobal\newcounter\currentSETUPargument
-   \blank[\v!line]
+   \godown[.75\lineheight]
\switchtobodyfont[small]
\ignorespaces\xmlfilter{#1}{/arguments/text()}\endgraf
\egroup
}
\getvalue{\e!stop setuptext}
\stopxmlsetups

Wolfgang

___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] ConTeXt equivalent of \line

2011-06-14 Thread Wolfgang Schuster
Hi Hans,

can you add a ConTeXt version of plain TeX’s \line (\hbox to \hsize) command.

I think this should do it: \def\fullaligned{\doalignline \relax \relax}

Wolfgang

___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] ConTeXt equivalent of \line

2011-06-14 Thread Hans Hagen

On 14-6-2011 1:58, Wolfgang Schuster wrote:

Hi Hans,

can you add a ConTeXt version of plain TeX’s \line (\hbox to \hsize) command.

I think this should do it: \def\fullaligned{\doalignline \relax \relax}


sure, but shouldn't we also add this then?

\letvalue{\s!do\v!line\v!max}\fullaligned


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] ConTeXt equivalent of \line

2011-06-14 Thread Wolfgang Schuster

Am 14.06.2011 um 15:43 schrieb Hans Hagen:

 On 14-6-2011 1:58, Wolfgang Schuster wrote:
 Hi Hans,
 
 can you add a ConTeXt version of plain TeX’s \line (\hbox to \hsize) command.
 
 I think this should do it: \def\fullaligned{\doalignline \relax \relax}
 
 sure, but shouldn't we also add this then?
 
 \letvalue{\s!do\v!line\v!max}\fullaligned

Yes, it makes sense.

Wolfgang

___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] strc-ren.mkiv

2011-06-14 Thread Wolfgang Schuster
\def\doplaceheadnumbercomponent#1%
  {\begingroup
 \setupheadcomponentfont\c!numberstyle\c!numbercolor
 \placeheadmargintexts
 \ifcsname\??nh\currentstructurehead\c!deepnumbercommand\endcsname
-  
\expandafter\let\expandafter\deepstructurenumbercommand\csname\??nh\currentstructurehead\c!deeptextcommand\endcsname
+  
\expandafter\let\expandafter\deepstructurenumbercommand\csname\??nh\currentstructurehead\c!deepnumbercommand\endcsname
 \fi
 \ifconditional\structureheadisdisplay % \ifdisplaysectionhead
   % can be nilled with \setnostrut
   \structureheadparameter\c!numbercommand{\setstrut\begstrut#1\endstrut}%
 \else
   \structureheadparameter\c!numbercommand{#1}%
 \fi
   \endgroup}

Wolfgang

___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] pack-box.mkiv

2011-06-14 Thread Wolfgang Schuster
\def\nonoanchor[#1]%
- {}
+ {\csname\??an#1\endcsname}

otherwise \defineanchor is useless.

Wolfgang

___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context