From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange errors on using setupheader
Date: Sat, 31 Mar 2012 14:45:02 +0200 [thread overview]
Message-ID: <E39BB6CE-9502-47A1-BECA-4254FD7E3420@googlemail.com> (raw)
In-Reply-To: <328324C1-76D4-492F-9BE0-32D64A501730@stien.de>
Am 31.03.2012 um 14:20 schrieb Malte Stien:
> 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:
>
>
> \color[darkgray]\blank[small]
> Commercial in Confidence \hfill Version #4
You have to change this to:
\blank[small]
\color[darkgray]{Commercial Confidence \hfill Version #4}
A cleaner way to set the values for the title page is \setvariables:
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{company}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}}
\blank[170mm]
\starttabulate[|plf{\tfa}|prf{\tfa}|]
\NC \tfa © Some Company Pty Ltd \NC \getvariable{titlepage}{author} \NC\NR
\TB[small]
\NC \color[darkgray]{Commercial in Confidence} \NC \color[darkgray]{Version \getvariable{titlepage}{version}} \NC\NR
\stoptabulate
\stopstandardmakeup
\stopsetups
\starttext
\startfrontmatter
\setvariables
[titlepage]
[ set=\texsetup{titlepage},
company={Company Name},
title={The Plan},
author={Dr Who, et al.},
version={0.1}]
\stopfrontmatter
\stoptext
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-03-31 12:45 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
2012-03-31 12:45 ` Wolfgang Schuster [this message]
[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=E39BB6CE-9502-47A1-BECA-4254FD7E3420@googlemail.com \
--to=schuster.wolfgang@googlemail.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).