Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th January 2013, 08:03 AM
Dinesh Sharma Offline
Registered User
 
Join Date: Nov 2008
Posts: 44
linuxfirefox
Fedora 18 woes: latex

I had been using fedora 14 for a long time as I disliked Gnome-3 intensely. On advice from the forum members, I have installed fedora 18 with xfce. xfce is tolerable, but all hell has broken due to fedora 18!

To avoid mixing issues, I shall seek advice on one problem at a time.

I have installed texlive, texlive-latex and texlive-beamer. However, the system refuses to process my tex files as various style files (like floatflt and IEEE) are missing and kpathsee complains about missing files for font generation. For example

Quote:
kpathsea: Running mktexmf phvr7t
! I can't find file `phvr7t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input phvr7t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input phvr7t

Transcript written on mfput.log.
grep: phvr7t.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input phvr7t' failed to make phvr7t.tfm.
kpathsekpathsea: Running mktexmf phvr7t
! I can't find file `phvr7t'.
"yum provides phvr7t" produces no results.

Has anyone succeeded in using beamer with fedora-18?

Last edited by Dinesh Sharma; 27th January 2013 at 08:06 AM.
Reply With Quote
  #2  
Old 27th January 2013, 08:31 AM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 195
linuxchrome
Re: Fedora 18 woes: latex

Seems like it is a helvetica font

you should be able to get it with
yum install texlive-helvetic

See:
http://pkgs.org/fedora-18/fedora-upd...oarch.rpm.html
Reply With Quote
  #3  
Old 27th January 2013, 09:11 AM
bepaald Offline
Registered User
 
Join Date: Nov 2004
Posts: 115
linuxfirefox
Re: Fedora 18 woes: latex

Also, just for future reference, to match filenames in 'yum provides', use wildcards and directory delimiters. Otherwise it will just match package names I think.
Code:
$ yum provides "/*phvr7t*"
shows many available packages that provide this font.

Yum used to issue a warning when you didn't use wildcards, but apparently it stopped doing this. The warning on my F14 box looks like this:
Code:
$ yum provides phvr7t
Warning: 3.0.x versions of yum would erroneously match against filenames.
 You can use "*/phvr7t" and/or "*bin/phvr7t" to get that behaviour
No Matches found
__________________
Running F14 i686 with KDE
Intel Core 2 Quad 9300 @ 2.5GHz
2G RAM
Geforce 8600GT

Last edited by bepaald; 27th January 2013 at 09:15 AM.
Reply With Quote
  #4  
Old 27th January 2013, 10:56 AM
Dinesh Sharma Offline
Registered User
 
Join Date: Nov 2008
Posts: 44
linuxfirefox
Re: Fedora 18 woes: latex

Dear hmaarrfk
Thanks for this information. I installed texlive-helvetic and re-processed the tex file, only to run into other fonts found missing. Using information provided by bepaald, I have painfully tracked down each package and installed them. I can convert some tex files to pdf now, but may be hit by similar problems when processing other files.
Thank you so much for your help.

Quote:
Originally Posted by hmaarrfk View Post
Seems like it is a helvetica font

you should be able to get it with
yum install texlive-helvetic

See:
http://pkgs.org/fedora-18/fedora-upd...oarch.rpm.html


---------- Post added at 04:26 PM ---------- Previous post was at 04:11 PM ----------

Thanks bepaald for this information.

Quote:
Originally Posted by bepaald View Post
Also, just for future reference, to match filenames in 'yum provides', use wildcards and directory delimiters. Otherwise it will just match package names I think.
Code:
$ yum provides "/*phvr7t*"
shows many available packages that provide this font.

Yum used to issue a warning when you didn't use wildcards, but apparently it stopped doing this. The warning on my F14 box looks like this:
Code:
$ yum provides phvr7t
Warning: 3.0.x versions of yum would erroneously match against filenames.
 You can use "*/phvr7t" and/or "*bin/phvr7t" to get that behaviour
No Matches found
After installing texlive-helvetic, I ran into a series of other missing packages, which I painfully tracked one by one. Just in case it is useful to others, I had to install texlive-tex4ht, texlive-times, texlive-metapost, texlive-floatflt, texlive-koma, texlive-IEEEtran, texlive-IEEEconf and texlive-ams*.

There really should be a groupinstall for all this.

And why, (o why!) didn't I just stick with Fedora 14, with its wonderful Gnome 2!
Reply With Quote
  #5  
Old 27th January 2013, 03:15 PM
Gareth Jones Online
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,708
linuxfirefox
Re: Fedora 18 woes: latex

Quote:
Originally Posted by Dinesh Sharma View Post
There really should be a groupinstall for all this.
Unfortunately, TeX Live is masive, complex, and defines its own “package groups” which Fedora’s packages mirror. There are groups available as “schemes” and “collections” though – see http://fedoraproject.org/wiki/Features/TeXLive:
Quote:
You can alternatively install any of these schemes: texlive-scheme-basic texlive-scheme-context texlive-scheme-full texlive-scheme-gust texlive-scheme-medium texlive-scheme-minimal texlive-scheme-tetex texlive-scheme-xml or various pre-set TeX Live collections, the list is here: http://jnovy.fedorapeople.org/texlive/collections
(Note that you don’t need the TeX Live 2012 repository mentioned on that page, as it seems to have been merged into the F18 repo at last.)

Quote:
And why, (o why!) didn't I just stick with Fedora 14, with its wonderful Gnome 2!
MATE is in the F18 repos too (group "MATE Desktop”), and is a continuation of GNOME 2. You might prefer it to Xfce perhaps.
Reply With Quote
  #6  
Old 27th January 2013, 05:39 PM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 195
linuxchrome
Re: Fedora 18 woes: latex

Hey, from my personal notes, I have this written down
Code:
yum install -y texmaker
yum install -y texlive-collection-latex
yum install -y texlive-collection-latexextra
yum install -y texlive-collection-science
yum install -y texlive-collection-latexrecommended
yum install -y texlive-collection-genericextra
yum install -y texlive-collection-genericrecommended
yum install -y texlive-collection-fontsrecommended
yum install -y tex-pst-optexp 
yum install -y texlive-epstopdf-bin
Although, even them I am missing IEEtran. Unfortunately, it takes about 1 hour to download and install everything there.

Last edited by hmaarrfk; 27th January 2013 at 06:06 PM.
Reply With Quote
  #7  
Old 28th January 2013, 01:49 AM
Dinesh Sharma Offline
Registered User
 
Join Date: Nov 2008
Posts: 44
linuxfirefox
Re: Fedora 18 woes: latex

Thanks Gareth Jones.
I agree texlive is massive. However, the distribution should be consistent with the previous one. I did not have to do any of the "collection" bits with Fedora 14 and was quite taken by surprise when my existing files failed to be processed.

I am also trying out mate. Both these alternatives to Gnome-2 have some distance to go, before they become comfortable to use. That is, however, the subject of another thread.

Thanks all the same for your suggestions.

And thanks Hmaarrfk. I have taken down the list of texlive "collection"s you have mentioned and it will be useful the next time around. I may re-install Fedora 14, but get texlive-2012 from other sources.

Regards.
Reply With Quote
  #8  
Old 12th February 2013, 04:07 PM
ikarasalo Offline
Registered User
 
Join Date: Nov 2004
Posts: 3
linuxfirefox
Re: Fedora 18 woes: latex

I installed FC 18 yesterday, and have the same problem with latex as you described. A document that latexes without problems on FC14 and FC17, fails on FC18 with error message

...
This is METAFONT, Version 2.718281 (TeX Live 2013/dev)

kpathsea: Running mktexmf ptmr7t
! I can't find file `ptmr7t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t

Transcript written on mfput.log.
grep: ptmr7t.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t' failed to make ptmr7t.tfm.


Did you solve this problem ?

Some comments suggest that the problem can be worked around by installing one or more missing font packages. After trying this repeatedly the number of packages with name matching 'texlive' is now 1744, but the problem still remains.

Advice on this will thus be very much appreciated.
Reply With Quote
  #9  
Old 12th February 2013, 04:39 PM
Dinesh Sharma Offline
Registered User
 
Join Date: Nov 2008
Posts: 44
linuxfirefox
Re: Fedora 18 woes: latex

Please see the previous posts - particularly the ones from hmaarrfk and Gareth Jones. Several texlive "collections" need to be installed to get full functionality of tex/latex.

Your specific problem can be solved by installing the package texlive-texmf-fonts, which contains this font.
Reply With Quote
  #10  
Old 12th February 2013, 06:20 PM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 195
linuxchrome
Re: Fedora 18 woes: latex

Installing the collections is a rather lengthy process.

If you want to avoid that, you only had to read to post #3 to get an answer.....
Reply With Quote
  #11  
Old 13th February 2013, 08:47 AM
ikarasalo Offline
Registered User
 
Join Date: Nov 2004
Posts: 3
linuxfirefox
Re: Fedora 18 woes: latex

Thanks for your suggestion. However, doing

yum install texlive-texmf-fonts

gives the output

updates/primary_db | 7.0 MB 00:27
updates/group_gz | 368 kB 00:01
Package texlive-texmf-fonts-2007-42.fc18.noarch is obsoleted by 2:texlive-2012-13.20130102_r28692.fc18.x86_64 :which is already installed
Nothing to do


Removing 2:texlive-2012-13.20130102_r28692.fc18.x86_64 with rpm and then doing

yum install texlive-texmf-fonts
or
yum install texlive-texmf-fonts-2007-42.fc18.noarch

again installs 2:texlive-2012-13.20130102_r28692.fc18.x86_64.

yum provides "/*ptmr7t*"

lists a number of packages, but 2:texlive-2012-13.20130102_r28692.fc18.x86_64
is NOT among them. The package 2:texlive-tex4ht-svn28089.0-13.fc18.noarch is,
however, and it is among the 1700 plus texlive packages yum has installed.



locate ptmr7t

gives

/usr/share/texlive/texmf-dist/fonts/tfm/adobe/times/ptmr7t.tfm
/usr/share/texlive/texmf-dist/fonts/vf/adobe/times/ptmr7t.vf
/usr/share/texlive/texmf-dist/tex4ht/ht-fonts/alias/times/ptmr7t.htf

Apparently mxtexmf did not search for the .tfm files in any of the above directories,
since my TEXFONTS variable was set as in FC14. The problem was solved simply by
changing it !
Reply With Quote
Reply

Tags
fedora, latex, woes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 17 Grub Woes Rajtechi Using Fedora 1 20th August 2012 03:25 PM
Which LaTeX distribution in Fedora 10? fcc EOL (End Of Life) Versions 14 21st September 2010 06:38 PM
LaTeX documents compiled in Fedora are different to those compiled on Mac joe.pelayo Using Fedora 2 18th June 2010 07:12 AM
Best LaTeX IDE for Fedora? IvanI Fedora Focus 7 23rd June 2008 01:28 PM
woes of a fedora (c4) install fedoraflop Installation and Live Media 22 30th June 2006 09:08 PM


Current GMT-time: 02:31 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat