LyXcygwin lyx installation is lacking dependencies

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Miki800
Posts: 2
Joined: Sun Apr 06, 2014 1:33 am

cygwin lyx installation is lacking dependencies

Post by Miki800 »

I've edited a lyx document in my linux without any problems, I was also able to export it into dvi, pdf, ps and whatnot..
Installed on my home laptop (windows) cygwin and lyx

opened the same document, tried to export it, got this error message:
! LaTeX Error: File `units.sty' not found.

googled for this error, didn't find anything useful.

I would really rather not install the Lyx bundled setup 200M file for windows, I just want my cygwin installation to work.

now, when I choose to install something using apt-cyg install <PCKGNAME> or the setup-x86.exe gui packages installer for cygwin
it usually includes all dependencies

my guess is that this time, for lyx, the guys behind cygwin didn't care enough to put all the right information through, or expected the users to manually install other stuff and learn about it on their own.. which is wrong...


anyways I came here hoping that you guys could shed some light on this matter and help me solve this issue.

(in the mean while I was able to export my document as .tex and then save it as pdf using writeLaTex online, so I'm saved and I can still submit my documents to my university on time :P)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

StarValkyrie
Posts: 89
Joined: Fri Jan 24, 2014 12:42 am

Re: cygwin lyx installation is lacking dependencies

Post by StarValkyrie »

That's not something wrong with LyX or with cygwin. It just means you don't have that particular LaTeX package yet. Developers can't possibly put together a bundle that includes every package any user will ever need so they pick and choose to try to balance function with size. Its normal for users to have to download a package here and there as they work on their various documents. Look it up on CTAN, download and save it into (not install, just save) the folder for your LaTeX distribution (or in a pinch, you can put it in the same folder as your document), then try to compile again.
Miki800
Posts: 2
Joined: Sun Apr 06, 2014 1:33 am

Re: cygwin lyx installation is lacking dependencies

Post by Miki800 »

I will look it up when I get home,
but .. of course I don't expect cygwin to make a bundle of every possible thing, but pdf is so basic... not including pdf support, or dvi, or postscript.. only tex?

just feels like they were left out intentionally.
StarValkyrie
Posts: 89
Joined: Fri Jan 24, 2014 12:42 am

Re: cygwin lyx installation is lacking dependencies

Post by StarValkyrie »

That's not a package for pdf support. It's for typesetting scientific units. It's one of the packages your document needs in order to create a pdf. If you didn't use that package in your document, you'd be able to compile it to pdf, but obviously you included that package for a reason so you do need it, so you have to download it in order to turn your document into a pdf.
Post Reply