“Metric (TFM) file not found” error only in TeXStudio under Mac OS X
I'm using Mac OS X, and fresh installation of TeX Live 2015 and TeXstudio. When I compile a tex-file with pdflatex command from TeXstudio I get the well-known error "Metric (TFM) file not found". The corresponding log-file says:
! Font T2A/cmr/m/n/10.95=larm1095 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.44 begin{abstract}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `Ifont<same font id>=<substitute font name>'.
When I compile the same file with pdflatex from the terminal, I do not get this error, instead, it seems that TeX compiles the neccessary files by itself (I have «[1] [2] [3]…» thing on the screen). After compilation from the command line, this file can be compiled in TeXstudio without errors. However, when I use a little bit different fonts (e.g. try to compile different file with a different markup), I again get similar error in TeXstudio.
I have cm-super package installed. TeXstudio uses the same pdflatex command that I invoke from the command line.
All the solutions I was able to find assume that there's something wrong with the code or with the packages. In my case it seems that something wrong with TeXstudio because everything works fine from the command line.
texstudio
add a comment |
I'm using Mac OS X, and fresh installation of TeX Live 2015 and TeXstudio. When I compile a tex-file with pdflatex command from TeXstudio I get the well-known error "Metric (TFM) file not found". The corresponding log-file says:
! Font T2A/cmr/m/n/10.95=larm1095 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.44 begin{abstract}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `Ifont<same font id>=<substitute font name>'.
When I compile the same file with pdflatex from the terminal, I do not get this error, instead, it seems that TeX compiles the neccessary files by itself (I have «[1] [2] [3]…» thing on the screen). After compilation from the command line, this file can be compiled in TeXstudio without errors. However, when I use a little bit different fonts (e.g. try to compile different file with a different markup), I again get similar error in TeXstudio.
I have cm-super package installed. TeXstudio uses the same pdflatex command that I invoke from the command line.
All the solutions I was able to find assume that there's something wrong with the code or with the packages. In my case it seems that something wrong with TeXstudio because everything works fine from the command line.
texstudio
1
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) addinglistfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.
– cfr
Nov 24 '15 at 4:08
add a comment |
I'm using Mac OS X, and fresh installation of TeX Live 2015 and TeXstudio. When I compile a tex-file with pdflatex command from TeXstudio I get the well-known error "Metric (TFM) file not found". The corresponding log-file says:
! Font T2A/cmr/m/n/10.95=larm1095 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.44 begin{abstract}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `Ifont<same font id>=<substitute font name>'.
When I compile the same file with pdflatex from the terminal, I do not get this error, instead, it seems that TeX compiles the neccessary files by itself (I have «[1] [2] [3]…» thing on the screen). After compilation from the command line, this file can be compiled in TeXstudio without errors. However, when I use a little bit different fonts (e.g. try to compile different file with a different markup), I again get similar error in TeXstudio.
I have cm-super package installed. TeXstudio uses the same pdflatex command that I invoke from the command line.
All the solutions I was able to find assume that there's something wrong with the code or with the packages. In my case it seems that something wrong with TeXstudio because everything works fine from the command line.
texstudio
I'm using Mac OS X, and fresh installation of TeX Live 2015 and TeXstudio. When I compile a tex-file with pdflatex command from TeXstudio I get the well-known error "Metric (TFM) file not found". The corresponding log-file says:
! Font T2A/cmr/m/n/10.95=larm1095 at 10.95pt not loadable: Metric (TFM) file no
t found.
<to be read again>
relax
l.44 begin{abstract}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `Ifont<same font id>=<substitute font name>'.
When I compile the same file with pdflatex from the terminal, I do not get this error, instead, it seems that TeX compiles the neccessary files by itself (I have «[1] [2] [3]…» thing on the screen). After compilation from the command line, this file can be compiled in TeXstudio without errors. However, when I use a little bit different fonts (e.g. try to compile different file with a different markup), I again get similar error in TeXstudio.
I have cm-super package installed. TeXstudio uses the same pdflatex command that I invoke from the command line.
All the solutions I was able to find assume that there's something wrong with the code or with the packages. In my case it seems that something wrong with TeXstudio because everything works fine from the command line.
texstudio
texstudio
asked Sep 28 '15 at 13:08
Ilya V. SchurovIlya V. Schurov
12816
12816
1
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) addinglistfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.
– cfr
Nov 24 '15 at 4:08
add a comment |
1
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) addinglistfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.
– cfr
Nov 24 '15 at 4:08
1
1
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) adding
listfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.– cfr
Nov 24 '15 at 4:08
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) adding
listfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.– cfr
Nov 24 '15 at 4:08
add a comment |
2 Answers
2
active
oldest
votes
I had exactly the same problem and since I also had only Basic installation of TexLive installing texlive-collection-fonts (doh!) resolved the issue for me:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
add a comment |
I never use this tlmgr before. And for work and install was needed to go to the root:
cd ~
then update the tlmgr:
sudo tlmgr update --self
and then install the fonts:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f269927%2fmetric-tfm-file-not-found-error-only-in-texstudio-under-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had exactly the same problem and since I also had only Basic installation of TexLive installing texlive-collection-fonts (doh!) resolved the issue for me:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
add a comment |
I had exactly the same problem and since I also had only Basic installation of TexLive installing texlive-collection-fonts (doh!) resolved the issue for me:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
add a comment |
I had exactly the same problem and since I also had only Basic installation of TexLive installing texlive-collection-fonts (doh!) resolved the issue for me:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
I had exactly the same problem and since I also had only Basic installation of TexLive installing texlive-collection-fonts (doh!) resolved the issue for me:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
answered Nov 23 '15 at 19:33
duxanduxan
413
413
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
add a comment |
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
I don't believe you. If you had exactly the same problem, why did everything compile for you OK at the command line without your installing these packages?
– cfr
Nov 24 '15 at 3:56
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
this worked with me on Snow Leopard. Thanks.
– Ahmed Laatabi
Feb 6 '17 at 19:48
add a comment |
I never use this tlmgr before. And for work and install was needed to go to the root:
cd ~
then update the tlmgr:
sudo tlmgr update --self
and then install the fonts:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
add a comment |
I never use this tlmgr before. And for work and install was needed to go to the root:
cd ~
then update the tlmgr:
sudo tlmgr update --self
and then install the fonts:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
add a comment |
I never use this tlmgr before. And for work and install was needed to go to the root:
cd ~
then update the tlmgr:
sudo tlmgr update --self
and then install the fonts:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
I never use this tlmgr before. And for work and install was needed to go to the root:
cd ~
then update the tlmgr:
sudo tlmgr update --self
and then install the fonts:
sudo tlmgr install collection-fontsrecommended collection-fontsextra
answered 1 hour ago
rldrld
1012
1012
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f269927%2fmetric-tfm-file-not-found-error-only-in-texstudio-under-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What do the logs say before the line you've posted? I'd be checking carefully for them calling different TeX systems.
– Joseph Wright♦
Sep 28 '15 at 13:09
@JosephWright, they are the same in the two logs (from CLI and from the TeXstudio), so they give no clue about different TeX systems. Here are the full logs: gist.github.com/ischurov/6bd7b76784d4e924749a (command line) and gist.github.com/ischurov/2e78bb168fdb513a5451 (TeXstudio).
– Ilya V. Schurov
Sep 28 '15 at 13:56
Do you input or include anything such that one might be picking up a different version of one of your files? Try (1) creating a minimal case and (2) adding
listfiles. The TeX Studio one is trying to use fonts the other never touches. So something different must be happening in terms of what it is being asked to process.– cfr
Nov 24 '15 at 4:08