ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* export: graphic within table (error)
@ 2011-06-19 10:46 Reviczky, Adam
  2011-06-19 11:13 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Reviczky, Adam @ 2011-06-19 10:46 UTC (permalink / raw)
  To: ntg-context

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-05 21:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-19 10:46 export: graphic within table (error) Reviczky, Adam
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

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).