ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem finding 'cow'
@ 2016-08-31 14:25 Procházka Lukáš Ing.
  2016-08-31 14:34 ` Henri Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Procházka Lukáš Ing. @ 2016-08-31 14:25 UTC (permalink / raw)
  To: ConTeXt

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

Hello,

it seems my ConTeXt doesn't find its own 'cow.pdf'.

The file is located in

	c:\Ctx-Beta\tex\texmf-context\tex\context\sample\common\cow.pdf

when the whole ConTeXt is located in

	c:\Ctx-Beta\tex\

My resulting .pdf shows no image; and also there is no info in the .log where ConTeXt tried to find the image.

How to tell ConTeXt where to look for "installed-in" images?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

[-- Attachment #2: CowTest.log --]
[-- Type: application/octet-stream, Size: 5648 bytes --]

open source     > 1 > 1 > d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.08.15 22:40 MKIV beta  fmt: 2016.8.17  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 > d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
system          > files > jobname 'CowTest', input './CowTest.mkiv', result 'CowTest'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > d:/Lukas/ConTeXt/Test/CowTest.mkiv
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > d:/Lukas/ConTeXt/Test/CowTest.mkiv
close source    > 1 > 3 > d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv

system          > structure > start used structure

used structure  > text: CowTest

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=lua foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=otherwise
used file       >    3: filename=cont-new.mkiv filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-us.lua filetype=lua foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=otherwise
used file       >    5: filename=d:\Lukas\ConTeXt\Test/CowTest.mkiv foundname=d:/Lukas/ConTeXt/Test/CowTest.mkiv usedmethod=direct
used file       >    6: filename=lm.lfg filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
used file       >    7: filename=lmroman12-regular filetype=otf format=otf foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file       >    8: filename=latinmodern-math.otf filetype=opentypefonts foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >    9: filename=lmmono12-regular filetype=otf format=otf foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf usedmethod=database
used file       >   10: filename=lmmono8-regular filetype=otf format=otf foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf usedmethod=database
used file       >   11: filename=lpdf-pdx.xml filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="1"
used option     > fulljobname="./CowTest.mkiv"
used option     > input="./CowTest.mkiv"
used option     > kindofrun="1"
used option     > maxnofruns="9"
used option     > no-parse-first-line="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./CowTest.mkiv

system          > options > stop commandline files


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.063 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 11 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 398 modules (0.437 sec), 86 tables (0.016 sec), 484 chunks (0.453 sec)
mkiv lua stats  > traced context: maxstack: 1201, freed: 0, unreachable: 1201
mkiv lua stats  > cleaned up reserved nodes: 49 nodes, 9 lists of 447
mkiv lua stats  > node memory usage: 11 glue, 2 penalty, 22 attribute, 42 glue_spec, 8 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 37 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.016 seconds saving, 0.016 seconds loading
mkiv lua stats  > callbacks: 154 direct, 244 indirect, 398 total
mkiv lua stats  > randomizer: resumed with value 0.99188207647938
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: CowTest.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 4 files: latinmodern-math.otf, lmmono12-regular.otf, lmmono8-regular.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.025, afm 1.512, tfm 1.000, 6 instances, load time 0.391 seconds 
mkiv lua stats  > graphics processing time: 0.078 seconds including tex, 1 processed images, 1 unique asked, 0 bad names
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats  > luatex banner: this is luatex, version 0.98.2 (tex live 2016/w32tex)
mkiv lua stats  > control sequences: 44377 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 48 MB (ctx: 48 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.109 seconds, 1 processed pages, 1 shipped pages, 0.902 pages/second


[-- Attachment #3: CowTest.mkiv --]
[-- Type: application/octet-stream, Size: 47 bytes --]

\starttext
  \externalfigure[cow]
\stoptext

[-- Attachment #4: CowTest.pdf --]
[-- Type: application/pdf, Size: 7279 bytes --]

[-- Attachment #5: 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] 4+ messages in thread

* Re: Problem finding 'cow'
  2016-08-31 14:25 Problem finding 'cow' Procházka Lukáš Ing.
@ 2016-08-31 14:34 ` Henri Menke
  2016-08-31 14:38   ` Henri Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Henri Menke @ 2016-08-31 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Lukáš,

there are some trackers available concerning image loading

http://wiki.contextgarden.net/Command/externalfigure#Tracking

Cheers, Henri

On 08/31/2016 04:25 PM, Procházka Lukáš Ing. wrote:
> Hello,
> 
> it seems my ConTeXt doesn't find its own 'cow.pdf'.
> 
> The file is located in
> 
>     c:\Ctx-Beta\tex\texmf-context\tex\context\sample\common\cow.pdf
> 
> when the whole ConTeXt is located in
> 
>     c:\Ctx-Beta\tex\
> 
> My resulting .pdf shows no image; and also there is no info in the .log where ConTeXt tried to find the image.
> 
> How to tell ConTeXt where to look for "installed-in" images?
> 
> Best regards,
> 
> Lukas
> 
> 
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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] 4+ messages in thread

* Re: Problem finding 'cow'
  2016-08-31 14:34 ` Henri Menke
@ 2016-08-31 14:38   ` Henri Menke
  2016-08-31 14:55     ` Procházka Lukáš Ing.
  0 siblings, 1 reply; 4+ messages in thread
From: Henri Menke @ 2016-08-31 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Also, some searching on the wiki gave

> The ConTeXt distribution includes three sample images: cow.pdf, mill.png, and hacker.jpg, that are useful when creating minimum working examples to illustrate a bug on the mailing list. These images are locating in the TEXMF directory. To add the TEXMF directory to the image search path, use:
>
> \setupexternalfigures[location={local,global,default}]

http://wiki.contextgarden.net/Using_Graphics#Image_Directory

On 08/31/2016 04:34 PM, Henri Menke wrote:
> Hi Lukáš,
> 
> there are some trackers available concerning image loading
> 
> http://wiki.contextgarden.net/Command/externalfigure#Tracking
> 
> Cheers, Henri
> 
> On 08/31/2016 04:25 PM, Procházka Lukáš Ing. wrote:
>> Hello,
>>
>> it seems my ConTeXt doesn't find its own 'cow.pdf'.
>>
>> The file is located in
>>
>>     c:\Ctx-Beta\tex\texmf-context\tex\context\sample\common\cow.pdf
>>
>> when the whole ConTeXt is located in
>>
>>     c:\Ctx-Beta\tex\
>>
>> My resulting .pdf shows no image; and also there is no info in the .log where ConTeXt tried to find the image.
>>
>> How to tell ConTeXt where to look for "installed-in" images?
>>
>> Best regards,
>>
>> Lukas
>>
>>
>>
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
> 

___________________________________________________________________________________
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] 4+ messages in thread

* Re: Problem finding 'cow'
  2016-08-31 14:38   ` Henri Menke
@ 2016-08-31 14:55     ` Procházka Lukáš Ing.
  0 siblings, 0 replies; 4+ messages in thread
From: Procházka Lukáš Ing. @ 2016-08-31 14:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

thank you - I thought the is something wrong on my side - I thought ConTeXt was able to find 'cow' without altering \setupexternalfigures + location.

Best regards,

Lukas


On Wed, 31 Aug 2016 16:38:58 +0200, Henri Menke <henrimenke@gmail.com> wrote:

> Also, some searching on the wiki gave
>
>> The ConTeXt distribution includes three sample images: cow.pdf, mill.png, and hacker.jpg, that are useful when creating minimum working examples to illustrate a bug on the mailing list. These images are locating in the TEXMF directory. To add the TEXMF directory to the image search path, use:
>>
>> \setupexternalfigures[location={local,global,default}]
>
> http://wiki.contextgarden.net/Using_Graphics#Image_Directory
>
> On 08/31/2016 04:34 PM, Henri Menke wrote:
>> Hi Lukáš,
>>
>> there are some trackers available concerning image loading
>>
>> http://wiki.contextgarden.net/Command/externalfigure#Tracking
>>
>> Cheers, Henri
>>
>> On 08/31/2016 04:25 PM, Procházka Lukáš Ing. wrote:
>>> Hello,
>>>
>>> it seems my ConTeXt doesn't find its own 'cow.pdf'.
>>>
>>> The file is located in
>>>
>>>     c:\Ctx-Beta\tex\texmf-context\tex\context\sample\common\cow.pdf
>>>
>>> when the whole ConTeXt is located in
>>>
>>>     c:\Ctx-Beta\tex\
>>>
>>> My resulting .pdf shows no image; and also there is no info in the .log where ConTeXt tried to find the image.
>>>
>>> How to tell ConTeXt where to look for "installed-in" images?
>>>
>>> Best regards,
>>>
>>> Lukas
>>>
>>>
>>>
>>>
>>> ___________________________________________________________________________________
>>> 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
>>> ___________________________________________________________________________________
>>>
>>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2016-08-31 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-31 14:25 Problem finding 'cow' Procházka Lukáš Ing.
2016-08-31 14:34 ` Henri Menke
2016-08-31 14:38   ` Henri Menke
2016-08-31 14:55     ` Procházka Lukáš Ing.

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