3

I am trying to build a huge latex project on my system - I downloaded everything, and did not touch anything. XeLaTeX tells me that datetime2.sty is missing, and I guess I just have to download it, and put it in the project folder?

But I can not find it online: Either I end up with pdf files that tell me something about other languages, or I get the link to CTAN, and it has only files with other endings, so I don't really understand why I get linked there?

(This happens quite often and this CTAN thing NEVER had a useful file for me, so I figure I just don't know how to use it, and it certainly doesn't seem intuitive.)

  • 1
    Re "what is CTAN", see my short paragraph here: latex.zeef.com/sean.allred#block_58836_what-s-ctan- – Sean Allred May 24 '15 at 15:15
  • 1
    What distribution do you have? Both TeXLive and MiKTeX include the package, so you can use their package managers to install it. – Sean Allred May 24 '15 at 15:16
  • So it doesn't actually have the packages, only the documentation? – Maxim Moloshenko May 24 '15 at 15:16
  • The package is actually embedded in the documentation. The 'ins' file is an 'install' file; running latex on it will extract the necessary files from the dtx (Documented (La)TeX). But again, I would use your package manager; there are GUI managers in both TeXLive and MiKTeX. It would help greatly if you let us know which distribution you have :) – Sean Allred May 24 '15 at 15:19
  • 2
    OK, what does pdftex --version at the command line/terminal print? – Joseph Wright May 24 '15 at 15:28
2

Ok, in case another dummy like me has the same problem, here are some most important comments that helped me:

"The package is actually embedded in the documentation. The 'ins' file is an 'install' file; running latex on it will extract the necessary files from the dtx (Documented (La)TeX). But again, I would use your package manager; there are GUI managers in both TeXLive and MiKTeX. It would help greatly if you let us know which distribution you have :)" by Sean Alfred

"OK, what does pdftex --version at the command line/terminal print?" by Joseph Wright

What did I do, step by step: Press windows key, and press the arrow down - this is apparently where all the programs are hidden now, I had no idea. There I found the MikTex Package manager, named only "Package Manager", so it was not findable through search previously. Synchronize database, then find datetime2 and install it.

  • The "MikTeX-pdfTeX" comment was your comment ... – Sverre May 24 '15 at 16:54
  • Wrong copy paste :) – Maxim Moloshenko May 25 '15 at 17:04

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.