From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46626 Path: news.gmane.org!not-for-mail From: Mohamed Bana Newsgroups: gmane.comp.tex.context Subject: Re: Looking for ConTeXt commands for ... Date: Mon, 05 Jan 2009 18:36:56 +0000 Message-ID: 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231180752 12890 80.91.229.12 (5 Jan 2009 18:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2009 18:39:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 05 19:40:23 2009 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 1LJuNC-0003td-VH for gctc-ntg-context-518@m.gmane.org; Mon, 05 Jan 2009 19:40:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02BCB1FCB0; Mon, 5 Jan 2009 19:39:04 +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 03344-07-3; Mon, 5 Jan 2009 19:37:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 905251FC57; Mon, 5 Jan 2009 19:37:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADEF31FC57 for ; Mon, 5 Jan 2009 19:37:46 +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 03344-07-2 for ; Mon, 5 Jan 2009 19:37:10 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 12FC71FC45 for ; Mon, 5 Jan 2009 19:37:10 +0100 (CET) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LJuK1-0000eL-8R for ntg-context@ntg.nl; Mon, 05 Jan 2009 18:37:05 +0000 Original-Received: from 87-194-191-26.bethere.co.uk ([87.194.191.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jan 2009 18:37:05 +0000 Original-Received: from mbana.lists by 87-194-191-26.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jan 2009 18:37:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 87-194-191-26.bethere.co.uk User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: 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:46626 Archived-At: ! Undefined control sequence. \CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe #2} }\blank [2*big] l.139 \CVTITLE{}{CV} ? \tfe doesn't seem to work, the others do. $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.12.15 int: english/english $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown Aditya Mahajan wrote: > On Mon, 5 Jan 2009, Mohamed Bana wrote: >> I'am trying to convert a doc to ConTeXt, and I'm also trying to make >> it as close to the original as possible. How do the command below >> translate to ConTeXt? >> >> 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, >> marginparsep=7pt, marginparwidth=.6in} > > For a4 paper use > > \setuppapersize[a4][a4] > > For setting geometry, see \setuplayout. > >> 2. \scriptsize => \tfxx? >> >> 3. \LARGE and \Large >> >> 4. \Huge and \HUGE > > Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc > \tfd \tfe, but that may not give you visually the same appearance due to > different defaults in Latex and Context. In Latex, these sizes are set > as part of the documentclass, or size10.clo, size12.clo, etc. So, the > most reliable way to reconstruct the visual appearance will be to figure > out what sizes they correspond to in latex, and then set the context > font environmet to match the latex values. > > Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________