[NTG-context] Using metapost figures in context (offlist)

Aditya Mahajan adityam at umich.edu
Wed Jun 14 03:52:51 CEST 2006


On Tue, 13 Jun 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> On Tue, 13 Jun 2006, Hans Hagen wrote:
>> 
>>> Aditya Mahajan wrote:
>>>> On Tue, 13 Jun 2006, Hans Hagen wrote:
>>>> 
>>>>> Aditya Mahajan wrote:
>>>>> 
>>>>> > n lines deleted
>>>>> 
>>>>> I added to texexec:
>>>>> 
>>>>> texexec --mpgraphic somefile.mp
>>>>> 
>>>>> which will run mp and make a pdf file.
>>>> 
>>>> Something is wrong with the new beta. I downloaded the zip and 
>>>> regenerated the formats, but only metafun format is created. I am 
>>>> attaching the output of
>>>> 
>>>> texmfstart --verbose texexec --verbose --make --all
>>> actually, the problem is that the latest pdfetex is not called pdftex; can 
>>> you remove all traces or pdftex[.exe] in your bin path and see what 
>>> happens then?
>> 
>> No pdftex is in the path.
>> 
>> I call context by using
>> set PATH=E:\Ruby\bin
>> call E:\isoimage\usr\local\context\tex\setuptex.bat 
>> E:\isoimage\usr\local\context\tex
>> 
>> so there should not be any mismatched executables.
> ah ... typo in base/tex.rb:
>
>   @@pdftex     = 'pdftex' # new default, pdfetex is gone
>
>   ENV['PATH'].split(File::PATH_SEPARATOR).each do |p|
>                                    ^^^^^^^^^^^^^^^^^^^^^^
>
> Can you test that?

Yes, this works. The formats are generated correctly. However,
texmfstart texexec --mpgraphic file.mp

does not give me a pdf file. I do understand why this is happening. I 
will dig into it a bit more and see what is going wrong.

Aditya


More information about the ntg-context mailing list