LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-10-2006, 03:07 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Unhappy latex, search path for style file.


Hi, Penguins.

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'.
4. contnav exists.
Code:
/usr/share/texmf-tetex/fonts/type1/hoekwater/context/contnav.pfb
/usr/share/texmf-tetex/fonts/tfm/hoekwater/context/contnav.tfm
/usr/share/texmf-tetex/fonts/map/dvips/tetex/contnav.map
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.

Any clue will be appreciated.

Happy penguins!
 
Old 08-11-2006, 08:16 AM   #2
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
Quote:
Originally Posted by kaz2100
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).
 
Old 08-11-2006, 02:26 PM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Thanks for your reply.

Yes, these two style files are identical.....
 
Old 08-11-2006, 02:27 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
edited out.

same post twice. sorry.

Last edited by kaz2100; 08-11-2006 at 02:28 PM.
 
Old 08-11-2006, 03:49 PM   #5
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
Quote:
Originally Posted by kaz2100
Yes, these two style files are identical.....
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'll let you know if I get any new ideas.
 
Old 08-11-2006, 04:30 PM   #6
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
Uhm, just out of pure interest ... what happens when you remove that contnav option from you tex source? And what is it supposed to do there, anyway?
 
Old 08-14-2006, 11:37 AM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by psisquare
Uhm, just out of pure interest ... what happens when you remove that contnav option from you tex source? And what is it supposed to do there, anyway?
without contnav option, some other error.

Code:
! Undefined control sequence.
<argument> \undefinedpagestyle 
                               
l.10 \pagestyle{title}


Quote:
Originally Posted by psisquare
Uhm, just out of pure interest ... what happens when you remove that contnav option from you tex source?
It is a sort of an idiot answer. I do not know what this option for. I found original file somewhere in the web, and I modify it and keep using.

I somewhat think that problem is hiding behind "foiltex" on etch. I keep troubleshoot and post here whatever...

Happy Penguins.
 
Old 08-14-2006, 12:12 PM   #8
psisquare
Member
 
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
Quote:
Originally Posted by kaz2100
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.
 
Old 08-15-2006, 02:18 PM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Thanks for your offer.

It turned out to be incomplete install of pdfslide package. (I cannot figure out how exactly.., but)

After re-installing pdfslide package, things go well without error on etch.

Happy Penguins!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP search path jmanjohn61 Linux - Software 2 01-21-2009 12:47 PM
standard search path of g++ ekdya Programming 2 07-22-2006 01:40 PM
adding to search path sefzik Linux - Software 2 01-28-2005 02:26 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM
latex question; how do I add a new style sheet qanopus Linux - Software 0 01-07-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration