From dcedff80ccf8f76281ab405692f52acbec598fce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 23 May 2007 23:41:22 +0000 Subject: [PATCH] powerdot-example.lyx: transform ERT box to listings inset EmbeddedObjects.lyx: update file after the latest bugfixes to listings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18479 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/EmbeddedObjects.lyx | 14 +++++++++++--- lib/doc/es/EmbeddedObjects.lyx | 17 ----------------- lib/examples/powerdot-example.lyx | 25 +++---------------------- 3 files changed, 14 insertions(+), 42 deletions(-) diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index 14ff2a2142..51e2f1fb87 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -27879,7 +27879,6 @@ status open \begin_layout Standard -\color foreground int a=5; \end_layout @@ -28004,7 +28003,6 @@ status open \begin_layout Standard -\color foreground \begin_inset Caption \begin_layout Standard @@ -28023,15 +28021,16 @@ Example Listing float \begin_layout Standard -\color foreground def func(param): \end_layout \begin_layout Standard + 'this is a python function' \end_layout \begin_layout Standard + pass \end_layout @@ -28138,38 +28137,47 @@ inline false status open \begin_layout Standard + def func(param): \end_layout \begin_layout Standard + 'this is a python function' \end_layout \begin_layout Standard + pass \end_layout \begin_layout Standard + def func(param): \end_layout \begin_layout Standard + 'This is a German word: Tschüß' \end_layout \begin_layout Standard + pass \end_layout \begin_layout Standard + def func(param): \end_layout \begin_layout Standard + 'this is a python function' \end_layout \begin_layout Standard + pass \end_layout diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index a963fb2230..aac1e74c4b 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -28138,8 +28138,6 @@ status open \begin_layout Standard -\color foreground -\lang english int a=5; \end_layout @@ -28288,8 +28286,6 @@ status open \begin_layout Standard -\color foreground -\lang english \begin_inset Caption \begin_layout Standard @@ -28310,20 +28306,16 @@ Example Listing float \begin_layout Standard -\color foreground -\lang english def func(param): \end_layout \begin_layout Standard -\lang english 'this is a python function' \end_layout \begin_layout Standard -\lang english pass \end_layout @@ -28437,55 +28429,46 @@ status open \begin_layout Standard -\lang english def func(param): \end_layout \begin_layout Standard -\lang english 'this is a python function' \end_layout \begin_layout Standard -\lang english pass \end_layout \begin_layout Standard -\lang english def func(param): \end_layout \begin_layout Standard -\lang english 'This is a German word: Tschüß' \end_layout \begin_layout Standard -\lang english pass \end_layout \begin_layout Standard -\lang english def func(param): \end_layout \begin_layout Standard -\lang english 'this is a python function' \end_layout \begin_layout Standard -\lang english pass \end_layout diff --git a/lib/examples/powerdot-example.lyx b/lib/examples/powerdot-example.lyx index 6229d2d0bc..3a1386d324 100644 --- a/lib/examples/powerdot-example.lyx +++ b/lib/examples/powerdot-example.lyx @@ -492,39 +492,20 @@ HelloWorld \end_layout \begin_layout Standard -\begin_inset ERT +\begin_inset listings +lstparams "language={[LaTeX]TeX}" +inline false status open \begin_layout Standard -\backslash -lstset{language=[LaTeX]TeX} -\end_layout - -\begin_layout Standard - - -\backslash -begin{lstlisting} -\end_layout - -\begin_layout Standard - - \backslash newcommand{ \backslash HelloWorld}{Hello World!} \end_layout -\begin_layout Standard - - -\backslash -end{lstlisting} -\end_layout - \end_inset -- 2.39.2