ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: making my own simpleslides module
Date: Thu, 19 Jul 2012 16:39:46 +0200	[thread overview]
Message-ID: <20120719163946.28cdcb18@homerow> (raw)
In-Reply-To: <F39302DF-982C-4AF1-A182-4DC16D991A00@me.com>

On 2012-07-19 dalyoung <haksan@me.com> wrote:

Hi Thomas

> But it does not work. I got error as follows:
> 
> ! Argument of \douseexternalfigure has an extra }.

You cannot simply nest argument with brackets (as opposed to braced
arguments). You need to put the inner command in a pair of extra
braces:

\defineoverlay
  [simpleslides:background:horizontal]
  [{\externalfigure[/Users/graph/Documents/figures/background/ssuwave1][]}]

And I would advice to have a look at the directory key of
\setupexternalfigures. It is almost always a mistake to have a hard
coded path in the code.

Marco


___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2012-07-19 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 14:27 dalyoung
2012-07-19 14:36 ` Wolfgang Schuster
2012-07-19 14:39 ` Marco [this message]
2012-07-19 15:19 dalyoung

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=20120719163946.28cdcb18@homerow \
    --to=netuse@lavabit.com \
    --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).