Picture with frame title.

2009-12-01 Thread nikunj .
Hi,

I am making a beamer presentation, and using the CambridgeUS theme. I want
to have a logo at the top right corner of the slides, on the same line as
the frame title. But there is nothing available on the frontend to do that.
What should I do ?

Thanks in advance,
Nikunj


Greek Fonts Part 3 - Günter

2009-12-01 Thread Brian Bosse
Hello Günter,

 

I am still no sure how to respond in this list.  Every time I click the
“Reply Via Email” button I get “Not Found - The document you were looking
for was not found.” Oh well. :-(  Please forgive my lack of  etiquette.  You
mentioned that I could wait for 1.6.5 to come out, but I would rather not.
You also mentioned to copy the file ‘unicodesymbols’ from the system from
the system LYXDIR to my personal lyx-dir  and apply a patch.  I am on a
Windows XP system, and found the file under C:\Program
Files\LyX16\Resources.  I am not sure where to copy this file.
(Specifically, I do not know what you mean by the distinction between the
system LYXDIR and my personal lyx-dir.)  Also, I do not know how to apply
the patch.  What are the steps that I need to do to apply the patch?  I
noticed another patch that seems to be a correction to the first patch.
Should I apply that instead?  Thank you for your patience and all of your
help.  I am sorry to be such a bother.
 
Sincerely,
 
Brian

 



Re: Skip a block of text when printing

2009-12-01 Thread Uwe Stöhr

Rob schrieb:


I have a bunch of figures at the end of my document that I want to keep in the
document, but I don't want to have them appear in the pdf output.


Add the document option "draft in the menu Document->Settings->Document class->Custom, or mark the 
images as draft (right click on the images->graphics dialog->Draft mode).


regards Uwe


Skip a block of text when printing

2009-12-01 Thread Rob
Hi,

I have a bunch of figures at the end of my document that I want to keep in the
document, but I don't want to have them appear in the pdf output.  How do I
"skip" over these?  They need to be part of the material compiled since they
have labels that are referenced in the text, but I simply don't want them to
appear in the pdf output.  At present, I hacked it by setting the font color to
white, but now I have lots of extra blank pages.  Is there a
\skipsendingthistopdf{...} command that would include the material, but just not
send it to pdf?  This would be very helpful.  Thanks.

Rob



Re: Float (figure) placed in the end of the document

2009-12-01 Thread Uwe Stöhr

Erez Yerushalmi schrieb:


For example, I set the float to be at the bottom of the page, but now it
gets pushed to the end of the document.


Then the image is larger than the LaTeX rule for bottom page floats. So either you increase the 
LaTeX rule height or use the option in the float position dialog named "ignore LaTeX rules".


For more info, see the EmbeddedObjects manual, sec. 3.5. I described there how LaTeX's float 
placement algorithm works and how the LaTeX rules can be changed.


regards Uwe


cosmetic question: LyX icon size (medium) and scaling

2009-12-01 Thread Olivier Ripoll

Hi,

I was trying to change the LyX icons to use similar Tango ones (not that 
I like Tango, but it is quite complete, esp. with OpenOffice.org math 
stuff).


I copied in my user lyxfolder (~\Application Data\lyx16\images) png 
files with same names as the ones in the LyX resources folder 
(C:\Program Files\LyX 1.6.4\Resources\images).


However, the result looks bad (fuzzy, esp. for lines). I noticed that 
the original LyX images have heterogeneous sizes (most often 20x20, 
22x22 and 24x24 pixels), and tried to make all my png images 22x22, but 
they still look bad.


Is there a way to specify the icon size somewhere or should I use 20x20  ?
If I have to use a height of 20, is the width free or must it be a 
square icon ?


Thanks for the info/pointers.

Best regards,

Olivier



Re: Float (figure) placed in the end of the document

2009-12-01 Thread Erez Yerushalmi
Thanks James,

Yes, I did what you suggested before asking in the forum...

For example, I set the float to be at the bottom of the page, but now it
gets pushed to the end of the document.

But, when I set it for Default placement, it does show in the middle of the
document, but by default at the top of the page.

So, forcing it to be at bottom of page, forces it again to end of document.

I'm using article class.

Thanks, erez

On Tue, Dec 1, 2009 at 2:22 PM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:

>
> On Dec 1, 2009, at 7:15 AM, Erez Yerushalmi wrote:
>
> > Hi All,
> >
> > I did something, but I don't know what.
> >
> > Now, all my figure-floats are placed at the end of the document.
> >
> > Last thing I did was to added "start appendix here", and floats were
> pushed
> > to the end.
> > I thought this was the problem, so I deleted the appendix, but the floats
> > are still at the end.
> >
> > Can anyone point me in the right direction?
> >
>
> You could look at Document Settings -> Float Placement to set defaults for
> figures.
>
> Also see the Embedded Objects manual, section 3.5.




-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Float (figure) placed in the end of the document

2009-12-01 Thread James C. Sutherland

On Dec 1, 2009, at 7:15 AM, Erez Yerushalmi wrote:

> Hi All,
> 
> I did something, but I don't know what.
> 
> Now, all my figure-floats are placed at the end of the document.
> 
> Last thing I did was to added "start appendix here", and floats were pushed
> to the end.
> I thought this was the problem, so I deleted the appendix, but the floats
> are still at the end.
> 
> Can anyone point me in the right direction?
> 

You could look at Document Settings -> Float Placement to set defaults for 
figures.

Also see the Embedded Objects manual, section 3.5.

Float (figure) placed in the end of the document

2009-12-01 Thread Erez Yerushalmi
Hi All,

I did something, but I don't know what.

Now, all my figure-floats are placed at the end of the document.

Last thing I did was to added "start appendix here", and floats were pushed
to the end.
I thought this was the problem, so I deleted the appendix, but the floats
are still at the end.

Can anyone point me in the right direction?

Thanks,  Erez

-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: disabling math toolbar

2009-12-01 Thread Abdelrazak Younes

Uwe Stöhr wrote:

Pavel Sanda schrieb:


bisect leads to r24954:
commit 7fd567d187e51c6168dfb4af991ee6aff82f
Author: younes 
Date:   Tue May 27 11:15:17 2008 +

Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" 
is now only used if there is no session or if session handling is 
disabled,

- The session saving/restoring is window dependent.

after this commit tristate in menu for toolbars no more works.


Can you please open a regression bug report so that Abdel won't forget 
to fix this?


First we have to agree that there is something to fix.

Abdel.



Re: disabling math toolbar

2009-12-01 Thread Uwe Stöhr

Pavel Sanda schrieb:


bisect leads to r24954:
commit 7fd567d187e51c6168dfb4af991ee6aff82f
Author: younes 
Date:   Tue May 27 11:15:17 2008 +

Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" is now 
only used if there is no session or if session handling is disabled,
- The session saving/restoring is window dependent.

after this commit tristate in menu for toolbars no more works.


Can you please open a regression bug report so that Abdel won't forget to fix 
this?

thanks and regards
Uwe


Re: ow to change the reference style from [1,2,3] to [1-3]

2009-12-01 Thread Olivier Ripoll

leemon albert wrote:

Hi all,

I use the  vancouver style in references. Is there any way to change the
citation style from [1,2,3] to [1-3] in Lyx 1.6.4?


Hi,
Does adding the following line in the document preamble work ?

\usepackage{cite}

Best regards,

Olivier



Regards,
Meng





Re: inserting c code in beamer presentation

2009-12-01 Thread Rainer M Krug
On Tue, Dec 1, 2009 at 11:33 AM, Rainer M Krug  wrote:

>
>
> On Tue, Dec 1, 2009 at 11:25 AM, Jürgen Spitzmüller  wrote:
>
>> Rainer M Krug wrote:
>> > I just tried it out - when you put [plain] into a ERT as the first thing
>> in
>> > a frame, it shows a plain frame, and the same applies for
>> > [allowframebreaks]. Several options, can be separated by a comma. But it
>> > does NOT work for fragile or containsverbatim.
>> >
>> > If this could be changed, so that it works for all options for frames,
>> that
>> > should be sufficient.
>>
>> The problem is that a fragile frame is a really complicated beast.
>
>
> OK - I just checked again, and it is not as straightforward as the other
> frames. So a new fragile frame would be a good idea
>
>
>> On the
>> other hand, LyX's frame implementation is complicated as well (have a look
>> at
>> the preamble definition of \lyxframe.
>
>
> Completely agreed - I looked at it some time ago and gave up...
>
>
>> Marrying these two beasts is a hard task.
>>
>
> OK - I am convinced - verbatim should be separate.
>
Sorry - meant "fragile"


>
> Cheers,
>
> Rainer
>
>
>>
>> Jürgen
>>
>
>
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:   +27 - (0)83 9479 042
> Fax:+27 - (0)86 516 2782
> Fax:+49 - (0)321 2125 2244
> email:  rai...@krugs.de
>
> Skype:  RMkrug
> Google: r.m.k...@gmail.com
>
>


-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: inserting c code in beamer presentation

2009-12-01 Thread Rainer M Krug
On Tue, Dec 1, 2009 at 11:25 AM, Jürgen Spitzmüller  wrote:

> Rainer M Krug wrote:
> > I just tried it out - when you put [plain] into a ERT as the first thing
> in
> > a frame, it shows a plain frame, and the same applies for
> > [allowframebreaks]. Several options, can be separated by a comma. But it
> > does NOT work for fragile or containsverbatim.
> >
> > If this could be changed, so that it works for all options for frames,
> that
> > should be sufficient.
>
> The problem is that a fragile frame is a really complicated beast.


OK - I just checked again, and it is not as straightforward as the other
frames. So a new fragile frame would be a good idea


> On the
> other hand, LyX's frame implementation is complicated as well (have a look
> at
> the preamble definition of \lyxframe.


Completely agreed - I looked at it some time ago and gave up...


> Marrying these two beasts is a hard task.
>

OK - I am convinced - verbatim should be separate.

Cheers,

Rainer


>
> Jürgen
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: inserting c code in beamer presentation

2009-12-01 Thread Jürgen Spitzmüller
Rainer M Krug wrote:
> I just tried it out - when you put [plain] into a ERT as the first thing in
> a frame, it shows a plain frame, and the same applies for
> [allowframebreaks]. Several options, can be separated by a comma. But it
> does NOT work for fragile or containsverbatim.
> 
> If this could be changed, so that it works for all options for frames, that
> should be sufficient.

The problem is that a fragile frame is a really complicated beast. On the 
other hand, LyX's frame implementation is complicated as well (have a look at 
the preamble definition of \lyxframe. Marrying these two beasts is a hard 
task.

Jürgen


Re: Greek Fonts in LyX - Günter Milde

2009-12-01 Thread Guenter Milde
On 2009-12-01, Brian Bosse wrote:

> Here is one example.  When I paste an copy the Greek Unicode text from =
> the =E2=80=9CAncient Greek=E2=80=9D entry on Wikipedia, the grave =
> accents and the circumflex simply show up as a box in LyX 

The accents or characters with accents?

You need a screen-font that supports the Greek extended characters.
Both, Plato and Homer work fine here with LyX 1.6.4 and the DejaVu
fonts.

> and then when = I go to export it to PDF or use the DVI I get the
> following error = message=E2=80=A6

> Could not find LaTeX command for character '=E1=BD=B0' (code point =
> 0x1f70)

I had to realize that the Greek-extended patch is not yet in 1.6.4.
So either you 

* wait for 1.6.5

* copy the file unicodesymbols from the system LYXDIR to your personal
  lyx-dir (~/.lyx in Unix) and apply the patch
  
http://www.lyx.org/trac/attachment/ticket/4997/unicodesymbols-greek-extended-charxxx.patch

* set the language to polytonic greek and the encoding to utf8x
  (see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72834.html)

> Some characters of your document are probably not representable in the =
> chosen encoding.

> Changing the document encoding to utf8 could help.

This is a misleading hint. Changing to utf8 will almost never help in
this case, as fontencs' utf8 supports only a small subset of UTF-8
characters (far less than LyX itself).

Instead, utf8x should be used:

  Document>Settings  
   Language   Encoding 
  [x] Other: Unicode (ucs-enhanced) (utf8x)
  
Günter



Re: The attachment does not compile.

2009-12-01 Thread Jürgen Spitzmüller
nikunj . wrote:
> I am not able to understand the error in this file. I have tried almost
> everything.
> Please help.

See attached file.

Instead of ERT \end{frame}, you have to use the paragraph style EndFame.

Also, I've copied your listings to LyX's listings inset (Insert > Program 
Listings), so that the listings package is loaded (otherwise, you need 
\usepackage{listings} in the preamble).

HTH,
Jürgen


doc.lyx
Description: application/lyx


Re: disabling math toolbar

2009-12-01 Thread Jean-Marc Lasgouttes

after this commit tristate in menu for toolbars no more works.


Yes, and I complained about it at the time.

JMarc


The attachment does not compile.

2009-12-01 Thread nikunj .
Hi,

I am not able to understand the error in this file. I have tried almost
everything.
Please help.

Nikunj


doc.lyx
Description: Binary data


Re: inserting c code in beamer presentation

2009-12-01 Thread Rainer M Krug
I just tried it out - when you put [plain] into a ERT as the first thing in
a frame, it shows a plain frame, and the same applies for
[allowframebreaks]. Several options, can be separated by a comma. But it
does NOT work for fragile or containsverbatim.

If this could be changed, so that it works for all options for frames, that
should be sufficient.

Rainer


On Mon, Nov 30, 2009 at 6:45 PM, Jürgen Spitzmüller  wrote:

> 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ürgen
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


ow to change the reference style from [1,2,3] to [1-3]

2009-12-01 Thread leemon albert
Hi all,

I use the  vancouver style in references. Is there any way to change the
citation style from [1,2,3] to [1-3] in Lyx 1.6.4?

Regards,
Meng