1

I'm sorry if this is a dumb question, but I have VSCode with Latex-workshop extension installed. I had made some changes in my system, because of which I lost the "import" Latex packages I had installed. I am unable to figure out how to install it again. I keep getting ! LaTeX Error: File 'import.sty' not found.

I have been trying for ages; I downloaded import from CTAN and unzipped it in a folder that seemed to contain all other Latex packages, but nothing. I use Latexmk and pdflatex. Please help.

5
  • Welcome to TeX-SX! As a new member, it is recommended to visit the Welcome and the Tour pages to be informed about our format and also to know about Minimal Example. Otherwise, more specifically about your question: Which OS are you using ? Have tried to install the complete TexLive distribution ?
    – R. N
    Dec 22, 2020 at 13:56
  • Thank you! I'm using Windows Subsystem for Linux - 2. It has Ubuntu 18.04. No, I haven't done that, I use the latex-workshop extension.
    – Anjalib
    Dec 22, 2020 at 14:01
  • As far as I understand, Latex-workshop extension is just a module for VSCode and does nothing with your installation. So here is the way I would proceed to locate the origin of your problem: 1. Verify your LaTeX and 'import' install, you can do it in your terminal 2. If there is an issue with step I would suggest to install the complete TexLive distribution for simplicity and restart to step 1, then 3. Verify the settings of Latex-workshop and specially the path variables.
    – R. N
    Dec 22, 2020 at 14:14
  • Could you please tell me how to verify my import and latex installation? Thanks
    – Anjalib
    Dec 22, 2020 at 14:21
  • Create a Minimal Example (cf my first comment) containing \usepackage{import} then compile it through your terminal in the folder of your file with the command: pdflatex name_of_your_MWE.tex
    – R. N
    Dec 22, 2020 at 14:30

0

You must log in to answer this question.

Browse other questions tagged .