* local picture not found anymore
@ 2013-02-04 18:19 H. van der Meer
2013-02-04 18:52 ` Meer H. van der
0 siblings, 1 reply; 8+ messages in thread
From: H. van der Meer @ 2013-02-04 18:19 UTC (permalink / raw)
To: ConTeXt NTG
[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]
Having a file picture.jpg worked fine. Now it results in inclusion of "The picture package by Heiko Oberdiek". Suddenly file searching doesn't start with the current directory anymore but somewhere in the /tex-chain.
Were the significant changes here? Something to do with Luatex? I didn't follow the developments for the last few months, so I may have missed an important change.
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 1871 bytes --]
[-- Attachment #2: 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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-04 18:19 local picture not found anymore H. van der Meer
@ 2013-02-04 18:52 ` Meer H. van der
2013-02-04 23:22 ` Mojca Miklavec
0 siblings, 1 reply; 8+ messages in thread
From: Meer H. van der @ 2013-02-04 18:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1421 bytes --]
Found this one with a lucky guess.
The macro call \doiffile{picture} does find a usable picture file (I guess picture.pdf) in my tex-tree.
My conclusion would be that the search no longer starts in the current directory but does a global search first. That used to be different.
Why the change? My guess will be that Taco as Luatex's shepperd might shine some light here.
Hans van der Meer
On 4 feb. 2013, at 19:19, "H. van der Meer" <H.vanderMeer@uva.nl>
wrote:
> Having a file picture.jpg worked fine. Now it results in inclusion of "The picture package by Heiko Oberdiek". Suddenly file searching doesn't start with the current directory anymore but somewhere in the /tex-chain.
>
> Were the significant changes here? Something to do with Luatex? I didn't follow the developments for the last few months, so I may have missed an important change.
>
> Hans van der Meer
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4621 bytes --]
[-- Attachment #2: 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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-04 18:52 ` Meer H. van der
@ 2013-02-04 23:22 ` Mojca Miklavec
2013-02-04 23:35 ` Aditya Mahajan
2013-02-05 13:52 ` Meer H. van der
0 siblings, 2 replies; 8+ messages in thread
From: Mojca Miklavec @ 2013-02-04 23:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote:
> Found this one with a lucky guess.
> The macro call \doiffile{picture} does find a usable picture file (I guess
> picture.pdf) in my tex-tree.
> My conclusion would be that the search no longer starts in the current
> directory but does a global search first. That used to be different.
> Why the change?
I had a similar (yet unresolved) problem, see thread "ConTeXt inputs
files from TEXMF/doc" from October 2012:
http://thread.gmane.org/gmane.comp.tex.context/78692
I'm not sure if that was really a change, but it probably isn't
intentionally so. My wild guess is that pdf takes precedence over jpg
(ConTeXt would probably first test if picture.pdf is found and only if
that one wouldn't be, it would try picture.png or jpg). In any case
ConTeXt should not even search in doc folder for files to be included
as a picture. If those PDFs from doc folders would be excluded, most
such problems would go away, I believe. You probably included
/usr/local/texlive/2012/texmf-dist/doc/latex/oberdiek/picture.pdf?
Mojca
___________________________________________________________________________________
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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-04 23:22 ` Mojca Miklavec
@ 2013-02-04 23:35 ` Aditya Mahajan
2013-02-05 9:13 ` Mojca Miklavec
2013-02-05 13:52 ` Meer H. van der
1 sibling, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2013-02-04 23:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 5 Feb 2013, Mojca Miklavec wrote:
> On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote:
>> Found this one with a lucky guess.
>> The macro call \doiffile{picture} does find a usable picture file (I guess
>> picture.pdf) in my tex-tree.
>> My conclusion would be that the search no longer starts in the current
>> directory but does a global search first. That used to be different.
>> Why the change?
>
> I had a similar (yet unresolved) problem, see thread "ConTeXt inputs
> files from TEXMF/doc" from October 2012:
> http://thread.gmane.org/gmane.comp.tex.context/78692
>
> I'm not sure if that was really a change, but it probably isn't
> intentionally so. My wild guess is that pdf takes precedence over jpg
> (ConTeXt would probably first test if picture.pdf is found and only if
> that one wouldn't be, it would try picture.png or jpg).
As I said in a recent post
(http://article.gmane.org/gmane.comp.tex.context/80617/), I thought that
\setupexternalfigures[location=local] would not search the texmf tree at
all. But that is clearly not the case.
> In any case
> ConTeXt should not even search in doc folder for files to be included
> as a picture. If those PDFs from doc folders would be excluded, most
> such problems would go away, I believe. You probably included
> /usr/local/texlive/2012/texmf-dist/doc/latex/oberdiek/picture.pdf?
It certainly does not search all files in the doc directory. On TL'12
mtxrun does not find /usr/share/texmf/doc/dvipdfm/something.pdf, i.e.,
$ mtxrun something.pdf
does not return anything. But on minimals,
$ mtxrun simpleslides.pdf
/opt/context-minimals/texmf-modules/doc/context/third/simpleslides/simpleslides.pdf
which should not happen.
Aditya
___________________________________________________________________________________
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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-04 23:35 ` Aditya Mahajan
@ 2013-02-05 9:13 ` Mojca Miklavec
2013-02-05 9:44 ` Marco Patzer
2013-02-05 17:04 ` Hans Hagen
0 siblings, 2 replies; 8+ messages in thread
From: Mojca Miklavec @ 2013-02-05 9:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Feb 5, 2013 at 12:35 AM, Aditya Mahajan wrote:
>
> It certainly does not search all files in the doc directory. On TL'12 mtxrun
> does not find /usr/share/texmf/doc/dvipdfm/something.pdf, i.e.,
Maybe just because dvipdfm is excluded from the search, but that's
pure speculation. I don't see any doc path in texmfcnf.lua and it's
not yet clear to me where it gets added.
Mojca
PS: I remember times when it used to be difficult to get
\externalfigure[cow] working without an extra command. Now it's
apparently vice versa ;)
___________________________________________________________________________________
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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-05 9:13 ` Mojca Miklavec
@ 2013-02-05 9:44 ` Marco Patzer
2013-02-05 17:04 ` Hans Hagen
1 sibling, 0 replies; 8+ messages in thread
From: Marco Patzer @ 2013-02-05 9:44 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 401 bytes --]
On 2013–02–05 Mojca Miklavec wrote:
> PS: I remember times when it used to be difficult to get
> \externalfigure[cow] working without an extra command. Now it's
> apparently vice versa ;)
Funnily this is already a complete working minimal example:
\externalfigure [example]
This compiles with context beyond 2011.11.29 23:11 but fails with
2011.05.18 18:04 and earlier.
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: 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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-04 23:22 ` Mojca Miklavec
2013-02-04 23:35 ` Aditya Mahajan
@ 2013-02-05 13:52 ` Meer H. van der
1 sibling, 0 replies; 8+ messages in thread
From: Meer H. van der @ 2013-02-05 13:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 5 feb. 2013, at 00:22, Mojca Miklavec <mojca.miklavec.lists@gmail.com>
wrote:
> On Mon, Feb 4, 2013 at 7:52 PM, Meer H. van der wrote:
>> Found this one with a lucky guess.
>> The macro call \doiffile{picture} does find a usable picture file (I guess
>> picture.pdf) in my tex-tree.
>> My conclusion would be that the search no longer starts in the current
>> directory but does a global search first. That used to be different.
>> Why the change?
>
> I had a similar (yet unresolved) problem, see thread "ConTeXt inputs
> files from TEXMF/doc" from October 2012:
> http://thread.gmane.org/gmane.comp.tex.context/78692
>
> I'm not sure if that was really a change, but it probably isn't
> intentionally so. My wild guess is that pdf takes precedence over jpg
> (ConTeXt would probably first test if picture.pdf is found and only if
> that one wouldn't be, it would try picture.png or jpg). In any case
> ConTeXt should not even search in doc folder for files to be included
> as a picture. If those PDFs from doc folders would be excluded, most
> such problems would go away, I believe. You probably included
> /usr/local/texlive/2012/texmf-dist/doc/latex/oberdiek/picture.pdf?
>
No, I did call \doiffile{picture} without any path components and the aforementioned file comes out first.
One more observation: having put a file picture.pdf in the current directory makes \doiffile{picture} find that one.
I conclude therefore that the search is first for file type pdf in all paths and only after that for another file type.
Preferably in my eyes would have been the other way around: first priority of the search on a picture file of any acceptable type, and on failing that the same in all directories subsequently in the search path. But, this might be called a matter of taste.
Hans van der Meer
___________________________________________________________________________________
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] 8+ messages in thread
* Re: local picture not found anymore
2013-02-05 9:13 ` Mojca Miklavec
2013-02-05 9:44 ` Marco Patzer
@ 2013-02-05 17:04 ` Hans Hagen
1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2013-02-05 17:04 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Mojca Miklavec
On 2/5/2013 10:13 AM, Mojca Miklavec wrote:
> On Tue, Feb 5, 2013 at 12:35 AM, Aditya Mahajan wrote:
>>
>> It certainly does not search all files in the doc directory. On TL'12 mtxrun
>> does not find /usr/share/texmf/doc/dvipdfm/something.pdf, i.e.,
>
> Maybe just because dvipdfm is excluded from the search, but that's
> pure speculation. I don't see any doc path in texmfcnf.lua and it's
> not yet clear to me where it gets added.
>
> Mojca
>
> PS: I remember times when it used to be difficult to get
> \externalfigure[cow] working without an extra command. Now it's
> apparently vice versa ;)
i uploaded a beta
i think something was introduces when something with url based
inclusions was adapted ... i now treat an url different and because a
'not found image' then can give an 'html' file which confuses the
backend i do some extra checking in that variant .. somewhat messy
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] 8+ messages in thread
end of thread, other threads:[~2013-02-05 17:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-04 18:19 local picture not found anymore H. van der Meer
2013-02-04 18:52 ` Meer H. van der
2013-02-04 23:22 ` Mojca Miklavec
2013-02-04 23:35 ` Aditya Mahajan
2013-02-05 9:13 ` Mojca Miklavec
2013-02-05 9:44 ` Marco Patzer
2013-02-05 17:04 ` Hans Hagen
2013-02-05 13:52 ` Meer H. van der
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).