Re: LyX – Errore LateX: option clash for packge graphicx

#70763
Up
0
Down
::


Già fatto, ma senza risultato, come dicevo sopra mi con a dare l’errore di clash. Provo a postarti qui il contenuto del file LyX relativo al file principale, e più in basso il contenuto del file appendice.lyx. Magari ci possono aiutare… se invece risolvere il problema impone di investire troppo tempo, non farti problemi a dirmelo e incollo il pdf come immagini eps. Il frontespizio contiene solo testo e un’immagine eps, quindi non credo occorra postare anche il sorgente lyx di quel file (se tolgo il frontespizio ho lo stesso problema per i capitoli interni della tesi, quindi il problema è proprio l’appendice9.

Tesi.lyx (main file):
`
#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass book
\begin_preamble
\usepackage{pdfpages}
\usepackage{hyperref}
\usepackage{color}
\usepackage{multicol}
\usepackage{url}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage{babel}
\usepackage{ae,aecompl}

\RequirePackage[dvipsnames]{xcolor} % [dvipsnames]
\definecolor{halfgray}{gray}{0.55} % chapter numbers will be semi transparent .5 .55 .6 .0
\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}
\definecolor{Maroon}{cmyk}{0, 0.87, 0.68, 0.32}
\definecolor{RoyalBlue}{cmyk}{1, 0.50, 0, 0}
\definecolor{Black}{cmyk}{0, 0, 0, 0}

\hypersetup{
colorlinks=true, linktocpage=true, pdfstartpage=3, pdfstartview=FitV,%
breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,%
plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,%
hypertexnames=true, pdfhighlight=/O,%hyperfootnotes=true,%nesting=true,%frenchlinks,%
urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen, %pagecolor=RoyalBlue,%
pdftitle = {Tesi di $NOME $COGNOME},
pdfsubject = {Tesi di $TIPO_LAUREA},
pdfkeywords = {$ELENCO_PAROLE_CHIAVE_SEPARATE_DA_VIRGOLE},
pdfauthor = {$NOME $COGNOME},
pdfcreator = {\LaTeX\ with package \flqq hyperref\frqq},
pdfproducer = {pdfeTeX-0.\the\pdftexversion\pdftexrevision},
plainpages=false,
pdfpagelabels
}
\end_preamble
\use_default_options false
\language italian
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family rmdefault
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics pdftex
\float_placement h
\paperfontsize 12
\spacing onehalf
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 0
\cite_engine natbib_numerical
\use_bibtopic false
\paperorientation portrait
\leftmargin 2.5cm
\topmargin 2cm
\rightmargin 3cm
\bottommargin 2.5cm
\headsep 0.5cm
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\defskip medskip
\quotes_language swedish
\papercolumns 1
\papersides 1
\paperpagestyle headings
\tracking_changes false
\output_changes false
\author “”
\author “”
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout

\backslash
begin{frontmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “frontpage.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “indici.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout

\backslash
end{frontmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout

\backslash
begin{mainmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “introduzione.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “appendice.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “ringraziamenti.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout

\backslash
end{mainmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout

\backslash
begin{backmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename “bibliografia.lyx”

\end_inset

\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout

\backslash
end{backmatter}
\end_layout

\end_inset

\end_layout

\begin_layout Standard

\end_layout

\end_body
\end_document
`

ed il file appendice.lyx:
`
#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass book
\begin_preamble
\usepackage[null]{pdfpages}
\end_preamble
\options a4
\use_default_options false
\language italian
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 12
\spacing single
\use_hyperref false
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine natbib_numerical
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\papercolumns 1
\papersides 1
\paperpagestyle empty
\tracking_changes false
\output_changes false
\author “”
\author “”
\end_header

\begin_body

\begin_layout Chapter
\start_of_appendix
Appendice
\end_layout

\begin_layout Standard
\begin_inset External
template PDFPages
filename Immagini/questionario.pdf
extra LaTeX “pages={1-4}”
scale 70

\end_inset

\end_layout

\end_body
\end_document
`

Al momento ho rimesso il pdf attraverso lyx con Inserisci – File – Materiale esterno – Pagine PDF (così ritorna il problema options clash, ma l’appendice singolarmente presa si vede)

Go to top