Re: How to activate Name-field for Formatted reference?

2010-05-18 Thread Yegor Yefremov
 I'm using Lyx 1.5.6 on Windows XP with MikTex 2.7. Lyx also shows that
 prettyref package is installed (I can include it in my document).
 Nevertheless the Name-field remains inactive. What am I making wrong?



 You aren't doing anything wrong. Name is only for docbook.

The UserGuide only says:

Formatted reference:  prints a self defined cross-reference format.
Note: This feature is only available when you have the LATEX-package pret-
tyref installed.

There is no mention of docbook in the entire UserGuide.

Yegor


Displaying block of code

2010-05-18 Thread Artimess
Please for give me for this very simple minded question.  I am new to this
user group and Lyx for that matter.  I like to know if there are any
commands that I can use to display block of codes and commands.  I do not
want to use the same font and style of ordinary text and I would like to
keep these code blocks together .  By that I mean I do not want half the
code in one page and the other have in another page.

Many thanks in advance,
Artimess


Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
 I am trying to embed a logo on each slide of a presentation I created
 with Lyx and Beamer.
 When I use the following lines from the example (using ERT):
 \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
 jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

 I get pgf errors, and the logo does not show up.
 What am I doing wrong?
 I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
 
 Thanks,
 EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Boxes in books

2010-05-18 Thread Guenter Milde
On 2010-05-17, Ian Holliday wrote:

 I'm involved in writing an academic textbook and we are wanting to use
 'Boxes' to highlight aspects of topics. We are inserting a box then
 formating it from the context menu, but we have not found an elegant way to
 reference the boxes. The documentation says boxes are unnumbered, so what we
 are doing is placing a label at the start of the box text, and hoping that
 will provide sufficient functionality. Ideally we would like to be able to
 build a table of Boxes and insert cross references to boxes in the text.

 Has anyone else devised a nice solution to this? Also are boxes
 automatically 'float' items, or should we be placing them in floats as well?

Normal boxes do not float, so you should place them in a float
element. If you do not need floating tables or images, you can (ab)use
one of these floats.  Otherwise, you need to define a new float type,
either with custom code in the LaTeX preamble and ERT in the document or
with a custom LyX module. (There should be some LaTeX package for
such a task, but I cannot help with details.)

Günter



Re: Default fonts

2010-05-18 Thread Guenter Milde
On 2010-05-13, Jürgen Spitzmüller wrote:
 Andrew Parsloe wrote:
 Having recently discovered just how much clearer the Latin Modern fonts 
 are in Acrobat Reader compared with the Computer Modern fonts, and for 
 that matter how much crisper they are when printed, is there any reason 
 for LyX defaulting to Computer Modern rather than Latin Modern? 

Actually, LyX does not set any default but leaves this to LaTeX.

OTOH, LyX does set the LaTeX font encoding to T1 (configurable in
ToolsPreferences) which results in the CM fonts beeing substituted by
either CM-Super (if installed) or EC bitmap fonts.

 I know it is a simple matter to change them from the
 Document/Settings/Fonts screen but given the much crisper look of
 Latin Modern surely that should be the default font family in LyX?

 The reason is that default means whatever the current document class 
 declares default. And that isn't necessarily Computer Modern (so we
 are not supposed to hardcode a specific default font).

However, as Templates do set the document class, LyX could set
DocumentSettingsFonts to Latin Modern in all templates where the
document class is known not to include font settings.

Günter



Re: How to Print Chapter Names on Seperate Page - Koma Script Report

2010-05-18 Thread stephen's mailinglist account
On 16 May 2010 07:12, outspoken colablizz...@gmail.com wrote:

 I am using LyX 1.6.5 on Windows (MikTek).
 Using Koma-Script Report
 I want my Chapter Names to be on a fresh page altogether. [Centered
 vertically and horizontally]
 Am a LyX / TeX Newbie!
 i.e.

 |---new page-|
 |                             |
 |                             |
 |                             |
 |                             |
 |      1.Introduction    |
 |                             |
 |                             |
 |                             |
 |                             |
 |---New PAge|

 1.1 What is XYZ
 Some text here


 How do I do it!
 Urgent!
 Note the chapter name should be centered on Page both horizonatally and
 vertically.
 I do not mind an ERT solution (provided someone tells me where to put what).
 --
 View this message in context: 
 http://lyx.475766.n2.nabble.com/How-to-Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5060937p5060937.html
 Sent from the LyX - Users mailing list archive at Nabble.com.


On solution would be to re-define the \chapter command (\renewcommand)
in LaTeX which hints at what I am going to say next, which is this is
more of a LaTeX issue than a LyX issue - specifically more to do with
how komascript defines the command. There may be an ERT solution
(certainly \clearpage after the chapter will start the text on the
next page), but I haven't worked one out - nor do I have the time
right now.

-- 
Stephen


Re: General Question

2010-05-18 Thread Pavel Sanda
Wes Lakenan wrote:
 Hi, 

hi, this question belongs to lyx users list and i'm forwarding it there,
cheers, pavel

 
 My company is looking into switching from MS Word to a less stressful
 program to create textbook-like binders.  My company is a government
 contractor that teaches program management courses that utilize both printed
 text and PowerPoint presentations.  Right now, we create PowerPoint files
 and copy/paste them into a Word document.  This allows the students to
 follow along with the printed text and use the inserted PowerPoint slides to
 follow the presentation.  However, every time a slide is changed or deleted,
 every slide needs to be reinserted.  Is it possible to insert individual
 slides throughout the document one by one?  I appreciate any help you can
 give me.  
 
  
 
  
 
 Wes Lakenan
 
 Colleague Consulting
 
 301- 277-0255 x105
 
  
 


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
 Reuven Segev rsegev at bgu.ac.il writes:
 
  
  Hi everybody,For some reason, when I insert a Split environment in an
 equation, LyX does not insert the  in the source and as a result, the
 equations are not aligned to the left. This is in contrast with the behavior 
 for
 the  Array environment. Is this normal? Is there any way to insert the 
 manually? (I tried and did not succeed.)Your help will be very much
 appreciated.Reuven
  
 
 I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5. 
 As a workaround with 1.6.5, the add columns button in the math toolbar 
 (Alt-M
 C I) will insert the second column and the necessary ampersands.

is it in bugzilla?
pavel


Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689).  For 
me, the zombie window only occurs if I start the spell checker with the 
cursor at the end of the document.  So I can avoid it if I'm careful to 
position the cursor properly before checking the spelling.  Once the 
zombie window occurs, I don't think there is a way to get rid of it 
other than shutting down LyX.


/Paul



Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:33 AM, Paul A. Rubin wrote:

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689). For me,
the zombie window only occurs if I start the spell checker with the
cursor at the end of the document. So I can avoid it if I'm careful to
position the cursor properly before checking the spelling. Once the
zombie window occurs, I don't think there is a way to get rid of it
other than shutting down LyX.

/Paul




And two minutes (literally) after I sent that, I got a message that the 
bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
but it's coming soon.


/Paul




Re: Problems with aspell

2010-05-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
 And two minutes (literally) after I sent that, I got a message that the 
 bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
 but it's coming soon.

No. I understand the fixedintrunk (which means: fixed in the development 
version, LyX 2.0) tag in such a way that the bug does not show up there (LyX 
2.0 has a completely reworked spell checking interface).

Jürgen


Re: General Question

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:31 AM, Pavel Sanda wrote:

Wes Lakenan wrote:




My company is looking into switching from MS Word to a less stressful
program to create textbook-like binders.  My company is a government
contractor that teaches program management courses that utilize both printed
text and PowerPoint presentations.  Right now, we create PowerPoint files
and copy/paste them into a Word document.  This allows the students to
follow along with the printed text and use the inserted PowerPoint slides to
follow the presentation.  However, every time a slide is changed or deleted,
every slide needs to be reinserted.  Is it possible to insert individual
slides throughout the document one by one?  I appreciate any help you can
give me.



Why do the unchanged slides need to be reinserted?  Is it because the 
slides are numbered and the numbers have changed?  LyX will certainly 
let you insert individual images (which presumes that you have exported 
each slide to an image file).  I'm not aware of any method of using DDE 
with LyX to automatically import linked slides from a PPT show (which 
does not preclude there being one).


How wedded are you to PowerPoint?  You might take a look at beamer, 
which produces presentations in PDF files.  There are a couple of 
examples on the wiki at http://wiki.lyx.org/Examples/Beamer.  I mention 
beamer because it allows you to generate a presentation, handouts and 
optionally a document (article) from a single source file.  If you use 
the article mode, you can specify that selected slides be inserted at 
specific locations.


/Paul



Re: Displaying block of code

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 5:23 AM, Artimess wrote:

Please for give me for this very simple minded question.


Best kind -- easy to answer. :-)


 I am new to
this  user group and Lyx for that matter.  I like to know if there are
any commands that I can use to display block of codes and commands.  I
do not want to use the same font and style of ordinary text and I would
like to keep these code blocks together .  By that I mean I do not want
half the code in one page and the other have in another page.



You may want to use the LaTeX listings package (assuming you have it 
installed) to format the code.  Use Insert  Program Listing to create 
an inset where you type the code. Right click on the inset and use 
Settings ... to select various options such as font, color, computer 
language etc.


To keep the code together, you can check the Float box in the main 
settings tab of the listing options.  For details, look at chapter 7 of 
the Embedded Objects manual (Help  Embedded Objects).


Cheers,
Paul



Re: General Question

2010-05-18 Thread RIchard Heck


Sending this to user's, too

On 05/18/2010 10:24 AM, Wes Lakenan wrote:


Hi,

My company is looking into switching from MS Word to a less stressful 
program to create textbook-like binders.  My company is a government 
contractor that teaches program management courses that utilize both 
printed text and PowerPoint presentations.  Right now, we create 
PowerPoint files and copy/paste them into a Word document.  This 
allows the students to follow along with the printed text and use the 
inserted PowerPoint slides to follow the presentation.  However, every 
time a slide is changed or deleted, every slide needs to be 
reinserted.  Is it possible to insert individual slides throughout the 
document one by one?  I appreciate any help you can give me.


I have only a very vague sense what you are trying to do, but I think 
this kind of thing would be possible. Is the idea that the slides from 
the presentation appear as images in the text, so that the student can 
see them there with the text?


If so, then I would think the workflow could look like this. You create 
two separate documents: a LyX document for the text, and a presentation 
document, for which you could use OpenOffice Impress or LyX itself, via 
the Beamer class, or you could stick with PowerPoint. You print the 
presentation document as a PDF and then use something like pdftoppm to 
convert the pages of the pdf to images. The images themselves can then 
be inserted into the LyX document in the usual way. Since all of this is 
just running a bunch of programs, it could all be automated, even, 
though you might have to check the image names manually, as they could 
change if you'd added or removed pages.


Richard



Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:32 AM, Pavel Sanda wrote:


I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5.
As a workaround with 1.6.5, the add columns button in the math toolbar (Alt-M
C I) will insert the second column and the necessary ampersands.


is it in bugzilla?
pavel



It is now (#6700).  Do I get any sort of prize for entering a ticket 
that hits a century mark?  ;-)


/Paul



Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Paul A. Rubin wrote:
 It is now (#6700).  Do I get any sort of prize for entering a ticket that 
 hits a century mark?  ;-)

i will buy you a beer if you come to the next devel meeting :)

pavel


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Andre Poenitz
On Tue, May 18, 2010 at 05:36:32PM +0200, Pavel Sanda wrote:
 Paul A. Rubin wrote:
  It is now (#6700).  Do I get any sort of prize for entering a ticket that 
  hits a century mark?  ;-)
 
 i will buy you a beer if you come to the next devel meeting :)

There haven't been any meetings for a while...

Andre'


Re: Displaying block of code

2010-05-18 Thread Manveru
2010/5/18 Paul A. Rubin ru...@msu.edu:
 On 5/18/2010 5:23 AM, Artimess wrote:
 [...] I like to know if there are
 any commands that I can use to display block of codes and commands.  I
 do not want to use the same font and style of ordinary text and I would
 like to keep these code blocks together .  By that I mean I do not want
 half the code in one page and the other have in another page.


 You may want to use the LaTeX listings package (assuming you have it
 installed) to format the code.  Use Insert  Program Listing to create an
 inset where you type the code. Right click on the inset and use Settings ...
 to select various options such as font, color, computer language etc.

 To keep the code together, you can check the Float box in the main settings
 tab of the listing options.  For details, look at chapter 7 of the Embedded
 Objects manual (Help  Embedded Objects).

I would like to extend that question about listings to how may I
format a listing for the interactive command line session. I mean to
have commands typed by user in bold and everything else in normal,
with italicizing some keywords (I am thinking about Python now).

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Andre Poenitz wrote:
 There haven't been any meetings for a while...

Uwe threatened by some party in Freiburg (autumn 2010 iirc) dunno
if this still holds...

pavel


Re: LyX does not insert amp;amp; when inserting a amp;quot;Splitamp;quot; environment

2010-05-18 Thread Paul Rubin
Pavel Sanda sanda at lyx.org writes:

 
 Paul A. Rubin wrote:
  It is now (#6700).  Do I get any sort of prize for entering a ticket that 
  hits a century mark?  
 
 i will buy you a beer if you come to the next devel meeting :)
 

I appreciate the offer, but since developer meetings tend to occur in a
different hemisphere, that would prove to be a fairly expensive beer for me. 
Plus no amount of beer would be worth my having to confront C++ again.  :-)

/Paul




Re: LyX does not insert amp;amp; when inserting a amp;quot;Splitamp;quot;?environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
 Pavel Sanda sanda at lyx.org writes:
 
  
  Paul A. Rubin wrote:
   It is now (#6700).  Do I get any sort of prize for entering a ticket that 
   hits a century mark?  
  
  i will buy you a beer if you come to the next devel meeting :)
  
 
 I appreciate the offer, but since developer meetings tend to occur in a
 different hemisphere, that would prove to be a fairly expensive beer for me. 
 Plus no amount of beer would be worth my having to confront C++ again.  :-)

hehe, don't worry i'll take that beer on your behalf!
pavel


shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the 
background color of a, for instance, simple frame I must go to LyX  
Preferences  Look  Feel  Colors and select and change the option for 
shaded text.


I'm not able to find this option in this installation. Please, could you 
help me? Thanks!!


Best,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.:


Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the
background color of a, for instance, simple frame I must go to LyX 
Preferences  Look  Feel  Colors and select and change the option for
shaded text.


Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore 
the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document-Settings-Colors

regards Uwe


Re: shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Thanks!

Uwe Stöhr wrote:
Note that LyX 2 is still in alpha state - so not even stable enough 
for a beta release. Therefore the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document-Settings-Colors

regards Uwe



I'm aware of the situation, but there are several new features that are 
of key importance for us! I would like to contribute to the development 
of the new releases tough I'm far from being a programmer!


Cheers,

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm aware of the situation, but there are several new features that are
of key importance for us!


To satisfy my curiosity, what are your key features?


I would like to contribute to the development
of the new releases tough I'm far from being a programmer!


What you can always do is to spread LyX by tellig others how much it can help 
when writing texts.

regards Uwe


Re: box alignment

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 02:06, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm working with the article document class. The 1st paragraph is
Subsubsection*, the 2nd one a box (Minipage, shaded background) and the
3rd, Standard text.

Please, how/what does control de alignment of the box and the text
within it?


Have a look at section 5.2.2 of the EmbeddedObjects manual that you find in 
LyX's help menu.


How could I maintain the same alignment for the tex within
the box and the box itself as Subsubsection* and Standard?


I don't understand what you mean.

regards Uwe


xetexCV and LyX

2010-05-18 Thread Rob Oakes
Dear LyX Users,

About six months ago, I started a blog series about a custom document
class called xetexCV.  From the very beginning, I intended to create a
layout file for this class and explain how to use it from LyX.

But then I started work on a book, got bogged down in things at work,
and had a couple of family crises.  During each, the completion date for
the layout file and the final blog post got pushed a little further into
the future and eventually, it simply became defined as soon.  

Well, it turns out that soon apparently means about six months.
Today, I finally got around to finishing/testing the layout file, and
posted the usage instructions.  They can be found at:

http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4

Because there was some interest from users of this list, I thought that
I would post the link here.  Also, I included some bits about a few
other topics that recently came up, including:

* Using latex photo commands from a LyX doc (turns out that they should
probably be used in the preamble)
* How to automatically generate a Publications list using the \nocite
command.

If you download and use the class/layout, I would be extremely
appreciative of any feedback; particularly if things don't work quite
right.  I would like to include this class with aforementioned book, and
I hate to release code with bugs.

Cheers,

Rob Oakes



Re: How to activate Name-field for Formatted reference?

2010-05-18 Thread Yegor Yefremov
 I'm using Lyx 1.5.6 on Windows XP with MikTex 2.7. Lyx also shows that
 prettyref package is installed (I can include it in my document).
 Nevertheless the Name-field remains inactive. What am I making wrong?



 You aren't doing anything wrong. Name is only for docbook.

The UserGuide only says:

Formatted reference:  prints a self defined cross-reference format.
Note: This feature is only available when you have the LATEX-package pret-
tyref installed.

There is no mention of docbook in the entire UserGuide.

Yegor


Displaying block of code

2010-05-18 Thread Artimess
Please for give me for this very simple minded question.  I am new to this
user group and Lyx for that matter.  I like to know if there are any
commands that I can use to display block of codes and commands.  I do not
want to use the same font and style of ordinary text and I would like to
keep these code blocks together .  By that I mean I do not want half the
code in one page and the other have in another page.

Many thanks in advance,
Artimess


Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
 I am trying to embed a logo on each slide of a presentation I created
 with Lyx and Beamer.
 When I use the following lines from the example (using ERT):
 \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
 jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

 I get pgf errors, and the logo does not show up.
 What am I doing wrong?
 I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
 
 Thanks,
 EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Boxes in books

2010-05-18 Thread Guenter Milde
On 2010-05-17, Ian Holliday wrote:

 I'm involved in writing an academic textbook and we are wanting to use
 'Boxes' to highlight aspects of topics. We are inserting a box then
 formating it from the context menu, but we have not found an elegant way to
 reference the boxes. The documentation says boxes are unnumbered, so what we
 are doing is placing a label at the start of the box text, and hoping that
 will provide sufficient functionality. Ideally we would like to be able to
 build a table of Boxes and insert cross references to boxes in the text.

 Has anyone else devised a nice solution to this? Also are boxes
 automatically 'float' items, or should we be placing them in floats as well?

Normal boxes do not float, so you should place them in a float
element. If you do not need floating tables or images, you can (ab)use
one of these floats.  Otherwise, you need to define a new float type,
either with custom code in the LaTeX preamble and ERT in the document or
with a custom LyX module. (There should be some LaTeX package for
such a task, but I cannot help with details.)

Günter



Re: Default fonts

2010-05-18 Thread Guenter Milde
On 2010-05-13, Jürgen Spitzmüller wrote:
 Andrew Parsloe wrote:
 Having recently discovered just how much clearer the Latin Modern fonts 
 are in Acrobat Reader compared with the Computer Modern fonts, and for 
 that matter how much crisper they are when printed, is there any reason 
 for LyX defaulting to Computer Modern rather than Latin Modern? 

Actually, LyX does not set any default but leaves this to LaTeX.

OTOH, LyX does set the LaTeX font encoding to T1 (configurable in
ToolsPreferences) which results in the CM fonts beeing substituted by
either CM-Super (if installed) or EC bitmap fonts.

 I know it is a simple matter to change them from the
 Document/Settings/Fonts screen but given the much crisper look of
 Latin Modern surely that should be the default font family in LyX?

 The reason is that default means whatever the current document class 
 declares default. And that isn't necessarily Computer Modern (so we
 are not supposed to hardcode a specific default font).

However, as Templates do set the document class, LyX could set
DocumentSettingsFonts to Latin Modern in all templates where the
document class is known not to include font settings.

Günter



Re: How to Print Chapter Names on Seperate Page - Koma Script Report

2010-05-18 Thread stephen's mailinglist account
On 16 May 2010 07:12, outspoken colablizz...@gmail.com wrote:

 I am using LyX 1.6.5 on Windows (MikTek).
 Using Koma-Script Report
 I want my Chapter Names to be on a fresh page altogether. [Centered
 vertically and horizontally]
 Am a LyX / TeX Newbie!
 i.e.

 |---new page-|
 |                             |
 |                             |
 |                             |
 |                             |
 |      1.Introduction    |
 |                             |
 |                             |
 |                             |
 |                             |
 |---New PAge|

 1.1 What is XYZ
 Some text here


 How do I do it!
 Urgent!
 Note the chapter name should be centered on Page both horizonatally and
 vertically.
 I do not mind an ERT solution (provided someone tells me where to put what).
 --
 View this message in context: 
 http://lyx.475766.n2.nabble.com/How-to-Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5060937p5060937.html
 Sent from the LyX - Users mailing list archive at Nabble.com.


On solution would be to re-define the \chapter command (\renewcommand)
in LaTeX which hints at what I am going to say next, which is this is
more of a LaTeX issue than a LyX issue - specifically more to do with
how komascript defines the command. There may be an ERT solution
(certainly \clearpage after the chapter will start the text on the
next page), but I haven't worked one out - nor do I have the time
right now.

-- 
Stephen


Re: General Question

2010-05-18 Thread Pavel Sanda
Wes Lakenan wrote:
 Hi, 

hi, this question belongs to lyx users list and i'm forwarding it there,
cheers, pavel

 
 My company is looking into switching from MS Word to a less stressful
 program to create textbook-like binders.  My company is a government
 contractor that teaches program management courses that utilize both printed
 text and PowerPoint presentations.  Right now, we create PowerPoint files
 and copy/paste them into a Word document.  This allows the students to
 follow along with the printed text and use the inserted PowerPoint slides to
 follow the presentation.  However, every time a slide is changed or deleted,
 every slide needs to be reinserted.  Is it possible to insert individual
 slides throughout the document one by one?  I appreciate any help you can
 give me.  
 
  
 
  
 
 Wes Lakenan
 
 Colleague Consulting
 
 301- 277-0255 x105
 
  
 


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
 Reuven Segev rsegev at bgu.ac.il writes:
 
  
  Hi everybody,For some reason, when I insert a Split environment in an
 equation, LyX does not insert the  in the source and as a result, the
 equations are not aligned to the left. This is in contrast with the behavior 
 for
 the  Array environment. Is this normal? Is there any way to insert the 
 manually? (I tried and did not succeed.)Your help will be very much
 appreciated.Reuven
  
 
 I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5. 
 As a workaround with 1.6.5, the add columns button in the math toolbar 
 (Alt-M
 C I) will insert the second column and the necessary ampersands.

is it in bugzilla?
pavel


Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689).  For 
me, the zombie window only occurs if I start the spell checker with the 
cursor at the end of the document.  So I can avoid it if I'm careful to 
position the cursor properly before checking the spelling.  Once the 
zombie window occurs, I don't think there is a way to get rid of it 
other than shutting down LyX.


/Paul



Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:33 AM, Paul A. Rubin wrote:

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689). For me,
the zombie window only occurs if I start the spell checker with the
cursor at the end of the document. So I can avoid it if I'm careful to
position the cursor properly before checking the spelling. Once the
zombie window occurs, I don't think there is a way to get rid of it
other than shutting down LyX.

/Paul




And two minutes (literally) after I sent that, I got a message that the 
bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
but it's coming soon.


/Paul




Re: Problems with aspell

2010-05-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
 And two minutes (literally) after I sent that, I got a message that the 
 bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
 but it's coming soon.

No. I understand the fixedintrunk (which means: fixed in the development 
version, LyX 2.0) tag in such a way that the bug does not show up there (LyX 
2.0 has a completely reworked spell checking interface).

Jürgen


Re: General Question

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:31 AM, Pavel Sanda wrote:

Wes Lakenan wrote:




My company is looking into switching from MS Word to a less stressful
program to create textbook-like binders.  My company is a government
contractor that teaches program management courses that utilize both printed
text and PowerPoint presentations.  Right now, we create PowerPoint files
and copy/paste them into a Word document.  This allows the students to
follow along with the printed text and use the inserted PowerPoint slides to
follow the presentation.  However, every time a slide is changed or deleted,
every slide needs to be reinserted.  Is it possible to insert individual
slides throughout the document one by one?  I appreciate any help you can
give me.



Why do the unchanged slides need to be reinserted?  Is it because the 
slides are numbered and the numbers have changed?  LyX will certainly 
let you insert individual images (which presumes that you have exported 
each slide to an image file).  I'm not aware of any method of using DDE 
with LyX to automatically import linked slides from a PPT show (which 
does not preclude there being one).


How wedded are you to PowerPoint?  You might take a look at beamer, 
which produces presentations in PDF files.  There are a couple of 
examples on the wiki at http://wiki.lyx.org/Examples/Beamer.  I mention 
beamer because it allows you to generate a presentation, handouts and 
optionally a document (article) from a single source file.  If you use 
the article mode, you can specify that selected slides be inserted at 
specific locations.


/Paul



Re: Displaying block of code

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 5:23 AM, Artimess wrote:

Please for give me for this very simple minded question.


Best kind -- easy to answer. :-)


 I am new to
this  user group and Lyx for that matter.  I like to know if there are
any commands that I can use to display block of codes and commands.  I
do not want to use the same font and style of ordinary text and I would
like to keep these code blocks together .  By that I mean I do not want
half the code in one page and the other have in another page.



You may want to use the LaTeX listings package (assuming you have it 
installed) to format the code.  Use Insert  Program Listing to create 
an inset where you type the code. Right click on the inset and use 
Settings ... to select various options such as font, color, computer 
language etc.


To keep the code together, you can check the Float box in the main 
settings tab of the listing options.  For details, look at chapter 7 of 
the Embedded Objects manual (Help  Embedded Objects).


Cheers,
Paul



Re: General Question

2010-05-18 Thread RIchard Heck


Sending this to user's, too

On 05/18/2010 10:24 AM, Wes Lakenan wrote:


Hi,

My company is looking into switching from MS Word to a less stressful 
program to create textbook-like binders.  My company is a government 
contractor that teaches program management courses that utilize both 
printed text and PowerPoint presentations.  Right now, we create 
PowerPoint files and copy/paste them into a Word document.  This 
allows the students to follow along with the printed text and use the 
inserted PowerPoint slides to follow the presentation.  However, every 
time a slide is changed or deleted, every slide needs to be 
reinserted.  Is it possible to insert individual slides throughout the 
document one by one?  I appreciate any help you can give me.


I have only a very vague sense what you are trying to do, but I think 
this kind of thing would be possible. Is the idea that the slides from 
the presentation appear as images in the text, so that the student can 
see them there with the text?


If so, then I would think the workflow could look like this. You create 
two separate documents: a LyX document for the text, and a presentation 
document, for which you could use OpenOffice Impress or LyX itself, via 
the Beamer class, or you could stick with PowerPoint. You print the 
presentation document as a PDF and then use something like pdftoppm to 
convert the pages of the pdf to images. The images themselves can then 
be inserted into the LyX document in the usual way. Since all of this is 
just running a bunch of programs, it could all be automated, even, 
though you might have to check the image names manually, as they could 
change if you'd added or removed pages.


Richard



Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:32 AM, Pavel Sanda wrote:


I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5.
As a workaround with 1.6.5, the add columns button in the math toolbar (Alt-M
C I) will insert the second column and the necessary ampersands.


is it in bugzilla?
pavel



It is now (#6700).  Do I get any sort of prize for entering a ticket 
that hits a century mark?  ;-)


/Paul



Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Paul A. Rubin wrote:
 It is now (#6700).  Do I get any sort of prize for entering a ticket that 
 hits a century mark?  ;-)

i will buy you a beer if you come to the next devel meeting :)

pavel


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Andre Poenitz
On Tue, May 18, 2010 at 05:36:32PM +0200, Pavel Sanda wrote:
 Paul A. Rubin wrote:
  It is now (#6700).  Do I get any sort of prize for entering a ticket that 
  hits a century mark?  ;-)
 
 i will buy you a beer if you come to the next devel meeting :)

There haven't been any meetings for a while...

Andre'


Re: Displaying block of code

2010-05-18 Thread Manveru
2010/5/18 Paul A. Rubin ru...@msu.edu:
 On 5/18/2010 5:23 AM, Artimess wrote:
 [...] I like to know if there are
 any commands that I can use to display block of codes and commands.  I
 do not want to use the same font and style of ordinary text and I would
 like to keep these code blocks together .  By that I mean I do not want
 half the code in one page and the other have in another page.


 You may want to use the LaTeX listings package (assuming you have it
 installed) to format the code.  Use Insert  Program Listing to create an
 inset where you type the code. Right click on the inset and use Settings ...
 to select various options such as font, color, computer language etc.

 To keep the code together, you can check the Float box in the main settings
 tab of the listing options.  For details, look at chapter 7 of the Embedded
 Objects manual (Help  Embedded Objects).

I would like to extend that question about listings to how may I
format a listing for the interactive command line session. I mean to
have commands typed by user in bold and everything else in normal,
with italicizing some keywords (I am thinking about Python now).

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Pavel Sanda
Andre Poenitz wrote:
 There haven't been any meetings for a while...

Uwe threatened by some party in Freiburg (autumn 2010 iirc) dunno
if this still holds...

pavel


Re: LyX does not insert amp;amp; when inserting a amp;quot;Splitamp;quot; environment

2010-05-18 Thread Paul Rubin
Pavel Sanda sanda at lyx.org writes:

 
 Paul A. Rubin wrote:
  It is now (#6700).  Do I get any sort of prize for entering a ticket that 
  hits a century mark?  
 
 i will buy you a beer if you come to the next devel meeting :)
 

I appreciate the offer, but since developer meetings tend to occur in a
different hemisphere, that would prove to be a fairly expensive beer for me. 
Plus no amount of beer would be worth my having to confront C++ again.  :-)

/Paul




Re: LyX does not insert amp;amp; when inserting a amp;quot;Splitamp;quot;?environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
 Pavel Sanda sanda at lyx.org writes:
 
  
  Paul A. Rubin wrote:
   It is now (#6700).  Do I get any sort of prize for entering a ticket that 
   hits a century mark?  
  
  i will buy you a beer if you come to the next devel meeting :)
  
 
 I appreciate the offer, but since developer meetings tend to occur in a
 different hemisphere, that would prove to be a fairly expensive beer for me. 
 Plus no amount of beer would be worth my having to confront C++ again.  :-)

hehe, don't worry i'll take that beer on your behalf!
pavel


shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the 
background color of a, for instance, simple frame I must go to LyX  
Preferences  Look  Feel  Colors and select and change the option for 
shaded text.


I'm not able to find this option in this installation. Please, could you 
help me? Thanks!!


Best,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.:


Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the
background color of a, for instance, simple frame I must go to LyX 
Preferences  Look  Feel  Colors and select and change the option for
shaded text.


Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore 
the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document-Settings-Colors

regards Uwe


Re: shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Thanks!

Uwe Stöhr wrote:
Note that LyX 2 is still in alpha state - so not even stable enough 
for a beta release. Therefore the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document-Settings-Colors

regards Uwe



I'm aware of the situation, but there are several new features that are 
of key importance for us! I would like to contribute to the development 
of the new releases tough I'm far from being a programmer!


Cheers,

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm aware of the situation, but there are several new features that are
of key importance for us!


To satisfy my curiosity, what are your key features?


I would like to contribute to the development
of the new releases tough I'm far from being a programmer!


What you can always do is to spread LyX by tellig others how much it can help 
when writing texts.

regards Uwe


Re: box alignment

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 02:06, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm working with the article document class. The 1st paragraph is
Subsubsection*, the 2nd one a box (Minipage, shaded background) and the
3rd, Standard text.

Please, how/what does control de alignment of the box and the text
within it?


Have a look at section 5.2.2 of the EmbeddedObjects manual that you find in 
LyX's help menu.


How could I maintain the same alignment for the tex within
the box and the box itself as Subsubsection* and Standard?


I don't understand what you mean.

regards Uwe


xetexCV and LyX

2010-05-18 Thread Rob Oakes
Dear LyX Users,

About six months ago, I started a blog series about a custom document
class called xetexCV.  From the very beginning, I intended to create a
layout file for this class and explain how to use it from LyX.

But then I started work on a book, got bogged down in things at work,
and had a couple of family crises.  During each, the completion date for
the layout file and the final blog post got pushed a little further into
the future and eventually, it simply became defined as soon.  

Well, it turns out that soon apparently means about six months.
Today, I finally got around to finishing/testing the layout file, and
posted the usage instructions.  They can be found at:

http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4

Because there was some interest from users of this list, I thought that
I would post the link here.  Also, I included some bits about a few
other topics that recently came up, including:

* Using latex photo commands from a LyX doc (turns out that they should
probably be used in the preamble)
* How to automatically generate a Publications list using the \nocite
command.

If you download and use the class/layout, I would be extremely
appreciative of any feedback; particularly if things don't work quite
right.  I would like to include this class with aforementioned book, and
I hate to release code with bugs.

Cheers,

Rob Oakes



Re: How to activate Name-field for Formatted reference?

2010-05-18 Thread Yegor Yefremov
>> I'm using Lyx 1.5.6 on Windows XP with MikTex 2.7. Lyx also shows that
>> prettyref package is installed (I can include it in my document).
>> Nevertheless the Name-field remains inactive. What am I making wrong?
>>
>>
>
> You aren't doing anything wrong. Name is only for docbook.

The UserGuide only says:

Formatted reference:  prints a self defined cross-reference format.
Note: This feature is only available when you have the LATEX-package pret-
tyref installed.

There is no mention of docbook in the entire UserGuide.

Yegor


Displaying block of code

2010-05-18 Thread Artimess
Please for give me for this very simple minded question.  I am new to this
user group and Lyx for that matter.  I like to know if there are any
commands that I can use to display block of codes and commands.  I do not
want to use the same font and style of ordinary text and I would like to
keep these code blocks together .  By that I mean I do not want half the
code in one page and the other have in another page.

Many thanks in advance,
Artimess


Re: Logo with Lyx-Beamer

2010-05-18 Thread José Matos
On Tuesday 18 May 2010 00:45:27 E. Kaplan wrote:
> I am trying to embed a logo on each slide of a presentation I created
> with Lyx and Beamer.
> When I use the following lines from the example (using ERT):
> \pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.
> jpg} \logo{\pgfuseimage{institution-logo}}

You need the global path of the logo, it will not work otherwise because of 
the way LyX uses the temporary directory.

> I get pgf errors, and the logo does not show up.
> What am I doing wrong?
> I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.
> 
> Thanks,
> EK

-- 
José Abílio


Logo with Lyx-Beamer

2010-05-18 Thread E. Kaplan
I am trying to embed a logo on each slide of a presentation I created 
with Lyx and Beamer.

When I use the following lines from the example (using ERT):
\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.jpg}
\logo{\pgfuseimage{institution-logo}}
I get pgf errors, and the logo does not show up.
What am I doing wrong?
I am using Lyx 1.6.5 under Linux (Kubuntu 10.04), with Texlive 2009.

Thanks,
EK




Re: Boxes in books

2010-05-18 Thread Guenter Milde
On 2010-05-17, Ian Holliday wrote:

> I'm involved in writing an academic textbook and we are wanting to use
> 'Boxes' to highlight aspects of topics. We are inserting a box then
> formating it from the context menu, but we have not found an elegant way to
> reference the boxes. The documentation says boxes are unnumbered, so what we
> are doing is placing a label at the start of the box text, and hoping that
> will provide sufficient functionality. Ideally we would like to be able to
> build a table of Boxes and insert cross references to boxes in the text.

> Has anyone else devised a nice solution to this? Also are boxes
> automatically 'float' items, or should we be placing them in floats as well?

"Normal" boxes do not float, so you should place them in a "float
element". If you do not need floating tables or images, you can (ab)use
one of these floats.  Otherwise, you need to define a new float type,
either with custom code in the LaTeX preamble and ERT in the document or
with a custom LyX module. (There should be some LaTeX package for
such a task, but I cannot help with details.)

Günter



Re: Default fonts

2010-05-18 Thread Guenter Milde
On 2010-05-13, Jürgen Spitzmüller wrote:
> Andrew Parsloe wrote:
>> Having recently discovered just how much clearer the Latin Modern fonts 
>> are in Acrobat Reader compared with the Computer Modern fonts, and for 
>> that matter how much crisper they are when printed, is there any reason 
>> for LyX defaulting to Computer Modern rather than Latin Modern? 

Actually, LyX does not set any default but leaves this to LaTeX.

OTOH, LyX does set the LaTeX font encoding to "T1" (configurable in
Tools>Preferences) which results in the CM fonts beeing substituted by
either CM-Super (if installed) or EC bitmap fonts.

>> I know it is a simple matter to change them from the
>> Document/Settings/Fonts screen but given the much crisper look of
>> Latin Modern surely that should be the default font family in LyX?

> The reason is that "default" means whatever the current document class 
> declares "default". And that isn't necessarily Computer Modern (so we
> are not supposed to hardcode a specific "default" font).

However, as Templates do set the document class, LyX could set
Document>Settings>Fonts to Latin Modern in all templates where the
document class is known not to include font settings.

Günter



Re: How to Print Chapter Names on Seperate Page - Koma Script Report

2010-05-18 Thread stephen's mailinglist account
On 16 May 2010 07:12, outspoken  wrote:
>
> I am using LyX 1.6.5 on Windows (MikTek).
> Using Koma-Script Report
> I want my Chapter Names to be on a fresh page altogether. [Centered
> vertically and horizontally]
> Am a LyX / TeX Newbie!
> i.e.
>
> |---new page-|
> |                             |
> |                             |
> |                             |
> |                             |
> |      1.Introduction    |
> |                             |
> |                             |
> |                             |
> |                             |
> |---New PAge|
>
> 1.1 What is XYZ
> Some text here
>
>
> How do I do it!
> Urgent!
> Note the chapter name should be centered on Page both horizonatally and
> vertically.
> I do not mind an ERT solution (provided someone tells me where to put what).
> --
> View this message in context: 
> http://lyx.475766.n2.nabble.com/How-to-Print-Chapter-Names-on-Seperate-Page-Koma-Script-Report-tp5060937p5060937.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>

On solution would be to re-define the \chapter command (\renewcommand)
in LaTeX which hints at what I am going to say next, which is this is
more of a LaTeX issue than a LyX issue - specifically more to do with
how komascript defines the command. There may be an ERT solution
(certainly \clearpage after the chapter will start the text on the
next page), but I haven't worked one out - nor do I have the time
right now.

-- 
Stephen


Re: General Question

2010-05-18 Thread Pavel Sanda
Wes Lakenan wrote:
> Hi, 

hi, this question belongs to lyx users list and i'm forwarding it there,
cheers, pavel

> 
> My company is looking into switching from MS Word to a less stressful
> program to create textbook-like binders.  My company is a government
> contractor that teaches program management courses that utilize both printed
> text and PowerPoint presentations.  Right now, we create PowerPoint files
> and copy/paste them into a Word document.  This allows the students to
> follow along with the printed text and use the inserted PowerPoint slides to
> follow the presentation.  However, every time a slide is changed or deleted,
> every slide needs to be reinserted.  Is it possible to insert individual
> slides throughout the document one by one?  I appreciate any help you can
> give me.  
> 
>  
> 
>  
> 
> Wes Lakenan
> 
> Colleague Consulting
> 
> 301- 277-0255 x105
> 
>  
> 


Re: LyX does not insert when inserting a Split environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
> Reuven Segev  bgu.ac.il> writes:
> 
> > 
> > Hi everybody,For some reason, when I insert a "Split" environment in an
> equation, LyX does not insert the "&" in the source and as a result, the
> equations are not aligned to the left. This is in contrast with the behavior 
> for
> the  "Array" environment. Is this normal? Is there any way to insert the "&"
> manually? (I tried and did not succeed.)Your help will be very much
> appreciated.Reuven
> > 
> 
> I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5. 
> As a workaround with 1.6.5, the "add columns" button in the math toolbar 
> (Alt-M
> C I) will insert the second column and the necessary ampersands.

is it in bugzilla?
pavel


Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689).  For 
me, the zombie window only occurs if I start the spell checker with the 
cursor at the end of the document.  So I can avoid it if I'm careful to 
position the cursor properly before checking the spelling.  Once the 
zombie window occurs, I don't think there is a way to get rid of it 
other than shutting down LyX.


/Paul



Re: Problems with aspell

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:33 AM, Paul A. Rubin wrote:

On 5/18/2010 9:39 AM, hugo barona wrote:

I'm using LyX version 1.6.4 with ubuntu 9.10 karmic koala, genome 2.28.1
(Ubuntu 2009-11-03), kernel 2.6.31-21-generic (#59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010), x86_64. Now I've a problem with the spell checker:
with an open document F/ opens a popup blank window

This blank window never close! I've to kill LyX process to close LyX ant
the popup window!

[snip]


Can you tell me what's the problem and howto correct it?


I've encountered the same problem and reported it (ticket 6689). For me,
the zombie window only occurs if I start the spell checker with the
cursor at the end of the document. So I can avoid it if I'm careful to
position the cursor properly before checking the spelling. Once the
zombie window occurs, I don't think there is a way to get rid of it
other than shutting down LyX.

/Paul




And two minutes (literally) after I sent that, I got a message that the 
bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
but it's coming soon.


/Paul




Re: Problems with aspell

2010-05-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
> And two minutes (literally) after I sent that, I got a message that the 
> bug has been fixed.  I'm not sure if the fix will be in version 1.6.6, 
> but it's coming soon.

No. I understand the "fixedintrunk" (which means: fixed in the development 
version, LyX 2.0) tag in such a way that the bug does not show up there (LyX 
2.0 has a completely reworked spell checking interface).

Jürgen


Re: General Question

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:31 AM, Pavel Sanda wrote:

Wes Lakenan wrote:




My company is looking into switching from MS Word to a less stressful
program to create textbook-like binders.  My company is a government
contractor that teaches program management courses that utilize both printed
text and PowerPoint presentations.  Right now, we create PowerPoint files
and copy/paste them into a Word document.  This allows the students to
follow along with the printed text and use the inserted PowerPoint slides to
follow the presentation.  However, every time a slide is changed or deleted,
every slide needs to be reinserted.  Is it possible to insert individual
slides throughout the document one by one?  I appreciate any help you can
give me.



Why do the unchanged slides need to be reinserted?  Is it because the 
slides are numbered and the numbers have changed?  LyX will certainly 
let you insert individual images (which presumes that you have exported 
each slide to an image file).  I'm not aware of any method of using DDE 
with LyX to automatically import linked slides from a PPT show (which 
does not preclude there being one).


How wedded are you to PowerPoint?  You might take a look at beamer, 
which produces presentations in PDF files.  There are a couple of 
examples on the wiki at http://wiki.lyx.org/Examples/Beamer.  I mention 
beamer because it allows you to generate a presentation, handouts and 
optionally a document (article) from a single source file.  If you use 
the article mode, you can specify that selected slides be inserted at 
specific locations.


/Paul



Re: Displaying block of code

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 5:23 AM, Artimess wrote:

Please for give me for this very simple minded question.


Best kind -- easy to answer. :-)


 I am new to
this  user group and Lyx for that matter.  I like to know if there are
any commands that I can use to display block of codes and commands.  I
do not want to use the same font and style of ordinary text and I would
like to keep these code blocks together .  By that I mean I do not want
half the code in one page and the other have in another page.



You may want to use the LaTeX listings package (assuming you have it 
installed) to format the code.  Use Insert > Program Listing to create 
an inset where you type the code. Right click on the inset and use 
Settings ... to select various options such as font, color, computer 
language etc.


To keep the code together, you can check the Float box in the main 
settings tab of the listing options.  For details, look at chapter 7 of 
the Embedded Objects manual (Help > Embedded Objects).


Cheers,
Paul



Re: General Question

2010-05-18 Thread RIchard Heck


Sending this to user's, too

On 05/18/2010 10:24 AM, Wes Lakenan wrote:


Hi,

My company is looking into switching from MS Word to a less stressful 
program to create textbook-like binders.  My company is a government 
contractor that teaches program management courses that utilize both 
printed text and PowerPoint presentations.  Right now, we create 
PowerPoint files and copy/paste them into a Word document.  This 
allows the students to follow along with the printed text and use the 
inserted PowerPoint slides to follow the presentation.  However, every 
time a slide is changed or deleted, every slide needs to be 
reinserted.  Is it possible to insert individual slides throughout the 
document one by one?  I appreciate any help you can give me.


I have only a very vague sense what you are trying to do, but I think 
this kind of thing would be possible. Is the idea that the slides from 
the presentation appear as images in the text, so that the student can 
see them there with the text?


If so, then I would think the workflow could look like this. You create 
two separate documents: a LyX document for the text, and a presentation 
document, for which you could use OpenOffice Impress or LyX itself, via 
the Beamer class, or you could stick with PowerPoint. You print the 
presentation document as a PDF and then use something like pdftoppm to 
convert the pages of the pdf to images. The images themselves can then 
be inserted into the LyX document in the usual way. Since all of this is 
just running a bunch of programs, it could all be automated, even, 
though you might have to check the image names manually, as they could 
change if you'd added or removed pages.


Richard



Re: LyX does not insert when inserting a Split environment

2010-05-18 Thread Paul A. Rubin

On 5/18/2010 10:32 AM, Pavel Sanda wrote:


I can confirm that the split environment works in LyX 1.6.4 and not in 1.6.5.
As a workaround with 1.6.5, the "add columns" button in the math toolbar (Alt-M
C I) will insert the second column and the necessary ampersands.


is it in bugzilla?
pavel



It is now (#6700).  Do I get any sort of prize for entering a ticket 
that hits a century mark?  ;-)


/Paul



Re: LyX does not insert when inserting a Split environment

2010-05-18 Thread Pavel Sanda
Paul A. Rubin wrote:
> It is now (#6700).  Do I get any sort of prize for entering a ticket that 
> hits a century mark?  ;-)

i will buy you a beer if you come to the next devel meeting :)

pavel


Re: LyX does not insert when inserting a Split environment

2010-05-18 Thread Andre Poenitz
On Tue, May 18, 2010 at 05:36:32PM +0200, Pavel Sanda wrote:
> Paul A. Rubin wrote:
> > It is now (#6700).  Do I get any sort of prize for entering a ticket that 
> > hits a century mark?  ;-)
> 
> i will buy you a beer if you come to the next devel meeting :)

There haven't been any meetings for a while...

Andre'


Re: Displaying block of code

2010-05-18 Thread Manveru
2010/5/18 Paul A. Rubin :
> On 5/18/2010 5:23 AM, Artimess wrote:
>> [...] I like to know if there are
>> any commands that I can use to display block of codes and commands.  I
>> do not want to use the same font and style of ordinary text and I would
>> like to keep these code blocks together .  By that I mean I do not want
>> half the code in one page and the other have in another page.
>>
>
> You may want to use the LaTeX listings package (assuming you have it
> installed) to format the code.  Use Insert > Program Listing to create an
> inset where you type the code. Right click on the inset and use Settings ...
> to select various options such as font, color, computer language etc.
>
> To keep the code together, you can check the Float box in the main settings
> tab of the listing options.  For details, look at chapter 7 of the Embedded
> Objects manual (Help > Embedded Objects).

I would like to extend that question about listings to how may I
format a listing for the interactive command line session. I mean to
have commands typed by user in bold and everything else in normal,
with italicizing some keywords (I am thinking about Python now).

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX does not insert when inserting a Split environment

2010-05-18 Thread Pavel Sanda
Andre Poenitz wrote:
> There haven't been any meetings for a while...

Uwe threatened by some party in Freiburg (autumn 2010 iirc) dunno
if this still holds...

pavel


Re: LyX does not insert amp; when inserting a quot;Splitquot; environment

2010-05-18 Thread Paul Rubin
Pavel Sanda  lyx.org> writes:

> 
> Paul A. Rubin wrote:
> > It is now (#6700).  Do I get any sort of prize for entering a ticket that 
> > hits a century mark?  
> 
> i will buy you a beer if you come to the next devel meeting :)
> 

I appreciate the offer, but since developer meetings tend to occur in a
different hemisphere, that would prove to be a fairly expensive beer for me. 
Plus no amount of beer would be worth my having to confront C++ again.  :-)

/Paul




Re: LyX does not insert amp; when inserting a quot;Splitquot;?environment

2010-05-18 Thread Pavel Sanda
Paul Rubin wrote:
> Pavel Sanda  lyx.org> writes:
> 
> > 
> > Paul A. Rubin wrote:
> > > It is now (#6700).  Do I get any sort of prize for entering a ticket that 
> > > hits a century mark?  
> > 
> > i will buy you a beer if you come to the next devel meeting :)
> > 
> 
> I appreciate the offer, but since developer meetings tend to occur in a
> different hemisphere, that would prove to be a fairly expensive beer for me. 
> Plus no amount of beer would be worth my having to confront C++ again.  :-)

hehe, don't worry i'll take that beer on your behalf!
pavel


shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Hi!

Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the 
background color of a, for instance, simple frame I must go to LyX > 
Preferences > Look & Feel > Colors and select and change the option for 
"shaded text".


I'm not able to find this option in this installation. Please, could you 
help me? Thanks!!


Best,

Ricardo

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.:


Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8.

As far as I know and found in the documentation I can change the
background color of a, for instance, simple frame I must go to LyX >
Preferences > Look & Feel > Colors and select and change the option for
"shaded text".


Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore 
the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document->Settings->Colors

regards Uwe


Re: shaded background color

2010-05-18 Thread [Ricardo Rodriguez] eBioTIC.

Thanks!

Uwe Stöhr wrote:
Note that LyX 2 is still in alpha state - so not even stable enough 
for a beta release. Therefore the documentation is not yet up to date.



I'm not able to find this option in this installation.


Menu Document->Settings->Colors

regards Uwe



I'm aware of the situation, but there are several new features that are 
of key importance for us! I would like to contribute to the development 
of the new releases tough I'm far from being a programmer!


Cheers,

--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems



Re: shaded background color

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm aware of the situation, but there are several new features that are
of key importance for us!


To satisfy my curiosity, what are your key features?


I would like to contribute to the development
of the new releases tough I'm far from being a programmer!


What you can always do is to spread LyX by tellig others how much it can help 
when writing texts.

regards Uwe


Re: box alignment

2010-05-18 Thread Uwe Stöhr

Am 19.05.2010 02:06, schrieb [Ricardo Rodriguez] eBioTIC.:


I'm working with the article document class. The 1st paragraph is
Subsubsection*, the 2nd one a box (Minipage, shaded background) and the
3rd, Standard text.

Please, how/what does control de alignment of the box and the text
within it?


Have a look at section 5.2.2 of the EmbeddedObjects manual that you find in 
LyX's help menu.


How could I maintain the same alignment for the tex within
the box and the box itself as Subsubsection* and Standard?


I don't understand what you mean.

regards Uwe


xetexCV and LyX

2010-05-18 Thread Rob Oakes
Dear LyX Users,

About six months ago, I started a blog series about a custom document
class called xetexCV.  From the very beginning, I intended to create a
layout file for this class and explain how to use it from LyX.

But then I started work on a book, got bogged down in things at work,
and had a couple of family crises.  During each, the completion date for
the layout file and the final blog post got pushed a little further into
the future and eventually, it simply became defined as "soon."  

Well, it turns out that "soon" apparently means "about six months."
Today, I finally got around to finishing/testing the layout file, and
posted the usage instructions.  They can be found at:

http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4

Because there was some interest from users of this list, I thought that
I would post the link here.  Also, I included some bits about a few
other topics that recently came up, including:

* Using latex photo commands from a LyX doc (turns out that they should
probably be used in the preamble)
* How to automatically generate a Publications list using the \nocite
command.

If you download and use the class/layout, I would be extremely
appreciative of any feedback; particularly if things don't work quite
right.  I would like to include this class with aforementioned book, and
I hate to release code with bugs.

Cheers,

Rob Oakes