On 07.05.2014 16:57, Richard Heck wrote:

Can you post an example file?

Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my previous email: Windows 7 64 bits professional, MikTex 2.9.

I guess it's probably more related to an update of a MikTex package.

Best regards.

Olivier


On 05/05/2014 02:15 PM, Olivier Ripoll wrote:
Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and
a numbered section, the compilation result in an error about and extra
\fi or an extra \else


below (between dashes) is the relevant part of the log:
-------------------------------------
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
                                                  \def \@svsechd
{#6{\hskip ...
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
                                                  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-------------------------------------

If I change the document class, it works. If I change the page style
to any other (plain, fancy, empty or default), it works. If I switch
to a section*, a part or a subsection, it works.

Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier




Attachment: Koma-script-article bug sample.lyx
Description: application/lyx

Reply via email to