Re: Changing the background color in math menus

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 07:40 +0100 schrieb Stephan Witt:
> I think it’s caused by the different dark mode switch. 
> On Mac I can switch to dark mode after LyX start…
> 
> 
> … or use it as my normal user desktop setting and then it’s probably
> fine.
> 
> 
> The switch at runtime should enforce an icon refresh. Is it easy to
> trigger?

Ah, that's this issue. We discussed this already. I remember you
mentioned some signal that is emitted on the Mac when the switch
happens and that you intended to investigate how dark mode in LyX can
be connected to this signal.

Jürgen 



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer article

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 08:58 + schrieb CESAR MENENDEZ
FERNANDEZ:
> Hare they are all files (I hope)

Please try if the following helps:

* Go to Tools > Preferences > Language Settings > Language

* See if "Auto Begin" is checked.

* If so, uncheck it, and hit OK

Does it work now?

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


SOLVED > Re: Again: sidecap figure

2021-03-04 Thread Wolfgang Engelmann





Wolfgang

The problem is that you defined \FigBesBegin and \FigBesEnd with capital 
"F" but invoked them with lowercase "f" (as in \figBesBegin). If you 
correct that, the document compiles.


Paul



Sorry about it, and thanks a lot, Paul, for your help.
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Again: sidecap figure

2021-03-04 Thread Paul A. Rubin

On 3/4/21 3:39 AM, Wolfgang Engelmann wrote:



Am 02.03.21 um 14:46 schrieb Wolfgang Engelmann:

In my preamble I have

\usepackage{sidecap}
% Definition to put legends beside tables and figures
\newcommand{\TabBesBeg}[1][1.0]{%
  \let\MyTable\table
  \let\MyEndtable\endtable
  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}

\newcommand{\TabBesEnd}{%
  \let\table\MyTable
  \let\endtable\MyEndtable}

\newcommand{\FigBesBeg}[1][1.0]{%
  \let\MyFigure\figure
  \let\MyEndfigure\endfigure
  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}

\newcommand{\FigBesEnd}{%
  \let\figure\MyFigure
  \let\endfigure\MyEndfigure}

In the document I use in ERT
\FigBesBeg} before the float figure and
\FigBesEnd} after the float figure

but get this error:
! Undefined control sequence.
l.279 ...lgae (see figure \ref{thalli}).\figBesBeg

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

What is wrong?
Wolfgang


I still struggle with sidecap figure and append a .tar.gz file with an 
(almost) minimal example.

The error I get:

\figBesBeg
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I used the example in the LyX help file Embedded objects 3.10
With my LyX et Co setup (Debian 11) I get with it
! Package babel Error: Unknown option `ngerman'. Either you misspelled it
(babel)    or the language definition file ngerman.ldf was 
not found.

See the babel package documentation for explanation.
Type  H   for immediate help.

But I can run it with 'show anyway' and the legend placement is 
correctly sidewise.


Could somebody be kind enough to run the example and see whether it 
works in her/his case?


My
LyX Version 2.3.6
(Friday, November 27, 2020)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.15.2
Qt Version (compile-time): 5.15.1

Wolfgang

The problem is that you defined \FigBesBegin and \FigBesEnd with capital 
"F" but invoked them with lowercase "f" (as in \figBesBegin). If you 
correct that, the document compiles.


Paul

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


Re: footnote

2021-03-04 Thread Paul A. Rubin

On 3/4/21 12:52 PM, Patrick Dupre wrote:

Hello,

Could somebody tell me what is wrong in this file with a formula in a footnote?

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
===

RevTexk apparently puts footnotes in the bibliography. If you are 
content to have them at the bottom of the pages in which they occur, 
just add "nofootinbib" (without the quotes) to the class options for the 
document.


Paul

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


footnote

2021-03-04 Thread Patrick Dupre
Hello,

Could somebody tell me what is wrong in this file with a formula in a footnote?

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
===


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


Re: Beamer article

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 12:41 + schrieb CESAR MENENDEZ
FERNANDEZ:
> Thank you very very much. It never entered my mind.

No wonder, this was all but obvious. I only noticed it when looking
closer at your tex file.

> Problem solved!

Excellent.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: Beamer article

2021-03-04 Thread CESAR MENENDEZ FERNANDEZ
Dear Jügen
Thank you very very much. It never entered my mind.
By simply activating and deactivating the checkbox, I went from seeing it 
without tags to seeing it with them.
Problem solved!.
Thanks a lot agaig.

, -Mensaje original-
De: Jürgen Spitzmüller  
Enviado el: jueves, 4 de marzo de 2021 12:55
Para: CESAR MENENDEZ FERNANDEZ 
CC: LyX User 
Asunto: Re: Beamer article

Am Donnerstag, dem 04.03.2021 um 08:58 + schrieb CESAR MENENDEZ
FERNANDEZ:
> Hare they are all files (I hope)

Please try if the following helps:

* Go to Tools > Preferences > Language Settings > Language

* See if "Auto Begin" is checked.

* If so, uncheck it, and hit OK

Does it work now?

Jürgen

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


RE: Beamer article

2021-03-04 Thread CESAR MENENDEZ FERNANDEZ
Hare they are all files (I hope)

César
 
Dr. César Menéndez_Fernández

Dpto. Matemáticas
Universidad de Oviedo


Federico García Lorca s/n  33007. Oviedo. España



34-985.103.334

34-985.103.354



cesarm uniovi.es


http://mate10.ciencias.uniovi.es/~cesarm

Este mensaje ha sido enviado para uso exclusivo de la persona o entidad que 
figura en el mismo como destinatario, conteniendo información confidencial y 
protegida. Cualquier distribución, transmisión, copia o uso no autorizado de la 
información contenida en el mismo, es absolutamente ilegal, quedando prohibida 
expresamente por la Ley Orgánica 15/1999, de Protección de Datos de Carácter 
Personal. Si usted no es la persona interesada o el receptor al que va dirigido 
este correo-e, por favor comuníquelo y proceda a la destrucción inmediata de 
este mensaje. Gracias.
This message contains confidential and privileged information and is intended 
only for the individuals to whom it is addressed. It should not be reviewed, 
retransmitted, disseminated or otherwise used by persons or entities other than 
the intended recipient. If you received this message in error, please contact 
the sender and delete the material from your computer system(s). Thank you.


-Mensaje original-
De: Jürgen Spitzmüller  
Enviado el: jueves, 4 de marzo de 2021 9:30
Para: CESAR MENENDEZ FERNANDEZ 
CC: LyX User 
Asunto: Re: Beamer article

Am Sonntag, dem 28.02.2021 um 20:13 + schrieb CESAR MENENDEZ
FERNANDEZ:
> As Jürgen ask me for, that’s the Latex Log

This seems to be incomplete. Please copy and paste the complete log.

Jürgen



beamer-article-problem.aux
Description: beamer-article-problem.aux


beamer-article-problem.log
Description: beamer-article-problem.log


beamer-article-problem.out
Description: beamer-article-problem.out


beamer-article-problem.tex
Description: beamer-article-problem.tex


beamer-article-problem.tex.dep-pdf
Description: beamer-article-problem.tex.dep-pdf


beamer-article-problem.toc
Description: beamer-article-problem.toc
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-04 Thread Robert Neumann



> Am 04.03.2021 um 10:37 schrieb Pavel Sanda :
> 
> On Thu, Mar 04, 2021 at 07:57:41AM +0100, Stephan Witt wrote:
>> Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
>>> 
>>> On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
 (-is there a way to have the version-control-menue showed permanently, 
 I have to activate it manually everytime
>>> I do not understand this question. You mean toolbar?
>> yes of course, sorry for the incorrect description???
> 
> I do not experience your problem. The toolbars might get reset once upon 
> a time
> (for example if you are upgrading to a newer version of lyx) but generally
> stay set consistently across sessions (linux here). 
> 
> If you
> 1) close all your lyx sessions
> 2) open new one and set toolbars acccording to your needs
> 3) close session 
> 4) open new session again the toolbar is lost?
 
 not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
 If I double-click on a file in the finder it is gone...
 both LyX 2.3.6.3
>>> 
>>> I see, then this is bug specific to mac only.
>>> There must be something different when lyx is launched via its icon and
>>> when clicking just on the file.
>>> 
>>> CC-ing lyx-devel, Stephan might have a clue what's going on.
>> 
>> I cannot reproduce on Mac either. 
> 
> Actually I can. When I look into ~/Library/Preferences I see possible culprit 
> --
> there are two plist files: org.lyx.LyX-2.3.plist and second org.lyx.lyx.plist.
> 
> It seems that one of them is used when lyx is launched from icon and the 
> second
> when you click on some .lyx file.
> 
> Robert, if you click on some .lyx file and set VC Toolbar , then quit and 
> again
> click on .lyx file then the setting persists. Correct?

yes and no:
- the setting persists, if I just close the file in LyX and click on the same 
file in the finder

It is gone/forgotten:
- if I open another file (this might be intended)
- if I close LyX in the dock, so that LyX is totally closed and then click on 
the file again
Robert


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


Re: Beamer article

2021-03-04 Thread Jürgen Spitzmüller
Am Sonntag, dem 28.02.2021 um 20:13 + schrieb CESAR MENENDEZ
FERNANDEZ:
> As Jürgen ask me for, that’s the Latex Log

This seems to be incomplete. Please copy and paste the complete log.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-04 Thread Pavel Sanda
On Thu, Mar 04, 2021 at 07:57:41AM +0100, Stephan Witt wrote:
> Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
> > 
> > On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
> >>> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
> >>> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
> >> (-is there a way to have the version-control-menue showed permanently, 
> >> I have to activate it manually everytime
> > I do not understand this question. You mean toolbar?
>  yes of course, sorry for the incorrect description???
> >>> 
> >>> I do not experience your problem. The toolbars might get reset once upon 
> >>> a time
> >>> (for example if you are upgrading to a newer version of lyx) but generally
> >>> stay set consistently across sessions (linux here). 
> >>> 
> >>> If you
> >>> 1) close all your lyx sessions
> >>> 2) open new one and set toolbars acccording to your needs
> >>> 3) close session 
> >>> 4) open new session again the toolbar is lost?
> >> 
> >> not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
> >> If I double-click on a file in the finder it is gone...
> >> both LyX 2.3.6.3
> > 
> > I see, then this is bug specific to mac only.
> > There must be something different when lyx is launched via its icon and
> > when clicking just on the file.
> > 
> > CC-ing lyx-devel, Stephan might have a clue what's going on.
> 
> I cannot reproduce on Mac either. 

Actually I can. When I look into ~/Library/Preferences I see possible culprit --
there are two plist files: org.lyx.LyX-2.3.plist and second org.lyx.lyx.plist.

It seems that one of them is used when lyx is launched from icon and the second
when you click on some .lyx file.

Robert, if you click on some .lyx file and set VC Toolbar , then quit and again
click on .lyx file then the setting persists. Correct?

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


Again: sidecap figure

2021-03-04 Thread Wolfgang Engelmann



Am 02.03.21 um 14:46 schrieb Wolfgang Engelmann:

In my preamble I have

\usepackage{sidecap}
% Definition to put legends beside tables and figures
\newcommand{\TabBesBeg}[1][1.0]{%
  \let\MyTable\table
  \let\MyEndtable\endtable
  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}

\newcommand{\TabBesEnd}{%
  \let\table\MyTable
  \let\endtable\MyEndtable}

\newcommand{\FigBesBeg}[1][1.0]{%
  \let\MyFigure\figure
  \let\MyEndfigure\endfigure
  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}

\newcommand{\FigBesEnd}{%
  \let\figure\MyFigure
  \let\endfigure\MyEndfigure}

In the document I use in ERT
\FigBesBeg} before the float figure and
\FigBesEnd} after the float figure

but get this error:
! Undefined control sequence.
l.279 ...lgae (see figure \ref{thalli}).\figBesBeg

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

What is wrong?
Wolfgang


I still struggle with sidecap figure and append a .tar.gz file with an 
(almost) minimal example.

The error I get:

\figBesBeg
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I used the example in the LyX help file Embedded objects 3.10
With my LyX et Co setup (Debian 11) I get with it
! Package babel Error: Unknown option `ngerman'. Either you misspelled it
(babel)or the language definition file ngerman.ldf was 
not found.

See the babel package documentation for explanation.
Type  H   for immediate help.

But I can run it with 'show anyway' and the legend placement is 
correctly sidewise.


Could somebody be kind enough to run the example and see whether it 
works in her/his case?


My
LyX Version 2.3.6
(Friday, November 27, 2020)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.15.2
Qt Version (compile-time): 5.15.1

Wolfgang


Test-Sidecap.tar.gz
Description: application/gzip
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Using Lyx with git (instead of RCS)

2021-03-04 Thread Baris Erkus

On 03-Mar-21 6:02 PM, Robert Neumann wrote:

Hello,
does anybody have experience using LyX with git?
My observations with 2.3.3 on a mac 10.13
- I have to add a lyx file manually using the terminal and "git add“ otherwise 
I get an error message
- If the file is moved to a subdirectory, it is not working anymore, so it 
seems to work only, if the file is not moved in a subdirectory

(-is there a way to have the version-control-menue showed permanently, I have 
to activate it manualle everytime

thanks!
I would recommend using Sourcetree for Mac, instead of LyX built-in 
functions.


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

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