0

I am using my university laptop (I am a member of staff) Windows 10 system. I am a pretty much a computing noob, with no tech knowledge. I have got the administrator to install Texmaker 5.1.4 - without MikTex at first, as I wasn't aware that you need MikTex to actually create and use tex files. When I tried to build my tex file into PDF, I got the error

"could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex "

Then I got the admin to install MikTex 4.11. I tried to build my file again, but still get the same error.

Please help and explain step by step like I am a 5 year old what to do to solve the problem. Thanks.

16
  • What happens after the following sequence: 1. Windows key+R. 2.cmd. 3. (in the command line) pdflatex your_file_name.tex? BTW.: Are you Astral from BiblioNETka? (The we could switch to Polish there). Commented Feb 25 at 15:14
  • Hi. Let's say the file name is "sample". Then if I type in cmd "pdflatex sample.tex" I get the message " 'pdflatex' is not recognisable as an external or internal command, operable program or batch file" Commented Feb 25 at 15:22
  • P.S. Nope, not Astral from BiblioNETka :) @PrzemysławScherwentke Commented Feb 25 at 15:23
  • you need to add pdflatex, latex, xelatex and LuaLaTeX to the path variable. I don't think, you can - as a regular user - change the environment variables. Commented Feb 25 at 15:34
  • 1
    The easiest way to install MiKTeX and and LaTeX editor is to first install MiKTeX. After that installation is finished install the LaTeX editor you want to use. Usually the editor installation recognizes an installed MiKTex and changed the configuration of the editor to be able to use MiKTeX. Commented Feb 25 at 16:14

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.