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
Am 19.06.2011 um 12:46 schrieb Reviczky, Adam:
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).
You have to wait till Hans uploads a new version, there are more commands which lacks a trialtypesetting check, e.g. \def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi} Wolfgang
On 19-6-2011 1:13, Wolfgang Schuster wrote:
Am 19.06.2011 um 12:46 schrieb Reviczky, Adam:
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).
You have to wait till Hans uploads a new version, there are more commands which lacks a trialtypesetting check, e.g.
\def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi}
fixed ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
\def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi}
fixed
I just discovered that it was not fixed for my Windows-Minimals (ConTeXt ver: 2011.06.18 14:13 MKIV). Adding the above line makes it work. This is fixed with my Ubuntu-Minimals. I'm confused. Did I miss something in the update-process? -run first-setup.bat Even did run -mtxrun --generate -context --generate to be sure (although I admit that I have no clue what "making formats" means :D ) Example: \starttext \externalfigure[cow] \stoptext <--------snip-------> ! Undefined control sequence. system > tex > error on line 3 in file bla.mkiv: Undefined control sequence ... 1 \starttext 2 \externalfigure[cow] 3 >> \stoptext \dodoplaceexternalfigure ...][#4][#5]\dotagfigure \naturalvbox attr \imageat... \doexternalfigure ...value {\??ef \??ef #1}[#3]}}} \globallet \currentresourc... \dotripleemptytwospaced #1#2->#1[{#2}][][] <to be read again> \stoptext l.3 \stoptext
On 4-7-2011 9:26, Christian wrote:
\def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi}
fixed
I just discovered that it was not fixed for my Windows-Minimals (ConTeXt ver: 2011.06.18 14:13 MKIV). Adding the above line makes it work. This is fixed with my Ubuntu-Minimals. I'm confused. Did I miss something in the update-process?
hm, fixed on my machine, but I cannot upload now as project structure code has been rewritten and needs testing first Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Christian
-
Hans Hagen
-
Reviczky, Adam
-
Wolfgang Schuster