From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46489 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: fullpage and XeTeX typescript Date: Tue, 23 Dec 2008 20:11:53 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230059666 11279 80.91.229.12 (23 Dec 2008 19:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 19:14:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 23 20:15:29 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 1LFCir-0002gd-9O for gctc-ntg-context-518@m.gmane.org; Tue, 23 Dec 2008 20:15:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 915CE1FC90; Tue, 23 Dec 2008 20:14:02 +0100 (CET) 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 16547-01-2; Tue, 23 Dec 2008 20:12:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B09351FC1A; Tue, 23 Dec 2008 20:12:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B44FB1FC1A for ; Tue, 23 Dec 2008 20:12:50 +0100 (CET) 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 16365-04-2 for ; Tue, 23 Dec 2008 20:12:12 +0100 (CET) Original-Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by ronja.ntg.nl (Postfix) with ESMTP id F0CD31FBD5 for ; Tue, 23 Dec 2008 20:12:11 +0100 (CET) Original-Received: by bwz13 with SMTP id 13so7408487bwz.2 for ; Tue, 23 Dec 2008 11:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:in-reply-to :content-type:content-transfer-encoding:mime-version:subject:date :references:x-mailer:from; bh=vDBNGoxHcYggyHW4di+nPe67cOc/qXIXLqjOAtCLsCU=; b=ot05YNGE2C3ConIL62iSz2z5RCtOikFza1G//1+U2edACyPaVJon2FwCkpLfsxjB9I kr/ly+pePjc3LsNTR2ehFgNa2mOnvq0eDunADauHGcc8B1184AxaF/iF4V3GgTQrRGN9 YHHGnvLky/pNGis5v+LOgoW+T1C42/gToJip8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:to:in-reply-to:content-type:content-transfer-encoding :mime-version:subject:date:references:x-mailer:from; b=G8bN84k2ehXV1HrCKCNk7/9MhMXW+DalBDA8FdyPsred7tFaJbh5wFq58fb6H+yIpL QdKDNsddJRk6ESBEgMl5tJwMSIVmGoikRxYopFFGMDVJlNeSpUmpBa8Lq3qApmsNf2ax V+/E2vZwr5gr+3QWp+6unJLgyWqsenGSl7dRg= Original-Received: by 10.223.126.145 with SMTP id c17mr6328610fas.102.1230059531564; Tue, 23 Dec 2008 11:12:11 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B294D93.dip.t-dialin.net [91.41.77.147]) by mx.google.com with ESMTPS id z10sm8675920fka.25.2008.12.23.11.12.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 11:12:11 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46489 Archived-At: Am 23.12.2008 um 18:44 schrieb Mohamed Bana: > hi, > > 1. > > what's the equivalent of the \usepackage{fullpage} for ConTeXt? \usemodule[fullpage][style={cm,empty}] %\showframe \starttext \input knuth \stoptext %D \module %D [ file=p-fullpage, %D version=2008.12.23, %D title=\CONTEXT\ User Module, %D subtitle=Fullpage documents, %D author=Wolfgang Schuster, %D date=\currentdate, %D copyright=Wolfgang Schuster, %D license=Public Domain] \unprotect \startinterface all \setinterfacevariable {fullpage} {fullpage} \setinterfacevariable {in} {in} \setinterfacevariable {cm} {cm} \setinterfacevariable {plain} {plain} \setinterfacevariable {headings} {headings} \stopinterface \startmodule[\v!fullpage] \setupmodule [\c!style={\v!in,\v!plain}] \startsetups[\v!fullpage:\v!in] \setuplayout [\c!backspace=1in, \c!width=\v!middle, \c!topspace=1in, \c!height=\v!middle] \stopsetups \startsetups[\v!fullpage:\v!cm] \setuplayout [\c!backspace=15mm, \c!width=\v!middle, \c!topspace=15mm, \c!height=\v!middle] \stopsetups \startsetups[\v!fullpage:\v!plain] \setuplayout [\c!header=0pt, \c!footer=.5in] \stopsetups \startsetups[\v!fullpage:\v!empty] \setuplayout [\c!header=0pt, \c!footer=0pt] \stopsetups \startsetups[\v!fullpage:\v!headings] \setuplayout [\c!header=.5in, \c!footer=.5in] \stopsetups \def\dofullpagelayout#1% {\directsetup{\v!fullpage:#1}} \processcommacommand[\currentmoduleparameter\c!style]\dofullpagelayout \stopmodule \protect \endinput 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 ___________________________________________________________________________________