Unix Technical Forum

tetex or xorg or kde?

This is a discussion on tetex or xorg or kde? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I got a very tricky problem while I was using latex on my linux box running slackware-current. Here's a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 10:30 AM
chengdu@gmail.com
 
Posts: n/a
Default tetex or xorg or kde?

I got a very tricky problem while I was using latex on my linux box
running slackware-current.

Here's a very simple tex file, named joke.tex:
\documentclass[10pt]{article}
\usepackage{times}
\begin{document}
Traffic first
\end{document}

I ran "latex joke.tex && dvipdf joke && kpdf joke.pdf" and I saw the
"ff" and "fi" were not properly displayed: they appeared as blank
quads. However, xpdf and acroread can render the file without any
problem.

Next, I modified joke.tex by commenting out one line:
\documentclass[10pt]{article}
\begin{document}
Traffic first
\end{document}

then again, "latex joke.tex && dvipdf joke && kpdf joke.pdf"
guess what, this time everything's perfect.

This looks like a slackware-specific problem: I tried generating the
pdf file on an FC3 box. The pdf file can be viewed properly even with
kpdf on my slackware box.

I'm very confused. Is this a problem with tetex package, or xorg, or
kde, or a combination or some of them?

Anyone encountered this problem before? Any solution? Thanks!

-c

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 10:30 AM
chengdu@gmail.com
 
Posts: n/a
Default Re: tetex or xorg or kde?

Also, I tried replacing /usr/share/texmf/tex/latex/psnfss/times.sty on
my slackware box with that on the FC3 box. That didn't make any
difference.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 10:31 AM
Sylvain Robitaille
 
Posts: n/a
Default Re: tetex or xorg or kde?

chengdu@gmail.com wrote:

> I got a very tricky problem while I was using latex on my linux box
> running slackware-current.
>
> Here's a very simple tex file, named joke.tex:
> \documentclass[10pt]{article}
> \usepackage{times}
> \begin{document}
> Traffic first
> \end{document}
>
> I ran "latex joke.tex && dvipdf joke && kpdf joke.pdf" and I saw the
> "ff" and "fi" were not properly displayed: they appeared as blank
> quads. However, xpdf and acroread can render the file without any
> problem.


I tested this on Slackware-10.0, and can't replicate the problem. The
file displays correctly with both kpdf and xpdf (I don't have acroread).

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 10:31 AM
Glyn Millington
 
Posts: n/a
Default Re: tetex or xorg or kde?

chengdu@gmail.com writes:

> I got a very tricky problem while I was using latex on my linux box
> running slackware-current.
>
> Here's a very simple tex file, named joke.tex:
> \documentclass[10pt]{article}
> \usepackage{times}
> \begin{document}
> Traffic first
> \end{document}
>
> I ran "latex joke.tex && dvipdf joke && kpdf joke.pdf" and I saw the
> "ff" and "fi" were not properly displayed: they appeared as blank
> quads. However, xpdf and acroread can render the file without any
> problem.
>
> Next, I modified joke.tex by commenting out one line:
> \documentclass[10pt]{article}
> \begin{document}
> Traffic first
> \end{document}
>
> then again, "latex joke.tex && dvipdf joke && kpdf joke.pdf"
> guess what, this time everything's perfect.


It all looks fine here on Slack 10.1. Looks like a problem with kpdf, but
what that might be I don't know. Does joke.log say anything interesting?

You might get a better answer on comp.text.tex

atb

Glyn
--
RTFM http://www.tldp.org/index.html
GAFC http://slackbook.org/ The Official Source :-)
STFW http://groups.google.com/groups?hl=e...inux.slackware
JFGI http://jfgi.us/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 10:33 AM
chengdu@gmail.com
 
Posts: n/a
Default Re: tetex or xorg or kde?

I think the problem is with gs. What's your gs version? I'm using
espgs-8.15rc3-i486-2 that comes with slackware-current. I reverted to
espgs-7.07-i486-1 (as with slackware-10.1) and it all worked fine now.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 10:33 AM
Glyn Millington
 
Posts: n/a
Default Re: tetex or xorg or kde?

chengdu@gmail.com writes:

> I think the problem is with gs. What's your gs version? I'm using
> espgs-8.15rc3-i486-2 that comes with slackware-current. I reverted to
> espgs-7.07-i486-1 (as with slackware-10.1) and it all worked fine now.


espgs-7.07-i486-1 but with tetex from current :-)

Glad you cracked it!

Glyn
--
RTFM http://www.tldp.org/index.html
GAFC http://slackbook.org/ The Official Source :-)
STFW http://groups.google.com/groups?hl=e...inux.slackware
JFGI http://jfgi.us/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com