Category: Documentation

Solution to Missing “amsmath” Package in Lyx

“amsmath” package is missing, with Lyx version 2.0.5 on Windows 7

1. Launch mpm (MiKTeX Package Manager)
2. Install package “amscls“. Here if you install the “amsmath” package, it won’t solve the problem. You have to install the “amscls” package.
3. Quit mpm.
4. Launch Lyx, choose “Reconfigure” from its menu. Quit Lyx and restart it.

Compress PDF Files

Here is a script for compressing PDF files on Linux. It helped me compress a file of 17M to 3M.

# pdf-compress: compress a PDF file


gs -sDEVICE=pdfwrite \
   -dCompatibilityLevel=1.4 \
   -sOutputFile="$Output" "$Input"

exit $?