Re: local layout and 2.5

Richard Kimberly Heck via lyx-users <[email protected]> Sun, 10 May 2026 12:23:39 -0400
Newsgroups gmane.editors.lyx.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7002765377493862470==
Content-Type: multipart/alternative;
 boundary="------------F5lhQCLRXsv3sAVAFZQ7Epfk"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------F5lhQCLRXsv3sAVAFZQ7Epfk
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 5/10/26 10:26 AM, camus.philippe--- via lyx-users wrote:
> Hello.
> Since 2.5 version of lyx, my locals layouts don't work anymore.
> The problem seems to come with the LatexName, which gives an 
> undefinded control sequence :
> Zum beispiel, the next layout :
>
> InsetLayout Branch:Réponse
>
> Font
>
> Color green
>
> EndFont
>
> LabelString "Solution:"
>
> LatexType command
>
> LatexName Reponse
>
> Requires color
>
> End
>
> would give this error after \Reponse.
>
> It worked fine with 2.4.
>
I get the same error in 2.4.5. The problem is that \Reponse does not, 
indeed, seem to have been defined. Is it meant to be defined somewhere?

Riki

--------------F5lhQCLRXsv3sAVAFZQ7Epfk
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <div class="moz-cite-prefix">On 5/10/26 10:26 AM, camus.philippe---
      via lyx-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:1226742397.395506591.1778423208710.JavaMail.root@zimbra61-e11.priv.proxad.net">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <style type="text/css">p { margin: 0; }</style>
      <div
style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000">
        <div>Hello.</div>
        <div>Since 2.5 version of lyx, my locals layouts don't work
          anymore.</div>
        <div>The problem seems to come with the LatexName, which gives
          an undefinded control sequence : </div>
        <div>Zum beispiel, the next layout : </div>
        <div><br>
        </div>
        <div>
          <style type="text/css">p, li { white-space: pre-wrap; }hr { height: 1px; border-width: 0; }li.unchecked::marker { content: "\2610"; }li.checked::marker { content: "\2612"; }</style>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">InsetLayout Branch:Réponse</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  Font</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">    Color green</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  EndFont</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  LabelString "Solution:"</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  LatexType command</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  LatexName Reponse</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">  Requires color</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">End</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">would give this error after \Reponse.</p>
          <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">It worked fine with 2.4.</p>
        </div>
      </div>
    </blockquote>
    <p>I get the same error in 2.4.5. The problem is that \Reponse does not, indeed, seem to have been defined. Is it meant to be defined somewhere?</p>
    <p>
</p>
    <p>Riki</p>
    <p>
</p>
  </body>
</html>

--------------F5lhQCLRXsv3sAVAFZQ7Epfk--

--===============7002765377493862470==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

--===============7002765377493862470==--