saigkill / latex_curriculum_vitae-dotnet

Latex Curriculum Vitae is a simple solution for writing job applications. Using LaTEX, you can produce, compile, and send beautiful documents directly within the app. Latex Curriculum Vitae also allows you to manage the current status of submitted applications. Users only need a Windows 10 computer and a basic knowledge of LaTEX---all other dependencies are bundled by the release.
http://saigkill.github.io/latex_curriculum_vitae-dotnet
GNU General Public License v3.0
0 stars 0 forks source link

Latex not installed error #8

Closed Fortuntato closed 3 years ago

Fortuntato commented 3 years ago

Describe the bug When running the project for the first time, if the user does not have Latex already installed in the machine, the automatic installation of it presents an error.

To Reproduce Run the project without having Latex installed

Expected behavior The program should lead to the URL of the page where to download Latex to be used in the software

Screenshots or error pop up image

Environment tested

Additional context

saigkill commented 3 years ago

Hi @Fortuntato, can you try to try it again in the develop branch? I added the special System.IO.DirectoryNotFoundException to the try catch range. https://github.com/saigkill/latex_curriculum_vitae-dotnet/blob/develop/latex_curriculum_vitae/Setup.cs

Fortuntato commented 3 years ago

I can't find a way to update my upstream (of my fork repository) from you 'develop' branch. Can you please update the code change into your master branch? I saw the new if statement, should be fine. There is just an empty line that you should probably delete

saigkill commented 3 years ago

@Fortuntato : I merged all stuff to the master branch. So you should work with him now.

Fortuntato commented 3 years ago

Hey, I am still getting errors... I think I will install the latex version manually for now. I think an easy solution would be to just prompt a window saying "Latex not found. Please ensure it is installed and available at C:\texlive"

saigkill commented 3 years ago

@Fortuntato : I tried another way to launch the url (https://stackoverflow.com/a/43232486). This one works for me. If you want, you can try it out. :-)

Fortuntato commented 3 years ago

Nice one, now the url launch works fine

Fortuntato commented 3 years ago

Woah! I did not know it would have taken so much time to install TexLive (full package). Would the user actually need to install everything or there are some packages we can avoid to install in order to use this software?

saigkill commented 3 years ago

Woah! I did not know it would have taken so much time to install TexLive (full package). Would the user actually need to install everything or there are some packages we can avoid to install in order to use this software?

Yes Texlive is a big system. But in that case it gives the user ALL possible options to write their stuff. My delivered example just needs a few packages. But maybe the user wants to build it in another way.

I'm closing that issue for now, because that open issue is gone now.