From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80078 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: Thu, 3 Jan 2013 22:50:52 +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 1357249864 22038 80.91.229.3 (3 Jan 2013 21:51:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 21:51:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 03 22:51:20 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 1Tqsh3-00064U-Un for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jan 2013 22:51:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F25410201; Thu, 3 Jan 2013 22:51:02 +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 6gSD9y8za2oG; Thu, 3 Jan 2013 22:51:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8BEBB101F3; Thu, 3 Jan 2013 22:51:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C928101F3 for ; Thu, 3 Jan 2013 22:50:58 +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 sR2dFlywO0Jl for ; Thu, 3 Jan 2013 22:50:55 +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 C73EA101F2 for ; Thu, 3 Jan 2013 22:50:55 +0100 (CET) Original-Received: from ip1.rz.uni-luebeck.de (ip1.rz.uni-luebeck.de [141.83.100.71]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r03Loroe016294 for ; Thu, 3 Jan 2013 22:50:53 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFAIn75VCNU3BB/2dsb2JhbABFgmy6ZRZzgh4BAQEDAQEBAXsLAgEIRicLJQEBBBOIDQcDCLZTkDlhA5cojyyCdQ Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip1.rz.uni-luebeck.de with ESMTP/TLS/AES128-SHA; 03 Jan 2013 22:50:52 +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; Thu, 3 Jan 2013 22:50:52 +0100 Thread-Topic: [NTG-context] makeupwidth in externalfigure yields invalid escape sequence Thread-Index: Ac3p/GX5zbeKG/J6SHeegoRps4m+tQ== In-Reply-To: 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.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.71; 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: 0QIHxORGb - 72c900cb8b7d - 20130103 (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:80078 Archived-At: Dear... ...invisible man probably known as Hans... Thanks for fixing this! Cheers, Andreas FYI followers: \starttext = \externalfigure[cow][width=3D0.5\makeupwidth] = \stoptext works with the latest beta (MKIV) Am Jan 1, 2013 um 2:10 PM schrieb Andreas Mang : > Hi, > = > Thanks for the quick responses. > = >> The \externalfigure commands passes the values of the width/height keys = to 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 com= mand. >> = >> \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 = mandatory to use relative sizes as I might have to change the layout of my = document (*). So, do I get it right that the idea of this change is to stic= k to a rigid A4 setting (i.e. all figures are e.g. of width 5 cm) and then = simply 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= get me on track (in case I am not telling bull****). I'll adapt my doc acc= ordingly. = > = > Cheers, > Andreas > = > (*) I am currently working on a document, which Iis going through assessm= ent in A4 and very likely published in A5 > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________