From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o5TJCc8j028655; Tue, 29 Jun 2010 15:12:39 -0400 (EDT) Received: from smtp-2.sys.kth.se (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id DA72F14D870; Tue, 29 Jun 2010 21:12:32 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by smtp-2.sys.kth.se (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id T5-IjlIYVLso; Tue, 29 Jun 2010 21:12:21 +0200 (CEST) X-KTH-Auth: kristaps [85.8.60.151] X-KTH-mail-from: kristaps@bsd.lv Received: from lappy.bsd.lv (h85-8-60-151.dynamic.se.alltele.net [85.8.60.151]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 1C33414D79E; Tue, 29 Jun 2010 21:12:20 +0200 (CEST) Message-ID: <4C2A45B0.2090605@bsd.lv> Date: Tue, 29 Jun 2010 21:12:48 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.16 (X11/20080812) X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: source@mdocml.bsd.lv, "tech@mdocml.bsd.lv" , "dillo@danbala.tuwien.ac.at" Subject: Re: mdocml: Add in -Opaper=xxx support for -Tps postscript. References: <201006291453.o5TErEHu003917@krisdoz.my.domain> <20100629163445.GA265@britannica.bec.de> In-Reply-To: <20100629163445.GA265@britannica.bec.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > I would suggest reordering the option parsing slightly: > Just set the keep a variable with the default paper size as string. > After parsing all options, set the paper size accordingly (single point > of reference value). Maybe additionally accept input of the format > 100x100 to get a paper size of 100mm times 100mm. Default margins might > be useful to derive from the paper size as well. Joerg, good point on dumping it into a string and the NNxNN option. Will do. I'll also look into the margin parts -- I don't know enough typography to say whether this is "good" or not. Dieter, do you know of any typography experts I can consult for these sorts of questions? I'd like to have somebody on call for "expert" level questions. (Dieter, because I'm not sure whether you see the commits, -Tps now supports an -Opaper=xxxx option, accepting "a4" and "letter" as arguments, and I'm forward-looking into more advance typography.) Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv