Re: inserting c code in beamer presentation

2009-11-30 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > For now - LyX 1.6.5 - I would add a frame that contains a listings inset to > beamerlyxexample.lyx. OK? Yes. Jürgen

Re: why doesn't this compile ?

2009-11-30 Thread Rainer M Krug
On Tue, Dec 1, 2009 at 8:52 AM, nikunj . wrote: > Hi, > > I have attached a beamer presentation. This does not compile. I have used > lstlisting, fragile, etc etc. But some problem occurs after the end. If I > just use an endframe and then \begin{frame} things work out fine. But with > the \lyxfr

why doesn't this compile ?

2009-11-30 Thread nikunj .
Hi, I have attached a beamer presentation. This does not compile. I have used lstlisting, fragile, etc etc. But some problem occurs after the end. If I just use an endframe and then \begin{frame} things work out fine. But with the \lyxframeend{} \lyxframe{Static members contd} it throws error. An

Greek Fonts in LyX - Günter Mild e

2009-11-30 Thread Brian Bosse
Hello Günter, Thank you for your response. I kept getting an error trying to respond through the list. So, I am trying it this way. You asked… >Strange: It should work out of the box if you insert the proper >Unicode chars. (Be more specific about what does not work if you need >help.)

Re: disabling math toolbar

2009-11-30 Thread Pavel Sanda
Pavel Sanda wrote: > Richard Heck wrote: > > On 11/30/2009 06:15 PM, Uwe Stöhr wrote: > >> rgheck schrieb: > >> > Use the menu View->Toolbars or alternatively the toolbar button at the > right of the main toolbar that shows an equation and is named "toggle > math toolbar". > F

Re: Automatic repositioning of the text

2009-11-30 Thread Pavel Sanda
obregonma...@gmail.com wrote: > On Tuesday 01 December 2009, Pavel Sanda wrote: > > obregonma...@gmail.com wrote: > > > On Monday 30 November 2009, Uwe Stöhr wrote: > > > > > I don't see a way, Uwe, to turn it off completely, at least on my > > > > > system. I can turn it on, and then turn it off,

Re: Automatic repositioning of the text

2009-11-30 Thread obregonmateo
On Tuesday 01 December 2009, Pavel Sanda wrote: > obregonma...@gmail.com wrote: > > On Monday 30 November 2009, Uwe Stöhr wrote: > > > > I don't see a way, Uwe, to turn it off completely, at least on my > > > > system. I can turn it on, and then turn it off, but it always stays on > > > > "auto".

Re: Automatic repositioning of the text

2009-11-30 Thread Pavel Sanda
obregonma...@gmail.com wrote: > On Monday 30 November 2009, Uwe Stöhr wrote: > > > I don't see a way, Uwe, to turn it off completely, at least on my > > > system. I can turn it on, and then turn it off, but it always stays on > > > "auto". > > > > It stays on auto, but does no longer pop up when

Re: disabling math toolbar

2009-11-30 Thread Pavel Sanda
Richard Heck wrote: > On 11/30/2009 06:15 PM, Uwe Stöhr wrote: >> rgheck schrieb: >> Use the menu View->Toolbars or alternatively the toolbar button at the right of the main toolbar that shows an equation and is named "toggle math toolbar". For more info about LyX's look and f

Automatic repositioning of the text

2009-11-30 Thread obregonmateo
On Monday 30 November 2009, Uwe Stöhr wrote: > > I don't see a way, Uwe, to turn it off completely, at least on my > > system. I can turn it on, and then turn it off, but it always stays on > > "auto". > > It stays on auto, but does no longer pop up when clicking into a formula. > Thus it is tu

Re: disabling math toolbar

2009-11-30 Thread rgheck
On 11/30/2009 06:15 PM, Uwe Stöhr wrote: rgheck schrieb: Use the menu View->Toolbars or alternatively the toolbar button at the right of the main toolbar that shows an equation and is named "toggle math toolbar". For more info about LyX's look and feel, have a look at LyX's User's guide, appe

Re: disabling math toolbar

2009-11-30 Thread Uwe Stöhr
rgheck schrieb: Use the menu View->Toolbars or alternatively the toolbar button at the right of the main toolbar that shows an equation and is named "toggle math toolbar". For more info about LyX's look and feel, have a look at LyX's User's guide, appendix A. I don't see a way, Uwe, to turn

Re: disabling math toolbar

2009-11-30 Thread sidgalt
Thanks, that worked. On Mon, Nov 30, 2009 at 5:16 PM, Uwe Stöhr wrote: > sidg...@gmail.com schrieb: > > > Right now, whenever I try and edit a math formula, the math toolbar keeps >> popping up. I haven't been able to figure out a way >> of disabling it. Is there a way? >> > > Use the menu View

Re: disabling math toolbar

2009-11-30 Thread rgheck
On 11/30/2009 05:16 PM, Uwe Stöhr wrote: sidg...@gmail.com schrieb: Right now, whenever I try and edit a math formula, the math toolbar keeps popping up. I haven't been able to figure out a way of disabling it. Is there a way? Use the menu View->Toolbars or alternatively the toolbar button a

Re: disabling math toolbar

2009-11-30 Thread Uwe Stöhr
sidg...@gmail.com schrieb: Right now, whenever I try and edit a math formula, the math toolbar keeps popping up. I haven't been able to figure out a way of disabling it. Is there a way? Use the menu View->Toolbars or alternatively the toolbar button at the right of the main toolbar that shows

disabling math toolbar

2009-11-30 Thread sidgalt
Hey, Right now, whenever I try and edit a math formula, the math toolbar keeps popping up. I haven't been able to figure out a way of disabling it. Is there a way? I'm using lyx 1.6.4 Thanks -- Sid

Re: inserting c code in beamer presentation

2009-11-30 Thread Uwe Stöhr
Jürgen Spitzmüller schrieb: Interesting. We should add this information to our beamer example file (by adding a program listing frame). Can you do this please? I'm thinking about a way to implement fragile frames. For now - LyX 1.6.5 - I would add a frame that contains a listings inset to

Re: Module hacking advice - nested environments and shaded boxes

2009-11-30 Thread Jürgen Spitzmüller
killermike wrote: > The problem with a minipage is that it imposes restrictions on layout in > terms of end of page breaks. It also seems to mess up my settings for > things like indenting. Using the framed package just adds a grey > background and doesn't interfere with anything else, includin

Re: Module hacking advice - nested environments and shaded boxes

2009-11-30 Thread killermike
On Monday 30 Nov 2009 10:33:38 Jürgen Spitzmüller wrote: > > Is there a special reason why you do not use LyX's native shaded boxes? > (via Insert > Box and the box type "Shaded")? The shade color can be > altered via Preferences > Colors (which is wrong -- should be > document-wise -- but any

Re: Module hacking advice - nested environments and shaded boxes

2009-11-30 Thread Steve Litt
On Monday 30 November 2009 05:12:00 killermike wrote: > Hi all > > I've had a go at creating a module. Even though I don't know what I'm > doing, This is what I love about technical people. While ordinary people tell you a hundred reasons why they can't do something, technical people try and fa

Re: Allignment of figure

2009-11-30 Thread Chiara Osbat
Hello, i had the same problem, in the end it was solved by: 1) adding to the preamble: \renewenvironment{figure}[1][]{% \...@float{figure}% \centering }{% \...@float } and 2): rescaling the eps files until i got no overfull boxes: scale=0.4 worked to have all charts

Re: inserting c code in beamer presentation

2009-11-30 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > You need to use a "fragile" frame, which is not natively supported by > > LyX. > > Interesting. We should add this information to our beamer example file (by > adding a program listing frame). Can you do this please? I'm thinking about a way to implement fragile frames. Jü

Re: inserting c code in beamer presentation

2009-11-30 Thread Uwe Stöhr
Jürgen Spitzmüller schrieb: You need to use a "fragile" frame, which is not natively supported by LyX. Interesting. We should add this information to our beamer example file (by adding a program listing frame). Can you do this please? thanks and regards Uwe

Re: inserting c code in beamer presentation

2009-11-30 Thread Micha
On 30/11/2009 17:35, Jürgen Spitzmüller wrote: Uwe Stöhr wrote: However, I also get the same error and it seems that the listings package doesn't work together with beamer. Not true. You just need the "fragile" frame option, which does not work with \lyxframe. See my previous post. Jürgen

Re: inserting c code in beamer presentation

2009-11-30 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > However, I also get the same error and it seems that the listings package > doesn't work together with beamer. Not true. You just need the "fragile" frame option, which does not work with \lyxframe. See my previous post. Jürgen

Re: inserting c code in beamer presentation

2009-11-30 Thread Uwe Stöhr
nikunj . schrieb: How do we insert c code in lyx beamer presentation? I am trying to use package listings. but I get an error "\begin{lstlistings} ends by \end{bea...@frames!" Have you used TeX code to insert the listing of have you used the listings insert via the menu Insert->Program listi

Re: Module hacking advice - nested environments and shaded boxes

2009-11-30 Thread Jürgen Spitzmüller
killermike wrote: > I've had a go at creating a module. Even though I don't know what I'm > doing, I seem to have got something that nearly works. The purpose of the > module is to create a GUI way of applying grey boxes around text (making > use of the "framed" pacakge). Is there a special re

Module hacking advice - nested environments and shaded boxes

2009-11-30 Thread killermike
Hi all I've had a go at creating a module. Even though I don't know what I'm doing, I seem to have got something that nearly works. The purpose of the module is to create a GUI way of applying grey boxes around text (making use of the "framed" pacakge). Two question: First, is it possible to h

Re: inserting c code in beamer presentation

2009-11-30 Thread Jürgen Spitzmüller
nikunj . wrote: > How do we insert c code in lyx beamer presentation? > I am trying to use package listings. You need to use a "fragile" frame, which is not natively supported by LyX. * Instead of the "BeginFrame", insert and "EndFrame" * Then, below, in ERT \begin{frame}[fragile] \frametitle

Re: Lyx portable: That' ist!

2009-11-30 Thread Rainer M Krug
That looks interesting (I must have missed the thread earlier), but is there also a portable LyX without LaTeX installation? I would like to try to give it to my co-authors so that they can edit the articles, but they don't have to have LaTeX. Rainer On Sun, Nov 29, 2009 at 10:44 PM, Matthias Sch

inserting c code in beamer presentation

2009-11-30 Thread nikunj .
Hi, How do we insert c code in lyx beamer presentation? I am trying to use package listings. I try the following: \begin{lstlisting} union mix_t { long l; struct { short hi; short lo; } s; char c[4]; } mix; \end{lstlisting} but I get an error "\begin{lstlistings} ends by \end{