ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: makeupwidth in externalfigure yields invalid	escape sequence
Date: Tue, 1 Jan 2013 14:10:21 +0100	[thread overview]
Message-ID: <C84017A0-2160-4A08-B06F-906A1C1BFC57@imt.uni-luebeck.de> (raw)
In-Reply-To: <2E7C4E99-0309-4BF0-A44B-AEADE2CC594F@gmail.com>

Hi,

Thanks for the quick responses.

> The \externalfigure commands passes the values of the width/height keys to Lua which can’t handle relative values [...] to convert a relative (e.g. \textwidth) in a absolute value (e.g. 12pt) you can use the \dimexpr command.
> 
>  \externalfigure[…][width=\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 stick 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 accordingly. 

Cheers,
Andreas

(*) I am currently working on a document, which Iis going through assessment 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-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-01-01 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31 12:38 Andreas Mang
2012-12-31 13:08 ` Peter Münster
2013-01-01  8:02 ` Wolfgang Schuster
2013-01-01 13:10   ` Andreas Mang [this message]
2013-01-03 21:50     ` Andreas Mang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C84017A0-2160-4A08-B06F-906A1C1BFC57@imt.uni-luebeck.de \
    --to=mang@imt.uni-luebeck.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).