ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* stretched title text
@ 2006-01-13  9:07 M.guravage
  2006-01-13  9:57 ` Taco Hoekwater
  2006-01-13 10:23 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: M.guravage @ 2006-01-13  9:07 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

Hi,

Something has changed in the past couple months that causes my stretched
title code to fail with the message:

  ! You can't use `\end' in internal vertical mode.
  <recently read> \normalend

I've attatched a small example. Has anyone a suggestion how I can adapt my
code accordingly?

Cheers,

Michael

[-- Attachment #2: stretch.tex --]
[-- Type: application/octet-stream, Size: 552 bytes --]

% interface=en output=pdftex

\setuppagenumbering[state=stop]
\def\CapStretchAmount{0.3em}
\def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}\stretchednormalcase{#1}}
\def\stretchedbox#1%
  {\bgroup
  \framed [frame=off, offset=.5em, align=middle,
           width=broad]{\CapStretch{\sc #1}}\egroup}
\setuphead [subject][textcommand=\stretchedbox]
\starttext 
  \subject{feeling stretched feeling stretched feeling stretched feeling stretched}
    \processfile{tufte}
  \subject{feeling stretched}
    \processfile{tufte}
\stoptext
%finis

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-13 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-13  9:07 stretched title text M.guravage
2006-01-13  9:57 ` Taco Hoekwater
2006-01-13 10:23 ` Hans Hagen

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).