Re: Immagini in Kile

#21658
Up
0
Down
::

Ciao a tutti!!! 😀
Ho da poco iniziato ad usare Kile e già sono uscita pazza, poichè ho un problema con \includegraphics!!!
Allora: devo inserire un’immagine in una tesina, che è salvata nella stessa cartella del file, sia in formato .jpg(in quanto avendo ImageMagick dovrebbe convertirla) che .eps.
Quando vado a compilarrla, avendola inserita con i comandi:
\begin{figure}
\begin{center}
\includegraphics{burst.eps}\end{center}
\end{figure}
mi dà come errore:
[LaTeX] finished with exit status 1
./magnetars.toc:9:Overfull \hbox (31.93715pt too wide) in paragraph
./magnetars.tex:21:Undefined control sequence. \includegraphics

Ho allora usato : \usepackage{graphicx}
ma mi dà:
[LaTeX] finished with exit status 1
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:Missing \begin{document}. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key
/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty:25:You can’t use `macro parameter character #’ in horizontal mode. \define@key

aprendo il file graphics.sty e segnando errore alla riga:
\define@key{Gin}{bb}
{\Gin@bboxtrue\Gread@parse@bb#1 \\}

Ho usato così \usepackage{graphics},ma anche con questo:

[LaTeX] finished with exit status 1
./magnetars.tex:3:Missing \begin{document}. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

./magnetars.tex:3:You can’t use `macro parameter character #’ in horizontal mode. \begin

Ora non so più che provare anche perchè non sono molto pratica di questo programma…

Il tuo documento dovrebbe avere la seguente forma:
`\documentclass[a4paper]{article}
\usepackage[italian]{babel}
\usepackage{graphicx}

\begin{document}
\begin{figure}
\centering
\includegraphics{burst}
\end{figure}
\end{document}`
Il fatto che abbia cambiato \begin{center} in \centering e abbia omesso l’estensione dal nome del file non ha alcuna rilevanza con il tuo errore.

Evidentemente stai facendo qualcosa che non va; difficile dire cosa, con le informazioni che dai.

Ciao
Enrico

Go to top