It might be useful to also have the facility Jonathan suggested earlier allowing a script to call and use the return valuers of an openfile dialog box, as some other packages like datatools can be looking for a filename as well.<div>
<br></div><div>Paul<br><br><div class="gmail_quote">2009/10/8 Alain Delmotte <span dir="ltr"><<a href="mailto:esperanto@swing.be">esperanto@swing.be</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Agree with both of you, but if a topic -is- included in the program, I expect it to work consistently.<br>
<br>
I did know about this graphics inclusion "facility" (and won't probably use it) but if it is there it should work!<br>
For inclusion of a graphic I would not use a macro, but the auto-completion system (incg) which includes the whole structure.<br>
<br>
Alain<br>
<br>
Reinhard Kotucha a écrit :<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 7 October 2009 Peter Hertel wrote:<br>
<br>
> TeXworks is intented to lower the entrance barrier to TeX, but not to > make it another MS-Word.. Such specialized topics as including graphics > by pressing a button really distract from the strength of TeX or LaTex. > For including pictures into your documents you should write a macro > making use of the figure environment, label the figure and provide a > caption. In my opinion, one of the real advantages of TeX or LaTex is > its powerful and easy-to-lern macro language. It is a bad idea to shield > users from writing LaTeX macros. TeX or LaTeX is for literate > programmers of texts, not for quick hacks.<br>
> Peter<br>
<br>
I agree with you, though I think that macro programming shouldn't be<br>
taught in the very first lesson. It's more important that users<br>
learn quickly how LaTeX works and I'm sure that they recognize<br>
themselves quite fast that macros are useful.<br>
<br>
Another point is that I'm quite interested in similar behavior on all<br>
platforms.<br>
<br>
At the moment I'm working on a document class for students who are<br>
doing their diploma theses in our company. The idea is to hide all<br>
the layout/encoding/font stuff in the class file so that they have to<br>
concentrate on the content of their work only. I recently gave one of<br>
them the files l2kurz.pdf and amsldoc.pdf, asked him to read them, and<br>
to use a text editor.<br>
<br>
A few weeks later he gave me the files he prepared so far because none<br>
of them could be processed by TeX. And indeed, everything was broken.<br>
There had been about 10 mistakes within a single formula (no, I'm not<br>
exaggerating). It was easier to write the formulas from scratch than<br>
to repair them.<br>
<br>
I asked him whether he read the docs I proposed and, who, the hell,<br>
advised him to do such stupid things. He said: "Oh, I thought it's<br>
easier to learn LaTeX with TeXnicCenter. When I click on a button I<br>
can see what it produces."<br>
<br>
Actually, he just produced a heap of crap and learned nothing.<br>
<br>
Regards,<br>
Reinhard<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>