! fontspec error: “font-not-found” [on hold]











up vote
0
down vote

favorite












I am following Times new roman font? to use the Times New Roman font.



I try to run xelatex on this script:



documentclass{article}
usepackage{fontspec}
setmainfont{Times New Roman}
begin{document}
Checking font
end{document


But I get an error:



! fontspec error: "font-not-found"
!
! The font "Times New Roman" cannot be found.
!
! See the fontspec documentation for further information.


I am working on Ubuntu 18. I am not sure if Times New Roman comes with Ubuntu. How to fix?



Solution



Solution 2 of https://askubuntu.com/questions/153928/failure-to-download-extra-data-files-after-installing-ttf-mscorefonts-installe?answertab=active#tab-top worked for me










share|improve this question















put on hold as off-topic by samcarter, Sebastiano, Phelype Oleinik, TeXnician, Stefan Pinnow 2 days ago



  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
    – Dũng Vũ
    2 days ago










  • Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
    – Mico
    2 days ago










  • @Dung-Vu, where to find the .ttf file?
    – Viesturs
    2 days ago








  • 2




    AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
    – moewe
    2 days ago








  • 4




    I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
    – samcarter
    2 days ago















up vote
0
down vote

favorite












I am following Times new roman font? to use the Times New Roman font.



I try to run xelatex on this script:



documentclass{article}
usepackage{fontspec}
setmainfont{Times New Roman}
begin{document}
Checking font
end{document


But I get an error:



! fontspec error: "font-not-found"
!
! The font "Times New Roman" cannot be found.
!
! See the fontspec documentation for further information.


I am working on Ubuntu 18. I am not sure if Times New Roman comes with Ubuntu. How to fix?



Solution



Solution 2 of https://askubuntu.com/questions/153928/failure-to-download-extra-data-files-after-installing-ttf-mscorefonts-installe?answertab=active#tab-top worked for me










share|improve this question















put on hold as off-topic by samcarter, Sebastiano, Phelype Oleinik, TeXnician, Stefan Pinnow 2 days ago



  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
    – Dũng Vũ
    2 days ago










  • Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
    – Mico
    2 days ago










  • @Dung-Vu, where to find the .ttf file?
    – Viesturs
    2 days ago








  • 2




    AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
    – moewe
    2 days ago








  • 4




    I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
    – samcarter
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am following Times new roman font? to use the Times New Roman font.



I try to run xelatex on this script:



documentclass{article}
usepackage{fontspec}
setmainfont{Times New Roman}
begin{document}
Checking font
end{document


But I get an error:



! fontspec error: "font-not-found"
!
! The font "Times New Roman" cannot be found.
!
! See the fontspec documentation for further information.


I am working on Ubuntu 18. I am not sure if Times New Roman comes with Ubuntu. How to fix?



Solution



Solution 2 of https://askubuntu.com/questions/153928/failure-to-download-extra-data-files-after-installing-ttf-mscorefonts-installe?answertab=active#tab-top worked for me










share|improve this question















I am following Times new roman font? to use the Times New Roman font.



I try to run xelatex on this script:



documentclass{article}
usepackage{fontspec}
setmainfont{Times New Roman}
begin{document}
Checking font
end{document


But I get an error:



! fontspec error: "font-not-found"
!
! The font "Times New Roman" cannot be found.
!
! See the fontspec documentation for further information.


I am working on Ubuntu 18. I am not sure if Times New Roman comes with Ubuntu. How to fix?



Solution



Solution 2 of https://askubuntu.com/questions/153928/failure-to-download-extra-data-files-after-installing-ttf-mscorefonts-installe?answertab=active#tab-top worked for me







xetex fontspec typefaces






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked 2 days ago









Viesturs

1,4522922




1,4522922




put on hold as off-topic by samcarter, Sebastiano, Phelype Oleinik, TeXnician, Stefan Pinnow 2 days ago



  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by samcarter, Sebastiano, Phelype Oleinik, TeXnician, Stefan Pinnow 2 days ago



  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
    – Dũng Vũ
    2 days ago










  • Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
    – Mico
    2 days ago










  • @Dung-Vu, where to find the .ttf file?
    – Viesturs
    2 days ago








  • 2




    AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
    – moewe
    2 days ago








  • 4




    I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
    – samcarter
    2 days ago














  • 1




    You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
    – Dũng Vũ
    2 days ago










  • Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
    – Mico
    2 days ago










  • @Dung-Vu, where to find the .ttf file?
    – Viesturs
    2 days ago








  • 2




    AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
    – moewe
    2 days ago








  • 4




    I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
    – samcarter
    2 days ago








1




1




You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
– Dũng Vũ
2 days ago




You had better copy the .ttf file of the Times New Roman fonts to the same folder of your file and use setmainfont.
– Dũng Vũ
2 days ago












Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
– Mico
2 days ago




Please tell us which operating system is running on your computer. Did you verify that Times New Roman is installed as a system font on your system?
– Mico
2 days ago












@Dung-Vu, where to find the .ttf file?
– Viesturs
2 days ago






@Dung-Vu, where to find the .ttf file?
– Viesturs
2 days ago






2




2




AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
– moewe
2 days ago






AFAIK by default MS fonts like Times New Roman are not installed in Ubuntu because they are not free. See askubuntu.com/q/34077/57634.
– moewe
2 days ago






4




4




I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
– samcarter
2 days ago




I'm voting to close this question as off-topic because rather an issue with installing fonts on ubuntu than a tex problem
– samcarter
2 days ago















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt