Re: Newbie looking for help!

Paul Vojta <[email protected]> Sat, 29 Sep 2012 01:21:53 -0700
Newsgroups gmane.comp.tex.xdvi.devel
Message-ID <[email protected]>
The easiest way would be to put the xdvi binary and wrapper script in with
the binaries of tex, latex, etc., and then put xdvi.cfg in
/usr/share/texmf/xdvi/xdvi.cfg

Is that possible?  Otherwise, I'll try to come up with some environment
variables to set.

--Paul


On Fri, Sep 28, 2012 at 09:12:28PM +0000, Cook, Rich wrote:
> Great, here you go: 
> 
> rcook@rzgpu2 (test): kpsewhich cmex10.pfb
> /usr/share/texmf/fonts/type1/bluesky/cm/cmex10.pfb
> 
> Thanks
> 
> On Sep 28, 2012, at 12:47 PM, Paul Vojta wrote:
> 
> > Dear Rich:
> > 
> > cmex10.pfb is a postscript file for font that the document is using.
> > You should be able to find it with
> > 
> > 	kpsewhich cmex10.pfb
> > 
> > --Paul
> > 
> > 
> > On Thu, Sep 27, 2012 at 04:13:38PM +0000, Cook, Rich wrote:
> >> Hi, great, thanks for the offer of help. 
> >> 
> >> On Sep 26, 2012, at 5:57 PM, Paul Vojta wrote:
> >> 
> >>> Dear Rich:
> >>> 
> >>> In order to answer your question, I need to know:
> >>> 
> >>> 	Where is xdvi.cfg?
> >> 
> >> rcook@rzgpu2 (xdvik-22.85): cd /usr/local/tools/xdvik-22.85/
> >> rcook@rzgpu2 (xdvik-22.85): find ./ -name xdvi.cfg
> >> ./texmf/xdvi/xdvi.cfg
> >> rcook@rzgpu2 (xdvik-22.85): find ./ -name cmex10.pfb
> >> 
> >> I don't know what or where is cmex10.pfb.  Is it one of these mysterious "kapthsea" things?  The depths of my cluelessness here are pretty profound. 
> >> 
> >>> 
> >>> And,
> >>> 
> >>> 	where are files like cmex10.pfb?
> >>> 
> >>> --Paul Vojta, [email protected]
> >>> 
> >>> 
> >>> On Wed, Sep 26, 2012 at 11:51:15PM +0000, Cook, Rich wrote:
> >>>> Hi, I apologize for this if this is the wrong list or this is a dumb question, but I am not a Latex/xdvi user.  I am a package maintainer and am trying to install Xdvi on our clusters to support a user request. 
> >>>> 
> >>>> I was able to get it to compile and install, but it is now unable to find its config file. 
> >>>> 
> >>>> I get the error:  
> >>>> /usr/local/bin/xdvi example1.dvi
> >>>> xdvi: Warning: Unable to find "xdvi.cfg"!
> >>>> 
> >>>> 
> >>>> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmex10
> >>>> mktexpk: Cannot find mktex.opt; check your installation.
> >>>> kpathsea: Appending font creation commands to missfont.log.
> >>>> 
> >>>> ....
> >>>> Followed by lots and lots of other errors, which sort of makes sense I guess. 
> >>>> 
> >>>> Here is how I configured and installed the software.  Actually, this is all done as root on a build farm that creates the packages and then we deploy using apt. 
> >>>> 
> >>>>   pushd xdvik-22.85
> >>>> 	./configure --prefix=/usr/local/tools/xdvik-22.85  --disable-all-pkgs --enable-xdvik   --without-system-kpathsea --without-system-ptexenc --disable-texlive --enable-build-in-source-tree
> >>>> 
> >>>> 	make install DESTDIR=/      
> >>>>       pushd texk/kpathsea
> >>>>           make install DESTDIR=/  
> >>>>       popd    
> >>>>   popd
> >>>> 
> >>>> The package then creates a symlink /usr/local/bin/xdvi: 
> >>>> lrwxrwxrwx 1 rcook rcook 38 Sep 26 16:33 /usr/local/bin/xdvi -> //usr/local/tools/xdvik-22.85/bin/xdvi
> >>>> 
> >>>> This is a wrapper script which does this:
> >>>> 
> >>>> export PATH=//usr/local/tools/xdvik-22.85/bin:$PATH
> >>>> //usr/local/tools/xdvik-22.85/bin/xdvi.real "$@"
> >>>> 
> >>>> 
> >>>> Help?  Sorry for the complicated setup -- it's a long story.  :-)  Glad to tell it, but perhaps not relevant. 
> >>>> Thanks a bunch!  
> >>>> 
> >>>> -- 
> >>>> ???Richard Cook   
> >>>> ??? Lawrence Livermore National Laboratory
> >>>> Bldg-453 Rm-4024, Mail Stop L-557        
> >>>> 7000 East Avenue,  Livermore, CA, 94550, USA
> >>>> ??? (office) (925) 423-9605    
> >>>> ??? (fax) (925) 423-6961
> >>>> ---
> >>>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> >>>> (opinions expressed herein are mine and not those of LLNL)
> >>>> 
> >>>> 
> >>>> 
> >>>> ------------------------------------------------------------------------------
> >>>> How fast is your code?
> >>>> 3 out of 4 devs don\\\'t know how their code performs in production.
> >>>> Find out how slow your code is with AppDynamics Lite.
> >>>> http://ad.doubleclick.net/clk;262219672;13503038;z?
> >>>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> >>>> _______________________________________________
> >>>> XDvi-core mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/xdvi-core
> >> 
> >> -- 
> >> ???Richard Cook   
> >> ??? Lawrence Livermore National Laboratory
> >> Bldg-453 Rm-4024, Mail Stop L-557        
> >> 7000 East Avenue,  Livermore, CA, 94550, USA
> >> ??? (office) (925) 423-9605    
> >> ??? (fax) (925) 423-6961
> >> ---
> >> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> >> (opinions expressed herein are mine and not those of LLNL)
> >> 
> >> 
> >> 
> 
> -- 
> ???Richard Cook   
> ??? Lawrence Livermore National Laboratory
> Bldg-453 Rm-4024, Mail Stop L-557        
> 7000 East Avenue,  Livermore, CA, 94550, USA
> ??? (office) (925) 423-9605    
> ??? (fax) (925) 423-6961
> ---
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
> 
> 
> 

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html