Uploaded image for project: 'LaTeX'
  1. LaTeX
  2. LATEX-76

Correct translation of less, greater and bar symbol

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: Syntax
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The LaTeX template SpecialSymbolBlock fails to end LaTeX commands with empty group. It should be changed from

      #elseif ($latex.block.getSymbol() == '<')
        \textless##
      #elseif ($latex.block.getSymbol() == '>')
        \textgreater##
      #elseif ($latex.block.getSymbol() == '|')
        \textbar##
      

      to

      #elseif ($latex.block.getSymbol() == '<')
        \textless{}##
      #elseif ($latex.block.getSymbol() == '>')
        \textgreater{}##
      #elseif ($latex.block.getSymbol() == '|')
        \textbar{}##
      

      Otherwise , e.g., "<bla>" translates to "\textlessbla\textgreater" with the undefined command "\textlessbla".

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              Kido Guido Kracke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: