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

Inline code macros not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7
    • 1.6
    • Syntax
    • None
    • Integration
    • Unknown

    Description

      For example:

      {{code language="java"}}
      public class HelloWorld
      {
      	public static void main(String[] args) {
      		System.out.println("Hello World!");
      	}
      }
      {{/code}}
      {{code language="java"}}
      public class HelloWorld
      {
      	public static void main(String[] args) {
      		System.out.println("Hello World!");
      	}
      }
      {{/code}}
      

      Generates:

      \begin{minted}{java}
      public class HelloWorld
      {
      	public static void main(String[] args) {
      		System.out.println("Hello World!");
      	}
      }
      \end{minted}\begin{minted}{java}
      public class HelloWorld
      {
      	public static void main(String[] args) {
      		System.out.println("Hello World!");
      	}
      }
      \end{minted}
      

      which is invalid.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: