I'm at my office and i have to install TEX package manually. I have download the package subfig on CTAN, but their is no .sty file in the folder.

I convert in the past a file in sty passing by the cmd of window, but didn't remember how.

Does anyone have the solution ?

ps : sorry for my bad english.

  • Why don't you just update your LaTeX installation? Hardly anyone need to manually install packages anymore. (if there is .ins run latex on it, if there is only a .dtx run tex on it)
    – daleif
    Jun 15 '15 at 10:08
  • I can't, because of office politics, i can't install anything from web whithout passing by software service. But i can do it manually Jun 15 '15 at 10:11
  • 1
    @ChristopheD. then ask your software service to update it (and ask them to install the full miktex so you are not missing other packages).
    – daleif
    Jun 15 '15 at 10:46
  • 1
    @daleif, it's not simple as that. Make more than 2month for them to act, and my training finish in 2 month so... Jun 15 '15 at 10:48
  • 1
    Nice environment to work in.....
    – daleif
    Jun 15 '15 at 11:53

You have to compile the .ins in your favorite LaTeX editor

  • Did not know if it usefull but i use Sweave frome Rstudio to create my pdf. I have created the .sty extension file withe miktex and put it in the package repository. But when i run the sweave file with the command \usepackage{subfig} it require to install subfig.sty but didn't work... Jun 15 '15 at 10:33
  • You can find a complete guide here tex.stackexchange.com/questions/2063/…
    – Rud Faden
    Jun 15 '15 at 10:34
  • Thank you Rud Faden, exactly what i want, i will edit my question with the exact procedure i used after ! Jun 15 '15 at 10:36
  • I have no idea what the answer means.
    – rhody
    Jan 28 '19 at 2:26

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