Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was using Microsoft Windows 7 and I had installation of TeXStudioand Latex flavour MikTex. Both were installed according to the instruction in this Ĺink. I developed a document there and now I am on Ubuntu 12.04LTEand I installed TeXStudio with but could not find MikTexfor Ubuntu. So I installed TexLive. when I try to compile my previous developed document, it gives error. It is missing many .styfiles. I tried to add manually sty files but actually it seems hactic add all the files. I have very long document and it was working fine in windows.

share|improve this question
    
It is factible that some packages are missing in the default texlive installation... it you have space in the Hard Drive, try using the full installation of texlive. Through terminal use the command line sudo apt-get install texlive-full or look up for texlive-full in the Software Center Manager (or whatever the name is!) –  Dox Mar 7 at 17:01
    
BTW Welcome to the Forum!! ;-) –  Dox Mar 7 at 17:02
    
    
@Dox Thanks for welcoming. I am adding full installation of Texlive. I hope this will solve the issue. –  wafeeq Mar 7 at 17:14
    
@Dox Problem is solved by installing full version of TexLive. –  wafeeq Mar 7 at 17:25

2 Answers 2

up vote 0 down vote accepted

The Linux version of MiKTeX was always declared as provisional, and is meanwhile not anymore available for download from MiKTeX.org. Therefore you are forced anyhow to use TeX Live, but apparently you used the pre-installed version of Ubuntu. For this issue we have a good Q & A here on TeX.SX: How to install "vanilla" TeXLive on Debian or Ubuntu? (and judging from comments this seems indeed to have helped you).

But apart from this there is still a number of packages, where MiKTeX is more liberal in estimation, what is called free. For several fonts of this type you can execute the script getnonfreefonts, that is included in TeX Live. For other packages, maybe also some fonts, there is no other solution then to manually install them. You can read for this these questions and answers: Where do I place my own .sty files, to make them available to all my .tex files? and especially for fonts Manual font installation.

Regarding TeXstudio: This is a multi-platform program, there is a version for Linux as well as one for Windows.

share|improve this answer

At least Fedora did split up TeXlive into literally hundreds of packages, mostly containing a single LaTeX package or it's documentation. What is installed by default is a somewhat minimalistic set. Missing .sty is somewhat common, the solution is to ask to install the package, here through names like tex(dcolumn) for the dcolumn package. Presumably Ubuntu has similar tools that allow you to install exactly what you need.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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