* how to create texmfstart.exe?
@ 2006-05-12 8:47 Christian Schenk
2006-05-15 7:33 ` Hans Hagen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Christian Schenk @ 2006-05-12 8:47 UTC (permalink / raw)
I would like to include texmfstart.exe in the MiKTeX distribution, but I
don't know how to build texmfstart.exe. Is there a simple recipe
(Makefile) I can start with?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create texmfstart.exe?
2006-05-12 8:47 how to create texmfstart.exe? Christian Schenk
@ 2006-05-15 7:33 ` Hans Hagen
2006-05-15 7:34 ` Hans Hagen
2006-05-16 5:30 ` Mojca Miklavec
2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-05-15 7:33 UTC (permalink / raw)
Hi Christian
> I would like to include texmfstart.exe in the MiKTeX distribution, but I
> don't know how to build texmfstart.exe. Is there a simple recipe
> (Makefile) I can start with?
>
I'm switching from perl to ruby, so texmfstart is a ruby script. Say that the next code is put in ruby2exe.cmd, then i can make a binary with:
ruby2exe texmfstart
which comes down to packaging the needed libraries + ruby core into an 'exe'. It uses exerb.
@echo off
if exist "%~n1.rb" goto run
goto usage
:run
set exerbrubypath=c:\data\system\ruby.1.8.2
%exerbrubypath%\bin\ruby.exe -r exerb/mkexr %~n1.rb %2
%exerbrubypath%\bin\exerb.exe -v -C %exerbrubypath%\share\exerb\ruby182c.exc %~n1.exr
del /q %~n1.exr %~n1.mak
goto end
:usage
echo usage: ruby2exe filename
:end
the rest of the programs, like texexec, will be started using texmfstart then (which assumes ruby to be present on the system; if not, then one needs to make texexec into an exe as well; there is a list of stubs in the latest context distribution (scripts/context/stubs/...); not all of them are needed, e.g. texutil is now integrated into texexec)
i use common libraries to figure out the paths, and i hope that i did the miktex handling right; (i'd like to test miktex using my own trees, but it's kind of hard to set the additional trees that i use); anyhow, in the ruby variants it's more easy for me to handle miktex; for the moment it assumes kpsewhich to be present, but i can as well call another database program)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create texmfstart.exe?
2006-05-12 8:47 how to create texmfstart.exe? Christian Schenk
2006-05-15 7:33 ` Hans Hagen
@ 2006-05-15 7:34 ` Hans Hagen
2006-05-15 8:05 ` Christian Schenk
2006-05-16 5:30 ` Mojca Miklavec
2 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-05-15 7:34 UTC (permalink / raw)
Christian Schenk wrote:
> I would like to include texmfstart.exe in the MiKTeX distribution, but I
> don't know how to build texmfstart.exe. Is there a simple recipe
> (Makefile) I can start with?
>
>
btw, i can ship the pseudo binaries in a separate zip if you like that
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create texmfstart.exe?
2006-05-15 7:34 ` Hans Hagen
@ 2006-05-15 8:05 ` Christian Schenk
0 siblings, 0 replies; 5+ messages in thread
From: Christian Schenk @ 2006-05-15 8:05 UTC (permalink / raw)
Hans Hagen wrote:
> Christian Schenk wrote:
>> I would like to include texmfstart.exe in the MiKTeX distribution, but I
>> don't know how to build texmfstart.exe. Is there a simple recipe
>> (Makefile) I can start with?
>>
>>
> btw, i can ship the pseudo binaries in a separate zip if you like that
That would be fantastic. Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: how to create texmfstart.exe?
2006-05-12 8:47 how to create texmfstart.exe? Christian Schenk
2006-05-15 7:33 ` Hans Hagen
2006-05-15 7:34 ` Hans Hagen
@ 2006-05-16 5:30 ` Mojca Miklavec
2 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2006-05-16 5:30 UTC (permalink / raw)
On 5/12/06, Christian Schenk <cs@miktex.org> wrote:
> I would like to include texmfstart.exe in the MiKTeX distribution, but I
> don't know how to build texmfstart.exe. Is there a simple recipe
> (Makefile) I can start with?
Great news! MikTeX is going to be[come] ConTeXt-friendly again ;)
Thank you very much for the effort,
Mojca
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-16 5:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-12 8:47 how to create texmfstart.exe? Christian Schenk
2006-05-15 7:33 ` Hans Hagen
2006-05-15 7:34 ` Hans Hagen
2006-05-15 8:05 ` Christian Schenk
2006-05-16 5:30 ` Mojca Miklavec
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).