1

I downloaded manually cntformats.sty and put it in the directory exsheets. But Latex still doesn't recognize it and asks if I want to download it. I tried several times to download it by changing the location of links through latex, but the message "not found" is always returned.

I greatly appreciate your help. Thank you

Mico
  • 506,678
Rafiq
  • 83
  • 2
    Welcome to TeX SX! Why didn't you install it with your distribution package manager? Both MiKTeX and TeX Live have it. – Bernard Aug 26 '15 at 11:22
  • Welcome to TeX.SE. Which TeX distribution do you use? How did you install the package -- through a package manager or by manually copying various files into various directories? After copying the files to their destinations, did you update the filename database of your TeX distribution? – Mico Aug 26 '15 at 11:24
  • Thanks to you all for welcoming me and for your answers. I downloaded MikTex basic, but that file was missing. Also could you show me how to update the filename database? – Rafiq Aug 26 '15 at 11:27
  • 3
    You shouldn't manually add the file to the directories MikTeX has installed, I don't think. Better would be to use MikTeX's package manager to install the relevant package. Note that this is likely to happen quite a lot if you've only installed a basic set of packages. (Assuming 'basic' means roughly the same for MikTeX as it does for TeX Live.) – cfr Aug 26 '15 at 11:38
  • I am having the same problem, very similar error messages.

    I use MikTeX and Texmaker and both have been installing packages on the fly with no hiccups until now with exsheets and cntformats.sty.

    My code, which will not fit in this comment, compiles perfectly in overleaf.com but not in TexWorks or TeXmaker. I also downloaded the cntformats.sty files and manually put them in exsheets folder to no avail... Any more ideas?

    – WeCanLearnAnything Aug 31 '15 at 04:35
  • @ WeCanLearnAnything: I reinstalled MikTex then from anew, then it started to add missing files on the fly. And then cntformats.cty was installed this time. One mistake I did the first time is that I manually put cntformats.sty in exsheets directory, but this is not the right place for it. I'll try to locate it in my pc and feed back. – Rafiq Aug 31 '15 at 12:03
  • 6
  • @WeCanLearnAnything please have a look at the links in my previous comment – cgnieder Aug 31 '15 at 12:45

1 Answers1

0

To put cntformats.sty manually, follow these steps:

-Go to program files-->MikTex2.9-->tex-->latex

-Inside latex create a folder and rename it cntformats, and inside it put cntformats.sty

-after that go to program files-->MikTex2.9-->bin ,

and double click mo.exe, click "Refresh FNDB", when this is finished, click Update Formats.

Hope that helps. Good luck.

Rafiq
  • 83
  • @ clemens: I didn't see your comment before I submitted my answer. Thank you very much. That helps a lot. – Rafiq Aug 31 '15 at 12:41
  • @ clemens: Yes, I saw them indeed, this why I told that that helped a lot. And that still helps a lot. – Rafiq Aug 31 '15 at 12:50
  • Unfortunately, this just got me a new error message: "Tasks.sty not found". Am I supposed to need another package to go with exsheets? – WeCanLearnAnything Sep 03 '15 at 17:28
  • 1
    @WeCanLearnAnything yes. The same is true for a lot of packages which is why most people simply install a complete TeX distribution… – cgnieder Sep 30 '15 at 14:40
  • @ clemens - What is a "complete TeX distribution"? I use MikTeX and TeXmaker. Is that not complete? – WeCanLearnAnything Oct 01 '15 at 17:43
  • No, basic MikTeX contains a basic set of about 200 packages out of roughly 5000 packages. (to be honest, i don't know the exact amount of packages that come with basic and complete) – Johannes_B Dec 20 '15 at 17:16