New MembersNewbie problems

You would like to introduce yourself before starting to post? That's a nice idea and here is the forum for you...
Post Reply
MarceloCarneiro
Posts: 1
Joined: Wed Nov 01, 2017 12:46 pm

Newbie problems

Post by MarceloCarneiro »

Hi. I am new to Latex, using TexMaker on a MacMini Yosemite. I am having this problem and none of the solutions I have found on the internet helped me. Can anyone give me a full path on how to solve it? Also I don't know how to use Lilypond examples inside my text.
I am pasting the code here, but also attaching a printscreen containing the full error message.
Thank you very much.

! LaTeX Error: File `pdftex.def' not found.

Code: Select all

\documentclass[10pt,a4paper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{graphics}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[backend=bibtex,
                style=authoryear,
                natbib=true, 
                style=numeric-comp
                ]{biblatex}    

\author{Marcelo Carneiro de Lima}
\title {Técnicas para a Música Eletroacústica Híbrida}
\date{}

\begin{document}
\maketitle
\pagebreak
%\section{Introdução}
\tableofcontents
\chapter{Introdução}


\pagebreak
\chapter{Músicas}

\pagebreak
\chapter{Análises e Técnicas}
%\begin[quote,fragment]{lilypond}
%{
%c’ e’ g’ e’
%}
%\end{lilypond}

\end{document}
Captura de Tela 2017-11-01 às 08.44.33.png
Captura de Tela 2017-11-01 às 08.44.33.png (182.19 KiB) Viewed 7868 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Newbie problems

Post by Stefan Kottwitz »

Hi Marcelo ,

welcome to the forum!

It seems that you have to install (or re-install) the graphics-def package. On your Mac, run the "TeX Live utility", check that this is installed, perhaps update. If this does not fix it yet, go to the action menu, choose "Rebuild all formats". If you don't have that, you may run "fmtutil-sys --all" in a terminal window, it may require admin rights.

Stefan
LaTeX.org admin
Post Reply