1

Here is the story yesterday I tried to make pdf using texworks from my tex files It asked me for two different style files I add one of them using miktex package manager and for second one I add the package folder as root in miktex setting The file was converted to pdf (it doesn't have any picture or references). After that when I want to generate pdf using It shows me lots of "not found" error. And it doesn't look for style file , pictures or .bib in its own folder Anybody have Idea about how can I fix it?

following part is added for clarification:

texwork works like this: if my *.tex file is stored like "C:program file/test/a.tex" and I use for example "\usepackage{amsmath}" in my code it looks for this file in "C:program file/test/" if it couldn't find it in its own library. The problem is it does not searching this directory("C:program file/test/" ) anymore like it used to do(same code, same classes and ...)

  • Welcome to TeX.SE. Did you update MiKTeX's filename database? – Mico Sep 17 '16 at 0:19
  • Your question is not very clear. TeXWorks doesn't include any style files, pictures of BibTeX database files itself. It is just an editor. Please explain what you did in detail and provide the exact text of the error messages you receive, together with the code which generates them. – cfr Sep 17 '16 at 0:42
  • 1
    Adding a package folder as root is wrong. (latex) packages must be in a suitable subfolder below a root: root/tex/latex/package. – Ulrike Fischer Sep 17 '16 at 10:04
  • @Mico Yes I updated database. – Ajajoom Sep 17 '16 at 20:52
  • @cfr latex works like this: if my *.tex file is stored like "C:program file/test/a.tex" and I use for example "\usepackage{amsmath}" in my code it looks for this file in "C:program file/test/" if it couldn't find it in its own library. The problem is it does not searching this directory("C:program file/test/" ) anymore like it used to do – Ajajoom Sep 17 '16 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.