From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39799 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Various ConTeXt Questions Date: Thu, 3 Apr 2008 10:11:45 +0200 Message-ID: <115224fb0804030111g50b08551idb4760f1a3198e63@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207210412 31735 80.91.229.12 (3 Apr 2008 08:13:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 08:13:32 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 03 10:14:03 2008 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 1JhKa0-0004Ux-JE for gctc-ntg-context-518@m.gmane.org; Thu, 03 Apr 2008 10:13:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 649181FB8C; Thu, 3 Apr 2008 10:13:12 +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 09764-06-12; Thu, 3 Apr 2008 10:12:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DA2E1FB38; Thu, 3 Apr 2008 10:12:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF9EA1FB33 for ; Thu, 3 Apr 2008 10:12:23 +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 15839-01 for ; Thu, 3 Apr 2008 10:11:48 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by ronja.ntg.nl (Postfix) with ESMTP id 8044D1FB5B for ; Thu, 3 Apr 2008 10:11:46 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so3588834wxd.5 for ; Thu, 03 Apr 2008 01:11:45 -0700 (PDT) Original-Received: by 10.151.150.13 with SMTP id c13mr2010958ybo.168.1207210305221; Thu, 03 Apr 2008 01:11:45 -0700 (PDT) Original-Received: by 10.150.49.21 with HTTP; Thu, 3 Apr 2008 01:11:45 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:39799 Archived-At: Hi Edd, > I am taking a look at conTeXt as a means of typesetting documents with > more advanced page layouts which otherwise would be produced with > desktop publishing suites. > > I am very new to conTeXt, so I know very little about it. The only > documentation I have been able to find on the internet is: > ConTeXt Garden > ConTeXt an excursion > ConTeXt : The manual You can find all manuals from Pragma on their homepage: http://www.pragma-ade.com/show-man-1.htm > I have been sifting through these for a while, and whilst the > documentation is good, I still have questions. I must apologise if I > missed the answers in the docs or if the questions are just plain > dumb. > > 1) Is there a way to make ConTeXt stricter? > It seem that ConTeXt will not complain if you misspell the names of > colours, layers, overlays etc. I would rather it did. > > 2) Is there a way to overlay many layers/overlays at one place. > It seems using background= can only take 1 layer/overlay. Even better > if I could offset the layer/overlay from an origin. 1. You could set multiple overlays with a comma seperated list and braces before and after the list. [...,background={overlay 1,overlay 2,...,overlay n},...] 2. You could use the x and y or offset, hoffset and voffset parameters for \setlayer to set the distance from your layer from all four corners of the page, textblock or any other pageblock. > 3) I have had difficulty pushing the whole layout including the margin > to the right about 2cm. > I have tried using setuplayout to alter leftedge, leftedgedistance and > backspace. Is that not the way to do it? The distance between the left margin of the paper and the left margin of the textblock is set with the backspace key for \setuplayout. \setuplayout[backspace=...] > 3a) Similarly I would like to make the textheight longer so that the > footer is about 1cm from the bottom of the page. I have had no luck in > setting textheight using setuplayout. You could set a fixed value for the footer and let TeX calculate the textheight. \setuplayout [bottomspace=1cm, height=fit] > 4) Is there a module to parse CVS tags, like the RCS package for laTeX? > > 5) Can I use OpenType and TrueType fonts in ConTeXt? Ideally via fontspec. It is possible to use TrueType and OpenType fonts with pdfTeX but this requires tfm files and a map file. The easier method is to use XeTeX or LuaTeX as engines and the only thing you need is a typescript file with the font names and their mapping to ConTeXt's own font names. http://wiki.contextgarden.net/Fonts_in_XeTeX (a little bit outdated) http://wiki.contextgarden.net/Mark_IV#Fonts_and_typescripts (shoudl also work with XeTeX) > 6) Is there a book on ConTeXt for beginners aside from what I have > already listed above? > 7) Can I specify RGB colours in th 0 <= x <= 255 format? > So far I have had to write a script to help me convert them. This is not possible but you could use the hex notation \setupcolor[hex] \setupcolors[state=start] \definecolor[hexred] [#FF0000] \definecolor[hexgreen][h=00FF00] \starttext \color[hexred]{Red Text} \color[hexgreen]{Green Text} \stoptext > 8) Is anyone proficient with ConTeXt going to the Cork TeX User Group meeting? > > Thanks. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________