ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "M.guravage" <m.guravage@pragma-cts.com>
Subject: stretched title text
Date: Fri, 13 Jan 2006 10:07:22 +0100 (CET)	[thread overview]
Message-ID: <32804.213.233.219.56.1137143242.squirrel@webmail.solcon.nl> (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

             reply	other threads:[~2006-01-13  9:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13  9:07 M.guravage [this message]
2006-01-13  9:57 ` Taco Hoekwater
2006-01-13 10:23 ` 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=32804.213.233.219.56.1137143242.squirrel@webmail.solcon.nl \
    --to=m.guravage@pragma-cts.com \
    --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).