Re: Texmacs file generated by Le Chat (mistral AI)

vincent douce <[email protected]> Fri, 9 May 2025 09:18:26 +0200
Newsgroups gmane.editors.texmacs.user
Message-ID <78190783-c1e0-44b1-aec9-b2e4df0ee015@Spark>
hello Marc
i have tried a bit, difficult to understand

for an efficient way without understanding the pb but just solving it

• if your code comes from an answer of Mistral, aks Mistral to answer in latex code and do « paste from latex » (i habve a shortcut for that if you want i do it all day)
• i your code comes from a scan made by IA, there is a more direct way if you want to do it all day like me, but it is 5€/month (mathpix snipping tool)


Vincent
Le 9 mai 2025 à 08:29 +0200, marc lalaude-labayle <[email protected]>, a écrit :
> Hi Basile, Henri and texmacs-users,
>
> I do agree with you Basile for the code and the workaround. And indeed, what I usually do is ask for a tex file and then import it : it works without difficulty :)
>
> Marc
>
> Le ven. 9 mai 2025 à 07:38, Basile Audoly <[email protected]> a écrit :
> > Hi Marc,
> > The code generated by this AI looks like garbage to me. I would recommend that you ignore the result and use a different approach. It is going to be easier than trying to fix code that does not make much sense.
> > Now, if you really want to fix this code, I recommend the standard approach to debugging: simplify the code as much as you can while preserving what you think is a buggy behavior.
> > Best,
> > Basile.
> >
> > > Le 8 mai 2025 à 22:15, marc lalaude-labayle <[email protected]> a écrit :
> > >
> > > Hi,
> > >
> > > you'll find below a file i get from mistral AI : i cut and copy the source in a file and added the extension tm when I saved it, as written by Le Chat.
> > >
> > > When I open the file within texmacs I just have exercise 1 that is written.
> > >
> > > I have texmacs 2.1.4 and the file generated is for texmacs 1.99.17.
> > >
> > > Any hint to get tm files from Mistral AI or what to change to open them flawless within texmacs ?
> > >
> > > Thanks,
> > >
> > > Marc
> > >
> > > Ps : I didn't read the solution of the exercise proposed by Le Chat
> > > <toto><toto.tm>
> >