mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] How to install Texmacs 1.0.7 on Ubuntu


Chronological Thread 
  • From: "Adrian S." <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] How to install Texmacs 1.0.7 on Ubuntu
  • Date: Mon, 16 Mar 2009 17:14:49 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rR5ZFzSiTe74sFip4liSdqqdQ2kNvmLK7aQYpirxmK1MZZjuqZpV88hVbw446D+J/R MSP2AGMfv9jDlVnvegTe6B1YyxCDCFpTL/2JALawzoP9UeN66SLTyDSBVrinw4NFEcFL BWYevypzFnF9dv3pQbOWLglex5HXTTM+u+e4Q=

JC,

Your screenshots are typical of a /bin/sh instead of a /bin/bash.

For example, try the following (taken from the file tm_xypic) in a
terminal (do one line at a time):

dash
echo -E "\documentclass{article}"
echo -E "\usepackage[all]{xy}"
echo -E "\pagestyle{empty}"
echo -E "\begin{document}"

And compare to typing the following(do one line at a time):

bash
echo -E "\documentclass{article}"
echo -E "\usepackage[all]{xy}"
echo -E "\pagestyle{empty}"
echo -E "\begin{document}"

You need to modify a bunch of files, for example the file tm_xypic.
You should replace the #!/bin/sh by a #!/bin/bash.

What do you get if you do

ls -l `which sh`

If you get
lrwxrwxrwx 1 root root 4 2008-11-11 19:39 /bin/sh -> dash
then some of the scripts in texmacs that have /bin/sh will not work
correctly (mainly because they should have written /bin/bash instead)

What do you have in the first line of the file tm_xypic?

Regards,

Adrian.



On Sat, Mar 14, 2009 at 6:32 PM, JC Bustamante <address@hidden> wrote:
> Thanks, but didn't work...
>
>
> I attach some screen shots of what I've made.
>
> regards,
>
> JC
>
> ________________________________
> De: Adrian S. <address@hidden>
> Para: address@hidden
> Enviado: sábado, 14 de marzo, 2009 15:49:43
> Asunto: Re: [TeXmacs] How to install Texmacs 1.0.7 on Ubuntu
>
> Another way, though probably more invasive,  to fix that is to do
>
> sudo ln -s /bin/bash /bin/sh
> (This is what I did in my system)
>
> or
>
> sudo dpkg-reconfigure dash
>
> See https://wiki.ubuntu.com/DashAsBinSh
>
>
> On Sat, Mar 14, 2009 at 1:57 PM, Marc Lalaude-Labayle
> <address@hidden> wrote:
>>
>> Yes of course !
>>
>> The file is the one you have : tm_xypic.
>>
>> In fact, whenever you encounter a sh at the first line, you try with the
>> bash change. It's brutal, but it worked for me.
>>
>> You have to change the fig2ps file in the same way : sh --> bash
>>
>> MLL
>>
>>
>>
>>
>>
>> Le samedi 14 mars 2009 à 07:34 -0700, JC Bustamante a écrit :
>> > Thanks, but my system tells me that I do not have a tm_xymatrix file.
>> > However, I do have a tm_xypic file. Should i modify that file?
>> >
>> > thanks
>> >
>> > JC
>> >
>> >
>> >
>> > ______________________________________________________________________
>> > De: Marc Lalaude-Labayle <address@hidden>
>> > Para: address@hidden
>> > Enviado: sábado, 14 de marzo, 2009 5:15:08
>> > Asunto: Re: [TeXmacs] How to install Texmacs 1.0.7 on Ubuntu
>> >
>> > Hi,
>> >
>> > i didn't receive the message about Paul's plugin. Could you please
>> > send
>> > the link again ?
>> >
>> > For xymatrix, you have to change sh to bash in the first line of the
>> > tm_xymatrix plugin file.
>> >
>> > I couldn't achieve to get pstricks working properly neither ...
>> >
>> >
>> > For your information : for the 1.0.7 texmacs version, i used the sid
>> > package under ubuntu and it works.
>> >
>> >
>> > Hope it helps
>> >
>> > MLL
>> >
>> >
>> >
>> > Le vendredi 13 mars 2009 à 18:44 -0700, JC Bustamante a écrit :
>> > > Hi all,
>> > >
>> > >
>> > > I've tested the script on two machines, and worked pretty good too.
>> > >
>> > > In one of them I had no previous installation, and what I did like
>> > is
>> > > that the maxima session worked at the firts try: I didn't had to
>> > edit
>> > > this tm_maxima file.
>> > >
>> > > However,  \xymatrix does not work.
>> > >
>> > > Also, how do I do (if any one knows) to include pstricks code
>> > produced
>> > > by, say, geogebra?
>> > >
>> > > I've already asked that question, buy now I have 1.07 version,
>> > > intalled using Paul's script.
>> > >
>> > > Regards,
>> > >
>> > > JC
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>
>
>



Archive powered by MHonArc 2.6.19.

Top of page