OK, playing out my failures in public for the greater good…?

Here is what I got:

Attachment: ref.pdf
Description: Adobe PDF document


From this tex file:

___


\enabletrackers[graphics.locating]

\starttext

\setupexternalfigures[directory={graphics,../graphics}]


hello world

\externalfigure[pic.pdf]

\externalfigure[/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf]

\stoptext

___

And here is the terminal report…I cannot see anything here, other than a series 
of not-founds. IN the second \externalfigure I have simply put in the full 
pathname...

Last login: Fri Aug 26 12:52:10 on ttys012
Setting "/Users/Ian/context/tex" as ConTeXt root.
context /Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex
Ian-MBP:ConTEXt_production_ws Ian$ context 
/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex

mtx-context     | run 1: luatex 
--fmt="/Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en"
 
--lua="/Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui"
 --backend="pdf" 
"/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex" \stoptext
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) 
 \write18 enabled.
(/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/ref.tex

ConTeXt  ver: 2011.08.23 13:04 MKIV  fmt: 2011.8.23  int: english/english

system          > cont-new.mkiv loaded
(/Users/Ian/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > ref.top loaded
(ref.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{/Users/Ian/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/Users/Ian/context/tex/texmf-context/tex/context/base/type-siz.mkiv) 
(/Users/Ian/context/tex/texmf-context/tex/context/base/type-otf.mkiv)
files           > readfile > asked name: 'loc', not found
{/Users/Ian/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/Ian/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
graphics        > inclusion > locations: local,global
graphics        > inclusion > path list: . .. ../.. graphics ../graphics
graphics        > inclusion > strategy: forced format pdf
graphics        > inclusion > not found: pic.pdf
graphics        > inclusion > not found: ./pic.pdf
graphics        > inclusion > not found: ../pic.pdf
graphics        > inclusion > not found: ../../pic.pdf
graphics        > inclusion > not found: graphics/pic.pdf
graphics        > inclusion > not found: ../graphics/pic.pdf
graphics        > inclusion > strategy: forced format pdf
graphics        > inclusion > found: 
/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf -> 
/Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf
graphics        > inclusion > format natively supported by backend: pdf
backend         > xmp > using file 
'/Users/Ian/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
 </Users/Ian/SPT_PDF_context/ConTEXt_production_ws/trial/graphics/pic.pdf>
pages           > flushing realpage 1, userpage 1, subpage 1
 
)</Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf></Users/Ian/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats  > used config file          - 
selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - 
/Users/Ian/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > resource resolver         - loadtime 0.008 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 49 found files, scanned paths: 
mkiv lua stats  > stored bytecode data      - 294 modules, 63 tables, 357 chunks
mkiv lua stats  > cleaned up reserved nodes - 36 nodes, 9 lists of 424
mkiv lua stats  > node memory usage         - 2 glue, 2 penalty, 9 attribute, 
28 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances 
(re)created, 2397 calls
mkiv lua stats  > used backend              - pdf (backend for directly 
generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2565 direct, 3023 indirect, 5588 
total
mkiv lua stats  > randomizer                - resumed with value 
0.99820997845298
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath 
calls, 0 cached calls
mkiv lua stats  > result saved in file      - ref.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.238 seconds 
mkiv lua stats  > graphics processing time  - 0.021 seconds including tex, 2 
processed images
mkiv lua stats  > luatex banner             - this is luatex, version 
beta-0.70.1-2011051908 (rev 4277)
mkiv lua stats  > control sequences         - 30878 of 165536
mkiv lua stats  > current memory usage      - 43 MB (ctx: 44 MB)
mkiv lua stats  > runtime                   - 0.837 seconds, 1 processed pages, 
1 shipped pages, 1.195 pages/second

system          | total runtime: 1.127
Ian-MBP:ConTEXt_production_ws Ian$ 



On 23 Aug 2011, at 15:49, Hans Hagen wrote:

> On 23-8-2011 15:37, Ian Lawrence wrote:
> 
>>>> \doifmodeelse{*product}
>>>> {\setupexternalfigures[directory={graphics}]}
>>>> {\setupexternalfigures[directory={../graphics}]}
> 
> what happen if you just say
> 
> \setupexternalfigures[directory={graphics,../graphics}]
> 
> also say
> 
> \enabletrackers[graphics.locating]
> 
> to see where is searched
> 
> 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
___________________________________________________________________________________

Reply via email to