comp.lang.ada
 help / color / mirror / Atom feed
* Ann: TeXCAD 4.0 (-\epsilon)
@ 2003-05-09 23:09 Gautier direct_replies_not_read
  2003-05-10  8:17 ` Preben Randhol
  2003-05-12 15:50 ` Stephen Leake
  0 siblings, 2 replies; 10+ messages in thread
From: Gautier direct_replies_not_read @ 2003-05-09 23:09 UTC (permalink / raw)
  To: comp.lang.ada

TeXCAD is a program for drawing or retouching {picture}s in LaTeX.
More infos @ http://www.mysunrise.ch/users/gdm/texcad.htm

Why this announce in c.l.a. ? Guess why...
For the moment you'll find a MS Windows incarnation but the core of TC
is completely portable, so people interested in making a Mac, Linux, 
Unix,...
versions are invited to do so (and contact me!)
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-09 23:09 Ann: TeXCAD 4.0 (-\epsilon) Gautier direct_replies_not_read
@ 2003-05-10  8:17 ` Preben Randhol
  2003-05-10  8:24   ` Preben Randhol
  2003-05-12 15:50 ` Stephen Leake
  1 sibling, 1 reply; 10+ messages in thread
From: Preben Randhol @ 2003-05-10  8:17 UTC (permalink / raw)


Gautier direct_replies_not_read wrote:
> TeXCAD is a program for drawing or retouching {picture}s in LaTeX.
> More infos @ http://www.mysunrise.ch/users/gdm/texcad.htm
> 
> For the moment you'll find a MS Windows incarnation but the core of TC
> is completely portable, so people interested in making a Mac, Linux,
> Unix,...  versions are invited to do so (and contact me!)

How much work would it be to port it to GtkAda 2.0?

-- 
Preben Randhol                    http://www.pvv.org/~randhol/



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-10  8:17 ` Preben Randhol
@ 2003-05-10  8:24   ` Preben Randhol
  2003-05-11  9:34     ` Gautier
  0 siblings, 1 reply; 10+ messages in thread
From: Preben Randhol @ 2003-05-10  8:24 UTC (permalink / raw)


Preben Randhol wrote:
> Gautier direct_replies_not_read wrote:
>> TeXCAD is a program for drawing or retouching {picture}s in LaTeX.
>> More infos @ http://www.mysunrise.ch/users/gdm/texcad.htm
>> 
>> For the moment you'll find a MS Windows incarnation but the core of TC
>> is completely portable, so people interested in making a Mac, Linux,
>> Unix,...  versions are invited to do so (and contact me!)
> 
> How much work would it be to port it to GtkAda 2.0?

I guess the major work is porting the drawing widget?

-- 
Preben Randhol                    http://www.pvv.org/~randhol/



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-10  8:24   ` Preben Randhol
@ 2003-05-11  9:34     ` Gautier
  0 siblings, 0 replies; 10+ messages in thread
From: Gautier @ 2003-05-11  9:34 UTC (permalink / raw)


Preben Randhol:

> > How much work would it be to port it to GtkAda 2.0?
> I guess the major work is porting the drawing widget?

Not so much: the drawing is done in the generic package
TC.Display, i.e. in the platform-independent
part (unlike all TC.GWin.*). All you have to provide
is the appropriate placeholders for ClearScreen, SetColor,
PutPoint, SetLineStyle, Line, Rectangle, Ellipse, Arc,
SetTextJustify, OutTextXY. See TC.GWin.Display for an example.
It is straightforward.

The real "platform-dependent" challenge is to manage the
interactivity: windows, menus, scrolling, mouse's ergonomy.
Each system has its own specialities: multi-document windows
and registry for MS Windows, on mouse button on the Mac,
application owning a menu and windows (rather Mac) or a main
window owning a menu inside of it as well as subwindows whose
menus overlap the main menu, etc., etc.)
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-09 23:09 Ann: TeXCAD 4.0 (-\epsilon) Gautier direct_replies_not_read
  2003-05-10  8:17 ` Preben Randhol
@ 2003-05-12 15:50 ` Stephen Leake
  2003-05-12 18:59   ` Chad R. Meiners
  2003-05-13 10:04   ` Gautier
  1 sibling, 2 replies; 10+ messages in thread
From: Stephen Leake @ 2003-05-12 15:50 UTC (permalink / raw)


"Gautier direct_replies_not_read" <gautier_niouzes@hotmail.com> writes:

> TeXCAD is a program for drawing or retouching {picture}s in LaTeX.
> More infos @ http://www.mysunrise.ch/users/gdm/texcad.htm

Hmm. I downloaded it, unzipped TeXCAD.exe to a place in my PATH, and
ran texcad. The first time, it gave an error box, something about the
registry not finding a file. As usual for MS error messages, it didn't
say what file. But then, when I tried it again, to reproduce the error
message, I didn't get the error message.

I _strongly_ urge you to not use the Windows Registry for _anything_!
It is a royal pain, hard to test, hard to debug. But the worst thing
is that the user cannot change settings on a per-process basis; the
registry is strictly per-user.

Anyway, I look forward to having a WYSIWYG tool for {picture}s on
Windows; I've actually been looking for one for quite a while.

And it's written in Ada, so I have some chance of fixing it/improving
it! Thanks!

Hmm. The menus/commands are going to take some getting used to. Just
like LaTeX :).

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-12 15:50 ` Stephen Leake
@ 2003-05-12 18:59   ` Chad R. Meiners
  2003-05-13 10:04   ` Gautier
  1 sibling, 0 replies; 10+ messages in thread
From: Chad R. Meiners @ 2003-05-12 18:59 UTC (permalink / raw)



"Stephen Leake" <Stephe.Leake@nasa.gov> wrote in message
news:u1xz49na6.fsf@nasa.gov...
> Hmm. I downloaded it, unzipped TeXCAD.exe to a place in my PATH, and
> ran texcad. The first time, it gave an error box, something about the
> registry not finding a file. As usual for MS error messages, it didn't
> say what file. But then, when I tried it again, to reproduce the error
> message, I didn't get the error message.

I had a similar error message, too.
I like the program overall keep up the good work!





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-12 15:50 ` Stephen Leake
  2003-05-12 18:59   ` Chad R. Meiners
@ 2003-05-13 10:04   ` Gautier
  2003-05-13 13:32     ` Stephen Leake
  1 sibling, 1 reply; 10+ messages in thread
From: Gautier @ 2003-05-13 10:04 UTC (permalink / raw)


> > TeXCAD is a program for drawing or retouching {picture}s in LaTeX.
> > More infos @ http://www.mysunrise.ch/users/gdm/texcad.htm

Stephen Leake:

> Hmm. I downloaded it, unzipped TeXCAD.exe to a place in my PATH, and
> ran texcad. The first time, it gave an error box, something about the
> registry not finding a file. As usual for MS error messages, it didn't
> say what file. But then, when I tried it again, to reproduce the error
> message, I didn't get the error message.

The error is fixed. It was indeed an unavoidable one... Thank you for
mentioning it.

> I _strongly_ urge you to not use the Windows Registry for _anything_!
> It is a royal pain, hard to test, hard to debug.

If you have a better way, I am all ears!

> But the worst thing is that the user cannot change settings on a per-process
> basis; the registry is strictly per-user.

But how do Install Shield & Co clear the options for all users when
uninstalling ?

> Anyway, I look forward to having a WYSIWYG tool for {picture}s on
> Windows; I've actually been looking for one for quite a while.

Me too - in vain, hence this little Ada-ptation work! In fact, tools
exist, but they require usually PostScript, or a set of .sty files
that cause a problem sooner or later (at least when publishing),
or are not free, or are no more maintained and without sources.
TC 3.2 is very good but really needed escaping from DOS and Turbo Pascal.

> And it's written in Ada, so I have some chance of fixing it/improving
> it! Thanks!
> 
> Hmm. The menus/commands are going to take some getting used to. Just
> like LaTeX :).

I roughly combined the ergonomic complications of TC 3.2 and
MS Office ;-). Well, one day I'll add some floating toolbar
for drawing commands.
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-13 10:04   ` Gautier
@ 2003-05-13 13:32     ` Stephen Leake
  2003-05-13 16:52       ` Gautier
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Leake @ 2003-05-13 13:32 UTC (permalink / raw)


gautier_niouzes@hotmail.com (Gautier) writes:

> Stephen Leake:
> 
> > Hmm. I downloaded it, unzipped TeXCAD.exe to a place in my PATH, and
> > ran texcad. The first time, it gave an error box, something about the
> > registry not finding a file. As usual for MS error messages, it didn't
> > say what file. But then, when I tried it again, to reproduce the error
> > message, I didn't get the error message.
> 
> The error is fixed. It was indeed an unavoidable one... Thank you for
> mentioning it.

Hmm. "unavoidable" errors that are now fixed; that's a conundrum :).

> > I _strongly_ urge you to not use the Windows Registry for
> > _anything_! It is a royal pain, hard to test, hard to debug.
> 
> If you have a better way, I am all ears!

Well, I need to know what you are using the registry for; I have not
yet downloaded the sources, nor did I peek into the registry to see
what you had done to it.

> > But the worst thing is that the user cannot change settings on a
> > per-process basis; the registry is strictly per-user.
> 
> But how do Install Shield & Co clear the options for all users when
> uninstalling ?

I don't see how that is relevant to my point. I assume they have a
list of registry keys they installed, and they simply delete them.

Which is one problem with the registry approach; if I manage to
install version 3.2 and 3.3 of something, and then uninstall 3.3, 3.2
probably doesn't work any more.

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-13 13:32     ` Stephen Leake
@ 2003-05-13 16:52       ` Gautier
  2003-05-13 17:54         ` Stephen Leake
  0 siblings, 1 reply; 10+ messages in thread
From: Gautier @ 2003-05-13 16:52 UTC (permalink / raw)


Stephen Leake:

> Hmm. "unavoidable" errors that are now fixed; that's a conundrum :).

Isn't it ?

> > If you have a better way, I am all ears!
> 
> Well, I need to know what you are using the registry for; I have not
> yet downloaded the sources, nor did I peek into the registry to see
> what you had done to it.

Very bad things. It must be in a terrible shape presently. Run "regedit",
type F3 and "texcad" to see the awful damages I have inflicted.

> > > But the worst thing is that the user cannot change settings on a
> > > per-process basis; the registry is strictly per-user.
> >
> > But how do Install Shield & Co clear the options for all users when
> > uninstalling ?
> 
> I don't see how that is relevant to my point. I assume they have a
> list of registry keys they installed, and they simply delete them.

And hopefully, it deletes all user options, so the registry is
not "strictly per-user".

> Which is one problem with the registry approach; if I manage to
> install version 3.2 and 3.3 of something, and then uninstall 3.3, 3.2
> probably doesn't work any more.

If it is just that... ;-)
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ann: TeXCAD 4.0 (-\epsilon)
  2003-05-13 16:52       ` Gautier
@ 2003-05-13 17:54         ` Stephen Leake
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Leake @ 2003-05-13 17:54 UTC (permalink / raw)


gautier_niouzes@hotmail.com (Gautier) writes:

> Stephen Leake:
> 
> > Well, I need to know what you are using the registry for; I have not
> > yet downloaded the sources, nor did I peek into the registry to see
> > what you had done to it.
> 
> Very bad things. It must be in a terrible shape presently. Run "regedit",
> type F3 and "texcad" to see the awful damages I have inflicted.

Hmm. looks like persistence for menus ("E:\Stephe\test.pic"), settings
(reduce, snap), and maybe some internationalization?

That's a job for Grace.Config_Files:
http://www.nongnu.org/Grace/Grace_Home.html, 
currently only accessible via the CVS web interface: 
http://savannah.nongnu.org/cvs/?group=grace

Be aware that Grace.Config_Files is not yet fully implemented, but it may
meet your needs. And it will be more portable and user-friendly than
the Windows Registry. Feel free to contribute!

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-05-13 17:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 23:09 Ann: TeXCAD 4.0 (-\epsilon) Gautier direct_replies_not_read
2003-05-10  8:17 ` Preben Randhol
2003-05-10  8:24   ` Preben Randhol
2003-05-11  9:34     ` Gautier
2003-05-12 15:50 ` Stephen Leake
2003-05-12 18:59   ` Chad R. Meiners
2003-05-13 10:04   ` Gautier
2003-05-13 13:32     ` Stephen Leake
2003-05-13 16:52       ` Gautier
2003-05-13 17:54         ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox