<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Non-matching parentheses/brackets in math formulas"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139194">139194</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Non-matching parentheses/brackets in math formulas
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Formula Editor
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bruno.grenet@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The formula editor only accepts matching parentheses, or matching square
brackets. Examples of formulas that are not understood follow. The first ones
are natural (two different ways of denoting the interval from 1 included to 2
excluded). The last one is less natural (why put these curly braces around a
closing parenthesis?) but occurs while translating from say markdown using
pandoc. In any case, I do not see a good reason for refusing this formula.

[1, 2[

[1, 2) 

(n/2{)}^2 

Steps to Reproduce:
1. Open the formula editor
2. Enter any of the above formulas, say "[1, 2[", in the input area


Actual Results:
The output is "¿"

Expected Results:
The output should be "[1, 2[", typeset as is typeset for instance [1, 2].


Reproducible: Always


User Profile Reset: No



Additional Info:
Version : 6.4.6.2
Build ID : 1:6.4.6-0ubuntu0.20.04.1
Threads CPU : 4; OS : Linux 5.4; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>