* 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
* Re: export: graphic within table (error)
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
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-06-19 11:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
* Re: export: graphic within table (error)
2011-06-19 11:13 ` Wolfgang Schuster
@ 2011-06-19 12:52 ` Hans Hagen
2011-07-04 19:26 ` Christian
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-06-19 12:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
* Re: export: graphic within table (error)
2011-06-19 12:52 ` Hans Hagen
@ 2011-07-04 19:26 ` Christian
2011-07-05 21:14 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-07-04 19:26 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
> >
> > \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
___________________________________________________________________________________
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
* Re: export: graphic within table (error)
2011-07-04 19:26 ` Christian
@ 2011-07-05 21:14 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-07-05 21:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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).