ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Letter module: signature with externalfigure fails
@ 2011-06-18 15:06 Christian
  2011-06-18 20:34 ` Christian
  0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-06-18 15:06 UTC (permalink / raw)
  To: ConTeXt

Hello List,

I tried to include a signature (tried pdf, svg, png, shipped pictures) 
in my letter and it always fails.
Example taken from correspondence.pdf Version 2010.08.27:

\usemodule[letter]
\setupletter[signature={\externalfigure[cow][height=2\lineheight]}]
\starttext
\startletter
Thus, I came to the conclusion ...
\stopletter
\stoptext

Results in:
system > tex > error on line 6 in file bla.mkiv: Undefined control 
sequence ...
[...]
!  ==> Fatal error occurred, no output PDF file produced!
mtx-context     | fatal error: return code: 1

Latest ConTeXt version, updated today because of the other "version too 
old bug" in the letter module.

Kind regards
Christian
___________________________________________________________________________________
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: Letter module: signature with externalfigure fails
  2011-06-18 15:06 Letter module: signature with externalfigure fails Christian
@ 2011-06-18 20:34 ` Christian
  2011-06-19  5:48   ` luigi scarso
  0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-06-18 20:34 UTC (permalink / raw)
  To: ntg-context

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

In search of what is going wrong, I discovered that even this simple 
code fails with context:

\starttext
\externalfigure[cow]
\stoptext

Did I miss something or is this broken?
Btw: Context Minimals on Ubuntu 11.04 32bit.
Log-file attached.

As always: thanks in advance!

[-- Attachment #2: bla.log --]
[-- Type: text/x-log, Size: 4869 bytes --]

(bla.mkiv

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

system          > cont-new.mkiv loaded
(/usr/local/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > bla.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 >  "bla.mkiv",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=bla.mkiv]
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
(bla.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{/usr/local/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/local/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/usr/local/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/usr/local/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/context/tex/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 bla.mkiv at line 1
! Undefined control sequence.

system          > tex > error on line 3 in file bla.mkiv: Undefined control sequence ...

1     \starttext
2     \externalfigure[cow]
3 >>  \stoptext
4     


\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
             
? X
mkiv lua stats  > used config file          - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - /usr/local/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > input load time           - 0.006 seconds
mkiv lua stats  > stored bytecode data      - 289 modules, 61 tables, 350 chunks
mkiv lua stats  > cleaned up reserved nodes - 30 nodes, 10 lists of 423
mkiv lua stats  > node memory usage         - 1 hlist, 2 attribute, 21 glue_spec, 1 attribute_list, 1 dir
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 2 instances (re)created, 2323 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2405 direct, 2965 indirect, 5370 total
mkiv lua stats  > randomizer                - resumed with value 0.54706615700716
mkiv lua stats  > result saved in file      - bla.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.210 seconds 
mkiv lua stats  > graphics processing time  - 0.003 seconds including tex, 1 processed images
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.1-2011051923 (rev 4277)
mkiv lua stats  > control sequences         - 30575 of 165536
mkiv lua stats  > current memory usage      - 27 MB (ctx: 28 MB)
mkiv lua stats  > runtime                   - 5.139 seconds


[-- 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: Letter module: signature with externalfigure fails
  2011-06-18 20:34 ` Christian
@ 2011-06-19  5:48   ` luigi scarso
  2011-06-19 11:29     ` Christian
  0 siblings, 1 reply; 5+ messages in thread
From: luigi scarso @ 2011-06-19  5:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Jun 18, 2011 at 10:34 PM, Christian <metan0r@gmx.de> wrote:
> In search of what is going wrong, I discovered that even this simple code
> fails with context:
>
> \starttext
> \externalfigure[cow]
> \stoptext
>
> Did I miss something or is this broken?
> Btw: Context Minimals on Ubuntu 11.04 32bit.
> Log-file attached.
Fix (by Wolfgang)
\ifdefined\dotagfigure \else \let\dotagfigure\relax \fi
\starttext
\externalfigure[cow]
\stoptext

-- 
luigi
___________________________________________________________________________________
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: Letter module: signature with externalfigure fails
  2011-06-19  5:48   ` luigi scarso
@ 2011-06-19 11:29     ` Christian
  2011-06-19 11:48       ` luigi scarso
  0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-06-19 11:29 UTC (permalink / raw)
  To: ntg-context

Am 19.06.2011 07:48, schrieb luigi scarso:
> On Sat, Jun 18, 2011 at 10:34 PM, Christian<metan0r@gmx.de>  wrote:
>> In search of what is going wrong, I discovered that even this simple code
>> fails with context:
>>
>> \starttext
>> \externalfigure[cow]
>> \stoptext
>>
>> Did I miss something or is this broken?
>> Btw: Context Minimals on Ubuntu 11.04 32bit.
>> Log-file attached.
> Fix (by Wolfgang)
> \ifdefined\dotagfigure \else \let\dotagfigure\relax \fi
> \starttext
> \externalfigure[cow]
> \stoptext
>

Inserting that line fixes the problem, in both the letter and the normal 
document. I expect that the next beta will fix this, rendering the 
additional line obsolete?

Thank you very much and have a nice day.
___________________________________________________________________________________
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: Letter module: signature with externalfigure fails
  2011-06-19 11:29     ` Christian
@ 2011-06-19 11:48       ` luigi scarso
  0 siblings, 0 replies; 5+ messages in thread
From: luigi scarso @ 2011-06-19 11:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jun 19, 2011 at 1:29 PM, Christian <metan0r@gmx.de> wrote:
> Am 19.06.2011 07:48, schrieb luigi scarso:
>>
>> On Sat, Jun 18, 2011 at 10:34 PM, Christian<metan0r@gmx.de>  wrote:
>>>
>>> In search of what is going wrong, I discovered that even this simple code
>>> fails with context:
>>>
>>> \starttext
>>> \externalfigure[cow]
>>> \stoptext
>>>
>>> Did I miss something or is this broken?
>>> Btw: Context Minimals on Ubuntu 11.04 32bit.
>>> Log-file attached.
>>
>> Fix (by Wolfgang)
>> \ifdefined\dotagfigure \else \let\dotagfigure\relax \fi
>> \starttext
>> \externalfigure[cow]
>> \stoptext
>>
>
> Inserting that line fixes the problem, in both the letter and the normal
> document. I expect that the next beta will fix this, rendering the
> additional line obsolete?
yes, see recent Wolfgang's answer on
"export: graphic within table (error)"

-- 
luigi
___________________________________________________________________________________
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-06-19 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-18 15:06 Letter module: signature with externalfigure fails Christian
2011-06-18 20:34 ` Christian
2011-06-19  5:48   ` luigi scarso
2011-06-19 11:29     ` Christian
2011-06-19 11:48       ` luigi scarso

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