ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Malte Stien <malte@stien.de>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange errors on using setupheader
Date: Sat, 31 Mar 2012 23:20:52 +1100	[thread overview]
Message-ID: <328324C1-76D4-492F-9BE0-32D64A501730@stien.de> (raw)
In-Reply-To: <4F75C087.6020404@wxs.nl>

Hi all, Hi Hans,

Thank you for the fix. Okay, so now I am on

  ConTeXt  ver: 2012.03.30 16:16 MKIV  fmt: 2012.3.31  int: english/english

which does indeed fix the little problem I posted yesterday. However, I still have one more issue. Again, I condensed it down to something very close to a minimal example:


% Select A4 as the paper size
\setuppapersize[A4]

% A macro for the title page
\def\titlepage[#1][#2][#3][#4]{
\startstandardmakeup
\blank[50mm]
\rightaligned{\ss\tfd\bf\nohyphens{#1}}
\blank[2mm]\textrule[bottom]
\rightaligned{\ss{\tfc{\color[darkgray] {#2}}}}
\blank[170mm]

\ss\tfa\copyright\thinspace Some Company Pty Ltd \hfill #3 \par
\color[darkgray]\blank[small]
Commercial in Confidence \hfill Version #4
\stopstandardmakeup
}

\starttext
\startfrontmatter

\titlepage[Company Name][The Plan][Dr Who, et al.][0.1]
\completecontent

\page \chapter{Purpose and Scope}
\section[]{Purpose}
This document should be read in conjunction with bla bla bla...

\stopfrontmatter
\stoptext


This results in

29 >>  \stopfrontmatter
30     \stoptext
31     

<inserted text> 
                }
<to be read again> 
                   \endgroup 
l.29 \stopfrontmatter


If I remove the line

  \color[darkgray]\blank[small]

from the \titlepage macro all works, which I find somewhat unexpected.

Could you please have a look at this?
Thank you.
Malte.


On 31/03/2012, at 1:17, Hans Hagen wrote:

> On 30-3-2012 11:47, Malte Stien wrote:
>> Hans,
>> 
>> No, everything works in the "(by now ancient) current" but is broken in the beta. I am trying to switch to the beta as you suggested, but am being held up by some errors, the first one of which is this
> 
> Ah, I forgot to rename a macro ... new beta in an hour ...
> 
> (btw, no need for utf directive in mkiv and english is default anyway)
> 
> 
> -----------------------------------------------------------------
>                                          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
> -----------------------------------------------------------------

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-03-31 12:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  9:35 Malte Stien
2012-03-30  9:44 ` Hans Hagen
2012-03-30  9:47   ` Malte Stien
2012-03-30 14:17     ` Hans Hagen
2012-03-31 12:20       ` Malte Stien [this message]
2012-03-31 12:45         ` Wolfgang Schuster
     [not found] <mailman.1.1333274401.9682.ntg-context@ntg.nl>
2012-04-01 10:35 ` Malte Stien
2012-04-01 13:10   ` 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=328324C1-76D4-492F-9BE0-32D64A501730@stien.de \
    --to=malte@stien.de \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).