Maarten Wegewijs | 7 Aug 2008 13:55
Picon
Picon
Picon
Favicon

feynmf plugin - drawing feynman diagrams in TeXmacs?

Dear TeXmacs developers,

attached you find a plugin that I wrote.

It allows one to easily create feynman diagrams using latex, in 
particular the powerfull feynmf package.
It includes a rough tutorial which I will expand more to include 
basically most applications people might use it for.

I estimate that this is of general interest for TeXmacs users in the 
physics community.
I would like to have your opinion about this and suggestions for 
improvement if you are interested in distributing it with Texmacs.
In this respect it is important to known that I will definetely, 
maintain, expand and improve this plugin since I use it on a daily basis 
for all my calculations.

The plugin is a rip-off of the xy-pic plugin with some minor 
modifications (see comments inf tm_feynmf).

In the future I would also be interested in possibilities for using 
Texmacs' drawing facilities to create  a package with similar capabilities.
Perhaps if you can comment on this. At present I haven't found the 
documentation for the drawing facilities?

Greetings,

Maarten Wegewijs

wegewijs <at> physik.rwth-aachen.de     (Aachen)
(Continue reading)

Magyarkuti, Gyula | 7 Aug 2008 09:26
Picon
Favicon

Re: hungarian translation updated

>> ...
>>Thanks for the update; it has been included for the next version.

>> In addition to the translation I would like to suggest a few changes in
>> chapter titles, table/figure captions, etc. in case the user chooses the
>> hungarian language for his document:
>>
>> In English (and most other languages) the notation as in "Chapter 1", "Figure
>> 1", "Table 1" is used. However, in Hungarian the notation "1. fejezet" is
>> used - "fejezet" stands for "chapter" in hungarian.
>> So all I want to say is that in hungarian the ordinal number comes before the
>> word chapter/figure/table (and so on), and is followed by a dot.
>>
>> I don't know whether these changes can be made easily; if they are, I suggest
>> to make them because the automatic chapter/figure etc. numbering in its
>> present form is quite unusable for writing documents in hungarian language.

>Hmm; this could indeed be changed, but I have no time for that right now...

>Best wishes, Joris

High,
I am interested on pick the problem up again mentioned by Róbert 2
years ago. See the details above.
Is there any progress until today?

Thank you!!!

/Gyula
(Continue reading)

Joris van der Hoeven | 16 Aug 2008 18:58

Re: feynmf plugin - drawing feynman diagrams in TeXmacs?

Dear Maarten,

Thanks for your contribution. Unfortunately, I do not have the required
LaTeX packages (and it is a pain to install them), so I cannot test it.
Nevertheless, I added it to the CVS version of TeXmacs.
Feedback from a few other users would be welcome.

Best wishes, Joris
Joris van der Hoeven | 16 Aug 2008 19:02

Re: hungarian translation updated

Hi Gyula,

On Thu, Aug 07, 2008 at 09:26:56AM +0200, Magyarkuti, Gyula wrote:
> >> ...
> >>Thanks for the update; it has been included for the next version.
> 
> >> In addition to the translation I would like to suggest a few changes in
> >> chapter titles, table/figure captions, etc. in case the user chooses the
> >> hungarian language for his document:
> >>
> >> In English (and most other languages) the notation as in "Chapter 1", "Figure
> >> 1", "Table 1" is used. However, in Hungarian the notation "1. fejezet" is
> >> used - "fejezet" stands for "chapter" in hungarian.
> >> So all I want to say is that in hungarian the ordinal number comes before the
> >> word chapter/figure/table (and so on), and is followed by a dot.
> >>
> >> I don't know whether these changes can be made easily; if they are, I suggest
> >> to make them because the automatic chapter/figure etc. numbering in its
> >> present form is quite unusable for writing documents in hungarian language.
> 
> >Hmm; this could indeed be changed, but I have no time for that right now...
> 
> >Best wishes, Joris
> 
> 
> High,
> I am interested on pick the problem up again mentioned by Róbert 2
> years ago. See the details above.
> Is there any progress until today?

(Continue reading)

Joris van der Hoeven | 16 Aug 2008 19:09

Re: feynmf plugin - drawing feynman diagrams in TeXmacs?

Dear Maarten,

I also tested on another computer. Again, the LaTeX package is missing.
We should add a line in the init-feynmf.scm file in order to check
the existence of the necessary LaTeX package. Can you tell me what
should be added?

Notice that I slightly reorganized the plug-in. Please take a look
before making new changes.

Best wishes, Joris

P.S.: I am compiling a new release right now.
Maarten Wegewijs | 17 Aug 2008 14:43
Picon
Picon
Picon
Favicon

Re: feynmf plugin - drawing feynman diagrams in TeXmacs?

Dear Joris,

thank you for including the package. Attached you find the package 
updated, starting from your cvs version.
In view of you compiling a release I didn't want to wait for my cvs 
account to get activated (I send the email) and send it attached to this 
mailing just this time.

Changes, according to your comments:
- a line in the init-feynmf.scm file in order to check the existence of 
the necessary LaTeX package (or rather: existence of the feynmf executable).
- in tm_feynmf the plugin directory is now set to 
$TEXMACS_PATH/plugings/feynmf unless $TEXMACS_HOME_PATH/plugins/feynmf 
exists
  => allows one to work with a modified version very easily.
- I reworked the tutorial a bit to give some information on the feynmf 
package, where to get it and links to installation instructions.

There is one unsatisfactory point in tm_feynmf: in setting the plugin 
directory path, I did not know how to exit gracefully the script 
tm_feynmf and disconnect the plugin before anything is done in case an 
error occurs (e.g. the plugin directory path is not found). Just putting 
"exit" there seems to hang up texmacs... I marked it in a comment.

Regarding your problems with testing the package: what distribution are 
you running? Feynmf is in most distributions (it is 12 years old and 
well established in physics community).

Best wishes,

(Continue reading)

Martin Costabel | 18 Aug 2008 21:07
Picon

texmacs-1.0.6.15 adn datarootdir

When compiling texmacs-1.0.6.15, I get the following output during the 
configure phase:

> configure: creating ./config.status
> config.status: creating Makefile
> config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
> config.status: creating src/makefile
> config.status: creating src/System/tm_configure.hpp
> config.status: creating misc/admin/admin.makefile
> config.status: WARNING:  misc/admin/admin.makefile.in seems to ignore the --datarootdir setting
> config.status: creating misc/doxygen/Doxyfile
> config.status: creating misc/man/texmacs.1
> config.status: creating misc/rpm/TeXmacs.spec
> config.status: creating misc/scripts/fig2ps
> config.status: WARNING: misc/scripts/fig2ps contains a reference to the variable `datarootdir'
> which seems to be undefined.  Please make sure it is defined.
> config.status: creating misc/scripts/texmacs
> config.status: WARNING: misc/scripts/texmacs contains a reference to the variable `datarootdir'
> which seems to be undefined.  Please make sure it is defined.

This looks like some new variable has been introduced, but only halfway. 
  Surprisingly, although it contains the undefined variable 
$datarootdir, the resulting texmacs wrapper script seems to work 
nevertheless, but I haven't tested it thoroughly. Is this $datarootdir 
thing used anywhere? If not, why is it there at all, and if yes, where?

--

-- 
Martin
Martin Costabel | 21 Aug 2008 08:38
Picon

Re: texmacs-1.0.6.15 and datarootdir

Martin Costabel wrote:
[]
> This looks like some new variable has been introduced, but only halfway. 
>  Surprisingly, although it contains the undefined variable $datarootdir, 
> the resulting texmacs wrapper script seems to work nevertheless, but I 
> haven't tested it thoroughly. Is this $datarootdir thing used anywhere? 
> If not, why is it there at all, and if yes, where?

As has been reported on texmacs-users, the stuff that should be 
installed into ${prefix}/share now goes into /TeXmacs which is very bad. 
For me, setting the configure flag --datarootdir did not change anything 
about this. Adding the fact that maxima-5.15 is still not recognized, I 
would recommend to pull this broken release 1.0.6.15 or replace it quickly.

--

-- 
Martin
Joris van der Hoeven | 22 Aug 2008 19:42

Re: texmacs-1.0.6.15 adn datarootdir

Hi,

On Mon, Aug 18, 2008 at 09:07:56PM +0200, Martin Costabel wrote:
> When compiling texmacs-1.0.6.15, I get the following output during the 
> This looks like some new variable has been introduced, but only halfway. 
> Surprisingly, although it contains the undefined variable 
> $datarootdir, the resulting texmacs wrapper script seems to work 
> nevertheless, but I haven't tested it thoroughly. Is this $datarootdir 
> thing used anywhere? If not, why is it there at all, and if yes, where?

This is due to a version change in the autotools.
I just corrected this (in between two hollidays),
both on the CVS and the web-site.
Please check that my correction is correct.

Thanks for noticing this bug, Joris
Martin Costabel | 22 Aug 2008 21:21
Picon

Re: texmacs-1.0.6.15 adn datarootdir

Joris van der Hoeven wrote:
[]
> This is due to a version change in the autotools.
> I just corrected this (in between two hollidays),
> both on the CVS and the web-site.
> Please check that my correction is correct.

The new 1.0.6.15-src tarball looks good to me.
Thanks.

--

-- 
Martin

Gmane