## LaTeX forum ⇒ Text Formatting ⇒ GoMono Font Shape undefined

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
AMpeLIos88
Posts: 5
Joined: Sun Nov 27, 2016 2:59 pm

### GoMono Font Shape undefined

I get the following error when I try to create a PDF:
LaTeX Font Warning: Font shape T1/GoMono-Regular-tlf-t1/m/n' undefined
(Font) using T1/cmr/m/n' insLaTeX Font Warning: Font shape T1/GoMono-Regular-tlf-t1/m/n' undefined
(Font) using T1/cmr/m/n' instead on input line 23.tead on input line 23.

\documentclass[A4paper]{article}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{GoMono} \newcommand{\fonts}[1]{%    \fontfamily{GoMono}\selectfont%    #1} \begin{document}\section{grace a}Usage notes: When you want to credit someone or something for apositive situation or event, use the French expression grâce à.    \fonts{Par exemple…}

Line 23 is the last line (\fonts etc.). What am I doing wrong here?

Tags:

Johannes_B
Site Moderator
Posts: 3278
Joined: Thu Nov 01, 2012 4:08 pm
I don't have the font, so cannot test, but try
\newcommand{\fonts}[1]{%    \fontfamily{GoMono}\ttfamily%    #1}

I would give that command fonts another name, though.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

AMpeLIos88
Posts: 5
Joined: Sun Nov 27, 2016 2:59 pm
I get the errormessage:" Finished with exit code 1"

Stefan Kottwitz
Posts: 7958
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
This seems like the final error message / compiling summary. Can you post the complete / first error message? Even better, post the .log file as attachment.

Stefan

AMpeLIos88
Posts: 5
Joined: Sun Nov 27, 2016 2:59 pm
Okay, the complete log. I have added it as an attachment. If you want it pasted into the text as code, then let me know.
Attachments
franseboek.log.txt

AMpeLIos88
Posts: 5
Joined: Sun Nov 27, 2016 2:59 pm
1. LaTeX Font Info: Try loading font information for T1+GoMono-TLF on input lin
e 29.

2. (/usr/share/texlive/texmf-dist/tex/latex/gofonts/T1GoMono-TLF.fd
File: T1GoMono-TLF.fd 2016/11/18 (autoinst) Font definitions for T1/GoMono-TLF.

)
3. LaTeX Font Info: Font shape T1/GoMono-TLF/m/n' will be
(Font) scaled to size 10.0pt on input line 29.

4. ! Font T1/GoMono-TLF/m/n/10=GoMono-Regular-tlf-t1 at 10.0pt not loadable: Metri
<to be read again>
relax
l.29 \french{Par exemple}

5. 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 I\font<same font id>=<substitute font name>'.

So Latex tries to use the GoMono fonts (1), locates the fonts on the system (2), automatically scales the size of the font to be used to 10pxt, tells me that the GoMono font is not readable, because Metric(TFM) file is not found (4), and gives me advice on how to tackle it (5).

That is how far I have got now.