Re: Problem with if/else/fi in figure environment

2020-02-04 Thread Jürgen Spitzmüller
Am Dienstag, den 04.02.2020, 17:02 +0100 schrieb Glen Guhr: > Section 1 works fine. There, I am loading the two pictures, where > separate figure environments are put after \if \else. > > In section2 I am trying to load the very same pictures. There, I need > to > switch the pictures within one

Problem with if/else/fi in figure environment

2020-02-04 Thread Glen Guhr
Dear Sir or Madam, I am facing a problem while using Lyx and LaTeX source code within on figure environment. I have added a minimum working example giving me the error message, shown at the end of my email. The working example is devided in two sections. Section 1 works fine. There, I am loading