Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hello!

Finally, I installed LyX 2.0. I needed to install some delopment
libreries for qt4.

Thanks.

2010/5/24 Marcelo Acuña mv...@yahoo.com.ar:
 I have try to install LyX 2.0 alpha3 in Ubuntu Karmic Koala
 using the
 instructions that appear in the compress file, but I
 haven't success.

 Some suggestions.

 We need more details about error messages, etc.
 Marcelo







-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr uwesto...@web.de
To: Raja Zubair rzna...@yahoo.com
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

 I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
 to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread RIchard Heck

On 05/25/2010 12:06 AM, efree...@berkeley.edu wrote:


Could it just be something unusual in my file? Maybe I should try to see
if I can zoom in and find some small section of it that's actually causing
the problem. I can try that, but it will take some time and I need to run
now.

I really appreciate your help.

Eric


Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence

   
iconv error. I should've thought of this. This is probably due to some 
cut and paste operation you did, and you've ended up with characters 
that are illegal in your file's encoding. (Another possibility is that 
you have an illegal character in a BibTeX file.) In any event, the 
solution is to bisect the file and find the problem: Delete the top 
half, and try to export; etc, etc.


Richard



Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Hello,

I hope I am doing this correctly. First use of the mailing list.

I have a simple annoyance which I'd like to know if anyone has a solution
to: with each instance of lyx, I get an empty command window! (This is on
windows 7.)

It looks like 
thishttp://lh3.ggpht.com/_BbQQvGo8mXA/S_uXUp4Zy7I/DWA/HmzO1Via2tU/s512/Fullsk%C3%A4rmsinf%C3%A5ngning%202010-05-25%20112303.jpg
.

Would be grateful for any pointers,
Alexander


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Paul A. Rubin

On 5/25/2010 8:06 AM, RIchard Heck wrote:




Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence


iconv error. I should've thought of this. This is probably due to some
cut and paste operation you did, and you've ended up with characters
that are illegal in your file's encoding. (Another possibility is that
you have an illegal character in a BibTeX file.) In any event, the
solution is to bisect the file and find the problem: Delete the top
half, and try to export; etc, etc.



I'm not sure, but I think it should be possible to run iconv against the 
LyX file in a shell, using the conversion mentioned in the error 
message, and get a message identifying the offending characters or at 
least the approximate location (?).  Ditto with the BibTeX files, if any.


/Paul



RE: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Steve Thompson
Thanks for the hint on running from a command window to see more useful
error messages. As it turned out, my problem existed only with a nonstandard
class/layout combination. The reported error was that tex2lyx could not find
the .layout file. The reason was that the layout file and the class file had
different names (jasatex.cls and jasa.layout). The layout file contains the
class file name, but not vice versa, so tex2lyx didn't know where to find
the layout.

The problem was fixed by renaming the layout file to jasatex.layout; i.e.
fixing the original operator error.

Thanks again,
Steve 

-Original Message-
From: RIchard Heck [mailto:rgh...@comcast.net] 
Sent: Monday, May 24, 2010 9:11 PM
To: Stephen Thompson
Cc: lyx-users@lists.lyx.org
Subject: Re: Cannot Export Lyx to latex on Mac

On 05/24/2010 08:15 PM, Stephen Thompson wrote:
 I am also a new user -- and have the same issue. I have not been able to
convert in either direction between LyX and LaTeX. How ever I am able to
View-View Source. What appears seems to be pure LaTeX.


So there is a problem with the copying of the file from the temporary 
directory, probably. Please run LyX from a terminal and report any error 
messages. If there aren't any, try running LyX as:
 lyx -dbg files
and, if that doens't work:
 lyx -dbg any
The latter will dump a lot of info. We're only interested in what 
happens at export time.

Richard




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
  Error 92 returned from iconv when converting from UCS-4LE to
  ISO-8859-15: Illegal byte sequence
  
  iconv error. I should've thought of this. This is probably due to some
  cut and paste operation you did, and you've ended up with characters
  that are illegal in your file's encoding. (Another possibility is that
  you have an illegal character in a BibTeX file.) In any event, the
  solution is to bisect the file and find the problem: Delete the top
  half, and try to export; etc, etc.
 
 I'm not sure, but I think it should be possible to run iconv against the 
 LyX file in a shell, using the conversion mentioned in the error 
 message, and get a message identifying the offending characters or at 
 least the approximate location (?).  Ditto with the BibTeX files, if any.

FWIW, the posted console message already identifies the problematic character:

 Stopped at: 0xfb01

This is the fi ligature. See:
http://www.decodeunicode.org/en/u+fb01/properties

However, LyX is supposed to handle this particular character. This is strange.

Jürgen


Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Louis A. Turk
Hi Francisco,

You said, Finally, I installed LyX 2.0. I needed to install some
delopment libreries for qt4.

I want to do the same. Would you please give details?

Thanks,
Lou



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Rob Oakes
Probably the easiest way to do this is to downloa and install the Qt SDK
for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
development libraries, documentation, and an IDE called Qt Creator.

Using Qt Creator in addition to CMake (http://www.cmake.org/) is
probably the easiest way I've found to get up and running with a LyX
development environment.  All it involves is checking out the code,  to
opening a new project, and then clicking on the
development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
compile and index your project for you.  And best of all, everything is
free.

There are ways to get up and running with MS Visual Studio, but I'm not
nearly patient enough to figure them out.

Cheers,

Rob



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hi.

I have typed

$ sudo aptitude install qt4-dev-tools

After,

$ ./configure

$ make

$ sudo make install

If you want more details, i am writing for tomorrow a simple manual
that I willl publish in my blog:

http://bioinformatiquillo.wordpress.com/

I hope this will be useful for you.

Bye.

On Tue, May 25, 2010 at 3:52 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 Probably the easiest way to do this is to downloa and install the Qt SDK
 for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
 development libraries, documentation, and an IDE called Qt Creator.

 Using Qt Creator in addition to CMake (http://www.cmake.org/) is
 probably the easiest way I've found to get up and running with a LyX
 development environment.  All it involves is checking out the code,  to
 opening a new project, and then clicking on the
 development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
 compile and index your project for you.  And best of all, everything is
 free.

 There are ways to get up and running with MS Visual Studio, but I'm not
 nearly patient enough to figure them out.

 Cheers,

 Rob





-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:


I have a simple annoyance which I'd like to know if anyone has a
solution to: with each instance of lyx, I get an empty command window!
(This is on windows 7.)


What is your LyX version? How do you start LyX (e.g. by a special command)

regards Uwe


Re: Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Latest version (1.6.6). And it acts the same way whether I double click the
executable or use a shortcut.

Best,
Alexander

On 25 May 2010 16:34, Uwe Stöhr uwesto...@web.de wrote:

 Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:


  I have a simple annoyance which I'd like to know if anyone has a
 solution to: with each instance of lyx, I get an empty command window!
 (This is on windows 7.)


 What is your LyX version? How do you start LyX (e.g. by a special command)

 regards Uwe



Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
slides it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 17:11, schrieb Alexander Stathopoulos:


Latest version (1.6.6). And it acts the same way whether I double click
the executable or use a shortcut.


This is then correct. To get rid of the console windows, you need to 
start LyX via the Start menu (this links to the program lyxLauncher.exe).


regards Uwe


Re: gt;Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan Ehud.Kaplan at mssm.edu writes:

 
 
 After playing with Beamer for a while, and admiring the beautiful
 slides it can make, 
 I am disappointed to discover that the style dictatorship that Latex
 enforces could become 
 too restrictive:
 Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)
 
 Without the ability to place a logo anywhere the user wishes to, Beamer
 might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate outer theme to
put the logo where you want it.
 
 In addition, when used through Lyx, the logo is not displayed
 with the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread efreeman
On Tue, 25 May 2010 15:17:38 +0200, Jürgen Spitzmüller sp...@lyx.org
wrote:
 Paul A. Rubin wrote:
  Error 92 returned from iconv when converting from UCS-4LE to
  ISO-8859-15: Illegal byte sequence
  
  iconv error. I should've thought of this. This is probably due to
some
  cut and paste operation you did, and you've ended up with characters
  that are illegal in your file's encoding. (Another possibility is
that
  you have an illegal character in a BibTeX file.) In any event, the
  solution is to bisect the file and find the problem: Delete the top
  half, and try to export; etc, etc.
 
 I'm not sure, but I think it should be possible to run iconv against
the 
 LyX file in a shell, using the conversion mentioned in the error 
 message, and get a message identifying the offending characters or at 
 least the approximate location (?).  Ditto with the BibTeX files, if
any.
 
 FWIW, the posted console message already identifies the problematic
 character:
 
 Stopped at: 0xfb01
 
 This is the fi ligature. See:
 http://www.decodeunicode.org/en/u+fb01/properties
 
 However, LyX is supposed to handle this particular character. This is
 strange.
 
 Jürgen

Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the fi ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)

Thank you very much to all for the help.

Eric


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Richard Heck

On 05/25/2010 03:25 PM, efree...@berkeley.edu wrote:


Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the fi ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)


We should try to do something about this: I didn't need to guess, as it 
happens quite frequently, though more often with BibTeX, where we can't 
do anything.


Richard



Alternative installer update ignores language setting

2010-05-25 Thread Ivo
I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.

I think this may have something to do with me running a Dutch version
of Windows and an English version of Lyx. If I remember correctly it
was possible to select the user interface language in the 1.6.5
install, but the update seems to ignore this choice.

Regards,
Ivo


problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the inserted text above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


 % Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Fwd: problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
I discovered the problem disapperars toggling the equation to a inline mode.
But I need numbered it. There is part of a reference table of equations in
my text, so need identify them by numbered IDs, and I ve arranged them in a
table form.

Thanks

Esteban

-- Forwarded message --
From: Esteban Cervetto estebancs...@gmail.com
Date: 2010/5/25
Subject: problem inserting equation in table
To: lyx-users@lists.lyx.org


Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the inserted text above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


% Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Re: Alternative installer update ignores language setting

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 23:12, schrieb Ivo:


I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.


There was a bug in my previous installer versions that LyX's languages settings were overwritten 
when starting LyX. This is now fixed, but you now explicitly set the language one time:
In the LyX menu Tools-Preferences-Language Settings set the user interface language to English and 
press Save. Then restart LyX and you should have a pure English LyX. If this doesn't work, please 
report back.


regards Uwe


Re: problem inserting equation in table

2010-05-25 Thread Uwe Stöhr

Am 26.05.2010 01:01, schrieb Esteban Cervetto:


I ve problems inserting an equation in table. The error is:

*Missing $ Inserted*

My lyx code is:

\begin{tabular}{|c}
\hline
\[

 ...

Table can only contain inline equations.
In your case I would reference the equations by the column/row number of the 
table.

regards Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Re: Fwd: problem inserting equation in table

2010-05-25 Thread Richard Heck

On 05/25/2010 07:08 PM, Esteban Cervetto wrote:
I discovered the problem disapperars toggling the equation to a inline 
mode.
But I need numbered it. There is part of a reference table of 
equations in my text, so need identify them by numbered IDs, and I've 
arranged them in a table form.


You can use Equation Array to number the /lines/ of a set of equations 
automatically. But there is, so far as I know, no easy way to number the 
cells of a table. That said, it might be possible to fake this by 
entering two-column mode (or something similar) for a bit.


Also, you can always do the numbering manually: Step the counter 
yourself; display it; etc. This would require some LaTeX knowledge, but 
I'll bet lots of people here would help. It's a nice question how to do 
it best.


Richard



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hello!

Finally, I installed LyX 2.0. I needed to install some delopment
libreries for qt4.

Thanks.

2010/5/24 Marcelo Acuña mv...@yahoo.com.ar:
 I have try to install LyX 2.0 alpha3 in Ubuntu Karmic Koala
 using the
 instructions that appear in the compress file, but I
 haven't success.

 Some suggestions.

 We need more details about error messages, etc.
 Marcelo







-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr uwesto...@web.de
To: Raja Zubair rzna...@yahoo.com
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

 I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
 to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread RIchard Heck

On 05/25/2010 12:06 AM, efree...@berkeley.edu wrote:


Could it just be something unusual in my file? Maybe I should try to see
if I can zoom in and find some small section of it that's actually causing
the problem. I can try that, but it will take some time and I need to run
now.

I really appreciate your help.

Eric


Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence

   
iconv error. I should've thought of this. This is probably due to some 
cut and paste operation you did, and you've ended up with characters 
that are illegal in your file's encoding. (Another possibility is that 
you have an illegal character in a BibTeX file.) In any event, the 
solution is to bisect the file and find the problem: Delete the top 
half, and try to export; etc, etc.


Richard



Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Hello,

I hope I am doing this correctly. First use of the mailing list.

I have a simple annoyance which I'd like to know if anyone has a solution
to: with each instance of lyx, I get an empty command window! (This is on
windows 7.)

It looks like 
thishttp://lh3.ggpht.com/_BbQQvGo8mXA/S_uXUp4Zy7I/DWA/HmzO1Via2tU/s512/Fullsk%C3%A4rmsinf%C3%A5ngning%202010-05-25%20112303.jpg
.

Would be grateful for any pointers,
Alexander


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Paul A. Rubin

On 5/25/2010 8:06 AM, RIchard Heck wrote:




Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence


iconv error. I should've thought of this. This is probably due to some
cut and paste operation you did, and you've ended up with characters
that are illegal in your file's encoding. (Another possibility is that
you have an illegal character in a BibTeX file.) In any event, the
solution is to bisect the file and find the problem: Delete the top
half, and try to export; etc, etc.



I'm not sure, but I think it should be possible to run iconv against the 
LyX file in a shell, using the conversion mentioned in the error 
message, and get a message identifying the offending characters or at 
least the approximate location (?).  Ditto with the BibTeX files, if any.


/Paul



RE: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Steve Thompson
Thanks for the hint on running from a command window to see more useful
error messages. As it turned out, my problem existed only with a nonstandard
class/layout combination. The reported error was that tex2lyx could not find
the .layout file. The reason was that the layout file and the class file had
different names (jasatex.cls and jasa.layout). The layout file contains the
class file name, but not vice versa, so tex2lyx didn't know where to find
the layout.

The problem was fixed by renaming the layout file to jasatex.layout; i.e.
fixing the original operator error.

Thanks again,
Steve 

-Original Message-
From: RIchard Heck [mailto:rgh...@comcast.net] 
Sent: Monday, May 24, 2010 9:11 PM
To: Stephen Thompson
Cc: lyx-users@lists.lyx.org
Subject: Re: Cannot Export Lyx to latex on Mac

On 05/24/2010 08:15 PM, Stephen Thompson wrote:
 I am also a new user -- and have the same issue. I have not been able to
convert in either direction between LyX and LaTeX. How ever I am able to
View-View Source. What appears seems to be pure LaTeX.


So there is a problem with the copying of the file from the temporary 
directory, probably. Please run LyX from a terminal and report any error 
messages. If there aren't any, try running LyX as:
 lyx -dbg files
and, if that doens't work:
 lyx -dbg any
The latter will dump a lot of info. We're only interested in what 
happens at export time.

Richard




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
  Error 92 returned from iconv when converting from UCS-4LE to
  ISO-8859-15: Illegal byte sequence
  
  iconv error. I should've thought of this. This is probably due to some
  cut and paste operation you did, and you've ended up with characters
  that are illegal in your file's encoding. (Another possibility is that
  you have an illegal character in a BibTeX file.) In any event, the
  solution is to bisect the file and find the problem: Delete the top
  half, and try to export; etc, etc.
 
 I'm not sure, but I think it should be possible to run iconv against the 
 LyX file in a shell, using the conversion mentioned in the error 
 message, and get a message identifying the offending characters or at 
 least the approximate location (?).  Ditto with the BibTeX files, if any.

FWIW, the posted console message already identifies the problematic character:

 Stopped at: 0xfb01

This is the fi ligature. See:
http://www.decodeunicode.org/en/u+fb01/properties

However, LyX is supposed to handle this particular character. This is strange.

Jürgen


Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Louis A. Turk
Hi Francisco,

You said, Finally, I installed LyX 2.0. I needed to install some
delopment libreries for qt4.

I want to do the same. Would you please give details?

Thanks,
Lou



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Rob Oakes
Probably the easiest way to do this is to downloa and install the Qt SDK
for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
development libraries, documentation, and an IDE called Qt Creator.

Using Qt Creator in addition to CMake (http://www.cmake.org/) is
probably the easiest way I've found to get up and running with a LyX
development environment.  All it involves is checking out the code,  to
opening a new project, and then clicking on the
development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
compile and index your project for you.  And best of all, everything is
free.

There are ways to get up and running with MS Visual Studio, but I'm not
nearly patient enough to figure them out.

Cheers,

Rob



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hi.

I have typed

$ sudo aptitude install qt4-dev-tools

After,

$ ./configure

$ make

$ sudo make install

If you want more details, i am writing for tomorrow a simple manual
that I willl publish in my blog:

http://bioinformatiquillo.wordpress.com/

I hope this will be useful for you.

Bye.

On Tue, May 25, 2010 at 3:52 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 Probably the easiest way to do this is to downloa and install the Qt SDK
 for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
 development libraries, documentation, and an IDE called Qt Creator.

 Using Qt Creator in addition to CMake (http://www.cmake.org/) is
 probably the easiest way I've found to get up and running with a LyX
 development environment.  All it involves is checking out the code,  to
 opening a new project, and then clicking on the
 development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
 compile and index your project for you.  And best of all, everything is
 free.

 There are ways to get up and running with MS Visual Studio, but I'm not
 nearly patient enough to figure them out.

 Cheers,

 Rob





-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:


I have a simple annoyance which I'd like to know if anyone has a
solution to: with each instance of lyx, I get an empty command window!
(This is on windows 7.)


What is your LyX version? How do you start LyX (e.g. by a special command)

regards Uwe


Re: Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Latest version (1.6.6). And it acts the same way whether I double click the
executable or use a shortcut.

Best,
Alexander

On 25 May 2010 16:34, Uwe Stöhr uwesto...@web.de wrote:

 Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:


  I have a simple annoyance which I'd like to know if anyone has a
 solution to: with each instance of lyx, I get an empty command window!
 (This is on windows 7.)


 What is your LyX version? How do you start LyX (e.g. by a special command)

 regards Uwe



Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
slides it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 17:11, schrieb Alexander Stathopoulos:


Latest version (1.6.6). And it acts the same way whether I double click
the executable or use a shortcut.


This is then correct. To get rid of the console windows, you need to 
start LyX via the Start menu (this links to the program lyxLauncher.exe).


regards Uwe


Re: gt;Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan Ehud.Kaplan at mssm.edu writes:

 
 
 After playing with Beamer for a while, and admiring the beautiful
 slides it can make, 
 I am disappointed to discover that the style dictatorship that Latex
 enforces could become 
 too restrictive:
 Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)
 
 Without the ability to place a logo anywhere the user wishes to, Beamer
 might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate outer theme to
put the logo where you want it.
 
 In addition, when used through Lyx, the logo is not displayed
 with the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread efreeman
On Tue, 25 May 2010 15:17:38 +0200, Jürgen Spitzmüller sp...@lyx.org
wrote:
 Paul A. Rubin wrote:
  Error 92 returned from iconv when converting from UCS-4LE to
  ISO-8859-15: Illegal byte sequence
  
  iconv error. I should've thought of this. This is probably due to
some
  cut and paste operation you did, and you've ended up with characters
  that are illegal in your file's encoding. (Another possibility is
that
  you have an illegal character in a BibTeX file.) In any event, the
  solution is to bisect the file and find the problem: Delete the top
  half, and try to export; etc, etc.
 
 I'm not sure, but I think it should be possible to run iconv against
the 
 LyX file in a shell, using the conversion mentioned in the error 
 message, and get a message identifying the offending characters or at 
 least the approximate location (?).  Ditto with the BibTeX files, if
any.
 
 FWIW, the posted console message already identifies the problematic
 character:
 
 Stopped at: 0xfb01
 
 This is the fi ligature. See:
 http://www.decodeunicode.org/en/u+fb01/properties
 
 However, LyX is supposed to handle this particular character. This is
 strange.
 
 Jürgen

Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the fi ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)

Thank you very much to all for the help.

Eric


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Richard Heck

On 05/25/2010 03:25 PM, efree...@berkeley.edu wrote:


Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the fi ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)


We should try to do something about this: I didn't need to guess, as it 
happens quite frequently, though more often with BibTeX, where we can't 
do anything.


Richard



Alternative installer update ignores language setting

2010-05-25 Thread Ivo
I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.

I think this may have something to do with me running a Dutch version
of Windows and an English version of Lyx. If I remember correctly it
was possible to select the user interface language in the 1.6.5
install, but the update seems to ignore this choice.

Regards,
Ivo


problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the inserted text above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


 % Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Fwd: problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
I discovered the problem disapperars toggling the equation to a inline mode.
But I need numbered it. There is part of a reference table of equations in
my text, so need identify them by numbered IDs, and I ve arranged them in a
table form.

Thanks

Esteban

-- Forwarded message --
From: Esteban Cervetto estebancs...@gmail.com
Date: 2010/5/25
Subject: problem inserting equation in table
To: lyx-users@lists.lyx.org


Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the inserted text above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


% Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Re: Alternative installer update ignores language setting

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 23:12, schrieb Ivo:


I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.


There was a bug in my previous installer versions that LyX's languages settings were overwritten 
when starting LyX. This is now fixed, but you now explicitly set the language one time:
In the LyX menu Tools-Preferences-Language Settings set the user interface language to English and 
press Save. Then restart LyX and you should have a pure English LyX. If this doesn't work, please 
report back.


regards Uwe


Re: problem inserting equation in table

2010-05-25 Thread Uwe Stöhr

Am 26.05.2010 01:01, schrieb Esteban Cervetto:


I ve problems inserting an equation in table. The error is:

*Missing $ Inserted*

My lyx code is:

\begin{tabular}{|c}
\hline
\[

 ...

Table can only contain inline equations.
In your case I would reference the equations by the column/row number of the 
table.

regards Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Re: Fwd: problem inserting equation in table

2010-05-25 Thread Richard Heck

On 05/25/2010 07:08 PM, Esteban Cervetto wrote:
I discovered the problem disapperars toggling the equation to a inline 
mode.
But I need numbered it. There is part of a reference table of 
equations in my text, so need identify them by numbered IDs, and I've 
arranged them in a table form.


You can use Equation Array to number the /lines/ of a set of equations 
automatically. But there is, so far as I know, no easy way to number the 
cells of a table. That said, it might be possible to fake this by 
entering two-column mode (or something similar) for a bit.


Also, you can always do the numbering manually: Step the counter 
yourself; display it; etc. This would require some LaTeX knowledge, but 
I'll bet lots of people here would help. It's a nice question how to do 
it best.


Richard



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hello!

Finally, I installed LyX 2.0. I needed to install some delopment
libreries for qt4.

Thanks.

2010/5/24 Marcelo Acuña :
>> I have try to install LyX 2.0 alpha3 in Ubuntu Karmic Koala
>> using the
>> instructions that appear in the compress file, but I
>> haven't success.
>>
>> Some suggestions.
>
> We need more details about error messages, etc.
> Marcelo
>
>
>
>



-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr 
To: Raja Zubair 
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

> I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
> to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread RIchard Heck

On 05/25/2010 12:06 AM, efree...@berkeley.edu wrote:


Could it just be something unusual in my file? Maybe I should try to see
if I can zoom in and find some small section of it that's actually causing
the problem. I can try that, but it will take some time and I need to run
now.

I really appreciate your help.

Eric


Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence

   
iconv error. I should've thought of this. This is probably due to some 
cut and paste operation you did, and you've ended up with characters 
that are illegal in your file's encoding. (Another possibility is that 
you have an illegal character in a BibTeX file.) In any event, the 
solution is to bisect the file and find the problem: Delete the top 
half, and try to export; etc, etc.


Richard



Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Hello,

I hope I am doing this correctly. First use of the mailing list.

I have a simple annoyance which I'd like to know if anyone has a solution
to: with each instance of lyx, I get an empty command window! (This is on
windows 7.)

It looks like 
this
.

Would be grateful for any pointers,
Alexander


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Paul A. Rubin

On 5/25/2010 8:06 AM, RIchard Heck wrote:




Error 92 returned from iconv when converting from UCS-4LE to ISO-8859-15:
Illegal byte sequence


iconv error. I should've thought of this. This is probably due to some
cut and paste operation you did, and you've ended up with characters
that are illegal in your file's encoding. (Another possibility is that
you have an illegal character in a BibTeX file.) In any event, the
solution is to bisect the file and find the problem: Delete the top
half, and try to export; etc, etc.



I'm not sure, but I think it should be possible to run iconv against the 
LyX file in a shell, using the conversion mentioned in the error 
message, and get a message identifying the offending characters or at 
least the approximate location (?).  Ditto with the BibTeX files, if any.


/Paul



RE: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Steve Thompson
Thanks for the hint on running from a command window to see more useful
error messages. As it turned out, my problem existed only with a nonstandard
class/layout combination. The reported error was that tex2lyx could not find
the .layout file. The reason was that the layout file and the class file had
different names (jasatex.cls and jasa.layout). The layout file contains the
class file name, but not vice versa, so tex2lyx didn't know where to find
the layout.

The problem was fixed by renaming the layout file to jasatex.layout; i.e.
fixing the original operator error.

Thanks again,
Steve 

-Original Message-
From: RIchard Heck [mailto:rgh...@comcast.net] 
Sent: Monday, May 24, 2010 9:11 PM
To: Stephen Thompson
Cc: lyx-users@lists.lyx.org
Subject: Re: Cannot Export Lyx to latex on Mac

On 05/24/2010 08:15 PM, Stephen Thompson wrote:
> I am also a new user -- and have the same issue. I have not been able to
convert in either direction between LyX and LaTeX. How ever I am able to
View->View Source. What appears seems to be pure LaTeX.
>
>
So there is a problem with the copying of the file from the temporary 
directory, probably. Please run LyX from a terminal and report any error 
messages. If there aren't any, try running LyX as:
 lyx -dbg files
and, if that doens't work:
 lyx -dbg any
The latter will dump a lot of info. We're only interested in what 
happens at export time.

Richard




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
> >> Error 92 returned from iconv when converting from UCS-4LE to
> >> ISO-8859-15: Illegal byte sequence
> > 
> > iconv error. I should've thought of this. This is probably due to some
> > cut and paste operation you did, and you've ended up with characters
> > that are illegal in your file's encoding. (Another possibility is that
> > you have an illegal character in a BibTeX file.) In any event, the
> > solution is to bisect the file and find the problem: Delete the top
> > half, and try to export; etc, etc.
> 
> I'm not sure, but I think it should be possible to run iconv against the 
> LyX file in a shell, using the conversion mentioned in the error 
> message, and get a message identifying the offending characters or at 
> least the approximate location (?).  Ditto with the BibTeX files, if any.

FWIW, the posted console message already identifies the problematic character:

> Stopped at: 0xfb01

This is the "fi" ligature. See:
http://www.decodeunicode.org/en/u+fb01/properties

However, LyX is supposed to handle this particular character. This is strange.

Jürgen


Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Louis A. Turk
Hi Francisco,

You said, "Finally, I installed LyX 2.0. I needed to install some
delopment libreries for qt4."

I want to do the same. Would you please give details?

Thanks,
Lou



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Rob Oakes
Probably the easiest way to do this is to downloa and install the Qt SDK
for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
development libraries, documentation, and an IDE called Qt Creator.

Using Qt Creator in addition to CMake (http://www.cmake.org/) is
probably the easiest way I've found to get up and running with a LyX
development environment.  All it involves is checking out the code,  to
opening a new project, and then clicking on the
development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
compile and index your project for you.  And best of all, everything is
free.

There are ways to get up and running with MS Visual Studio, but I'm not
nearly patient enough to figure them out.

Cheers,

Rob



Re: Install LyX 2.0 alpha3 in Ubuntu

2010-05-25 Thread Francisco J . Ruiz-Ruano Campaña
Hi.

I have typed

$ sudo aptitude install qt4-dev-tools

After,

$ ./configure

$ make

$ sudo make install

If you want more details, i am writing for tomorrow a simple manual
that I willl publish in my blog:

http://bioinformatiquillo.wordpress.com/

I hope this will be useful for you.

Bye.

On Tue, May 25, 2010 at 3:52 PM, Rob Oakes  wrote:
> Probably the easiest way to do this is to downloa and install the Qt SDK
> for Windows (http://qt.nokia.com/downloads).  It includes the Qt4
> development libraries, documentation, and an IDE called Qt Creator.
>
> Using Qt Creator in addition to CMake (http://www.cmake.org/) is
> probably the easiest way I've found to get up and running with a LyX
> development environment.  All it involves is checking out the code,  to
> opening a new project, and then clicking on the
> development/cmake/CMakeLists.txt file.  Qt Creator will then configure,
> compile and index your project for you.  And best of all, everything is
> free.
>
> There are ways to get up and running with MS Visual Studio, but I'm not
> nearly patient enough to figure them out.
>
> Cheers,
>
> Rob
>
>



-- 
Más allá de la confusión, persiste la duda.


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:


I have a simple annoyance which I'd like to know if anyone has a
solution to: with each instance of lyx, I get an empty command window!
(This is on windows 7.)


What is your LyX version? How do you start LyX (e.g. by a special command)

regards Uwe


Re: Issue with command windows

2010-05-25 Thread Alexander Stathopoulos
Latest version (1.6.6). And it acts the same way whether I double click the
executable or use a shortcut.

Best,
Alexander

On 25 May 2010 16:34, Uwe Stöhr  wrote:

> Am 25.05.2010 14:24, schrieb Alexander Stathopoulos:
>
>
>  I have a simple annoyance which I'd like to know if anyone has a
>> solution to: with each instance of lyx, I get an empty command window!
>> (This is on windows 7.)
>>
>
> What is your LyX version? How do you start LyX (e.g. by a special command)
>
> regards Uwe
>


>Beamer and logo

2010-05-25 Thread Ehud Kaplan
After playing with Beamer for a while, and admiring the beautiful 
"slides" it can make,
I am disappointed to discover that the style dictatorship that Latex 
enforces could become

too restrictive:

   * Beamer allows us to place a logo on the slides, but ONLY where it
 wants to (not really where I would put it by default).
   * If you set the headings to empty, it also eliminate the logo (I
 fail to see the connection)

Without the ability to place a logo anywhere the user wishes to, Beamer 
might be useless for certain presentations.


   * In addition, when used through Lyx, the logo is not displayed with
 the pdflatex preview.  You have to export to Latex, compile and
 view the pdf.


EK



Re: Issue with command windows

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 17:11, schrieb Alexander Stathopoulos:


Latest version (1.6.6). And it acts the same way whether I double click
the executable or use a shortcut.


This is then correct. To get rid of the console windows, you need to 
start LyX via the Start menu (this links to the program lyxLauncher.exe).


regards Uwe


Re: Beamer and logo

2010-05-25 Thread Paul Rubin
Ehud Kaplan  mssm.edu> writes:

> 
> 
> After playing with Beamer for a while, and admiring the beautiful
> "slides" it can make, 
> I am disappointed to discover that the style dictatorship that Latex
> enforces could become 
> too restrictive:
> Beamer allows us to place a logo on the slides, but ONLY where it
> wants to (not really where I would put it by default).
>   If you set the headings to empty, it also eliminate the logo (I
> fail to see the connection)
> 
> Without the ability to place a logo anywhere the user wishes to, Beamer
> might be useless for certain presentations.

I believe you can put a logo pretty much anywhere on the periphery if you use a
style that has a bar in that area and then hack the appropriate "outer theme" to
put the logo where you want it.
> 
> In addition, when used through Lyx, the logo is not displayed
> with the pdflatex preview.  You have to export to Latex, compile and
> view the pdf.

When I preview beamer files using pdflatex, I see my logo(s).

/Paul




Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread efreeman
On Tue, 25 May 2010 15:17:38 +0200, Jürgen Spitzmüller 
wrote:
> Paul A. Rubin wrote:
>> >> Error 92 returned from iconv when converting from UCS-4LE to
>> >> ISO-8859-15: Illegal byte sequence
>> > 
>> > iconv error. I should've thought of this. This is probably due to
some
>> > cut and paste operation you did, and you've ended up with characters
>> > that are illegal in your file's encoding. (Another possibility is
that
>> > you have an illegal character in a BibTeX file.) In any event, the
>> > solution is to bisect the file and find the problem: Delete the top
>> > half, and try to export; etc, etc.
>> 
>> I'm not sure, but I think it should be possible to run iconv against
the 
>> LyX file in a shell, using the conversion mentioned in the error 
>> message, and get a message identifying the offending characters or at 
>> least the approximate location (?).  Ditto with the BibTeX files, if
any.
> 
> FWIW, the posted console message already identifies the problematic
> character:
> 
>> Stopped at: 0xfb01
> 
> This is the "fi" ligature. See:
> http://www.decodeunicode.org/en/u+fb01/properties
> 
> However, LyX is supposed to handle this particular character. This is
> strange.
> 
> Jürgen

Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the "fi" ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)

Thank you very much to all for the help.

Eric


Re: Cannot Export Lyx to latex on Mac

2010-05-25 Thread Richard Heck

On 05/25/2010 03:25 PM, efree...@berkeley.edu wrote:


Just to write to confirm all of your suspicions, I was able to find the
one offending instance of the "fi" ligature and remove it- thank you,
Jürgen! After doing so, the file export worked. (The character did indeed
enter my LaTeX file because of cutting and pasting from elsewhere, as
Richard guessed.)


We should try to do something about this: I didn't need to guess, as it 
happens quite frequently, though more often with BibTeX, where we can't 
do anything.


Richard



Alternative installer update ignores language setting

2010-05-25 Thread Ivo
I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.

I think this may have something to do with me running a Dutch version
of Windows and an English version of Lyx. If I remember correctly it
was possible to select the user interface language in the 1.6.5
install, but the update seems to ignore this choice.

Regards,
Ivo


problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the  above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


 % Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~<>}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Fwd: problem inserting equation in table

2010-05-25 Thread Esteban Cervetto
I discovered the problem disapperars toggling the equation to a inline mode.
But I need numbered it. There is part of a reference table of equations in
my text, so need identify them by numbered IDs, and I ve arranged them in a
table form.

Thanks

Esteban

-- Forwarded message --
From: Esteban Cervetto 
Date: 2010/5/25
Subject: problem inserting equation in table
To: lyx-users@lists.lyx.org


Hi:

I ve problems inserting an equation in  table. The error is:



*Missing $ Inserted*

\exp

\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w...

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.

*Missing $ Inserted
*

...d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

 I've inserted something that you may have forgotten.

(See the  above.)

With luck, this will get me unwedged. But if you

really didn't forget anything, try typing `2' now; then

my insertion and my current dilemma will both disappear.




My lyx code is:


% Vista preliminar del código fuente

%% LyX 1.6.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[a4paper,spanish]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{amsmath}

\usepackage{amssymb}

\makeatletter

%% LyX specific LaTeX commands.

%% Because html converters don't know tabularnewline

\providecommand{\tabularnewline}{\\}

%% User specified LaTeX commands.

% This file was converted to LaTeX by Writer2LaTeX ver. 1.1.3

% see http://writer2latex.sourceforge.net for more info

\usepackage[colorlinks=true, citecolor=blue, linkcolor=blue,
urlcolor=blue]{hyperref}

\usepackage{graphicx}

\usepackage{colortbl}

\usepackage{calc}

\def\inputGnumericTable{}

\definecolor{gris15}{gray}{0.85}

\makeatother

\usepackage{babel}

\addto\shorthandsspanish{\spanishdeactivate{~<>}}

\begin{document}

\begin{flushleft}

\begin{tabular}{|c}

\hline

\[

\exp\left(\alpha+\overset{d}{\underset{j=1}{\sum}}\gamma_{j}+\overset{w+d}{\underset{t=2}{\sum}}\iota_{t}\right)\]

\tabularnewline

\end{tabular}

\par\end{flushleft}

\end{document}


Regards

Esteban


Re: Alternative installer update ignores language setting

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 23:12, schrieb Ivo:


I encountered a weird issue after updating Lyx 1.6.5 (installed using
the alternative installer) to 1.6.6 using the alternative installer
update. The update finished without problems, but when starting Lyx it
suddenly had a mixed Dutch/English user interface.


There was a bug in my previous installer versions that LyX's languages settings were overwritten 
when starting LyX. This is now fixed, but you now explicitly set the language one time:
In the LyX menu Tools->Preferences->Language Settings set the user interface language to English and 
press Save. Then restart LyX and you should have a pure English LyX. If this doesn't work, please 
report back.


regards Uwe


Re: problem inserting equation in table

2010-05-25 Thread Uwe Stöhr

Am 26.05.2010 01:01, schrieb Esteban Cervetto:


I ve problems inserting an equation in table. The error is:

*Missing $ Inserted*

My lyx code is:

\begin{tabular}{|c}
\hline
\[

> ...

Table can only contain inline equations.
In your case I would reference the equations by the column/row number of the 
table.

regards Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Re: Fwd: problem inserting equation in table

2010-05-25 Thread Richard Heck

On 05/25/2010 07:08 PM, Esteban Cervetto wrote:
I discovered the problem disapperars toggling the equation to a inline 
mode.
But I need numbered it. There is part of a reference table of 
equations in my text, so need identify them by numbered IDs, and I've 
arranged them in a table form.


You can use Equation Array to number the /lines/ of a set of equations 
automatically. But there is, so far as I know, no easy way to number the 
cells of a table. That said, it might be possible to fake this by 
entering two-column mode (or something similar) for a bit.


Also, you can always do the numbering manually: Step the counter 
yourself; display it; etc. This would require some LaTeX knowledge, but 
I'll bet lots of people here would help. It's a nice question how to do 
it best.


Richard