[BLACKBOX] AW: [BLACKBOX] AW: [BLACKBOX] LaTeX for BlackBox ? - Progress report - 3

From: [at]} <Helmut>
Date: Fri, 21 Nov 2008 20:16:56 +0100

----boundary-LibPST-iamunique-1215452718_-_-
Content-type: text/plain

Dear Robert,

maybe you must add

cmd /k

to your command:

Command :'cmd /k "c:\Program Files\MikTeX 2.5\miktex\bin\dvipng" c:\gladtex\myeq000';
HostDialog.Start(command$);

It will be helpfully for testing.

Regards

Helmut


> -----Ursprüngliche Nachricht-----
> Von: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Gesendet: Freitag, 21. November 2008 19:42
> An: BLACKBOX{([at]})nowhere.xy
> Betreff: [BLACKBOX] AW: [BLACKBOX] LaTeX for BlackBox ? - Progress report
> - 3
>
> Dear Robert,
>
> try the following lines:
>
> Command :> '"c:\Program Files\MikTeX 2.5\miktex\bin\dvipng" c:\gladtex\myeq000';
> HostDialog.Start(command$);
>
> It should work, but you neither get an error message nor a success
> messages
> and it does not wait until the command is done.
>
> Regards
>
> Helmut
>
> > -----Ursprüngliche Nachricht-----
> > Von: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> > Gesendet: Freitag, 21. November 2008 18:25
> > An: BLACKBOX{([at]})nowhere.xy
> > Betreff: Re: [BLACKBOX] LaTeX for BlackBox ? - Progress report - 3
> >
> > Hi
> >
> > I think I need more help.
> >
> >
> > It has been suggested that I use dvipng.exe,
> > part of the LaTeX (MikTeX) distribution rather than
> > GladTeX. This seems like a good idea.
> >
> > The problem I have actually applies to both methods.
> >
> > I can create a .png file from the Command prompt; for example the
> command
> > "c:\Program Files\MikTeX 2.5\miktex\bin\dvipng" c:\gladtex\myeq000'
> > works.
> >
> > But how do I replicate this 'DOS' command from within BlackBox?
> >
> > My attempt is below - maybe WinApi.WinExec is the wrong call?
> >
> >
> > The result I get is 33, which I don't think is an error code.
> > If I deliberately get the path wrong the result I get is 3, which I do
> > think
> > is an error code.
> >
> >
> > Cheers
> >
> > Robert
> >


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1215452718_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBEZWFyIFJvYmVydCxccGFyDQpc
cGFyDQptYXliZSB5b3UgbXVzdCBhZGRccGFyDQpccGFyDQpjbWQgL2tccGFyDQpccGFyDQp0byB5
b3VyIGNvbW1hbmQ6XHBhcg0KXHBhcg0KQ29tbWFuZCA6PVxwYXINCidjbWQgL2sgImM6XFxQcm9n
cmFtIEZpbGVzXFxNaWtUZVggMi41XFxtaWt0ZXhcXGJpblxcZHZpcG5nIiBjOlxcZ2xhZHRleFxc
bXllcTAwMCc7XHBhcg0KSG9zdERpYWxvZy5TdGFydChjb21tYW5kJCk7XHBhcg0KXHBhcg0KSXQg
d2lsbCBiZSBoZWxwZnVsbHkgZm9yIHRlc3RpbmcuXHBhcg0KXHBhcg0KUmVnYXJkc1xwYXINClxw
YXINCkhlbG11dCBccGFyDQpccGFyDQpccGFyDQo+IC0tLS0tVXJzcHJcJ2ZjbmdsaWNoZSBOYWNo
cmljaHQtLS0tLVxwYXINCj4gVm9uOiBCbGFja0JveCBbbWFpbHRvOkJMQUNLQk9YQExJU1RTLk9C
RVJPTi5DSF0gSW0gQXV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ZWMgaXMgdGhlIHdy
b25nIGNhbGw/XHBhcg0KPiA+XHBhcg0KPiA+XHBhcg0KPiA+IFRoZSByZXN1bHQgSSBnZXQgaXMg
MzMsIHdoaWNoIEkgZG9uJ3QgdGhpbmsgaXMgYW4gZXJyb3IgY29kZS5ccGFyDQo+ID4gSWYgSSBk
ZWxpYmVyYXRlbHkgZ2V0IHRoZSBwYXRoIHdyb25nIHRoZSByZXN1bHQgSSBnZXQgaXMgMywgd2hp
Y2ggSSBkb1xwYXINCj4gPiB0aGlua1xwYXINCj4gPiBpcyBhbiBlcnJvciBjb2RlLlxwYXINCj4g
PlxwYXINCj4gPlxwYXINCj4gPiBDaGVlcnNccGFyDQo+ID5ccGFyDQo+ID4gUm9iZXJ0XHBhcg0K
PiA+XHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVz
c2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJP
Ti5DSFxwYXINCn0
----boundary-LibPST-iamunique-1215452718_-_---
Received on Fri Nov 21 2008 - 20:16:56 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:50 UTC