ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Error when using gif image
Date: Sun, 20 Jan 2013 15:10:09 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.02.1301201501540.13787@ybpnyubfg.ybpnyqbznva> (raw)

If I try to include a gif image

\starttext
\externalfigure[a.gif]
\stoptext

I get the following error:

ConTeXt  ver: 2013.01.17 18:16 MKIV  fmt: 2013.1.20  int: english/english

(/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv) 
(test.tex{/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map}
! LuaTeX error 
...uild/src/tex/texmf-context/tex/context/base/l-string.lua:85: bad 
argument #2 to 'lpegmatch' (string expected, got nil)
stack traceback:
 	[C]: in function 'lpegmatch'
 	...uild/src/tex/texmf-context/tex/context/base/l-string.lua:85: in 
function 'longtostring'
 	...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:1224: 
in function 'runprogram'
 	...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:1362: 
in function 'converter'
 	...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:600: 
in function 
<...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:498>
 	(...tail calls...)
 	...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:885: 
in function 'identifier'
 	...uild/src/tex/texmf-context/tex/context/base/grph-inc.lua:903: 
in function 'identify'
 	[string "\directlua "]:1: in main chunk.

1     \starttext
2     \externalfigure[a.gif]
3 >>  \stoptext
4


\grph_include_place ...ctxlua {figures.identify()}
                                                   \ifconditional 
\c_grph_inc...
\grph_include_figure ...h_include_place [#1][][#2]
                                                   \else 
\grph_include_place ...
\syst_helpers_triple_empty_three_spaced ...{#3}][]

<to be read again>
                    \stoptext
l.3 \stoptext

Did something change in how gif images are handled? (I do have both 
graphicmagic and imagemagic installed).

Aditya
___________________________________________________________________________________
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-20 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 20:10 Aditya Mahajan [this message]
2013-01-21 18:40 ` Hans Hagen

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=alpine.LNX.2.02.1301201501540.13787@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).