Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Question is:
How to set search path with tex (pdflatex)?
This is the problem I ran into:
1. I have Debian (sarge) penguin and Debian (etch) penguin.
2. One of the tex source file does not go through pdflatex on etch. with sarge, no error.
3. Error message is
Code:
! LaTeX Error: Unknown option `contnav' for package `pp4slide'.
which is same as sarge!
5. I checked www.tug.org and www.ibiblio.org, but so far no help.
6. both sarge and etch, version is same
Code:
>pdflatex -v
pdfeTeX using libpoppler 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX using libpoppler copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX using libpoppler source.
Primary author of pdfeTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
2. One of the tex source file does not go through pdflatex on etch. with sarge, no error.
3. Error message is
Code:
! LaTeX Error: Unknown option `contnav' for package `pp4slide'.
My guess is that sarge and etch have different versions of pp4slide. Don't think it has to do with search paths...
Try copying pp4slide.sty from sarge over to etch to check this (just to make that clear, that's not a clean solution and will probably produce other errors).
Well, if you want to read up on the search path thing, have a look at info kpathsea.
You could try setting TEXINPUTS_pdflatex to one of the paths you think should be searched.
The thing is, the contnav files you listed all seem to be font-related, while the error is a package option pdflatex can't find.
I found original file somewhere in the web, and I modify it and keep using.
Maybe this file uses old options / commands which newer version of PPower4 (that seems to be the offending package) do not support any longer.
If you'd post or send me a minimal tex file (without content) producing the error, I could run that through pdflatex here on Gentoo to see whether the problem is etch-specific.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.