TeXStudio users? New install not compiling

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

Rock 6

Desktop environment (KDE, LXQT…):

KDE

Description of the issue (screenshots if relevant):

Relevant informations (hardware involved, software version, logs or output…):

Helo, I am trying Tex Studio fo the first time and after creating a basic document Wizard → quick start, The feature that compiles the document to be viewed gives an error. There are cases of this error on the web, usually Windows but some Mac and Linux, but didn’t have had any luck with a solution.

I guess it might be something with the Build… I installed TexLive and TexStudio from the OpenMandriva repos.

As I am just learning the program, was hoping to find someone who knows more about it and can say if it is a bug or just needs a little reconfiguration.

The errors seem to be 1. pdflatex cannot start commands 2.this results in not being able to find the file in the directory that it IS in.

The Answer by djy at this link may lead somewhere: https://tex.stackexchange.com/questions/98129/texstudio-compile-error-could-not-start-the-command-pdflatex-exe/98132#98132

But that path isn’t the same in the OM version and it’s also from 2017. A few of the answers seems to reference changing the path, but they’re mostly Windows… perhaps someone here knows the Open Mandriva equivalent.

I tried flatpak too but got the same error, although TexLive was from the repo and not Flatpak. but right now an using only the OM repo version.

Maybe related to this issue,

Going to try this to see if that fixes it. But…

Seems like it’s just a path problem.

This topic is closed:
I am also getting a .TexLive2013 in my home folder.

1 Like

My guess is this is related to the other threads. I’ve seen Texlive packages being built on OM’s build farm, so I think given the info in these other threads, it’s being worked on. I think the fix will require an update.

It’s been a long time since there was a significant update to ROME, so I’m hoping that update comes soon.

1 Like

Not sure if it is, would be good to see if this solution works for other problem programs… For TexStudio, I found 3 packages are needed, after they were installed I was able to restart TexStudio and have it compile into a preview window. Keep in mind this is only for pdflatex compliing, this is my first time using Tex in general but I know there are lots of variations within it that this may or may not address.

Install TexLive & TexStudio
And these 3 additional packages from the OM repositories:
texlive-dehyph
texlive-l3backend
texlive-ec

The first is a German hyphenating pattern file, just a guess but this might be necessary only because of a --strict setting in a config file somewhere. It installs with another extra dehyph package automatically.

the second is the Latex3 backend driver, sounds important in an obvious way.

and the third is a font package. The default font package in the TexLive install appears to be Texlive-collection-basic but that doesn’t include the ec fonts… If the basic package were exchanged for texlive-collection-fontsrecommended i think that would include the ec fonts.

Also, for some reason the first try to compile may not appear in the preview but the second try it should.

ALSO also, installing TexLive per these instructions also works, but will take up more time to install and space to use, but may be more reliable at the time of this writing:
https://www.tug.org/texlive/quickinstall.html

If you do it that way it’s important to add the PATH, I made a texlive.sh script and put it in /etc/profile.d/texlive.sh


From here: https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu/553305#553305)