Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-19 Thread Andre Poenitz
On Fri, Apr 18, 2008 at 03:10:14PM -0700, Rich Shepard wrote:
 On Fri, 18 Apr 2008, Bruce Pourciau wrote:

 Shouldn't FeeLyX be FeLyX? LyXandra sounds a bit stand-off-ish. How about
 LyXiE/LyXie?

   Enough! Mate. Ralph. Herman. Occam. Pick one.

'Pick' is nice indeed.

SCNR
Andre'


Some urgent questions

2008-04-19 Thread PackElend

HI 
I trouble with lyx (see picture attached)

1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page
2)  Is the way to wrap a minipage across two pages?
3) Sometimes the are pretty large gaps between a float image and the text
after

Any idea how to solve this? Furthermore I have some other question:
4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?

thx a lot 
steff


http://www.nabble.com/file/p16771327/prob1.jpg prob1.jpg 
http://www.nabble.com/file/p16771327/prob2.jpg prob2.jpg 
http://www.nabble.com/file/p16771327/prob3.jpg prob3.jpg 
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16771327.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Graphics in LyX 1.5.4 on MacOS X cause strange error

2008-04-19 Thread Jürgen Spitzmüller
Peter Kämpf wrote:
 I just made the test: Placing the graphic inside the caption makes no  
 difference to the error message.

 I wonder if I have something strange in my LyX preamble - this  
 document had been started in LyX 1.3 days, and the conversion to 1.5  
 needed some manual tweaking. The newly created document (which I now  
 use for testing, since it is much shorter) has the same preamble,  
 making me wonder if maybe my defaults are screwed up and I need to  
 wipe the LyX installation and start from scratch ... would that be  
 worth a try?

I don't think so.
You can send me the document offlist, and I'll have a look.

Jürgen


lyx2lyx convert failed

2008-04-19 Thread Carlos Sosa Paz
Dear all

I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3 
version i got the following error message lyx2lyx failed to convert.
Find attach the file.

Thanks
Carlos Sosa Paz


setofcost.lyx
Description: setofcost.lyx


LyX badges?

2008-04-19 Thread Geevarghese Philip

Hi,
  Are there any I use LyX or Powered by LyX kind of logos available 
to put on a website?


Thanks,
Philip



Re: lyx2lyx convert failed

2008-04-19 Thread Jürgen Spitzmüller
Carlos Sosa Paz wrote:
 I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
 version i got the following error message lyx2lyx failed to convert. Find
 attach the file.

LyX 1.4.3 is very old.

Anyway, the file opens fine in LyX 1.5.4.

Jürgen


Re: lyx2lyx convert failed

2008-04-19 Thread José Matos
On Saturday 19 April 2008 11:36:19 Carlos Sosa Paz wrote:
 Dear all

 I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
 version i got the following error message lyx2lyx failed to convert. Find
 attach the file.

  Correction, your lyx files says that you created it with 1.5.2 and not with 
1.4.2. :-)

  The attached file works OK with 1.5.4.

  The easier solution could be to update the 1.4 to 1.5, but I can understand 
that it is not always possible.

  One solution is to save the file in 1.5 as lyx-1.4 (File-Export as lyx 
1.4). I send the resulting file attached.

 Thanks
 Carlos Sosa Paz

-- 
José Abílio


setofcost.lyx
Description: application/lyx


Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

PackElend schrieb:


1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page


With LyX 1.5.4 a better LaTeX-package is used for wrap floats, so you coould 
update your LyX.
But in your case you simply should move the wrap float to the section Nicht 
statische Methoden.


3) Sometimes the are pretty large gaps between a float image and the text
after


This can only appear when you have used new page commands around the floats or have set the float 
placement to Here definetively or similar.



4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?


Yes.

regards Uwe


Re: LyX badges?

2008-04-19 Thread rgheck

Geevarghese Philip wrote:

Hi,
  Are there any I use LyX or Powered by LyX kind of logos 
available to put on a website?



Not as far as I know, but it'd be great to have one.

rh



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

2)  Is the way to wrap a minipage across two pages?

  

I don't believe so.

rh



Re: LyX badges?

2008-04-19 Thread William Seager
On April 19, 2008 07:53:50 Geevarghese Philip wrote:
 Hi,
Are there any I use LyX or Powered by LyX kind of logos available
 to put on a website?

Well, there are some nice icons here:

http://wiki.lyx.org/LyX/Icons

They would be a good starting point anyway

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Some urgent questions

2008-04-19 Thread PackElend

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

 4) I have an document (my thesis) with 3 different parts (Introduction,
 Theory, Praxis) and I want an separate table of figures, nomenclature and
 maybe attachment and index for each of them. It's that possible?

Yes. 

HOW


thx

stefan
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16784909.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

  

4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?
  


  
Yes. 



HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:


4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


Yes I was ;-). It is not very easy to do. I would insert the nomenclature and tables as usual to the 
different files. Then create a master file where you ring the three files together, see the section 
child documents of the UserGuide. This could work, but I expect that there are some LaTeX tricks 
needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the people there know the LaTeX 
details that are needed.


regards Uwe


Re: Some urgent questions

2008-04-19 Thread rgheck

Uwe Stöhr wrote:

rgheck schrieb:

4) I have an document (my thesis) with 3 different parts 
(Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know 
the answer myself.


Yes I was ;-). It is not very easy to do. I would insert the 
nomenclature and tables as usual to the different files. Then create a 
master file where you ring the three files together, see the section 
child documents of the UserGuide. This could work, but I expect 
that there are some LaTeX tricks needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the 
people there know the LaTeX details that are needed.


Aren't there some toc by section packages available? Or will these not 
do the trick?


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:

Aren't there some toc by section packages available? Or will these not 
do the trick?


There is the package minitoc, but for the nomenclature I don't know a similar 
one.

regards Uwe


Re: Missing fonts

2008-04-19 Thread Paul A. Rubin

Salát Máté wrote:

Hi,

I've installed some new fonts in Windows XP. As a result of it, some characters 
in math boxes in LyX disappeared, as you can see here: 
http://screencast.com/t/S07G2GyCE7r

What shell I do to fix it?

Cheers, Máté


Try reinstalling the Bakoma4LyX fonts.  You can download them at 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip.  Unzip them 
somewhere and make note of the names.  (IIRC there are eight font files 
in the archive.)  Use the Windows font applet to delete those eight 
fonts, if they're already installed, then use it to reinstall from the 
unzipped copies.


HTH,
Paul



Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


Re: Drawing graphs in lyx

2008-04-19 Thread A. Scottedward Hodel
I'm entering this conversation late, but another way to generate  
graphs is with octave, a numerical package very similar to MATLAB.   
I've used octave to generate eps files directly, or to generate files  
in xfig format which can also be translated to fig so that they can  
be incorporated into LaTeX (i.;e., LyX) with similar fonts.


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar


On Apr 13, 2008, at 1:51 PM, Liviu Andronic wrote:
On Fri, Apr 11, 2008 at 2:34 PM, Ola Vestad [EMAIL PROTECTED]  
wrote:
 Is there a simpler way to do this? More specifically; is it  
possible to draw

 graphs directly in lyx?



Dia [1] may suit your needs:
Dia is roughly inspired by the commercial Windows program 'Visio',
though more geared towards informal diagrams for casual use. 

Liviu

[1] http://live.gnome.org/Dia




Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel

I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put the command\def\notestype{teacher}in the Document -> Settings -> LaTeX preamblewindow of LyX.  However, this seems to be loaded after the layout preamble is set.   Is there a way for me to have at least a part of the layout preamble processed after the Documents -> Settings preamble?  If I can do this, then I will be able to work within LyX rather than LaTeX, which I would like to do.Yours, A. Scottedward Hodel [EMAIL PROTECTED]http://homepage.mac.com/hodelas/tar 

myTextBook.layout
Description: Binary data


Re: Problems with abstract in IEEETran class

2008-04-19 Thread Paul A. Rubin

Myriam Abramson wrote:

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA


Highlight the text of the abstract and use the text style dialog (Edit 
- Text style or ab button) to reset the size.  When you specify the 
size explicitly, LyX emits LaTeX with the text enclosed in braces. 
Apparently the braces give the IEEETran class major heartburn.  Don't 
know why, but I'm sure it's something intrinsic to the way the class 
file is written and thus out of your (or at least my) control.


Tested on LyX 1.4.4 and 1.5.4 (I don't have 1.4.3 anymore).

/Paul



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really need 
to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and we 
can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh



Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is  
attached) that will let me set a switch in the preamble of my  
LyX file so that I can easily generate both a teacher's version  
(with solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout  
preamble is set.   Is there a way for me to have at least a part  
of the layout preamble processed /after/ the Documents - Settings  
preamble?  If I can do this, then I will be able to work within  
LyX rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really  
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't  
matter what gets loaded first. (If this isn't clear, post your  
layout, and we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for  
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions  
in the LaTeX version, including the use of xcomment, but so far  
nothing that works cleanly.  My current workaround (temporary) is  
to just edit the layout and then reconfigure LyX when I want to  
change version.  Since I won't be changing edition that often, that's  
fine for me, but not really appropriate for general use.  I think I  
may be able to isolate the offending commands to fall in the LyX  
preamble by themselves, but I'll work on that later.


The layout file is in my original note as an attachment, but for  
convenience I'm including it at the end of this email as well.  (Unix  
style end of lines.)  I'm adding an example LyX file that shows the  
use of Example and Question (homework) environments with solutions.   
(For whatever reason, I want to use the same environment for each.)


I've not used branches in LyX yet; I'll look into that.  Thanks!

A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar



TextbookExample.lyx
Description: Binary data


myTextBook.layout
Description: Binary data


LyX file: verison 1.5.4, on a mac
myTextBook.layout: Unix style end of line marker.

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works cleanly.  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the offending commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


I'd have to think about this for a while, but my idea was to define a 
LaTeX command that either (a) just repeated its argument or (b) 
basically ate its argument, and then to make the solution environment 
wrap the command. But I'm not absolutely sure how to do that. Basically, 
I want

   \begin{solution}stuff here\end{solution}
to turn into something like:
   \solutioncmd{\par\noindent{\bf Solution}stuff here}
and then we have:
   \newcommand\solutioncmd{%
   \ifthenelse{\equal{\notestype}{teacher}}%
{#1}{}}
So either we get
   \par\noindent{\bf Solution}stuff here
or we get nothing. But I'm not sure how to do the environment 
definition. Probably we need some group business.


Uwe, if you're reading this, do you have an idea? (Uwe is our resident 
expert on the user list.)


Richard



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works cleanly.  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the offending commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


Another possibility is just a nearly identical layout, and then you can 
switch between them on the fly.


In 1.6.x, you can probably do this more naturally using a module.

rh



Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-19 Thread Andre Poenitz
On Fri, Apr 18, 2008 at 03:10:14PM -0700, Rich Shepard wrote:
 On Fri, 18 Apr 2008, Bruce Pourciau wrote:

 Shouldn't FeeLyX be FeLyX? LyXandra sounds a bit stand-off-ish. How about
 LyXiE/LyXie?

   Enough! Mate. Ralph. Herman. Occam. Pick one.

'Pick' is nice indeed.

SCNR
Andre'


Some urgent questions

2008-04-19 Thread PackElend

HI 
I trouble with lyx (see picture attached)

1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page
2)  Is the way to wrap a minipage across two pages?
3) Sometimes the are pretty large gaps between a float image and the text
after

Any idea how to solve this? Furthermore I have some other question:
4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?

thx a lot 
steff


http://www.nabble.com/file/p16771327/prob1.jpg prob1.jpg 
http://www.nabble.com/file/p16771327/prob2.jpg prob2.jpg 
http://www.nabble.com/file/p16771327/prob3.jpg prob3.jpg 
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16771327.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Graphics in LyX 1.5.4 on MacOS X cause strange error

2008-04-19 Thread Jürgen Spitzmüller
Peter Kämpf wrote:
 I just made the test: Placing the graphic inside the caption makes no  
 difference to the error message.

 I wonder if I have something strange in my LyX preamble - this  
 document had been started in LyX 1.3 days, and the conversion to 1.5  
 needed some manual tweaking. The newly created document (which I now  
 use for testing, since it is much shorter) has the same preamble,  
 making me wonder if maybe my defaults are screwed up and I need to  
 wipe the LyX installation and start from scratch ... would that be  
 worth a try?

I don't think so.
You can send me the document offlist, and I'll have a look.

Jürgen


lyx2lyx convert failed

2008-04-19 Thread Carlos Sosa Paz
Dear all

I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3 
version i got the following error message lyx2lyx failed to convert.
Find attach the file.

Thanks
Carlos Sosa Paz


setofcost.lyx
Description: setofcost.lyx


LyX badges?

2008-04-19 Thread Geevarghese Philip

Hi,
  Are there any I use LyX or Powered by LyX kind of logos available 
to put on a website?


Thanks,
Philip



Re: lyx2lyx convert failed

2008-04-19 Thread Jürgen Spitzmüller
Carlos Sosa Paz wrote:
 I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
 version i got the following error message lyx2lyx failed to convert. Find
 attach the file.

LyX 1.4.3 is very old.

Anyway, the file opens fine in LyX 1.5.4.

Jürgen


Re: lyx2lyx convert failed

2008-04-19 Thread José Matos
On Saturday 19 April 2008 11:36:19 Carlos Sosa Paz wrote:
 Dear all

 I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
 version i got the following error message lyx2lyx failed to convert. Find
 attach the file.

  Correction, your lyx files says that you created it with 1.5.2 and not with 
1.4.2. :-)

  The attached file works OK with 1.5.4.

  The easier solution could be to update the 1.4 to 1.5, but I can understand 
that it is not always possible.

  One solution is to save the file in 1.5 as lyx-1.4 (File-Export as lyx 
1.4). I send the resulting file attached.

 Thanks
 Carlos Sosa Paz

-- 
José Abílio


setofcost.lyx
Description: application/lyx


Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

PackElend schrieb:


1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page


With LyX 1.5.4 a better LaTeX-package is used for wrap floats, so you coould 
update your LyX.
But in your case you simply should move the wrap float to the section Nicht 
statische Methoden.


3) Sometimes the are pretty large gaps between a float image and the text
after


This can only appear when you have used new page commands around the floats or have set the float 
placement to Here definetively or similar.



4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?


Yes.

regards Uwe


Re: LyX badges?

2008-04-19 Thread rgheck

Geevarghese Philip wrote:

Hi,
  Are there any I use LyX or Powered by LyX kind of logos 
available to put on a website?



Not as far as I know, but it'd be great to have one.

rh



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

2)  Is the way to wrap a minipage across two pages?

  

I don't believe so.

rh



Re: LyX badges?

2008-04-19 Thread William Seager
On April 19, 2008 07:53:50 Geevarghese Philip wrote:
 Hi,
Are there any I use LyX or Powered by LyX kind of logos available
 to put on a website?

Well, there are some nice icons here:

http://wiki.lyx.org/LyX/Icons

They would be a good starting point anyway

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Some urgent questions

2008-04-19 Thread PackElend

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

 4) I have an document (my thesis) with 3 different parts (Introduction,
 Theory, Praxis) and I want an separate table of figures, nomenclature and
 maybe attachment and index for each of them. It's that possible?

Yes. 

HOW


thx

stefan
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16784909.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

  

4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?
  


  
Yes. 



HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:


4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


Yes I was ;-). It is not very easy to do. I would insert the nomenclature and tables as usual to the 
different files. Then create a master file where you ring the three files together, see the section 
child documents of the UserGuide. This could work, but I expect that there are some LaTeX tricks 
needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the people there know the LaTeX 
details that are needed.


regards Uwe


Re: Some urgent questions

2008-04-19 Thread rgheck

Uwe Stöhr wrote:

rgheck schrieb:

4) I have an document (my thesis) with 3 different parts 
(Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know 
the answer myself.


Yes I was ;-). It is not very easy to do. I would insert the 
nomenclature and tables as usual to the different files. Then create a 
master file where you ring the three files together, see the section 
child documents of the UserGuide. This could work, but I expect 
that there are some LaTeX tricks needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the 
people there know the LaTeX details that are needed.


Aren't there some toc by section packages available? Or will these not 
do the trick?


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:

Aren't there some toc by section packages available? Or will these not 
do the trick?


There is the package minitoc, but for the nomenclature I don't know a similar 
one.

regards Uwe


Re: Missing fonts

2008-04-19 Thread Paul A. Rubin

Salát Máté wrote:

Hi,

I've installed some new fonts in Windows XP. As a result of it, some characters 
in math boxes in LyX disappeared, as you can see here: 
http://screencast.com/t/S07G2GyCE7r

What shell I do to fix it?

Cheers, Máté


Try reinstalling the Bakoma4LyX fonts.  You can download them at 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip.  Unzip them 
somewhere and make note of the names.  (IIRC there are eight font files 
in the archive.)  Use the Windows font applet to delete those eight 
fonts, if they're already installed, then use it to reinstall from the 
unzipped copies.


HTH,
Paul



Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


Re: Drawing graphs in lyx

2008-04-19 Thread A. Scottedward Hodel
I'm entering this conversation late, but another way to generate  
graphs is with octave, a numerical package very similar to MATLAB.   
I've used octave to generate eps files directly, or to generate files  
in xfig format which can also be translated to fig so that they can  
be incorporated into LaTeX (i.;e., LyX) with similar fonts.


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar


On Apr 13, 2008, at 1:51 PM, Liviu Andronic wrote:
On Fri, Apr 11, 2008 at 2:34 PM, Ola Vestad [EMAIL PROTECTED]  
wrote:
 Is there a simpler way to do this? More specifically; is it  
possible to draw

 graphs directly in lyx?



Dia [1] may suit your needs:
Dia is roughly inspired by the commercial Windows program 'Visio',
though more geared towards informal diagrams for casual use. 

Liviu

[1] http://live.gnome.org/Dia




Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel

I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put the command\def\notestype{teacher}in the Document -> Settings -> LaTeX preamblewindow of LyX.  However, this seems to be loaded after the layout preamble is set.   Is there a way for me to have at least a part of the layout preamble processed after the Documents -> Settings preamble?  If I can do this, then I will be able to work within LyX rather than LaTeX, which I would like to do.Yours, A. Scottedward Hodel [EMAIL PROTECTED]http://homepage.mac.com/hodelas/tar 

myTextBook.layout
Description: Binary data


Re: Problems with abstract in IEEETran class

2008-04-19 Thread Paul A. Rubin

Myriam Abramson wrote:

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA


Highlight the text of the abstract and use the text style dialog (Edit 
- Text style or ab button) to reset the size.  When you specify the 
size explicitly, LyX emits LaTeX with the text enclosed in braces. 
Apparently the braces give the IEEETran class major heartburn.  Don't 
know why, but I'm sure it's something intrinsic to the way the class 
file is written and thus out of your (or at least my) control.


Tested on LyX 1.4.4 and 1.5.4 (I don't have 1.4.3 anymore).

/Paul



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really need 
to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and we 
can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh



Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is  
attached) that will let me set a switch in the preamble of my  
LyX file so that I can easily generate both a teacher's version  
(with solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout  
preamble is set.   Is there a way for me to have at least a part  
of the layout preamble processed /after/ the Documents - Settings  
preamble?  If I can do this, then I will be able to work within  
LyX rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really  
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't  
matter what gets loaded first. (If this isn't clear, post your  
layout, and we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for  
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions  
in the LaTeX version, including the use of xcomment, but so far  
nothing that works cleanly.  My current workaround (temporary) is  
to just edit the layout and then reconfigure LyX when I want to  
change version.  Since I won't be changing edition that often, that's  
fine for me, but not really appropriate for general use.  I think I  
may be able to isolate the offending commands to fall in the LyX  
preamble by themselves, but I'll work on that later.


The layout file is in my original note as an attachment, but for  
convenience I'm including it at the end of this email as well.  (Unix  
style end of lines.)  I'm adding an example LyX file that shows the  
use of Example and Question (homework) environments with solutions.   
(For whatever reason, I want to use the same environment for each.)


I've not used branches in LyX yet; I'll look into that.  Thanks!

A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar



TextbookExample.lyx
Description: Binary data


myTextBook.layout
Description: Binary data


LyX file: verison 1.5.4, on a mac
myTextBook.layout: Unix style end of line marker.

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works cleanly.  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the offending commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


I'd have to think about this for a while, but my idea was to define a 
LaTeX command that either (a) just repeated its argument or (b) 
basically ate its argument, and then to make the solution environment 
wrap the command. But I'm not absolutely sure how to do that. Basically, 
I want

   \begin{solution}stuff here\end{solution}
to turn into something like:
   \solutioncmd{\par\noindent{\bf Solution}stuff here}
and then we have:
   \newcommand\solutioncmd{%
   \ifthenelse{\equal{\notestype}{teacher}}%
{#1}{}}
So either we get
   \par\noindent{\bf Solution}stuff here
or we get nothing. But I'm not sure how to do the environment 
definition. Probably we need some group business.


Uwe, if you're reading this, do you have an idea? (Uwe is our resident 
expert on the user list.)


Richard



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a switch in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document - Settings - LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents - Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works cleanly.  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the offending commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


Another possibility is just a nearly identical layout, and then you can 
switch between them on the fly.


In 1.6.x, you can probably do this more naturally using a module.

rh



Re: Name of the Mascot (Was: New splash screen (Was: LyX logo))

2008-04-19 Thread Andre Poenitz
On Fri, Apr 18, 2008 at 03:10:14PM -0700, Rich Shepard wrote:
> On Fri, 18 Apr 2008, Bruce Pourciau wrote:
>
>> Shouldn't FeeLyX be FeLyX? LyXandra sounds a bit stand-off-ish. How about
>> LyXiE/LyXie?
>
>   Enough! Mate. Ralph. Herman. Occam. Pick one.

'Pick' is nice indeed.

SCNR
Andre'


Some urgent questions

2008-04-19 Thread PackElend

HI 
I trouble with lyx (see picture attached)

1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page
2)  Is the way to wrap a minipage across two pages?
3) Sometimes the are pretty large gaps between a float image and the text
after

Any idea how to solve this? Furthermore I have some other question:
4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?

thx a lot 
steff


http://www.nabble.com/file/p16771327/prob1.jpg prob1.jpg 
http://www.nabble.com/file/p16771327/prob2.jpg prob2.jpg 
http://www.nabble.com/file/p16771327/prob3.jpg prob3.jpg 
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16771327.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Graphics in LyX 1.5.4 on MacOS X cause strange error

2008-04-19 Thread Jürgen Spitzmüller
Peter Kämpf wrote:
> I just made the test: Placing the graphic inside the caption makes no  
> difference to the error message.
>
> I wonder if I have something strange in my LyX preamble - this  
> document had been started in LyX 1.3 days, and the conversion to 1.5  
> needed some manual tweaking. The newly created document (which I now  
> use for testing, since it is much shorter) has the same preamble,  
> making me wonder if maybe my defaults are screwed up and I need to  
> wipe the LyX installation and start from scratch ... would that be  
> worth a try?

I don't think so.
You can send me the document offlist, and I'll have a look.

Jürgen


lyx2lyx convert failed

2008-04-19 Thread Carlos Sosa Paz
Dear all

I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3 
version i got the following error message lyx2lyx failed to convert.
Find attach the file.

Thanks
Carlos Sosa Paz


setofcost.lyx
Description: setofcost.lyx


LyX badges?

2008-04-19 Thread Geevarghese Philip

Hi,
  Are there any "I use LyX" or "Powered by LyX" kind of logos available 
to put on a website?


Thanks,
Philip



Re: lyx2lyx convert failed

2008-04-19 Thread Jürgen Spitzmüller
Carlos Sosa Paz wrote:
> I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
> version i got the following error message lyx2lyx failed to convert. Find
> attach the file.

LyX 1.4.3 is very old.

Anyway, the file opens fine in LyX 1.5.4.

Jürgen


Re: lyx2lyx convert failed

2008-04-19 Thread José Matos
On Saturday 19 April 2008 11:36:19 Carlos Sosa Paz wrote:
> Dear all
>
> I wrote my lyx file in 1.4.2 lyx version but when i try to open it in 1.4.3
> version i got the following error message lyx2lyx failed to convert. Find
> attach the file.

  Correction, your lyx files says that you created it with 1.5.2 and not with 
1.4.2. :-)

  The attached file works OK with 1.5.4.

  The easier solution could be to update the 1.4 to 1.5, but I can understand 
that it is not always possible.

  One solution is to save the file in 1.5 as lyx-1.4 (File->Export as lyx 
1.4). I send the resulting file attached.

> Thanks
> Carlos Sosa Paz

-- 
José Abílio


setofcost.lyx
Description: application/lyx


Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

PackElend schrieb:


1) If there's an float image with wrap text around it at the end of the
page, the picture is at the bottom of the page but the gap is on the next
page


With LyX 1.5.4 a better LaTeX-package is used for wrap floats, so you coould 
update your LyX.
But in your case you simply should move the wrap float to the section "Nicht 
statische Methoden".


3) Sometimes the are pretty large gaps between a float image and the text
after


This can only appear when you have used new page commands around the floats or have set the float 
placement to "Here definetively" or similar.



4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate  table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?


Yes.

regards Uwe


Re: LyX badges?

2008-04-19 Thread rgheck

Geevarghese Philip wrote:

Hi,
  Are there any "I use LyX" or "Powered by LyX" kind of logos 
available to put on a website?



Not as far as I know, but it'd be great to have one.

rh



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

2)  Is the way to wrap a minipage across two pages?

  

I don't believe so.

rh



Re: LyX badges?

2008-04-19 Thread William Seager
On April 19, 2008 07:53:50 Geevarghese Philip wrote:
> Hi,
>Are there any "I use LyX" or "Powered by LyX" kind of logos available
> to put on a website?

Well, there are some nice icons here:

http://wiki.lyx.org/LyX/Icons

They would be a good starting point anyway

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: Some urgent questions

2008-04-19 Thread PackElend

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

>> 4) I have an document (my thesis) with 3 different parts (Introduction,
>> Theory, Praxis) and I want an separate table of figures, nomenclature and
>> maybe attachment and index for each of them. It's that possible?

>Yes. 

HOW


thx

stefan
-- 
View this message in context: 
http://www.nabble.com/Some-urgent-questions-tp16771327p16784909.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Some urgent questions

2008-04-19 Thread rgheck

PackElend wrote:

Thanks for your quick response :)
I do already have Version 1.5.4, it's I gotta play a bit with the images,
back word style :(.

  

4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, nomenclature and
maybe attachment and index for each of them. It's that possible?
  


  
Yes. 



HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:


4) I have an document (my thesis) with 3 different parts (Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know the 
answer myself.


Yes I was ;-). It is not very easy to do. I would insert the nomenclature and tables as usual to the 
different files. Then create a master file where you ring the three files together, see the section 
"child documents" of the UserGuide". This could work, but I expect that there are some LaTeX tricks 
needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the people there know the LaTeX 
details that are needed.


regards Uwe


Re: Some urgent questions

2008-04-19 Thread rgheck

Uwe Stöhr wrote:

rgheck schrieb:

4) I have an document (my thesis) with 3 different parts 
(Introduction,
Theory, Praxis) and I want an separate table of figures, 
nomenclature and

maybe attachment and index for each of them. It's that possible?


HOW

  
I think maybe Uwe was playing with you. Unfortunately, I don't know 
the answer myself.


Yes I was ;-). It is not very easy to do. I would insert the 
nomenclature and tables as usual to the different files. Then create a 
master file where you ring the three files together, see the section 
"child documents" of the UserGuide". This could work, but I expect 
that there are some LaTeX tricks needed to get this to work.
When it doesn't work for you, ask on the comp.text.tex newsgroup, the 
people there know the LaTeX details that are needed.


Aren't there some "toc by section" packages available? Or will these not 
do the trick?


rh



Re: Some urgent questions

2008-04-19 Thread Uwe Stöhr

rgheck schrieb:

Aren't there some "toc by section" packages available? Or will these not 
do the trick?


There is the package "minitoc", but for the nomenclature I don't know a similar 
one.

regards Uwe


Re: Missing fonts

2008-04-19 Thread Paul A. Rubin

Salát Máté wrote:

Hi,

I've installed some new fonts in Windows XP. As a result of it, some characters 
in math boxes in LyX disappeared, as you can see here: 
http://screencast.com/t/S07G2GyCE7r

What shell I do to fix it?

Cheers, Máté


Try reinstalling the Bakoma4LyX fonts.  You can download them at 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip.  Unzip them 
somewhere and make note of the names.  (IIRC there are eight font files 
in the archive.)  Use the Windows font applet to delete those eight 
fonts, if they're already installed, then use it to reinstall from the 
unzipped copies.


HTH,
Paul



Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


Re: Drawing graphs in lyx

2008-04-19 Thread A. Scottedward Hodel
I'm entering this conversation late, but another way to generate  
graphs is with octave, a numerical package very similar to MATLAB.   
I've used octave to generate eps files directly, or to generate files  
in xfig format which can also be translated to fig so that they can  
be incorporated into LaTeX (i.;e., LyX) with similar fonts.


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar


On Apr 13, 2008, at 1:51 PM, Liviu Andronic wrote:
On Fri, Apr 11, 2008 at 2:34 PM, Ola Vestad <[EMAIL PROTECTED]>  
wrote:
 Is there a simpler way to do this? More specifically; is it  
possible to draw

 graphs directly in lyx?



Dia [1] may suit your needs:
"Dia is roughly inspired by the commercial Windows program 'Visio',
though more geared towards informal diagrams for casual use. "

Liviu

[1] http://live.gnome.org/Dia




Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel

I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put the command\def\notestype{teacher}in the Document -> Settings -> LaTeX preamblewindow of LyX.  However, this seems to be loaded after the layout preamble is set.   Is there a way for me to have at least a part of the layout preamble processed after the Documents -> Settings preamble?  If I can do this, then I will be able to work within LyX rather than LaTeX, which I would like to do.Yours, A. Scottedward Hodel [EMAIL PROTECTED]http://homepage.mac.com/hodelas/tar 

myTextBook.layout
Description: Binary data


Re: Problems with abstract in IEEETran class

2008-04-19 Thread Paul A. Rubin

Myriam Abramson wrote:

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA


Highlight the text of the abstract and use the text style dialog (Edit 
-> Text style or "ab" button) to reset the size.  When you specify the 
size explicitly, LyX emits LaTeX with the text enclosed in braces. 
Apparently the braces give the IEEETran class major heartburn.  Don't 
know why, but I'm sure it's something intrinsic to the way the class 
file is written and thus out of your (or at least my) control.


Tested on LyX 1.4.4 and 1.5.4 (I don't have 1.4.3 anymore).

/Paul



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a "switch" in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document -> Settings -> LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents -> Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really need 
to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and we 
can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh



Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is  
attached) that will let me set a "switch" in the preamble of my  
LyX file so that I can easily generate both a teacher's version  
(with solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document -> Settings -> LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout  
preamble is set.   Is there a way for me to have at least a part  
of the layout preamble processed /after/ the Documents -> Settings  
preamble?  If I can do this, then I will be able to work within  
LyX rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really  
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't  
matter what gets loaded first. (If this isn't clear, post your  
layout, and we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for  
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions  
in the LaTeX version, including the use of xcomment, but so far  
nothing that works "cleanly."  My current workaround (temporary) is  
to just edit the layout and then reconfigure LyX when I want to  
change version.  Since I won't be changing edition that often, that's  
fine for me, but not really appropriate for general use.  I think I  
may be able to isolate the "offending" commands to fall in the LyX  
preamble by themselves, but I'll work on that later.


The layout file is in my original note as an attachment, but for  
convenience I'm including it at the end of this email as well.  (Unix  
style end of lines.)  I'm adding an example LyX file that shows the  
use of Example and Question (homework) environments with solutions.   
(For whatever reason, I want to use the same environment for each.)


I've not used branches in LyX yet; I'll look into that.  Thanks!

A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar



TextbookExample.lyx
Description: Binary data


myTextBook.layout
Description: Binary data


LyX file: verison 1.5.4, on a mac
myTextBook.layout: Unix style end of line marker.

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a "switch" in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document -> Settings -> LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents -> Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works "cleanly."  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the "offending" commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


I'd have to think about this for a while, but my idea was to define a 
LaTeX command that either (a) just repeated its argument or (b) 
basically ate its argument, and then to make the solution environment 
wrap the command. But I'm not absolutely sure how to do that. Basically, 
I want

   \begin{solution}stuff here\end{solution}
to turn into something like:
   \solutioncmd{\par\noindent{\bf Solution}stuff here}
and then we have:
   \newcommand\solutioncmd{%
   \ifthenelse{\equal{\notestype}{teacher}}%
{#1}{}}
So either we get
   \par\noindent{\bf Solution}stuff here
or we get nothing. But I'm not sure how to do the environment 
definition. Probably we need some "group" business.


Uwe, if you're reading this, do you have an idea? (Uwe is our resident 
expert on the user list.)


Richard



Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck

A. Scottedward Hodel wrote:


On Apr 19, 2008, at 8:33 PM, rgheck wrote:

A. Scottedward Hodel wrote:
I am trying to write a textbook layout file (current version is 
attached) that will let me set a "switch" in the preamble of my LyX 
file so that I can easily generate both a teacher's version (with 
solutions) and a student version (without homework solutions).


What I've attempted to do is to put the command

\def\notestype{teacher}

in the Document -> Settings -> LaTeX preamble

window of LyX.  However, this seems to be loaded after the layout 
preamble is set.   Is there a way for me to have at least a part of 
the layout preamble processed /after/ the Documents -> Settings 
preamble?  If I can do this, then I will be able to work within LyX 
rather than LaTeX, which I would like to do.


At present, no, you can't do that, but I'm not sure why you really 
need to do so. Can't you just do something like this:

   \ifequal\notestype
in the environments (or commands) themselves? Then it doesn't matter 
what gets loaded first. (If this isn't clear, post your layout, and 
we can work on it together. All of us!!)


The other possibility is to use branches, which are designed for 
precisely this sort of use.


rh


Thanks.  I've tried a number of \ifthenelse environment definitions in 
the LaTeX version, including the use of xcomment, but so far nothing 
that works "cleanly."  My current workaround (temporary) is to just 
edit the layout and then reconfigure LyX when I want to change 
version.  Since I won't be changing edition that often, that's fine 
for me, but not really appropriate for general use.  I think I may be 
able to isolate the "offending" commands to fall in the LyX preamble 
by themselves, but I'll work on that later.


Another possibility is just a nearly identical layout, and then you can 
switch between them on the fly.


In 1.6.x, you can probably do this more naturally using a "module".

rh