From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80057 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: makeupwidth in externalfigure yields invalid escape sequence Date: Tue, 1 Jan 2013 14:10:21 +0100 Message-ID: References: <09CF7C50-B164-405A-9232-54C374147A07@imt.uni-luebeck.de> <2E7C4E99-0309-4BF0-A44B-AEADE2CC594F@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357045831 10178 80.91.229.3 (1 Jan 2013 13:10:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2013 13:10:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 01 14:10:48 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tq1cF-00080J-41 for gctc-ntg-context-518@m.gmane.org; Tue, 01 Jan 2013 14:10:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C89F81020C; Tue, 1 Jan 2013 14:10:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id N7mnFF8PCKUP; Tue, 1 Jan 2013 14:10:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E144B101F0; Tue, 1 Jan 2013 14:10:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89AA6101F0 for ; Tue, 1 Jan 2013 14:10:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9AfcY8nQClnU for ; Tue, 1 Jan 2013 14:10:25 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id BD73A101EC for ; Tue, 1 Jan 2013 14:10:25 +0100 (CET) Original-Received: from ip2.rz.uni-luebeck.de (ip2.rz.uni-luebeck.de [141.83.100.72]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r01DAOH5012857 for ; Tue, 1 Jan 2013 14:10:25 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AssGAMTf4lCNU3BB/2dsb2JhbABFgX9tum4Wc4IeAQEEAX4LAgEIRjIlAQEEiCAHA6lnjkiQOWEDplSCdQ Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip2.rz.uni-luebeck.de with ESMTP/TLS/AES128-SHA; 01 Jan 2013 14:10:24 +0100 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Tue, 1 Jan 2013 14:10:23 +0100 Thread-Topic: [NTG-context] makeupwidth in externalfigure yields invalid escape sequence Thread-Index: Ac3oIVslvJJiLduaS5qDZB+QwWMRfA== In-Reply-To: <2E7C4E99-0309-4BF0-A44B-AEADE2CC594F@gmail.com> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.0004 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.72; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIGBaorO - 139fbf779c6a - 20130101 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80057 Archived-At: Hi, Thanks for the quick responses. > The \externalfigure commands passes the values of the width/height keys t= o Lua which can=92t handle relative values [...] to convert a relative (e.g= . \textwidth) in a absolute value (e.g. 12pt) you can use the \dimexpr comm= and. > = > \externalfigure[=85][width=3D\the\dimexpr.3\textwidth\relax] I'm seem to be not educated enough about dos and don'ts: To me it seemed ma= ndatory to use relative sizes as I might have to change the layout of my do= cument (*). So, do I get it right that the idea of this change is to stick = to a rigid A4 setting (i.e. all figures are e.g. of width 5 cm) and then si= mply change the print out size to A5: = \setuppapersize[A4][A5] A quick "yes, keep it rigid" or "no, do it adaptively" would be enough to g= et me on track (in case I am not telling bull****). I'll adapt my doc accor= dingly. = Cheers, Andreas (*) I am currently working on a document, which Iis going through assessmen= t in A4 and very likely published in A5 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________