LyXLyX search path for packages

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Promethean
Posts: 7
Joined: Mon Apr 25, 2011 9:13 pm

LyX search path for packages

Post by Promethean »

I am attempting to use

Code: Select all

\usepackage[light]{antpolt}
with MiKTeX 2.9 and LyX. Apparently, the "light" option is only present in newer versions of the package and MiKTeX provides me with an older version resulting in the error

Code: Select all

The option `light' was not declared in package `antpolt', perhaps you
misspelled its name. Try typing  <return>  to proceed.
I could not find the package in the MiKTex package manager, so I just copied a recent version of the package and its supporting file into the directory where my document resides. This usually work with LaTeX. However, LyX does not seem to search that path and the error message persists. Is there any way to use the newest version of the package without making larger changes to my installation?

On a related note: If you have any other suggestions for fonts that save space and might be easier to use (e.g. a package that contains fonts processed by makethin), these would be welcome. The default version of times is not saving enough space for me.
Last edited by Promethean on Sun May 29, 2011 2:23 pm, edited 1 time in total.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LyX search path for packages

Post by localghost »

This package is part of antp, which you should find in the list of the MiKTeX Package Manager (MPM). But it is obsolete and has been replaced by the poltawski package. If not done yet, install it by the MPM.


Thorsten
Promethean
Posts: 7
Joined: Mon Apr 25, 2011 9:13 pm

LyX search path for packages

Post by Promethean »

Thank you very much. The last version of antp that the MiKTeX package manager makes available to me is from 2001. Still, both

Code: Select all

\usepackage[light]{antpolt}
and

Code: Select all

\usepackage[light]{antpolt}
do not work, the former still brings the error that the option is unknown. I was able to install poltawski using the MiKTeX package manager, but LyX seems to be unable to find it when I use

Code: Select all

\usepackage{poltawski}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LyX search path for packages

Post by localghost »

Promethean wrote:[…] Still, both

Code: Select all

\usepackage[light]{antpolt}
and

Code: Select all

\usepackage[light]{antpolt}
do not work, the former still brings the error that the option is unknown. […]
Bad luck. What makes you think that this option is allowed at all? Is it documented somewhere?
Promethean wrote:[…] I was able to install poltawski using the MiKTeX package manager, but LyX seems to be unable to find it when I use

Code: Select all

\usepackage{poltawski}
The name of the package file is also »antpolt«.
Promethean
Posts: 7
Joined: Mon Apr 25, 2011 9:13 pm

LyX search path for packages

Post by Promethean »

Yes, the font catalogue claims that this works:
http://www.tug.dk/FontCatalogue/antpoltlight/

The poltawski package also declares this option:
http://www.tex.ac.uk/tex-archive/fonts/ ... ntpolt.sty

I finally got what I wanted by doing

Code: Select all

\usepackage[T1]{fontenc}
\usepackage{antpolt}
\renewcommand{\rmdefault}{antpl}
but I am still mystified why the option did not work or what version of what package I am using now. Thank you for your help!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: LyX search path for packages

Post by localghost »

I think this worth a note to the package maintainer(s).
Post Reply