From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40738 Path: news.gmane.org!not-for-mail From: "Stefan Larsson" Newsgroups: gmane.comp.tex.context Subject: Re: Tables in headers Date: Mon, 28 Apr 2008 12:29:06 +0200 Message-ID: <99c4e1a80804280329p43f34396jaaf8355ae66a56bf@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2106632492==" X-Trace: ger.gmane.org 1209378621 24438 80.91.229.12 (28 Apr 2008 10:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2008 10:30:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 28 12:30:57 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JqQdM-0008Nm-6m for gctc-ntg-context-518@m.gmane.org; Mon, 28 Apr 2008 12:30:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8A151FB71; Mon, 28 Apr 2008 12:30:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06996-01-6; Mon, 28 Apr 2008 12:29:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B5B21FB8C; Mon, 28 Apr 2008 12:29:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6A7C01FB8C for ; Mon, 28 Apr 2008 12:29:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06996-01-5 for ; Mon, 28 Apr 2008 12:29:07 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by ronja.ntg.nl (Postfix) with ESMTP id 96BD31FB71 for ; Mon, 28 Apr 2008 12:29:07 +0200 (CEST) Original-Received: by fk-out-0910.google.com with SMTP id 18so5726226fkq.2 for ; Mon, 28 Apr 2008 03:29:06 -0700 (PDT) Original-Received: by 10.78.141.12 with SMTP id o12mr67265hud.110.1209378546797; Mon, 28 Apr 2008 03:29:06 -0700 (PDT) Original-Received: by 10.78.201.13 with HTTP; Mon, 28 Apr 2008 03:29:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40738 Archived-At: --===============2106632492== Content-Type: multipart/alternative; boundary="----=_Part_4569_17297044.1209378546820" ------=_Part_4569_17297044.1209378546820 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Stefan, On Mon, Apr 28, 2008 at 8:06 AM, Stefan Larsson wrote: >> First post on this list... >> >> I have been using LaTeX for several large projects during the last 10 years >> and just recently tried to switch to ConTeXt due to the claim of easier >> handling of custom page layout. So far it is an enjoyable experience... >> >> I would need to customize my page headers with a custom table (like LaTeX's >> tabular environment) instead of just changing the text in the left and right >> corners. From the quick browsing I have been doing of documentation and >> articles at contextgarden this feature called "layers" might be what I am >> looking for. But before trying to grasp this feature I would like to ask any >> experienced ConTeXt user for the recommended approach to achieve what I am >> trying to do... >> >> So, to conclude: "How do I customize my page header to contain a table >> instead of the predefined style?" > can you give us a example of the header do you want to get, tables are not > best solution and they will couse troubles in a few cases. We could try to > find a better solution if possible. I'll try to illustrate using a monospaced font: +------+ Company Name | | | Logo | | | +------+ ------------------------------------------------+------------ Type of document | Page Report of something | 2 (10) -----------------------------------+------------+------------ Name of document | Issue | Date My document name | 1 | 2008-04-22 -----------------------------------+------------+------------ Issuer (dept, name, email) | Appendix dept, name, email | Appendix ------------------------------------------------+------------ This is the full header. A reduced header is used on the rest of the pages where the last row is excluded. (I am trying to convert a MS-Word template...) Thanks, /Stefan ------=_Part_4569_17297044.1209378546820 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Stefan,

On Mon, Apr 28, 2008 at 8:06 AM, Stefan Larsson <lastsys@gmail.com> wrote:
>> First post on this list...
>>
>> I have been using LaTeX for several large projects during the last 10 years
>> and just recently tried to switch to ConTeXt due to the claim of easier
>> handling of custom page layout. So far it is an enjoyable experience...
>>
>> I would need to customize my page headers with a custom table (like LaTeX's
>> tabular environment) instead of just changing the text in the left and right
>> corners. From the quick browsing I have been doing of documentation and
>> articles at contextgarden this feature called "layers" might be what I am
>> looking for. But before trying to grasp this feature I would like to ask any
>> experienced ConTeXt user for the recommended approach to achieve what I am
>> trying to do...
>>
>> So, to conclude: "How do I customize my page header to contain a table
>> instead of the predefined style?"

> can you give us a example of the header do you want to get, tables are not
> best solution and they will couse troubles in a few cases. We could try to
> find a better solution if possible.
 
I'll try to illustrate using a monospaced font:
 
+------+                                         Company Name
|      |
| Logo |
|      |
+------+
 
------------------------------------------------+------------
Type of document                                | Page
Report of something                             | 2 (10)
-----------------------------------+------------+------------
Name of document                   | Issue      | Date
My document name                   | 1          | 2008-04-22
-----------------------------------+------------+------------
Issuer (dept, name, email)                      | Appendix
dept, name, email                               | Appendix
------------------------------------------------+------------
 
This is the full header. A reduced header is used on the rest of the pages where the last row is excluded.
 
(I am trying to convert a MS-Word template...)
 
Thanks,
/Stefan
 
------=_Part_4569_17297044.1209378546820-- --===============2106632492== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2106632492==--