Re: error in converting pdf formatted figure

2021-03-30 Thread Wolfgang Engelmann



Am 30.03.21 um 18:06 schrieb Wolfgang Engelmann:



Am 30.03.21 um 17:20 schrieb Yu Jin:
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann 
mailto:engelm...@uni-tuebingen.de>>:


    A colleague of mine is not able to see a graphic in a float 
figure, if

    it is in pdf or eps format. png works. The error message is
    error in converting (or something similar, he has German setting).
    We have tried to compare my and his settings in the document and 
tools

    settings and did not find differences. We guess some converter is
    missing (although in his Tools>preferences>File handling> converters
    everything is set as is in my setting).
    His fig.pdf output works alright in the exported pdf document.
    What might be the cause?


Tell him to reconfigure LyX by Tools > Reconfigure.
--
 Eugene


Thanks a lot! Told him.
Wolfgang


he tried already reconfigure, which did not help. He upgraded to Debian 
10.9 and installed it with KDE-desktop, and it worked. He does not know, 
whether it was the new Debian-version or the KDE-desktop. Anyway, it 
works now.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Wolfgang Engelmann



Am 30.03.21 um 17:20 schrieb Yu Jin:
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann 
mailto:engelm...@uni-tuebingen.de>>:


A colleague of mine is not able to see a graphic in a float figure, if
it is in pdf or eps format. png works. The error message is
error in converting (or something similar, he has German setting).
We have tried to compare my and his settings in the document and tools
settings and did not find differences. We guess some converter is
missing (although in his Tools>preferences>File handling> converters
everything is set as is in my setting).
His fig.pdf output works alright in the exported pdf document.
What might be the cause?


Tell him to reconfigure LyX by Tools > Reconfigure.
--
     Eugene


Thanks a lot! Told him.
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Doug Martin
On Tue, Mar 30, 2021 at 9:21 AM Yu Jin  wrote:

> Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann <
> engelm...@uni-tuebingen.de>:
>
>> A colleague of mine is not able to see a graphic in a float figure, if
>> it is in pdf or eps format. png works. The error message is
>> error in converting (or something similar, he has German setting).
>> We have tried to compare my and his settings in the document and tools
>> settings and did not find differences. We guess some converter is
>> missing (although in his Tools>preferences>File handling> converters
>> everything is set as is in my setting).
>> His fig.pdf output works alright in the exported pdf document.
>> What might be the cause?
>>
>
> Tell him to reconfigure LyX by Tools > Reconfigure.
>

Good to know, thanks.
Does anyone have a list of LYX actions that require the use of Reconfigure?

Doug

> --
> Eugene
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Yu Jin
Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann <
engelm...@uni-tuebingen.de>:

> A colleague of mine is not able to see a graphic in a float figure, if
> it is in pdf or eps format. png works. The error message is
> error in converting (or something similar, he has German setting).
> We have tried to compare my and his settings in the document and tools
> settings and did not find differences. We guess some converter is
> missing (although in his Tools>preferences>File handling> converters
> everything is set as is in my setting).
> His fig.pdf output works alright in the exported pdf document.
> What might be the cause?
>

Tell him to reconfigure LyX by Tools > Reconfigure.
-- 
Eugene
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error in the release notes for 2.3.6?

2020-12-02 Thread Richard Kimberly Heck

On 12/1/20 5:27 PM, Ricardo Berlasso wrote:

Hi, LyXers!

I noticed that the text in the release announcement for 2.3.6 here

https://www.lyx.org/announce/2_3_6.txt 



and in the news page got mixed with the 2.3.5 release (it talks about 
support for inkscape 1.0, for example, or in the news page it talks 
about the "fifth maintenance release") and it's indeed different from 
the text in the announcement email, which it seems to me is the right 
text.


Yes, thanks. It should be fixed. (I had to force a page refresh to see it.)

Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread Dr Eberhard Lisse
Toss it and redo whatever you tried with the KOMA Letter :-)-O

el

On 2019-12-08 19:07 , Patrick Dupre wrote:
> Hello,
> 
> The attached file gives an error.
> Why?
> I use lyx 2.3.3 on fedora30
> 
> Any idea?
> 
> Thank.
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===
> 
> 

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread Patrick Dupre
Sorry,

babel-french was not installed on this machine

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===


> Sent: Sunday, December 08, 2019 at 6:14 PM
> From: "Baris Erkus" 
> To: "lyx-users@lists.lyx.org" 
> Subject: Re: Error: ! Package babel Error: You haven't defined the language 
> french yet.
>
> 
> On 08-Dec-19 8:07 PM, Patrick Dupre wrote:
> > Hello,
> >
> > The attached file gives an error.
> > Why?
> > I use lyx 2.3.3 on fedora30
> >
> > Any idea?
> >
> > Thank.
> >
> > ===
> >   Patrick DUPRÉ | | email: pdu...@gmx.com
> >   Laboratoire interdisciplinaire Carnot de Bourgogne
> >   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >   Tel: +33 (0)380395988
> > ===
> >
> Worked on my Win10+MikTeX+LyX2.3.3
> 
> -- 
> ↓↓
> Please bottom-post. Start your reply here:
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread John Kane
Works fine for me Ubuntu 18.04, TexLive, Lyx 2.3.3

 I noticed is that that the word "France" is in French rather than
English. Could this be giving the problem?

I live in Canada and automatically set up for English & French when
installing. Could you be on a machine that does  not have French
installed?

On Sun, 8 Dec 2019 at 12:14, Baris Erkus  wrote:
>
>
> On 08-Dec-19 8:07 PM, Patrick Dupre wrote:
> > Hello,
> >
> > The attached file gives an error.
> > Why?
> > I use lyx 2.3.3 on fedora30
> >
> > Any idea?
> >
> > Thank.
> >
> > ===
> >   Patrick DUPRÉ | | email: pdu...@gmx.com
> >   Laboratoire interdisciplinaire Carnot de Bourgogne
> >   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >   Tel: +33 (0)380395988
> > ===
> >
> Worked on my Win10+MikTeX+LyX2.3.3
>
> --
> ↓↓
> Please bottom-post. Start your reply here:
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread Paul A. Rubin

On 12/8/19 12:07 PM, Patrick Dupre wrote:

Hello,

The attached file gives an error.
Why?
I use lyx 2.3.3 on fedora30

Any idea?

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===

I reproduced the error (LyX 2.3.3 on Linux Mint 18), probably because I 
do not have a French language pack installed. The error lies 
(appropriately) in the word "France" in the address. If you select the 
word and click the button for text style (or use Edit > Text Style > 
Customized), you'll see the language is set to French. Change it to one 
of the English variants (or default) and you should be good to go.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread Baris Erkus

On 08-Dec-19 8:07 PM, Patrick Dupre wrote:
> Hello,
>
> The attached file gives an error.
> Why?
> I use lyx 2.3.3 on fedora30
>
> Any idea?
>
> Thank.
>
> ===
>   Patrick DUPRÉ | | email: pdu...@gmx.com
>   Laboratoire interdisciplinaire Carnot de Bourgogne
>   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>   Tel: +33 (0)380395988
> ===
>
Worked on my Win10+MikTeX+LyX2.3.3

-- 
↓↓
Please bottom-post. Start your reply here:

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error when launching Lyx

2019-09-28 Thread Paul A. Rubin

On 9/26/19 7:34 AM, edoardo falchi wrote:

Hi,

I installed Lyx but an error message pops up when I try to lauch it 
(see pic attached): "the code cannot be executed because 
Miktex2009-png.dll was not found. To solve the problem, try to install 
the program."


I tried to reinstall it but nothing changed. What can I do?

Thanks,

Edoardo


Did you try the MikTeK package manager? According to a comment here 
, 
the DLL file is part of the miktex-jpeg-bib-2.9 package. Is that installed?


Paul



Re: Error in exponent keybinding

2019-01-26 Thread Jean-Marc Lasgouttes

Le 26/01/2019 à 23:14, jcredbe...@gmail.com a écrit :

No one has seen this problem?


Hello,

This is fixed in 2.3.2:
https://www.lyx.org/trac/ticket/11183

Regards,
JMarc



Regards,
Julio Rojas
jcredbe...@gmail.com 


On Mon, Jan 21, 2019 at 3:08 PM > wrote:


Dear all,

Using Lyx 2.3.1 on Ubuntu 18.04. When I try to add an exponent to an
equation using "^", the symbol, not the exponent environment appear.
Nevertheless, the document compiles correctly as the hat symbol is
introduced in the LaTeX document as is.

Any ideas?

Julio Rojas
jcredbe...@gmail.com 





Re: Error in exponent keybinding

2019-01-26 Thread jcredberry
No one has seen this problem?

Regards,
Julio Rojas
jcredbe...@gmail.com


On Mon, Jan 21, 2019 at 3:08 PM  wrote:

> Dear all,
>
> Using Lyx 2.3.1 on Ubuntu 18.04. When I try to add an exponent to an
> equation using "^", the symbol, not the exponent environment appear.
> Nevertheless, the document compiles correctly as the hat symbol is
> introduced in the LaTeX document as is.
>
> Any ideas?
>
> Julio Rojas
> jcredbe...@gmail.com
>


Re: Error in make of LyX version 2.3.0 under Linux-Mint

2018-09-12 Thread Wolfgang Engelmann




On 12.09.2018 20:37, Kornel Benko wrote:

Am Mittwoch, 12. September 2018 19:00:31 CEST schrieb Wolfgang Engelmann 
:

I am under Linux-Mint trying to install LyX version 2.3.0

./configure
configuring LyX version 2.3.0

was alright

make gives me this fatal error:

GuiApplication.cpp:122:23: fatal error: X11/Xatom.h: No such file or
directory
compilation terminated.

X11/Xatom.h is part of the X11 devel package:
"x11proto-core-dev"
Please install this first.
Looks, like you would have to install some more packages too.

I would try to install 'apt-file' too. Once apt-file is configured (with: "apt-file 
update"),
it is easy to find a package for any eventually missing file.

In this case, I did:
# apt-file find X11/Xatom.h
emscripten: /usr/share/emscripten/system/include/X11/Xatom.h
x11proto-core-dev: /usr/include/X11/Xatom.h


Makefile:1004: recipe for target 'GuiApplication.o' failed
make[6]: *** [GuiApplication.o] Error 1
make[6]: Leaving directory '/mnt/sdb/we/lyx-2.3.0/src/frontends/qt4'
Makefile:848: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/mnt/sdb/we/lyx-2.3.0/src/frontends/qt4'
Makefile:778: recipe for target 'all-recursive' failed

Do I need to install something else before running make?

Thanks for a pointer,

Wolfgang


Kornel


Thanks a lot, Kornel!
Wolfgang


Re: Error in make of LyX version 2.3.0 under Linux-Mint

2018-09-12 Thread Kornel Benko
Am Mittwoch, 12. September 2018 19:00:31 CEST schrieb Wolfgang Engelmann 
:
> I am under Linux-Mint trying to install LyX version 2.3.0
> 
> ./configure
> configuring LyX version 2.3.0
> 
> was alright
> 
> make gives me this fatal error:
> 
> GuiApplication.cpp:122:23: fatal error: X11/Xatom.h: No such file or 
> directory
> compilation terminated.

X11/Xatom.h is part of the X11 devel package:
"x11proto-core-dev"
Please install this first.
Looks, like you would have to install some more packages too.

I would try to install 'apt-file' too. Once apt-file is configured (with: 
"apt-file update"),
it is easy to find a package for any eventually missing file.

In this case, I did:
# apt-file find X11/Xatom.h
emscripten: /usr/share/emscripten/system/include/X11/Xatom.h
x11proto-core-dev: /usr/include/X11/Xatom.h

> Makefile:1004: recipe for target 'GuiApplication.o' failed
> make[6]: *** [GuiApplication.o] Error 1
> make[6]: Leaving directory '/mnt/sdb/we/lyx-2.3.0/src/frontends/qt4'
> Makefile:848: recipe for target 'all' failed
> make[5]: *** [all] Error 2
> make[5]: Leaving directory '/mnt/sdb/we/lyx-2.3.0/src/frontends/qt4'
> Makefile:778: recipe for target 'all-recursive' failed
> 
> Do I need to install something else before running make?
> 
> Thanks for a pointer,
> 
> Wolfgang
> 
Kornel



signature.asc
Description: This is a digitally signed message part.


Re: error with classicthesis.sty

2018-03-31 Thread Scott Kostyshak
On Sat, Mar 31, 2018 at 11:07:34AM +, Anthony wrote:
> I have installed the classicthesis.sty using MiKTeX.
> 
> I have also installed the layout file that accompanies the .sty file
> 
> When I run my LyX code, using a template that also comes with the 
> classithesis package, the following error pops up:
> 
> LaTeX error: file ../classicthesis.sty not found.
> 
> The .sty file is located in MiKTeX 2.9\tex\latex\classicthesis

This message was cross-posted here:
https://tex.stackexchange.com/questions/424127/lyx-error-classicthesis-sty-not-found
Anthony, please read the following:
https://latex.org/home/latex-community/94-etiquette/454-crossposts

Best,

Scott


signature.asc
Description: PGP signature


Re: error with classicthesis.sty

2018-03-31 Thread Paul A. Rubin

On 03/31/2018 12:30 PM, Richard Kimberly Heck wrote:

On 03/31/2018 07:07 AM, Anthony wrote:


I have installed the classicthesis.sty using MiKTeX.

I have also installed the layout file that accompanies the .sty file

When I run my LyX code, using a template that also comes with the 
classithesis package, the following error pops up:


LaTeX error: file ../classicthesis.sty not found.

The .sty file is located in MiKTeX 2.9\tex\latex\classicthesis



How did you install it? In Linux, if I install such a file manually, 
then I have to
run a program called 'texhash' to regenerate the TeX database that is 
used to find
such files. Otherwise, TeX does not know I've installed it. It may be 
that you have

to do something similar in MikTeX.

Riki

If the package is installed via the MiKTeX package manager, texhash is 
run automagically.


The error message is curious (to me) in that indicates a relative path 
(`../classicthesis.sty'). Was this the result of opening the 
classicthesis-book.lyx example file? That file contains the following 
preamble gem:

\usepackage[linedheaders=true,
    parts=true]{../classicthesis}% ,manychapters
The zip archive of the classic thesis package does contain a copy of 
classicthesis.sty, in the parent folder of the examples folder, but when 
LyX is compiling it in a temp directory I'm pretty sure the path will be 
misinterpreted. Getting rid of "../" in the preamble should fix it, if 
I'm right.


Paul



Re: error with classicthesis.sty

2018-03-31 Thread Richard Kimberly Heck
On 03/31/2018 07:07 AM, Anthony wrote:
>
> I have installed the classicthesis.sty using MiKTeX.
>
>  
>
> I have also installed the layout file that accompanies the .sty file
>
>  
>
> When I run my LyX code, using a template that also comes with the
> classithesis package, the following error pops up:
>
>  
>
> LaTeX error: file ../classicthesis.sty not found.
>
>  
>
> The .sty file is located in MiKTeX 2.9\tex\latex\classicthesis
>

How did you install it? In Linux, if I install such a file manually,
then I have to
run a program called 'texhash' to regenerate the TeX database that is
used to find
such files. Otherwise, TeX does not know I've installed it. It may be
that you have
to do something similar in MikTeX.

Riki



Re: Error when compiling

2018-03-13 Thread Paul A. Rubin

On 03/13/2018 06:23 AM, Anthony wrote:


I am trying to use maths inline mode inside a cell in the tabular 
environment.


It won’t compile.

If I use the simple ctrl-M and type each line of maths separately then 
I can compile the Lyx File.


I have attached my Lyx file and the error log.

Any thoughts?

Many thanks,

Anthony

Sent from Mail  for 
Windows 10


This is a LaTeX issue. There's a workaround, but it's a bit clunky. You 
can insert a parbox in the table, then insert the math in the parbox. 
That's easy enough, but then you have to set the width of the parbox 
manually and fiddle endlessly with the vertical alignment of both the 
parbox and the cell to the right of it to get things to line up 
pleasingly. See the modified version attached here.


Paul



testmathinlinetable.lyx
Description: application/lyx


Re: error latex

2017-10-13 Thread Jürgen Spitzmüller
Am Freitag, den 13.10.2017, 16:45 +0200 schrieb Patrick Dupre:
> Hello,
> 
> When I compile the file below, I get the following error message:
> Any idea?
> 
> Style option: `fancybox' v1.4 <2010/05/15> (tvz)
> ) (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-
> pdftex.def)
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
> (/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
> (/usr/share/texlive/texmf-
> dist/tex/latex/draftwatermark/draftwatermark.sty
> (/usr/share/texlive/texmf-dist/tex/latex/everypage/everypage.sty))
> ! You can't use `\spacefactor' in vertical mode.
> \@->\spacefactor 
>  \@m {}
> l.80 \@
>ifundefined{showcaptionsetup}{}{%
> ? ^C! Interruption.
>  
>\@m 
> l.80 \@
>ifundefined{showcaptionsetup}{}{%

Add
  \makeatletter
before
  \@ifundefined{showcaptionsetup}{}{%

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: error latex

2017-10-13 Thread Patrick Dupre
OK,

I removed the command line:
 \makeatother

And it is now OK

Sorry for the disturbance.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


> Sent: Friday, October 13, 2017 at 5:06 PM
> From: "Patrick Dupre" <pdu...@gmx.com>
> To: "Patrick Dupre" <pdu...@gmx.com>
> Cc: lyx <lyx-users@lists.lyx.org>
> Subject: Re: error latex
>
> Hello,
> 
> I am attaching the file which gives me problems.
> 
> Thank for your help.
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
> 
> 
> > Sent: Friday, October 13, 2017 at 4:45 PM
> > From: "Patrick Dupre" <pdu...@gmx.com>
> > To: lyx <lyx-users@lists.lyx.org>
> > Subject: error latex
> >
> > Hello,
> > 
> > When I compile the file below, I get the following error message:
> > Any idea?
> > 
> > Style option: `fancybox' v1.4 <2010/05/15> (tvz)
> > ) (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-pdftex.def)
> > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
> > (/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty)
> > (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
> > (/usr/share/texlive/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
> > (/usr/share/texlive/texmf-dist/tex/latex/everypage/everypage.sty))
> > ! You can't use `\spacefactor' in vertical mode.
> > \@->\spacefactor 
> >  \@m {}
> > l.80 \@
> >ifundefined{showcaptionsetup}{}{%
> > ? ^C! Interruption.
> >  
> >\@m 
> > l.80 \@
> >ifundefined{showcaptionsetup}{}{%
> > 
> > ++
> > 
> > 
> > %% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
> > %% Do not edit unless you really know what you are doing.
> > \documentclass[10pt,french,american,aps,showpacs,showkeyword,showkey]{revtex4-1}
> > \usepackage{fourier}
> > \usepackage[T1]{fontenc}
> > \usepackage[latin9]{inputenc}
> > \usepackage[a4paper]{geometry}
> > \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
> > \pagestyle{plain}
> > \setcounter{tocdepth}{2}
> > \usepackage{babel}
> > \makeatletter
> > \addto\extrasfrench{%
> >\providecommand{\og}{\leavevmode\flqq~}%
> >\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
> > }
> > 
> > \makeatother
> > \usepackage{array}
> > \usepackage{rotfloat}
> > \usepackage{mathtools}
> > \usepackage{bm}
> > \usepackage{multirow}
> > \usepackage{amsmath}
> > \usepackage{amssymb}
> > \usepackage{graphicx}
> > \usepackage[unicode=true,
> >  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
> >  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
> >  {hyperref}
> > \hypersetup{pdftitle={Dipole Saturated Absorption Modeling in Frequency 
> > Modulation: Dealing with a Gaussian beam},
> >  pdfauthor={Patrick Dupr�},
> >  pdfsubject={Doppler-free linewidth Modeling in FMS},
> >  pdfkeywords={Saturated Absorption, Lamb-dip, Gaussian beam, transit-time 
> > broadening, acetylene, collision rate, FMS, modeling}}
> > \usepackage{breakurl}
> > 
> > \makeatletter
> > 
> > %% LyX specific LaTeX commands.
> > %% Because html converters don't know tabularnewline
> > \providecommand{\tabularnewline}{\\}
> > %% A simple dot to overcome graphicx limitations
> > \newcommand{\lyxdot}{.}
> > 
> > 
> > \@ifundefined{date}{}{\date{}}
> > %% User specified LaTeX commands.
> > %\journal{Journal of Q

Re: error latex

2017-10-13 Thread Patrick Dupre
Hello,

I am attaching the file which gives me problems.

Thank for your help.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


> Sent: Friday, October 13, 2017 at 4:45 PM
> From: "Patrick Dupre" 
> To: lyx 
> Subject: error latex
>
> Hello,
> 
> When I compile the file below, I get the following error message:
> Any idea?
> 
> Style option: `fancybox' v1.4 <2010/05/15> (tvz)
> ) (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-pdftex.def)
> (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
> (/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty)
> (/usr/share/texlive/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
> (/usr/share/texlive/texmf-dist/tex/latex/everypage/everypage.sty))
> ! You can't use `\spacefactor' in vertical mode.
> \@->\spacefactor 
>  \@m {}
> l.80 \@
>ifundefined{showcaptionsetup}{}{%
> ? ^C! Interruption.
>  
>\@m 
> l.80 \@
>ifundefined{showcaptionsetup}{}{%
> 
> ++
> 
> 
> %% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
> %% Do not edit unless you really know what you are doing.
> \documentclass[10pt,french,american,aps,showpacs,showkeyword,showkey]{revtex4-1}
> \usepackage{fourier}
> \usepackage[T1]{fontenc}
> \usepackage[latin9]{inputenc}
> \usepackage[a4paper]{geometry}
> \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
> \pagestyle{plain}
> \setcounter{tocdepth}{2}
> \usepackage{babel}
> \makeatletter
> \addto\extrasfrench{%
>\providecommand{\og}{\leavevmode\flqq~}%
>\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
> }
> 
> \makeatother
> \usepackage{array}
> \usepackage{rotfloat}
> \usepackage{mathtools}
> \usepackage{bm}
> \usepackage{multirow}
> \usepackage{amsmath}
> \usepackage{amssymb}
> \usepackage{graphicx}
> \usepackage[unicode=true,
>  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
>  {hyperref}
> \hypersetup{pdftitle={Dipole Saturated Absorption Modeling in Frequency 
> Modulation: Dealing with a Gaussian beam},
>  pdfauthor={Patrick Dupr�},
>  pdfsubject={Doppler-free linewidth Modeling in FMS},
>  pdfkeywords={Saturated Absorption, Lamb-dip, Gaussian beam, transit-time 
> broadening, acetylene, collision rate, FMS, modeling}}
> \usepackage{breakurl}
> 
> \makeatletter
> 
> %% LyX specific LaTeX commands.
> %% Because html converters don't know tabularnewline
> \providecommand{\tabularnewline}{\\}
> %% A simple dot to overcome graphicx limitations
> \newcommand{\lyxdot}{.}
> 
> 
> \@ifundefined{date}{}{\date{}}
> %% User specified LaTeX commands.
> %\journal{Journal of Quantitative Spectroscopy and Radiative Transfer}
> \usepackage{upgreek} % PB with Beamer
> \usepackage{color,fancybox}
> %\usepackage{breakurl}
> \usepackage{microtype} % For line too long
> \usepackage{appendix}
> 
> % Because revtex does not like \doublespace
> \makeatletter
> \gdef\@ptsize{0}% 10pt documents
> % or:
> %\gdef\@ptsize{1}% 11pt documents
> %\gdef\@ptsize{2}% 12pt documents
> \let\@currsize\normalsize
> \makeatother
> \usepackage{setspace}
> \doublespace
> 
> 
> % Remove \usepackage{mathrsfs} to use these Declaration
> \DeclareMathAlphabet{\mathscr}{FMS}{futm}{m}{n}%
> \DeclareMathAlphabet{\mathcal}{OMS}{cmr}{m}{n}%
> 
> %\fancyput(1.in,-7in){\Huge\bfseries\rotatebox{45}{\textcolor{yellow}{Version 
> 7 Accepted in JQSRT}}}
> \usepackage{draftwatermark}
> \SetWatermarkAngle{45.0}
> \SetWatermarkColor{yellow}
> %\SetWatermarkLightness{ 0.5 }
> %\SetWatermarkFontSize{ length }
> \SetWatermarkScale{0.35}
> \SetWatermarkText{Version 0}
> 
> \@ifundefined{showcaptionsetup}{}{%
>  \PassOptionsToPackage{caption=false}{subfig}}
> \usepackage{subfig}
> \AtBeginDocument{
>   \def\labelitemii{\(\ast\)}
> }
> 
> \makeatother
> 
> \begin{document}
> 
> \end{document}
> 
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, 

Re: Error File '/var/folders/lw/lwhvvr995qd496m04pr11sp80000gn/T/lyx_tmpdir.zuVLBxb13258/lyx_tmpbuf0/Diss121.tex' was not closed properly.

2017-08-27 Thread Steve Litt
On Sun, 27 Aug 2017 13:15:41 +0200
Mark Hempelmann  wrote:

> Dear Lyx-Wizards,
> 
> I researched on above error and the closest I got was the discussion
> between Wolfgang and Jürgen in 2010. However, my text compiled fine
> with Lyx 2.1.5, now with the 2.2.3 update I get above error. I’m
> using German characters, don’t know where to find the encoding,
> though, I thought it was Latin1 or UTF8.
> 
> I’m completely lost as where to start looking at, I cannot remove all
> my „Umlaute“ or the like. I’m using bibdesk for literature. Here is
> my preamble:
> 
> 
> \usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex}
> \usepackage{amsmath}
> \usepackage{amssymb}  % für mathbb
> \usepackage{marginnote}   % Randnotizen
> \usepackage{ragged2e}
> \usepackage{blindtext} % Lorem ipsum
> \usepackage{lipsum}
> 
> \addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib}
> 
> \setlength{\marginparwidth}{2,5cm}% setze Randnotizbreite
> \renewcommand*{\marginfont}{\footnotesize \bfseries}
> \let\marginpar\marginnote % \marginpar ist jetzt identisch mit
> \marginnote
> 
> \usepackage{xcolor}
> \usepackage[framemethod=tikz]{mdframed}   % für Absatzboxen
> aller Art \usepackage{longtable, array}
> 
> Please help me along, it worked with my old Lyx!
> 
> Thank you very much
> mark

I predict you'll fix this problem in 90 minutes.

The first thing you do when reporting a problem with a LyX document is
to submit a "minimal working example" of the malfunction. In other
words, the smallest possible LyX file that displays the symptom.

The way you do that is first, archive your current file, because that's
where you'll begin after solving the problem.

Next, copy your doc to a junk file, cut that junk file in half, and see
if it displays the symptom. If not, try it with just the half you cut
out. Anyway, keep on removing approximately half the text (and also
half the stuff in the document's properties and layout file, if it has
one. You can probably get things down to a 1 paragraph document that's
less than 1K of LyX file, in which you can toggle the symptom by
deleting some of it. By that point the cause will be pretty obvious.

Once you can toggle it on and off, either you can fix it quickly, or
you can send your 1K LyX file to the mailing list and soon get an
answer. I always try to fix it myself first.

Best of luck.

SteveT


Possible Bibliography Error [was Re: Error File '...lyx_tmpbuf0/Diss121.tex' was not closed properly.]

2017-08-27 Thread Richard Heck
On 08/27/2017 07:15 AM, Mark Hempelmann wrote:
> Dear Lyx-Wizards,
>
> I researched on above error and the closest I got was the discussion between 
> Wolfgang and Jürgen in 2010. However, my text compiled fine with Lyx 2.1.5, 
> now with the 2.2.3 update I get above error. I’m using German characters, 
> don’t know where to find the encoding, though, I thought it was Latin1 or 
> UTF8.
>
> I’m completely lost as where to start looking at, I cannot remove all my 
> „Umlaute“ or the like. I’m using bibdesk for literature. Here is my preamble:
>
>
> \usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex}
> \usepackage{amsmath}
> \usepackage{amssymb}  % für mathbb
> \usepackage{marginnote}   % Randnotizen
> \usepackage{ragged2e}
> \usepackage{blindtext} % Lorem ipsum
> \usepackage{lipsum}
>
> \addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib}
>
> \setlength{\marginparwidth}{2,5cm}% setze Randnotizbreite
> \renewcommand*{\marginfont}{\footnotesize \bfseries}
> \let\marginpar\marginnote % \marginpar ist jetzt identisch mit \marginnote
>
> \usepackage{xcolor}
> \usepackage[framemethod=tikz]{mdframed}   % für Absatzboxen aller Art
> \usepackage{longtable, array}
>
> Please help me along, it worked with my old Lyx!

Is this an error you are getting with all files, or just with one? Have
you looked at Tools> LaTeX Log to see what errors you might have gotten?
Another thing you can do is export the file to LaTeX and then run
pdflatex, etc, manually on it.

The error message you are seeing is likely misleading. There was a
change between 2.1.x and 2.2.x in how certain bibliography errors are
handled in LyX. They were previously (and wrongly) ignored. It may well
be that you are getting such errors now, and they are the actual
problem. But I can't remember the details. I'm changing the subject
header in the hopes of attracting such attention.

Richard



Re: Error reading module basic

2017-06-04 Thread Jürgen Spitzmüller
Am Freitag, den 02.06.2017, 09:33 -0400 schrieb Paul A. Rubin:
> On 06/02/2017 05:40 AM, Louis Turk wrote:
> > Hi everyone,
> > 
> > I'm a long-time user of Lyx. It is a great piece of software. Many
> > thanks to the developers.
> > 
> > I just installed Lyx 2.2.2 and an error message is popping up:
> > "Error
> > reading module basic"
> > 
> > I find this file on my harddrive:
> > /usr/share/lyx/layouts/basic.module
> > 
> > So, I did:
> > 
> > sudo cp /usr/share/lyx/layouts/basic.module
> > /home/l/lyx/lyx-devel/lib/layouts/basic.module
> > 
> > to see it that would help.  I then ran Reconfigure, and restarted
> > Lyx.
> > But it did not help: the error still pops up every few minutes.
> > 
> > Is there a solution?
> > 
> > Louis
> > 
> 
> First question: does this happen only when you work with a document
> in 
> which the basic module is selected (in Documents > Settings... > 
> Modules), or does it happen with all documents?

Note that basic.module is not one you can select via the Modules pane.
It is loaded if you have "Default (numerical)" set in Documents >
Settings > Bibliography > Citation Style. So it's not really a module
in the proper sense.

Louis, did you install LyX 2.3alpha intermediately? It could be a mix
of settings from LyX 2.2 and LyX 2.3 (where basic.module has been
dropped in favor of a cite engine).

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Error reading module basic

2017-06-02 Thread Paul A. Rubin

On 06/02/2017 05:40 AM, Louis Turk wrote:

Hi everyone,

I'm a long-time user of Lyx. It is a great piece of software. Many
thanks to the developers.

I just installed Lyx 2.2.2 and an error message is popping up: "Error
reading module basic"

I find this file on my harddrive: /usr/share/lyx/layouts/basic.module

So, I did:

sudo cp /usr/share/lyx/layouts/basic.module
/home/l/lyx/lyx-devel/lib/layouts/basic.module

to see it that would help.  I then ran Reconfigure, and restarted Lyx.
But it did not help: the error still pops up every few minutes.

Is there a solution?

Louis

First question: does this happen only when you work with a document in 
which the basic module is selected (in Documents > Settings... > 
Modules), or does it happen with all documents?


Second question: Is read permission set on the basic.module file in 
/usr/share/lyx/layouts? I would think so, else the copy should have 
failed, but better safe than sorry.


If both answers are yes, my suggestion would be to delete the copy you 
made in your home directory and then install a fresh copy of the module 
file in /usr/share/lyx/layouts. I'm attaching the one from my system, 
but be warned that I'm on 2.2.3, so you might want to check the Format 
field in your existing copy of the module and make sure it's the same 
(60) as in mine. Otherwise, I suppose you could download the source for 
2.2.2 from the LyX server and then extract just the basic.module file.


If that doesn't fix it, let us know and we can try digging deeper.

Paul

# \DeclareLyXModule{Default (basic)}
# DescriptionBegin
#   Use the basic citation capabilities provided by plain LaTeX.
# DescriptionEnd
# Excludes: jurabib | natbib
# Category: Citation engine

# Author: Julien Rioux 

Format 60

CiteEngineType default
DefaultBiblio  plain

CiteEngine default
cite[]
nocite
End

CiteFormat default
# translatable bits
_notcited not cited
_addtobib Add to bibliography only.

# macros
!open [
!sep ,
!close ]

!startlink {!!}
!endlink {!!}

!cite 
%!startlink%{%label%[[%label%]][[{%numericallabel%[[%numericallabel%]][[#%key%]]}]]}%!endlink%%!nextcite%

!nextcite {%next%[[%!sep% %!cite%]]}
!nexthashkey {%next%[[%!sep% #%key%%!nexthashkey%]]}
!nextkey {%next%[[%!sep% %key%%!nextkey%]]}

!textafter {%textafter%[[, %textafter%]]}

# cite styles
cite %!open%{%dialog%[[#ID]][[%!cite%]]}%!textafter%%!close%
nocite {%dialog%[[%_addtobib%]][[%key%%!nextkey% (%_notcited%)]]}
End


Re: Error message when trying to compile a document

2016-09-27 Thread Dr Eberhard Lisse
Can you create a minimal working example?

The smallest document, with the least packages which gives this error?

el


On 2016-09-26 17:26, Harold Mouras wrote:
> Dear LyX users,
> 
> I am writing a LyX document. However, when trying to compile it, I
> have the following error message in french:
> "Le chemin d'acc=C3=A8s =C3=A0 votre document
> 
> (/Users/UPJV/Google Drive/Carrie=CC=80re/2016/Postes/UoMichigan/)
> 
> contient des caract=C3=A8res inconnus
> 
> de l'encodage en cours (i. e. =CC=80).
> 
> I do not understand very goofd because there are no such forbidden
> letters in the path to my documents.
> 
> Would someone have any idea ?
> Thank you very much in advance,
> Regards,
> Harold
> 




Re: Error message when trying to compile a document

2016-09-26 Thread Paul A. Rubin

On 09/26/2016 11:26 AM, Harold Mouras wrote:

Dear LyX users,

I am writing a LyX document. However, when trying to compile it, I
have the following error message in french:
"Le chemin d'acc=C3=A8s =C3=A0 votre document

(/Users/UPJV/Google Drive/Carrie=CC=80re/2016/Postes/UoMichigan/)

contient des caract=C3=A8res inconnus

de l'encodage en cours (i. e. =CC=80).

I do not understand very goofd because there are no such forbidden
letters in the path to my documents.

Would someone have any idea ?
Thank you very much in advance,
Regards,
Harold
Mandatory wisecrack: All mentions of the University of Michigan are 
strictly forbidden.


Somewhat more seriously: it looks as if there may be non-ASCII 
characters in the portion of the URL between "Google Drive" and "2016". 
If so, you might want to create a shortcut to the target directory with 
some simple, strictly ASCII name. How to do this depends on your 
operating system.


Paul


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-06 Thread Jürgen Spitzmüller
Am Dienstag, den 05.07.2016, 13:14 + schrieb JürgenSpitzmüller:
> FWIW I have a patch for covington.sty ready which fixes the issue
> properly, 
> and I have contacted the former maintainers of the package, proposing
> to take 
> over maintainership.

I have just submitted a new version of covington to CTAN which fixes
this and some other issues.

Jürgen


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-05 Thread Jürgen Spitzmüller
2016-07-05 15:14 GMT+02:00 JürgenSpitzmüller:

> Scott Kostyshak  lyx.org> writes:
> FWIW I have a patch for covington.sty ready which fixes the issue properly,
> and I have contacted the former maintainers of the package, proposing to
> take
> over maintainership.
>

Patch is attached, for the record.

Jürgen
--- /usr/local/texlive/2016/texmf-dist/tex/latex/covington/covington.sty
+++ /home/juergen/texmf/tex/latex/testen/covington.sty
@@ -13,9 +13,13 @@
 %%
 %% Robin Fairbairns: patched setting of \textfloatsep to use
 %% \setlength rather than \renewcommand; also converted to un*x line endings
+%%
+%% Juergen Spitzmueller: patch to use NFSS font commands instead of deprecated
+%% LaTeX 2.09 commands if NFSS is available
 
 \typeout{* covington.sty : Covington's linguistic macros, 2001 March 27 *}
 %% patched 2014-05-16 (r...@cl.cam.ac.uk)
+%% patched 2016-07-05 (juer...@spitzmueller.org)
 
 %%%
 %%% Preferences about how text is laid out
@@ -222,9 +226,18 @@
 \glossglue = 5pt plus 2pt minus 1pt % allow stretch/shrink between words
 \newif\ifnotdone
 
-\let\eachwordone=\it
-\let\eachwordtwo=\rm
-\let\eachwordthree=\rm
+% Add semantic markup (with latex 2.09 backwards support)
+\@ifundefined{selectfont}{%
+  \def\cov@emphasized{\it}%
+  \def\cov@normalfont{\rm}%
+}{%
+  \def\cov@emphasized{\normalfont\itshape}%
+  \def\cov@normalfont{\normalfont\rmfamily}%
+}
+
+\let\eachwordone=\cov@emphasized
+\let\eachwordtwo=\cov@normalfont
+\let\eachwordthree=\cov@normalfont
 
 \def\lastword#1#2#3% #1 = \each, #2 = line box, #3 = word box
{\setbox#2=\vbox{\unvbox#2%
@@ -311,7 +324,7 @@
 
 % \psr To print S -> NP VP, use: \psr{S}{NP~VP}
 
-\newcommand{\psr}[2]{\mbox{\it #1 $\rightarrow$ #2}}
+\newcommand{\psr}[2]{\mbox{\cov@emphasized #1 $\rightarrow$ #2}}
 
 
 %%%
@@ -331,7 +344,7 @@
 {
 \mbox{\small 
   $
-  \it 
+  \cov@emphasized 
   \left[
   \!\!
   \begin{array}{l}
@@ -346,14 +359,14 @@
 \newcommand{\lfs}[2]
{
  \mbox{$
-   \it
+   \cov@emphasized
\!\!
\begin{array}[t]{c}
#1
\\
\mbox{\small%
  $
- \it
+ \cov@emphasized
  \left[
  \!\!
  \begin{array}{l}
@@ -411,7 +424,7 @@
 \newcommand{\drs}[2]
 {
 {
-\it
+\cov@emphasized
 \begin{tabular}{|l|}
 \hline
 ~ \vspace{-2ex} \\
@@ -430,7 +443,7 @@
 
 \newcommand{\sdrs}[3]
 {\begin{tabular}{l}
-\mbox{\it #1} \\
+\mbox{\cov@emphasized #1} \\
 ~ \\
 \drs{#2}{#3}
 \end{tabular}}
@@ -496,7 +509,7 @@
 % defined.  Permits using uga.sty with covingtn.sty.
 
 \newcommand{\sentence}[1]
- {\begin{flushleft}{\it #1}\end{flushleft}}
+ {\begin{flushleft}{\cov@emphasized #1}\end{flushleft}}
 
 \newcommand{\either}[2]
 {



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-05 Thread JürgenSpitzmüller
Scott Kostyshak  lyx.org> writes:
> Great, thanks for helping out with this. I think that many users will
> run into this issue so hopefully they can fix it.

FWIW I have a patch for covington.sty ready which fixes the issue properly, 
and I have contacted the former maintainers of the package, proposing to take 
over maintainership.

Jürgen
 
> Scott
> 




Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-01 Thread Scott Kostyshak
On Fri, Jul 01, 2016 at 08:12:17AM +0200, Michael Berger wrote:
> 
> 
> On 07/01/2016 02:03 AM, Scott Kostyshak wrote:
> > On Thu, Jun 30, 2016 at 09:40:45AM -0400, Richard Heck wrote:
> > > On 06/30/2016 04:14 AM, Michael Berger wrote:
> > > > Should I go on with that workaround (because this one too is an already
> > > > deprecated class option) or is there anything else to be done?
> > > It'd be worth reporting the error. It looks from here:
> > > https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
> > > as if the original author isn't "active" any longer. The latest patch was
> > > from Robin Fairbairns. You could try emailing him. Another option would be
> > > to post a message at the comp.text.tex news group. I've found people 
> > > really
> > > helpful.
> > +1, and please keep us updated on the situation.
> > 
> > Scott
> Hi Scott, sure I will. Just now I subscribed to the "tex.live" mailing list.
> Michael

Great, thanks for helping out with this. I think that many users will
run into this issue so hopefully they can fix it.

Scott


signature.asc
Description: PGP signature


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-07-01 Thread Michael Berger



On 07/01/2016 02:03 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:40:45AM -0400, Richard Heck wrote:

On 06/30/2016 04:14 AM, Michael Berger wrote:

Should I go on with that workaround (because this one too is an already
deprecated class option) or is there anything else to be done?

It'd be worth reporting the error. It looks from here:
https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
as if the original author isn't "active" any longer. The latest patch was
from Robin Fairbairns. You could try emailing him. Another option would be
to post a message at the comp.text.tex news group. I've found people really
helpful.

+1, and please keep us updated on the situation.

Scott

Hi Scott, sure I will. Just now I subscribed to the "tex.live" mailing list.
Michael


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Scott Kostyshak
On Thu, Jun 30, 2016 at 09:40:45AM -0400, Richard Heck wrote:
> On 06/30/2016 04:14 AM, Michael Berger wrote:

> > Should I go on with that workaround (because this one too is an already
> > deprecated class option) or is there anything else to be done?
> 
> It'd be worth reporting the error. It looks from here:
> https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
> as if the original author isn't "active" any longer. The latest patch was
> from Robin Fairbairns. You could try emailing him. Another option would be
> to post a message at the comp.text.tex news group. I've found people really
> helpful.

+1, and please keep us updated on the situation.

Scott


signature.asc
Description: PGP signature


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Richard Heck

On 06/30/2016 04:14 AM, Michael Berger wrote:



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and 
got

even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an 
already deprecated class option) or is there anything else to be done?


It'd be worth reporting the error. It looks from here:
https://www.ctan.org/tex-archive/macros/latex/contrib/covington?lang=en
as if the original author isn't "active" any longer. The latest patch 
was from Robin Fairbairns. You could try emailing him. Another option 
would be to post a message at the comp.text.tex news group. I've found 
people really helpful.


Richard



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Michael Berger



On 06/30/2016 10:14 AM, Michael Berger wrote:



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and 
got

even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an 
already deprecated class option) or is there anything else to be done?


Thanks for saving my day!
Cheers!



Scott, it now works for all the other documents as well.
However, this is not what one should use in the long run because 
'enabledeprecatedfontcommands' itself is already deprecated and should 
not be used.

This is made clear by the many warnings in the log file.

Cheers,
Michael



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Michael Berger



On 06/30/2016 09:36 AM, Scott Kostyshak wrote:

On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:


Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and got
even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott

Scott,
I did as you said: Bingo!

Should I go on with that workaround (because this one too is an already 
deprecated class option) or is there anything else to be done?


Thanks for saving my day!
Cheers!



Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Scott Kostyshak
On Thu, Jun 30, 2016 at 09:20:27AM +0200, Michael Berger wrote:

> Hi Scott, Richard, thanks,
> of course, I did read the complete error message several times - and got
> even more confused.

OK. A good strategy is to read the error message and then at the very
first part you get confused (this could be the first word in some
cases), ask a specific question so that people can try to give you a
specific answer. Otherwise it is easy to get overwhelmed.

Can you please try the following:
in LyX in the example document you sent which gives an error, can you
go to Document > Settings and click on the text box in "Class Options"
next to "Custom". Then put in "enabledeprecatedfontcommands". Click
"OK", and try to compile. Does it work for you?

Scott


signature.asc
Description: PGP signature


Re: Error in covington.sty? [was Re: Class scrartcl Error...]

2016-06-30 Thread Michael Berger



On 06/30/2016 12:59 AM, Richard Heck wrote:

On 06/29/2016 06:14 PM, Scott Kostyshak wrote:

On Wed, Jun 29, 2016 at 02:23:43PM +0200, Michael Berger wrote:

Dear Lyx users,

texlive2016, GUI (manually installed as user)
Ly- some documents with glosses work in LyX as should while some 
generate that

error.

Comparing and changing the settings of working and not working 
documents

made no difference.

Thinking the reason was because they were produced with my older 
versions I

started a new document in LyX 2.2 and started writing glosses.
To my surprise I got the same error. See attached mini file.

The comment in the log file that comes along with the error doesn't 
tell me

anything.
Could somebody please explain / help to resolve this problem?

Thanks,
Michael



Hi Michael,

Thanks for sending a minimal example!

This is a case (I admit they are rare) where the error is extremely
informative. Did you read it? Is there any part of it that is confusing?

Here is the error when you compile your .lyx file. I post it here
so that if you have a question you can reference the exact part
that you have a question about:

 You should note that since 1994 LaTeX2e provides a new font
 selection scheme called NFSS2 with several new, combinable font...
When you contact the author of the LaTeX package that is at fault,
can you please link to that bug report or keep this thread updated
confirming that you sent the maintainer a bug report (and also
subsequently when they reply?).


So presumably this is some sort of error in the covington package, 
which seems to be the one we are loading.


Perhaps Jurgen knows something

Richard

Hi Scott, Richard, thanks,
of course, I did read the complete error message several times - and got 
even more confused.
As a layman I basically understand that one should not use outdated 
packages.


Help me, please, what else if not TL2016? It appears to me that what 
happened here is just the opposite: everything worked with TL2013 and 
now does NOT with TL2016?!


Furthermore: ALL my documents in question are basically identical and 
ALL have in common to using the module 'linguistic' which requires 
'covington.sty'. And the glosses in each are exactly the same by each 
single letter!
This being the case I tried different settings in the documents with 
that error - nothing changed.


So, I feel Richard may be dam...ed close to presume some sort of error 
in/with the covington package.

Please recall what I said:
- all documents *without* glosses work in LyX 2.2 and all export to PDF 
without problems
- some documents with glosses work in LyX as should while some generate 
that error.


Was Jürgen, as the one who added so many nice features to glosses and 
certainly  must have tried using them, not facing "my" error?
Actually it is Jürgen's features that are so very interesting for 
linguistic papers that encouraged me to go for the latest packages.
I very much hope that Jürgen who already helped me so many times will be 
able to help in this case too.


Scott, if it comes to contact the authors of the LaTeX package you must 
put me on the right track as I wouldn't know how to proceed with that.


Cheers!
Michael





Re: Error using bibtex in Lyx

2016-03-08 Thread Scott Kostyshak
On Fri, Mar 04, 2016 at 11:28:09AM +, Oktoviano Gandhi wrote:
> Hi, I'm new to Lyx and Latex and now would like to put citations into my Lyx
> document. So I tried inserting bibtex files(some samples from Lyx called
> 'test' 'xampl' and 'oberdiek-bundle' and also my own bibtex file generated
> from Mendeley) and I always get three errors when I want to save the file
> into pdf, which are:
> 
> Argument of \@sect has an extra }.
> 
> Paragraph ended before \@sect was complete.
> 
> Extra \else
> 
> As this does not even work with the test bibliography files from Lyx. I am
> assuming I am missing some important files in Lyx. But I tried Lyx on
> different computers (Windows 8 & Mac) and still got the same problem.
> 
> Any help on this will be much appreciated. Thanks!
> 
> Best regards,
> 
> Okto

Hi Okto,

In general when you have a LyX question it helps a lot if you can send a
minimal example. Please read here:
https://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


signature.asc
Description: PGP signature


Re: Error using bibtex in Lyx

2016-03-04 Thread PhilipPirrip

On 03/04/2016 06:28 AM, Oktoviano Gandhi wrote:
> 'oberdiek-bundle'


Can you check if the attached document compiles. I used oberdiek-bundle 
and it worked.




oktotest.lyx
Description: application/crossover-lyx


Re: Error with MikTeX

2016-01-19 Thread Marzi

Thank you very much. I had the same problem. 




Re: Re: error creating PDF

2016-01-12 Thread Jürgen Spitzmüller
2016-01-12 10:09 GMT+01:00 "Laura Schröder" :

> No, I didn't, I created a new document.
> And it was in the preamble, from the beginning.
>

This probably happened because you accidentally hit "Save as Document
Defaults" "Als Dokument-Voreinstellung speichern") in the document settings
dialog while the User Guide was open.

Do the following:

1. Go to your User Directory ("Benutzerverzeichnis"). About > LyX tells you
where this is.
2. Go to the subfolder "templates"
3. Remove the file "defaults.lyx"

Now check if the problem is still there.

Jürgen


Re: error creating PDF

2016-01-11 Thread Jürgen Spitzmüller
2016-01-10 19:45 GMT+01:00 Stephan Witt:

> the preamble of your document contains these lines
>
> %für deutsche Nomenlatur
> \renewcommand{\eqdeclaration}[1]{, siehe Gleichung\nobreakspace(#1)}
> \renewcommand{\pagedeclaration}[1]{, Seite\nobreakspace{}#1}
> \renewcommand{\nomname}{Nomenklatur}
>

This is from the German User Guide preamble. Laura, did you use the User
Guide ("Benutzerhandbuch") as a template for your document?

(Note to the documentation team: these preamble statements should be
enclosed into \ifpackageloaded conditions.)

Jürgen



>
> Stephan


Re: error creating pdf

2016-01-10 Thread Charlie
On Sun, 10 Jan 2016 09:57:23 +0100
"Laura Schröder"  wrote:

> Hello! I'm a very beginner in lyx. I started to write a document, and
> after some time, I wanted to get the PDF preview, but I got the error
> message: LaTex error: eqdistribution undefined LaTex error:
> pagedeclaration undefined LaTex error: nomname undefined
> (Changing the document class: I can get a HTML file, but anyway no
> PDF) I'm really not a programmer..I've no idea how to find out.
> Please, I need help

Help someone to help you Laura.

Are you using windows or a Linux operating system?

That information would help, and what version of lyx you're trying to
work with maybe?

Stay well,
Charlie

-- 
Registered Linux User:- 329524
***

It is the mark of an educated mind to be able to entertain a
thought without accepting it. .Aristotle

***

Debian GNU/Linux - Magic indeed.

-


RE: error creating pdf

2016-01-10 Thread Christopher Menzel
Sounds like a TeX installation problem. Have you installed MikTeX (Windows) or 
MacTeX (OS X)?
-chris
 Original message From: Laura Schröder 
 Date: 1/10/2016  2:57 AM  (GMT-06:00) To: 
lyx-users@lists.lyx.org Subject: error creating pdf 
Hello! I'm a very beginner in lyx. I started to write a document, and after 
some time, I wanted to get the PDF preview, but I got the error message: LaTex 
error: \eqdistribution undefined

    LaTex error: \pagedeclaration undefined

    LaTex error: \nomname undefined

(Changing the document class: I can get a HTML file, but anyway no PDF)

I'm really not a programmer..I've no idea how to find out.

Please, I need help

Re: error creating pdf

2016-01-10 Thread Charles de Miramon
Laura Schröder wrote:

> Hello! Im a very beginner in lyx. I started to write a
> document, and after some time, I wanted to get the PDF preview, but I got
> the error message: LaTex error: eqdistribution undefined
> 
> 

> LaTex error: pagedeclaration undefined
> 
> 

> LaTex error: nomname undefined
> 
> (Changing the document class: I can get a HTML file, but anyway no
> PDF)
> 
> Im really not a programmer..Ive no idea how to find
> out.
> 
> Please, I need help


You must have an incomplete LaTeX installation. You need to install some 
LaTeX packages like nomenclature.

You can find which LaTeX packages LyX can find on your computer with 

Tools -> LaTeX Information -> LaTeX Styles and then look if you can find 
nomencl.sty

Installing new latex packages depends on the system you are using (Windows, 
Mac or Linux)

Good luck. We were all beginners at some point. The learning curve is at the 
start a little steep but is worthwhile.

Charles



re: error creating pdf

2016-01-10 Thread Laura Schröder
Hello!

It is exactly the same error on Mac (Yosemite) and (I wanted to "test" it on my home computer after failing at work...) Windows (8).

And again after updating yesterday the Lyx on both PC, so in both cases the newest version.

And, before this error happened, I pasted some sentences out of a word document into my lyx file (but this worked before...), may this be the "reason"?

But it also failed in a test file, with just some simple words

Interestingly, I can get the handbook and all of these files as a pdf preview, but none of mine.

Thank you!

 


Re: error creating pdf

2016-01-10 Thread Jürgen Spitzmüller
Am Sonntag, den 10.01.2016, 18:11 +0100 schrieb 
> Hello!
> It is exactly the same error on Mac (Yosemite) and (I wanted to
> "test" it on my home computer after failing at work...) Windows (8).
> And again after updating yesterday the Lyx on both PC, so in both
> cases the newest version.
> And, before this error happened, I pasted some sentences out of a
> word document into my lyx file (but this worked before...), may this
> be the "reason"?
> But it also failed in a test file, with just some simple words
> Interestingly, I can get the handbook and all of these files as a pdf
> preview, but none of mine.

An LyX example file where this error occurs would be most helpful.

Some others seem to have run into the same problem, so it would be of
general interest to resolve it:
http://tex.stackexchange.com/questions/275298/undefined-error-using-lyx
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg89742.html

Thanks
Jürgen

> Thank you!
>  


re: error creating PDF

2016-01-10 Thread Laura Schröder
Hi Christopher!

Miktex on the Windows, Mactex on the Mac...

Thank you


Re: error creating PDF

2016-01-10 Thread Stephan Witt
> Am 10.01.2016 um 19:35 schrieb Laura Schröder :
> 
> Here is an  (nonsense-text) example, but any "new" file can't produce pdf.
> The nomencl.sty is there
> If some other people have this issue, may it be a bug?
> thank you all!
>  
> 

Hi Laura,

the preamble of your document contains these lines

%für deutsche Nomenlatur
\renewcommand{\eqdeclaration}[1]{, siehe Gleichung\nobreakspace(#1)}
\renewcommand{\pagedeclaration}[1]{, Seite\nobreakspace{}#1}
\renewcommand{\nomname}{Nomenklatur}

This is a problem if nomenclature package is not used and should be removed.
If you’ve saved this with „Als Dokument-Voreinstellung speichern“ then you 
should save another version without these lines.

Stephan

Re: error creating PDF

2016-01-10 Thread Laura Schröder
Here is an  (nonsense-text) example, but any "new" file can't produce pdf.

The nomencl.sty is there

If some other people have this issue, may it be a bug?

thank you all!

 

beispiel.lyx
Description: application/lyx


Re: error with Mathdesign

2015-09-02 Thread Scott Kostyshak
On Wed, Sep 2, 2015 at 4:50 PM, Patrick Dupre  wrote:
> Hello,
>
> When I compile this piece of lyx, I get an error message:
> !pdfTeX error: pdflatex (file texnansi.enc): cannot open encoding file for 
> read
> ing
>  ==> Fatal error occurred, no output PDF file produced!
>
> because utopia mathdesign
>
> Can somebody tell me why?

Might be something wrong with your installation. It compiles fine for
me on Ubuntu. Attached is the result.

Scott


test.pdf
Description: Adobe PDF document


Re: error in trying to archive a lyx file

2015-05-14 Thread Enrico Forestieri
Richard Heck rgheck at lyx.org writes:
 
 On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:
 
  is not a LyX document???
  This is strange, since normal export to pdf works. And I had this 
  error never before, although I worked with the file for quite some time.
  What is lyxpak.py doing?
 
 That is the script that makes archives. For some reason it is failing to 
 read your file.
 
  Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.

-- 
Enrico



Re: error in trying to archive a lyx file

2015-05-14 Thread Richard Heck

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
/usr/local/share/lyx/scripts/lyxpak.py 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt /usr/local/share/lyx/scripts/lyxpak.py
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing to 
read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard



Re: error in trying to archive a lyx file: solved

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 15:48 schrieb Enrico Forestieri:

Richard Heck rgheck at lyx.org writes:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

is not a LyX document???
This is strange, since normal export to pdf works. And I had this
error never before, although I worked with the file for quite some time.
What is lyxpak.py doing?

That is the script that makes archives. For some reason it is failing to
read your file.


Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.


Thanks, Enrico,
I did indeed -without intending it- save the file as compressed. 
Removing the tick solved the issue.

Wolfgang


Re: error in trying to archive a lyx file

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 14:49 schrieb Richard Heck:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
/usr/local/share/lyx/scripts/lyxpak.py 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt /usr/local/share/lyx/scripts/lyxpak.py
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing 
to read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard


Hi, Richard,
it is version 2.1.3
Wolfgang


Re: error in trying to archive a lyx file

2015-05-14 Thread Richard Heck

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
/usr/local/share/lyx/scripts/lyxpak.py 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt /usr/local/share/lyx/scripts/lyxpak.py
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing to 
read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard



Re: error in trying to archive a lyx file

2015-05-14 Thread Enrico Forestieri
Richard Heck rgheck at lyx.org writes:
 
 On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:
 
  is not a LyX document???
  This is strange, since normal export to pdf works. And I had this 
  error never before, although I worked with the file for quite some time.
  What is lyxpak.py doing?
 
 That is the script that makes archives. For some reason it is failing to 
 read your file.
 
  Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.

-- 
Enrico



Re: error in trying to archive a lyx file

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 14:49 schrieb Richard Heck:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
/usr/local/share/lyx/scripts/lyxpak.py 
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt /usr/local/share/lyx/scripts/lyxpak.py
/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing 
to read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard


Hi, Richard,
it is version 2.1.3
Wolfgang


Re: error in trying to archive a lyx file: solved

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 15:48 schrieb Enrico Forestieri:

Richard Heck rgheck at lyx.org writes:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

is not a LyX document???
This is strange, since normal export to pdf works. And I had this
error never before, although I worked with the file for quite some time.
What is lyxpak.py doing?

That is the script that makes archives. For some reason it is failing to
read your file.


Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.


Thanks, Enrico,
I did indeed -without intending it- save the file as compressed. 
Removing the tick solved the issue.

Wolfgang


Re: error in trying to archive a lyx file

2015-05-14 Thread Richard Heck

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
"/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx" 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
"/usr/local/share/lyx/scripts/lyxpak.py" 
"/home/we/Singularitaetspunkt-SP/"/"Singularpunkt-A4Format20150506mitBezeichnungen.lyx"' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt "/usr/local/share/lyx/scripts/lyxpak.py"
"/home/we/Singularitaetspunkt-SP/"/"Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing to 
read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard



Re: error in trying to archive a lyx file

2015-05-14 Thread Enrico Forestieri
Richard Heck  lyx.org> writes:
> 
> On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:
> >
> > is not a LyX document???
> > This is strange, since normal export to pdf works. And I had this 
> > error never before, although I worked with the file for quite some time.
> > What is lyxpak.py doing?
> 
> That is the script that makes archives. For some reason it is failing to 
> read your file.
> 
> > Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.

-- 
Enrico



Re: error in trying to archive a lyx file

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 14:49 schrieb Richard Heck:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

I got this error on the terminal:
SyncTeX written on 
Singularpunkt-A4Format20150506mitBezeichnungen.synctex.File 
"/home/we/Singularitaetspunkt-SP//Singularpunkt-A4Format20150506mitBezeichnungen.lyx" 
is not a LyX document.
Systemcall.cpp (292): Systemcall: 'python -tt 
"/usr/local/share/lyx/scripts/lyxpak.py" 
"/home/we/Singularitaetspunkt-SP/"/"Singularpunkt-A4Format20150506mitBezeichnungen.lyx"' 
finished with exit code 1

Error: Die Datei kann nicht konvertiert werden

Bei der Ausführung von
python -tt "/usr/local/share/lyx/scripts/lyxpak.py"
"/home/we/Singularitaetspunkt-SP/"/"Singularpunkt-A4Format20150506mitBezeich... 


ist ein Fehler aufgetreten

is not a LyX document???
This is strange, since normal export to pdf works. And I had this 
error never before, although I worked with the file for quite some time.

What is lyxpak.py doing?


That is the script that makes archives. For some reason it is failing 
to read your file.



Has anybody an idea what went wrong?


Which version of LyX?

Richard


Hi, Richard,
it is version 2.1.3
Wolfgang


Re: error in trying to archive a lyx file: solved

2015-05-14 Thread Wolfgang Engelmann



Am 14.05.2015 um 15:48 schrieb Enrico Forestieri:

Richard Heck  lyx.org> writes:

On 05/14/2015 08:00 AM, Wolfgang Engelmann wrote:

is not a LyX document???
This is strange, since normal export to pdf works. And I had this
error never before, although I worked with the file for quite some time.
What is lyxpak.py doing?

That is the script that makes archives. For some reason it is failing to
read your file.


Has anybody an idea what went wrong?

Most probably you saved the file in compressed format and the script
does not expect that.


Thanks, Enrico,
I did indeed -without intending it- save the file as compressed. 
Removing the tick solved the issue.

Wolfgang


Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez aprendtech at gmail.com writes:

 
 Is there a way to get Lyx to display an error message when it cannot 
 find a citation in a bibtex database or a cross-reference to a label in 
 the document?
 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex your lyx file name)

5. The lines immediately after that will contain the messages from bibtex
including the error messages.
In my example, they contained the message:
09:24:22.758: Warning--I didn't find a database entry for Anderson1986





Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez aprendtech at gmail.com writes:

 
 Is there a way to get Lyx to display an error message when it cannot 
 find a citation in a bibtex database or a cross-reference to a label in 
 the document?
 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex your lyx file name)

5. The lines immediately after that will contain the messages from bibtex
including the error messages.
In my example, they contained the message:
09:24:22.758: Warning--I didn't find a database entry for Anderson1986





Re: Error message with bad citation/reference

2015-05-02 Thread Bob Alvarez
Bob Alvarez  gmail.com> writes:

> 
> Is there a way to get Lyx to display an error message when it cannot 
> find a citation in a bibtex database or a cross-reference to a label in 
> the document?
> 

Here is the way to do it:
1. In Lyx (my version is 2.1.3 on Windows 7), select View|Messages Pane

2. make a small change in your file so the document will be re-processed

3. Click on View (the two eyes icon) or ctrl-R
You will see many messages appear.

4. Scroll down to the line containing 
bibtex 

Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Paul A. Rubin rubin at msu.edu writes:

 
 First, does this happen only with this document, with other documents that
 contain TiKZ/PGF code (but not necessarily plots), or with all docs?

The error happened only with this document. 

 
 Second, after you get the message, check the tail end of Document  LaTeX
 Log in LyX and see if you can spot an error message or anything else that
 might help pin down the culprit.

It seems that my MikTeX was not installed properly. I reinstalled that and LyX
again and it all seems to be working okay again. I managed to get the TiKZ/PDF 
code to work okay.

Thanks
Ian. 





Re: ERROR: the command pdflatex newfile1.tex has not yet completed

2015-02-27 Thread Paul A . Rubin
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:


 By the way, I am very interested in using tikz, since the
 code is included in the LyX files. Could you suggest an easy
 tutorial for it?

Wolfgang,

The TiKZ and PGF Manual, which is bundled with the pgf packages, is
exceptionally well-written and contains several tutorials near the front. On
my system (TeXLive), I found it at /usr/share/doc/texmf/pgf/pgfmanual.pdf.gz.

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Paul A . Rubin
Ian iank131 at gmail.com writes:


 So, I guess I need to reinstall my LyX. 
 Does anyone else have any suggestion before I do so?

First, does this happen only with this document, with other documents that
contain TiKZ/PGF code (but not necessarily plots), or with all docs?

Second, after you get the message, check the tail end of Document  LaTeX
Log in LyX and see if you can spot an error message or anything else that
might help pin down the culprit.

FWIW, I had no problem with your document (TeXLive/LyX 2.1.3/Linux Mint).

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Hi Wolfgang

 I used your example and it works fine here (Kubuntu, LyX Version
 2.1.3). 

So, I guess I need to reinstall my LyX. 
Does anyone else have any suggestion before I do so?


 By the way, I am very interested in using tikz, since the
 code is included in the LyX files. Could you suggest an easy
 tutorial for it?
 Wolfgang
 p, li { white-space: pre-wrap; }
 

I got the code here:
http://chelseas-roost.co.uk/resources/lyx/PlottingGraphsInLyX.pdf


Ian.




Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Hi Wolfgang

 I used your example and it works fine here (Kubuntu, LyX Version
 2.1.3). 

So, I guess I need to reinstall my LyX. 
Does anyone else have any suggestion before I do so?


 By the way, I am very interested in using tikz, since the
 code is included in the LyX files. Could you suggest an easy
 tutorial for it?
 Wolfgang
 p, li { white-space: pre-wrap; }
 

I got the code here:
http://chelseas-roost.co.uk/resources/lyx/PlottingGraphsInLyX.pdf


Ian.




Re: ERROR: the command pdflatex newfile1.tex has not yet completed

2015-02-27 Thread Paul A . Rubin
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:


 By the way, I am very interested in using tikz, since the
 code is included in the LyX files. Could you suggest an easy
 tutorial for it?

Wolfgang,

The TiKZ and PGF Manual, which is bundled with the pgf packages, is
exceptionally well-written and contains several tutorials near the front. On
my system (TeXLive), I found it at /usr/share/doc/texmf/pgf/pgfmanual.pdf.gz.

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Paul A . Rubin
Ian iank131 at gmail.com writes:


 So, I guess I need to reinstall my LyX. 
 Does anyone else have any suggestion before I do so?

First, does this happen only with this document, with other documents that
contain TiKZ/PGF code (but not necessarily plots), or with all docs?

Second, after you get the message, check the tail end of Document  LaTeX
Log in LyX and see if you can spot an error message or anything else that
might help pin down the culprit.

FWIW, I had no problem with your document (TeXLive/LyX 2.1.3/Linux Mint).

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Paul A. Rubin rubin at msu.edu writes:

 
 First, does this happen only with this document, with other documents that
 contain TiKZ/PGF code (but not necessarily plots), or with all docs?

The error happened only with this document. 

 
 Second, after you get the message, check the tail end of Document  LaTeX
 Log in LyX and see if you can spot an error message or anything else that
 might help pin down the culprit.

It seems that my MikTeX was not installed properly. I reinstalled that and LyX
again and it all seems to be working okay again. I managed to get the TiKZ/PDF 
code to work okay.

Thanks
Ian. 





Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Hi Wolfgang

> I used your example and it works fine here (Kubuntu, LyX Version
> 2.1.3). 

So, I guess I need to reinstall my LyX. 
Does anyone else have any suggestion before I do so?


> By the way, I am very interested in using tikz, since the
> code is included in the LyX files. Could you suggest an easy
> tutorial for it?
> Wolfgang
> p, li { white-space: pre-wrap; }
> 

I got the code here:
http://chelseas-roost.co.uk/resources/lyx/PlottingGraphsInLyX.pdf


Ian.




Re: ERROR: the command pdflatex "newfile1.tex" has not yet completed

2015-02-27 Thread Paul A . Rubin
Wolfgang Engelmann  uni-tuebingen.de> writes:


> By the way, I am very interested in using tikz, since the
> code is included in the LyX files. Could you suggest an easy
> tutorial for it?

Wolfgang,

The "TiKZ and PGF Manual", which is bundled with the pgf packages, is
exceptionally well-written and contains several tutorials near the front. On
my system (TeXLive), I found it at /usr/share/doc/texmf/pgf/pgfmanual.pdf.gz.

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Paul A . Rubin
Ian  gmail.com> writes:


> So, I guess I need to reinstall my LyX. 
> Does anyone else have any suggestion before I do so?

First, does this happen only with this document, with other documents that
contain TiKZ/PGF code (but not necessarily plots), or with all docs?

Second, after you get the message, check the tail end of Document > LaTeX
Log in LyX and see if you can spot an error message or anything else that
might help pin down the culprit.

FWIW, I had no problem with your document (TeXLive/LyX 2.1.3/Linux Mint).

Paul



Re: ERROR: the command pdflatex

2015-02-27 Thread Ian
Paul A. Rubin  msu.edu> writes:

 
> First, does this happen only with this document, with other documents that
> contain TiKZ/PGF code (but not necessarily plots), or with all docs?

The error happened only with this document. 

> 
> Second, after you get the message, check the tail end of Document > LaTeX
> Log in LyX and see if you can spot an error message or anything else that
> might help pin down the culprit.

It seems that my MikTeX was not installed properly. I reinstalled that and LyX
again and it all seems to be working okay again. I managed to get the TiKZ/PDF 
code to work okay.

Thanks
Ian. 





Re: ERROR: the command pdflatex newfile1.tex has not yet completed

2015-02-26 Thread Wolfgang Engelmann


Am 27.02.2015 um 06:37 schrieb Ian:

Hi,

I keep getting the captioned message when I try to VIEW the following LyX
document, which is simply to draw a curve using the PGFplots package. I am
writing other LyX documents but without any TeX code and they VIEW without any
issue.

My steps:
1. Latex preamble: \usepackage{pgfplots}

2. Then in the LyX document the following TeX block:
\begin{tikzpicture}
\begin{axis}
\addplot [blue, line width = 1, smooth] {3*x^2 + 5*x - 2};
\end{axis}
\end{tikzpicture}

(nothing else in the document).

3. I press VIEW and after 2 or 3 minutes of thinking I get the captioned error
message.

4. LyX asks me if I want to continue or stop. I click stop and then LyX tells
the the File does not exist then stops (without crashing).

I looked at a previous post on this issue and they said it was Python-related
issue, but I have no idea what that means.

Could someone help me please?

Thanks
Ian.

PS. I am using LyX 2.1.2 (2014-09-23); Built on Sep 24 2014, 23:53:24; CMake
Build

I am using Windows 7 and LyX was newly installed only one month ago. I am still
a newbie.


Ian,
I used your example and it works fine here (Kubuntu, LyX Version 2.1.3). 
By the way, I am very interested in using tikz, since the code is 
included in the LyX files. Could you suggest an easy tutorial for it?

Wolfgang


Re: ERROR: the command pdflatex newfile1.tex has not yet completed

2015-02-26 Thread Wolfgang Engelmann


Am 27.02.2015 um 06:37 schrieb Ian:

Hi,

I keep getting the captioned message when I try to VIEW the following LyX
document, which is simply to draw a curve using the PGFplots package. I am
writing other LyX documents but without any TeX code and they VIEW without any
issue.

My steps:
1. Latex preamble: \usepackage{pgfplots}

2. Then in the LyX document the following TeX block:
\begin{tikzpicture}
\begin{axis}
\addplot [blue, line width = 1, smooth] {3*x^2 + 5*x - 2};
\end{axis}
\end{tikzpicture}

(nothing else in the document).

3. I press VIEW and after 2 or 3 minutes of thinking I get the captioned error
message.

4. LyX asks me if I want to continue or stop. I click stop and then LyX tells
the the File does not exist then stops (without crashing).

I looked at a previous post on this issue and they said it was Python-related
issue, but I have no idea what that means.

Could someone help me please?

Thanks
Ian.

PS. I am using LyX 2.1.2 (2014-09-23); Built on Sep 24 2014, 23:53:24; CMake
Build

I am using Windows 7 and LyX was newly installed only one month ago. I am still
a newbie.


Ian,
I used your example and it works fine here (Kubuntu, LyX Version 2.1.3). 
By the way, I am very interested in using tikz, since the code is 
included in the LyX files. Could you suggest an easy tutorial for it?

Wolfgang


Re: ERROR: the command pdflatex "newfile1.tex" has not yet completed

2015-02-26 Thread Wolfgang Engelmann


Am 27.02.2015 um 06:37 schrieb Ian:

Hi,

I keep getting the captioned message when I try to VIEW the following LyX
document, which is simply to draw a curve using the PGFplots package. I am
writing other LyX documents but without any TeX code and they VIEW without any
issue.

My steps:
1. Latex preamble: \usepackage{pgfplots}

2. Then in the LyX document the following TeX block:
\begin{tikzpicture}
\begin{axis}
\addplot [blue, line width = 1, smooth] {3*x^2 + 5*x - 2};
\end{axis}
\end{tikzpicture}

(nothing else in the document).

3. I press VIEW and after 2 or 3 minutes of "thinking" I get the captioned error
message.

4. LyX asks me if I want to continue or stop. I click stop and then LyX tells
the the "File does not exist" then stops (without crashing).

I looked at a previous post on this issue and they said it was Python-related
issue, but I have no idea what that means.

Could someone help me please?

Thanks
Ian.

PS. I am using LyX 2.1.2 (2014-09-23); Built on Sep 24 2014, 23:53:24; CMake
Build

I am using Windows 7 and LyX was newly installed only one month ago. I am still
a newbie.


Ian,
I used your example and it works fine here (Kubuntu, LyX Version 2.1.3). 
By the way, I am very interested in using tikz, since the code is 
included in the LyX files. Could you suggest an easy tutorial for it?

Wolfgang


Re: Error to convert into latex

2015-01-09 Thread Richard Heck

On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:

Hi Richard,

Thanks for your suggestion.

But I have tried to reinstall lyx through

sudo aptitude remove lyx2.1
sudo rm -r /usr/share/lyx2.1
sudo aptitude install lyx2.1

This problem still existed.

How should I fix it?


Try removing your user directory, which is at $HOME/.lyx/

Richard

PS Please keep discussion on the list. Someone else may have better ideas.




Cheers,
Bangyou

On 9 Jan 2015 17:40, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command lyx
-f --export
latex wheat.lyx, I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless
ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout
format is 49, not 48.

Richard





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck rgh...@lyx.org wrote:
 On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:

 Hi Richard,

 Thanks for your suggestion.

 But I have tried to reinstall lyx through

 sudo aptitude remove lyx2.1
 sudo rm -r /usr/share/lyx2.1
 sudo aptitude install lyx2.1

 This problem still existed.

 How should I fix it?


 Try removing your user directory, which is at $HOME/.lyx/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

 PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Re: Error to convert into latex

2015-01-09 Thread Richard Heck

On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:

Hi Richard,

Thanks for your suggestion.

But I have tried to reinstall lyx through

sudo aptitude remove lyx2.1
sudo rm -r /usr/share/lyx2.1
sudo aptitude install lyx2.1

This problem still existed.

How should I fix it?


Try removing your user directory, which is at $HOME/.lyx/

Richard

PS Please keep discussion on the list. Someone else may have better ideas.




Cheers,
Bangyou

On 9 Jan 2015 17:40, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command lyx
-f --export
latex wheat.lyx, I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless
ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout
format is 49, not 48.

Richard





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck rgh...@lyx.org wrote:
 On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:

 Hi Richard,

 Thanks for your suggestion.

 But I have tried to reinstall lyx through

 sudo aptitude remove lyx2.1
 sudo rm -r /usr/share/lyx2.1
 sudo aptitude install lyx2.1

 This problem still existed.

 How should I fix it?


 Try removing your user directory, which is at $HOME/.lyx/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

 PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Re: Error to convert into latex

2015-01-09 Thread Richard Heck

On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:

Hi Richard,

Thanks for your suggestion.

But I have tried to reinstall lyx through

sudo aptitude remove lyx2.1
sudo rm -r /usr/share/lyx2.1
sudo aptitude install lyx2.1

This problem still existed.

How should I fix it?


Try removing your user directory, which is at $HOME/.lyx/

Richard

PS Please keep discussion on the list. Someone else may have better ideas.




Cheers,
Bangyou

On 9 Jan 2015 17:40, "Richard Heck" > wrote:


On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command "lyx
-f --export
"latex" wheat.lyx", I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless
ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout
format is 49, not 48.

Richard





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck  wrote:
> On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:
>
> Hi Richard,
>
> Thanks for your suggestion.
>
> But I have tried to reinstall lyx through
>
> sudo aptitude remove lyx2.1
> sudo rm -r /usr/share/lyx2.1
> sudo aptitude install lyx2.1
>
> This problem still existed.
>
> How should I fix it?
>
>
> Try removing your user directory, which is at $HOME/.lyx/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

> PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Re: Error to convert into latex

2015-01-08 Thread Richard Heck

On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command lyx -f --export
latex wheat.lyx, I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout format 
is 49, not 48.


Richard



Re: Error to convert into latex

2015-01-08 Thread Richard Heck

On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command lyx -f --export
latex wheat.lyx, I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout format 
is 49, not 48.


Richard



Re: Error to convert into latex

2015-01-08 Thread Richard Heck

On 01/08/2015 07:34 PM, Bangyou wrote:

When I convert a lyx file into latex format using command "lyx -f --export
"latex" wheat.lyx", I got this error:


TextClass.cpp (350): Unable to convert
/usr/share/lyx2.1/layouts/article.layout to format 48
Error reading `[layouts/article.layout]'
(Check `article')
Check your installation and try Options/Reconfigure...
Error: Could not load class


The command is working for me before. My system is headless ubuntu 12.04,
lyx 2.1


There is something wrong with your installation. The 2.1 layout format 
is 49, not 48.


Richard



Re: Error installing inside Windows 7 64-bit

2014-11-19 Thread STF
I saw that LyX 2.1.2 was released. I have tried the bundle setup in a
64-bit O/S but unfortunately, it still crashes just like before (cf my mail
below).

On 6 March 2014 21:39, STF lapsap7+...@gmail.com wrote:

 Hi,

 I came across error while trying to install LyX 2.0.7 in Windows 7 64-bit
 (actually I have tried in many computers with the same error).  I'm using
 the setup called LyX-2.0.7-Bundle-1.exe downloaded from LyX official
 website.  As to Windows, to be exact, I have tried Windows 7 Professional 
 Enterprise SP1 64-bit but I don't think the *editions* and *SP1* parts are
 relevant.  I think the problem would still happen in other 64-bit Windows
 O/S, eg XP, Vista, etc.

 The error I got are shown in the attached image: the upper dialog appeared
 first.  But almost immediately, it's grayed out and the lower dialog
 appeared and LyX installation simply was aborted and failed.  LyX setup
 then tried to roll back but it got stuck on Remove folder: C:\Program
 Files (x86)\LyX 2.0\ and I had to press the Cancel button.

 I went a bit further and described here below:

 I took basic-miktex-2.9.5105.exe and run it in another Windows 7 64-bit
 and it still crashed! I then downloaded basic-miktex-2.9.5105-x64.exe from
 MiKTeX official website and tried it but that crashed as well!  Seems like
 MiKTeX setup has very serious problem installing in 64bit O/S!

 (Off-topic 1: Maybe it's some known bug like
 http://sourceforge.net/p/miktex/bugs/2208/?)
 (Off-topic 2: I have heard from some other friends of mine that MiKTeX is
 actually a big piece of $h!t and their developers, being very arrogant,
 didn't care about their installer not working in 64-bit O/S and I quite
 agree with them after finding a lot of mails in their mailing-list which
 are never answered!)

 But I found out that if I run basic-miktex-2.9.5105.exe the second time
 with the option Reinstall using recommended settings (which is *only*
 available when the setup is run outside LyX) after deleting C:\Program
 Files (x86)\MiKTeX 2.9 folder, the installation went through the end!

 Then at this point, if I used LyX-2.0.7-Installer-1.exe instead, it's
 fine.  So, it might be nice to warn 64 bit O/S users to download the
 LyX-2.0.7-Installer-1.exe on the download page and give them a little bit
 help on installing MiKTeX.

 Hope this helps.




Re: Error installing inside Windows 7 64-bit

2014-11-19 Thread STF
I saw that LyX 2.1.2 was released. I have tried the bundle setup in a
64-bit O/S but unfortunately, it still crashes just like before (cf my mail
below).

On 6 March 2014 21:39, STF lapsap7+...@gmail.com wrote:

 Hi,

 I came across error while trying to install LyX 2.0.7 in Windows 7 64-bit
 (actually I have tried in many computers with the same error).  I'm using
 the setup called LyX-2.0.7-Bundle-1.exe downloaded from LyX official
 website.  As to Windows, to be exact, I have tried Windows 7 Professional 
 Enterprise SP1 64-bit but I don't think the *editions* and *SP1* parts are
 relevant.  I think the problem would still happen in other 64-bit Windows
 O/S, eg XP, Vista, etc.

 The error I got are shown in the attached image: the upper dialog appeared
 first.  But almost immediately, it's grayed out and the lower dialog
 appeared and LyX installation simply was aborted and failed.  LyX setup
 then tried to roll back but it got stuck on Remove folder: C:\Program
 Files (x86)\LyX 2.0\ and I had to press the Cancel button.

 I went a bit further and described here below:

 I took basic-miktex-2.9.5105.exe and run it in another Windows 7 64-bit
 and it still crashed! I then downloaded basic-miktex-2.9.5105-x64.exe from
 MiKTeX official website and tried it but that crashed as well!  Seems like
 MiKTeX setup has very serious problem installing in 64bit O/S!

 (Off-topic 1: Maybe it's some known bug like
 http://sourceforge.net/p/miktex/bugs/2208/?)
 (Off-topic 2: I have heard from some other friends of mine that MiKTeX is
 actually a big piece of $h!t and their developers, being very arrogant,
 didn't care about their installer not working in 64-bit O/S and I quite
 agree with them after finding a lot of mails in their mailing-list which
 are never answered!)

 But I found out that if I run basic-miktex-2.9.5105.exe the second time
 with the option Reinstall using recommended settings (which is *only*
 available when the setup is run outside LyX) after deleting C:\Program
 Files (x86)\MiKTeX 2.9 folder, the installation went through the end!

 Then at this point, if I used LyX-2.0.7-Installer-1.exe instead, it's
 fine.  So, it might be nice to warn 64 bit O/S users to download the
 LyX-2.0.7-Installer-1.exe on the download page and give them a little bit
 help on installing MiKTeX.

 Hope this helps.




Re: Error installing inside Windows 7 64-bit

2014-11-19 Thread STF
I saw that LyX 2.1.2 was released. I have tried the bundle setup in a
64-bit O/S but unfortunately, it still crashes just like before (cf my mail
below).

On 6 March 2014 21:39, STF  wrote:

> Hi,
>
> I came across error while trying to install LyX 2.0.7 in Windows 7 64-bit
> (actually I have tried in many computers with the same error).  I'm using
> the setup called "LyX-2.0.7-Bundle-1.exe" downloaded from LyX official
> website.  As to Windows, to be exact, I have tried Windows 7 Professional &
> Enterprise SP1 64-bit but I don't think the *editions* and *SP1* parts are
> relevant.  I think the problem would still happen in other 64-bit Windows
> O/S, eg XP, Vista, etc.
>
> The error I got are shown in the attached image: the upper dialog appeared
> first.  But almost immediately, it's grayed out and the lower dialog
> appeared and LyX installation simply was aborted and failed.  LyX setup
> then tried to roll back but it got stuck on "Remove folder: C:\Program
> Files (x86)\LyX 2.0\" and I had to press the Cancel button.
>
> I went a bit further and described here below:
>
> I took basic-miktex-2.9.5105.exe and run it in another Windows 7 64-bit
> and it still crashed! I then downloaded basic-miktex-2.9.5105-x64.exe from
> MiKTeX official website and tried it but that crashed as well!  Seems like
> MiKTeX setup has very serious problem installing in 64bit O/S!
>
> (Off-topic 1: Maybe it's some known bug like
> http://sourceforge.net/p/miktex/bugs/2208/?)
> (Off-topic 2: I have heard from some other friends of mine that MiKTeX is
> actually a big piece of $h!t and their developers, being very arrogant,
> didn't care about their installer not working in 64-bit O/S and I quite
> agree with them after finding a lot of mails in their mailing-list which
> are never answered!)
>
> But I found out that if I run basic-miktex-2.9.5105.exe the second time
> with the option "Reinstall using recommended settings" (which is *only*
> available when the setup is run outside LyX) after deleting "C:\Program
> Files (x86)\MiKTeX 2.9" folder, the installation went through the end!
>
> Then at this point, if I used "LyX-2.0.7-Installer-1.exe" instead, it's
> fine.  So, it might be nice to warn 64 bit O/S users to download the
> "LyX-2.0.7-Installer-1.exe" on the download page and give them a little bit
> help on installing MiKTeX.
>
> Hope this helps.
>
>


Re: Error converting to loadable format

2014-11-10 Thread Andreas Steinmayr
Hi Stephan,
Yes, I upgraded to Yosemite. I found out that including the files works
when I start LyX from the console.
Andreas

On Sat, Nov 8, 2014 at 2:55 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 07.11.2014 um 20:18 schrieb Andreas andreas.steinm...@gmail.com:

  Hello,
  I recently upgraded to Lyx 2.1.2.1.

 You are on Mac OS Yosemite?

  When I opened an existing file that has figures embedded as
  PDFs, I get the error message Error converting to loadable
  format. Before the upgrade everything worked fine.
  Do you have any ideas what the problem could be and how I could solve
  it?

 You've updated LyX only? Or is anything else changed too?

  Thanks for all suggestions.
  Andreas
 




Re: Error converting to loadable format

2014-11-10 Thread Andreas Steinmayr
Hi Stephan,
Yes, I upgraded to Yosemite. I found out that including the files works
when I start LyX from the console.
Andreas

On Sat, Nov 8, 2014 at 2:55 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 07.11.2014 um 20:18 schrieb Andreas andreas.steinm...@gmail.com:

  Hello,
  I recently upgraded to Lyx 2.1.2.1.

 You are on Mac OS Yosemite?

  When I opened an existing file that has figures embedded as
  PDFs, I get the error message Error converting to loadable
  format. Before the upgrade everything worked fine.
  Do you have any ideas what the problem could be and how I could solve
  it?

 You've updated LyX only? Or is anything else changed too?

  Thanks for all suggestions.
  Andreas
 




Re: Error converting to loadable format

2014-11-10 Thread Andreas Steinmayr
Hi Stephan,
Yes, I upgraded to Yosemite. I found out that including the files works
when I start LyX from the console.
Andreas

On Sat, Nov 8, 2014 at 2:55 AM, Stephan Witt  wrote:

> Am 07.11.2014 um 20:18 schrieb Andreas :
>
> > Hello,
> > I recently upgraded to Lyx 2.1.2.1.
>
> You are on Mac OS Yosemite?
>
> > When I opened an existing file that has figures embedded as
> > PDFs, I get the error message "Error converting to loadable
> > format". Before the upgrade everything worked fine.
> > Do you have any ideas what the problem could be and how I could solve
> > it?
>
> You've updated LyX only? Or is anything else changed too?
>
> > Thanks for all suggestions.
> > Andreas
> >
>
>


Re: Error converting to loadable format

2014-11-08 Thread Stephan Witt
Am 07.11.2014 um 20:18 schrieb Andreas andreas.steinm...@gmail.com:

 Hello,
 I recently upgraded to Lyx 2.1.2.1. 

You are on Mac OS Yosemite? 

 When I opened an existing file that has figures embedded as 
 PDFs, I get the error message Error converting to loadable 
 format. Before the upgrade everything worked fine. 
 Do you have any ideas what the problem could be and how I could solve 
 it?

You've updated LyX only? Or is anything else changed too?

 Thanks for all suggestions.
 Andreas
 



Re: Error converting to loadable format

2014-11-08 Thread Stephan Witt
Am 07.11.2014 um 20:18 schrieb Andreas andreas.steinm...@gmail.com:

 Hello,
 I recently upgraded to Lyx 2.1.2.1. 

You are on Mac OS Yosemite? 

 When I opened an existing file that has figures embedded as 
 PDFs, I get the error message Error converting to loadable 
 format. Before the upgrade everything worked fine. 
 Do you have any ideas what the problem could be and how I could solve 
 it?

You've updated LyX only? Or is anything else changed too?

 Thanks for all suggestions.
 Andreas
 



  1   2   3   4   5   6   7   8   9   10   >