Teletch�a St�phane wrote:
Le ven 27/02/2004 � 19:28, Teletch�a St�phane a �crit :

_all_ LyX files must have the _same_ documentclass and

the preamble. Then you can edit and run every subfile
as its own and all packages should work in a proper way.

Herbert

I've now tried also this possibilty without success, the error messages are identical.

What can i test ?

Stef


Before uniformising everything, i had 13 errors, now i still have 8 left

I have no problems here with a master doc and an included one which uses \includepdf. Attached my demo files. The only improtant thing is that you have to use a full path for the included pdf.

change the name of the pdf in the example file and thewn run
view->pdflatex

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\listfiles
\usepackage{listings}
\end_preamble
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Chapter

blah
\layout Standard

blub 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
lstinputlisting[language=TeX,breaklines=true,%
\newline 
   numbers=left,numberstyle=
\backslash 
tiny,%
\newline 
   basicstyle=
\backslash 
small
\backslash 
ttfamily]{newfile5.lyx}
\end_inset 


\layout Section

laber
\layout Standard

blubber
\layout Subsection

fasel
\layout Standard

blub
\the_end
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\listfiles
\usepackage{pdfpages}
\end_preamble
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Chapter

blah
\layout Standard

blub 
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
includepdf[pages=1-2]{/home/voss/LyX/test.pdf}
\end_inset 


\layout Section

laber
\layout Standard

blubber
\layout Subsection

fasel
\layout Standard

blub
\the_end

Reply via email to