ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Reviczky, Adam" <adam.reviczky@kcl.ac.uk>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: export: graphic within table (error)
Date: Sun, 19 Jun 2011 11:46:48 +0100	[thread overview]
Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9F571EF29@KCL-MAIL05.kclad.ds.kcl.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hans,

I'm getting this error if I put an image within a table using the export backend:
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string expected, got boolean).

Minimal example:
---
\setupbackend[export=yes]
\starttext
% \externalfigure[mill] % -- fine
\bTABLE
% \bTR \bTD test \eTD \eTR % -- fine
\bTR \bTD \externalfigure[mill] \eTD \eTR % -- error
\eTABLE
\stoptext
---

Log attached.

Adam

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.log --]
[-- Type: text/x-log; name="test.log", Size: 2899 bytes --]

(test.tex

ConTeXt  ver: 2011.06.18 14:13 MKIV  fmt: 2011.6.19  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "test.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=test.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(test.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
backend         > export > enabling export to xml
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file test.tex at line 4
backend         > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
 </usr/share/texmf/tex/context/sample/mill.png>
pages           > flushing realpage 1, userpage 1, subpage 1
system          > end file test.tex at line 10
 )</usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
backend         > export > saving xml data in 'test.export
backend         > export > saving css image definitions in 'test-images.css
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string expected, got boolean).

system          > tex > error on line 0 in file : LuaTeX error  ...

<empty file>

<*> ./test.tex
              
? 


[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2011-06-19 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 10:46 Reviczky, Adam [this message]
2011-06-19 11:13 ` Wolfgang Schuster
2011-06-19 12:52   ` Hans Hagen
2011-07-04 19:26     ` Christian
2011-07-05 21:14       ` 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=7B4626C28B06A7418E938BF73D6DEE18F9F571EF29@KCL-MAIL05.kclad.ds.kcl.ac.uk \
    --to=adam.reviczky@kcl.ac.uk \
    --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).