athletics81 10 Posted March 31, 2005 Report Share Posted March 31, 2005 Ciao, qualcuno di voi usa Latex?? Credo di si.... Mi sapreste dare una mano perchè non riesco ad inserire le immagini. Quando compilo e appare la pagina in pdf si vede lo spazio che la figura dovrebbe occupare ma nulla di più...grazie ed a buon rendere Link to post Share on other sites
matt29 10 Posted March 31, 2005 Report Share Posted March 31, 2005 Devi dirci di più... usi un editor come LyX oppure vai per "righe di comando" da TeXShop, per esempio? In generale le figure non sono proprio la cosa più semplice -almeno per quanto mi riguarda... Bisogna comunque usare un pacchetto apposta che va dichiarato nell'intestazione del documento subito dopo \documentclass. Aspetto però altre tue informazioni per poterti, spero, aiutare... Confido che si faccia avanti anche qualcun altro più esperto di me... ciao Link to post Share on other sites
athletics81 10 Posted April 1, 2005 Author Report Share Posted April 1, 2005 Uso texshop, ti riporto il pezzo di codice che ho scritto... %&program=pdflatex \documentclass[a4paper]{article} \usepackage[centertags]{amsmath} % see geometry.pdf on how to lay out the page. There's lots. \usepackage[dvips]{graphicx} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage[latin1]{inputenc} \usepackage[italian]{babel} % See the ``Article customise'' template for come common customisations \title{Descrizione di un prodotto} \author{Paolo Todesco} \date{Aprile 2005} % delete this line to display the current date %%% BEGIN DOCUMENT \begin{document} \maketitle Visualizzazione fotografica dei prodotti \tableofcontents \section{Visualizzazione della gamma prodotti} \subsection{Foto descrittiva} \begin{figure}[htbp] % figure placement: here, top, bottom, or page \centering \includegraphics[]{uno.eps} \caption{example caption} \label{fig:example} \end{figure} \section{Visualizzazione della gamma prodotti} \subsection{Foto descrittiva} \section{Visualizzazione della gamma prodotti} \subsection{Foto descrittiva} \section{Visualizzazione della gamma prodotti} \subsection{Foto descrittiva} \footnote{Obiettivo raggiunto} \end{document} Sai cosa? Non mi è ancora chiaro quale formato devo mettere, per il momento uso .eps, ma ho qualche dubbio! Grazie per l'aiuto Link to post Share on other sites
matt29 10 Posted April 1, 2005 Report Share Posted April 1, 2005 Non saprei dirti di più. Anch'io uso normalmente l'.eps, cioè la versione postscript della figura "encapsulated" nel file TeX. So che con gli editor come LyX è ovviamente molto più semplice inserire figure, ma non è la stessa cosa... Il pezzo di codice che hai mandato mi sembra a posto; dov'è il tuo problema con le figure? Intendo dire, se ti trovi bene con questo metodo, cosa vorresti cambiare? Link to post Share on other sites
athletics81 10 Posted April 1, 2005 Author Report Share Posted April 1, 2005 non mi mostra la figura....forse c'è qualche cosa che nn ho installato, o forse c'è qualche cosa che nonme lo fa visualizzare... Link to post Share on other sites
Olaf Marzocchi 11 Posted April 1, 2005 Report Share Posted April 1, 2005 A cosa servono i [] prima del nome del file eps? Prova a toglierlo per prima cosa. Prova poi a togliere il ".eps" e poi, comunque, a leggere il log (che puoi anche postare). Il file eps è nella stessa dir del file .tex? Link to post Share on other sites
athletics81 10 Posted April 2, 2005 Author Report Share Posted April 2, 2005 Niente da fare, si ritorna sempre lì. Ma sentite un po, io per installare texshop, ho installato un sacco di packages, come viene scritto in tutti i siti che parlano di tex. Non è che magari me ne è scappato qualcuno? Link to post Share on other sites
Olaf Marzocchi 11 Posted April 2, 2005 Report Share Posted April 2, 2005 Se quando hai scaricato ii2 installer hai letto le ISTRUZIONI, c'era scritto esattamente cosa era richiesto per andare senza problemi. Sono solo tre pacchetti, mi pare. Posta poi il log, come ti ho detto. Con quello ti dico subito il problema. Link to post Share on other sites
athletics81 10 Posted April 2, 2005 Author Report Share Posted April 2, 2005 Ti attacco quello che c'è nel log. Con ii2...ho installato tutti i pcchetti :-) ! This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 2005.4.1) 2 APR 2005 12:25 entering extended mode \write18 enabled. **antenne_3.tex (./antenne_3.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, d utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded. (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size11.clo File: size11.clo 2004/02/16 v1.4f Standard LaTeX file (size option) ) \[email protected]=\count79 \[email protected]=\count80 \[email protected]=\count81 \[email protected]=\count82 \[email protected]=\count83 \[email protected]=\count84 \[email protected]=\count85 \[email protected]=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsmath.sty Package: amsmath 2000/07/18 v2.13 AMS math features \@mathmargin=\skip43 For additional information on amsmath, use the `?' option. (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amstext.sty Package: amstext 2000/06/29 v2.01 (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsgen.sty File: amsgen.sty 1999/11/30 v2.0 \@emptytoks=\toks14 \[email protected]=\dimen103 )) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsbsy.sty Package: amsbsy 1999/11/29 v1.2d \[email protected]=\dimen104 ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsopn.sty Package: amsopn 1999/12/14 v2.01 operator names ) \[email protected]=\count87 LaTeX Info: Redefining \frac on input line 211. \[email protected]=\count88 \[email protected]=\count89 LaTeX Info: Redefining \overline on input line 307. \[email protected]=\count90 \[email protected]=\count91 LaTeX Info: Redefining \ldots on input line 379. LaTeX Info: Redefining \dots on input line 382. LaTeX Info: Redefining \cdots on input line 467. \[email protected]=\box26 \[email protected]=\box27 \[email protected]=\dimen105 LaTeX Font Info: Redeclaring font encoding OML on input line 567. LaTeX Font Info: Redeclaring font encoding OMS on input line 568. \[email protected]=\count92 \[email protected]=\count93 \[email protected]=\muskip10 \[email protected]=\count94 \[email protected]=\count95 \[email protected]=\toks15 \[email protected]=\count96 \[email protected]=\count97 \[email protected]=\count98 \[email protected]=\toks16 \[email protected]=\dimen106 \[email protected]=\dimen107 \[email protected]=\dimen108 \[email protected]=\dimen109 \[email protected]=\dimen110 \[email protected]=\dimen111 \@envbody=\toks17 \multlinegap=\skip44 \multlinetaggap=\skip45 \[email protected]=\toks18 LaTeX Info: Redefining \[ on input line 2666. LaTeX Info: Redefining \] on input line 2667. ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amsfonts.sty Package: amsfonts 2001/10/25 v2.2f \symAMSa=\mathgroup4 \symAMSb=\mathgroup5 LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' (Font) U/euf/m/n --> U/euf/b/n on input line 132. ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amssymb.sty Package: amssymb 2002/01/22 v2.2d ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amscls/amsthm.sty Package: amsthm 2004/08/06 v2.20 \[email protected]=\toks19 \[email protected]=\toks20 \[email protected]=\toks21 \[email protected]=\toks22 \[email protected]=\toks23 \[email protected]=\skip46 \[email protected]=\skip47 \[email protected]=\skip48 \[email protected]=\toks24 ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/latexsym.sty Package: latexsym 1998/08/17 v2.2e Standard LaTeX package (lasy symbols) \symlasy=\mathgroup6 LaTeX Font Info: Overwriting symbol font `lasy' in version `bold' (Font) U/lasy/m/n --> U/lasy/b/n on input line 47. ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/marvosym/marvosym.sty Package: marvosym 2000/05/01 v2.0 Martin Vogel's Symbols font definitions ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \[email protected]@=\toks25 ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg File: graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/TeXLive ) Package graphics Info: Driver file: dvips.def on input line 80. (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) )) \[email protected]@height=\dimen112 \[email protected]@width=\dimen113 ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/newlfont.sty Package: newlfont 1998/08/17 v2.2m Standard LaTeX package LaTeX Info: Redefining \em on input line 67. ) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/inputenc.sty Package: inputenc 2004/02/05 v1.0d Input encoding file (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/latin1.def File: latin1.def 2004/02/05 v1.0d Input encoding file )) (/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty Package: babel 2004/11/20 v3.8d The Babel package (/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/italian.ldf Language: italian 2004/02/19 v1.2p Italian support from the babel system (/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.def File: babel.def 2004/11/20 v3.8d Babel common definitions \[email protected]=\count99 \[email protected]=\dimen114 ) Package babel Info: Making " an active character on input line 91. )) (./antenne_3.aux) \openout1 = `antenne_3.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 18. LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Checking defaults for OT2/cmr/m/n on input line 18. LaTeX Font Info: Try loading font information for OT2+cmr on input line 18. (/usr/local/teTeX/share/texmf.tetex/tex/latex/cyrillic/ot2cmr.fd File: ot2cmr.fd 2001/08/11 v3.2c Computer Modern Cyrillic font definitions ) LaTeX Font Info: ... okay on input line 18. LaTeX Font Info: Try loading font information for U+msa on input line 20. (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsa.fd File: umsa.fd 2002/01/19 v2.2g AMS font definitions ) LaTeX Font Info: Try loading font information for U+msb on input line 20. (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsb.fd File: umsb.fd 2002/01/19 v2.2g AMS font definitions ) LaTeX Font Info: Try loading font information for U+lasy on input line 20. (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/ulasy.fd File: ulasy.fd 1998/08/17 v2.2e LaTeX symbol font definitions ) [1 {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/pdftex.map}] LaTeX Warning: Command \textdegree invalid in math mode on input line 50. LaTeX Font Info: Try loading font information for OMS+cmr on input line 59. (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/omscmr.fd File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions ) LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.95> not available (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 59. LaTeX Warning: Command \textdegree invalid in math mode on input line 72. File: uno.eps Graphic file (type eps) <uno.eps> File: uno.eps Graphic file (type eps) <uno.eps> [2] [3 Non-PDF special ignored! Non-PDF special ignored!] (./antenne_3.aux) ) Here is how much of TeX's memory you used: 2165 strings out of 95205 26094 string characters out of 1184214 2076229 words of memory out of 4531064 5245 multiletter control sequences out of 10000+50000 11823 words of font info for 47 fonts, out of 2000000 for 2000 58 hyphenation exceptions out of 1000 27i,6n,24p,226b,291s stack positions out of 5000i,500n,6000p,200000b,40000s PDF statistics: 40 PDF objects out of 300000 0 named destinations out of 131072 1 words of extra memory for PDF output out of 65536 </usr/local/teTeX/share/texmf.tete x/fonts/type1/bluesky/cm/cmr8.pfb></usr/local/teTeX/share/texmf.tetex/fonts/typ e1/bluesky/cm/cmsy10.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesk y/cm/cmmi8.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmsy8 .pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmti10.pfb></us r/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmmi10.pfb></usr/local/t eTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmr10.pfb></usr/local/teTeX/share /texmf.tetex/fonts/type1/bluesky/cm/cmr12.pfb></usr/local/teTeX/share/texmf.tet ex/fonts/type1/bluesky/cm/cmr17.pfb></usr/local/teTeX/share/texmf.tetex/fonts/t ype1/bluesky/cm/cmbx12.pfb> Output written on antenne_3.pdf (3 pages, 57182 bytes). Link to post Share on other sites
Olaf Marzocchi 11 Posted April 2, 2005 Report Share Posted April 2, 2005 Mandami per posta uno dei file eps che non ti mostra, faccio una prova io... non riesco a capire. Link to post Share on other sites
Olaf Marzocchi 11 Posted April 2, 2005 Report Share Posted April 2, 2005 lol... mi hai mandato un messaggio che sembrava spam, all'inizio l'avevo cestinato...Comunque sappi questo (info preliminari, anche io ebbi lo stesso problema ora che ci penso): pdflatex (usato come metodo preferito da Texshop) non accetta file EPS. Io risolsi usando file PDF (convertiti da linea di comando). Se ne hai pochi o puoi permettertelo, cerca di usare quindi un altro formato (jpeg, png o tif).Se non puoi assolutamente cambiare formato, allora devi usare la trafila tex + ghostscript, che non ho mai usato. Ti aiuteranno però gli utenti linux, che usano prevalentemente tex+ ghostscript.Il mio consiglio è di convertire in PDF i file ps che ti servono: da linea di comando per un solo file:epstopdf NOMEFILEper più file (basta copia e incolla nella dir dei file):for FILE in *.eps ; do epstopdf $FILE ; doneIn giro trovi informazioni: http://dionysos.mpch-mainz.mpg.de/~joeckel/pdflatex/ ad esempio. Link to post Share on other sites
Olaf Marzocchi 11 Posted April 2, 2005 Report Share Posted April 2, 2005 http://www.uoregon.edu/~koch/texshop/conversion.htmloh! ma guarda... teTex è mantenuto da un Olaf... Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now