Menu

Using less than/greater than in \code\endcode section

Lucas
2013-10-14
2013-10-15
  • Lucas

    Lucas - 2013-10-14

    Hei,

    So it says it all, I am trying to use something like this:

    \code if(value < other)\endcode

    but using like this seems to get Doxygen confused and then ignore the comment. Using < simply prints <

    At first I was using <\code> but indentation was getting cumbersome so I opted for the \code way but now that becomes an issue as I am using C#, there a lot of <> on the way.

    So what would be the solution?

    Thanks

     
    • Luis Vega

      Luis Vega - 2013-10-14

      The problem is caused by doxygen (maybe) being confused and thinking that the less-than is the closing of an HTML tag.

      You could use:
      < --> less-than symbol ( < )
      > --> greater-than symbol ( > )

      See:
      http://www.stack.nl/~dimitri/doxygen/manual/htmlcmds.html

      From: Lucas [mailto:fafase@users.sf.net]
      Sent: Monday, October 14, 2013 12:12 PM
      To: [doxygen:discussion]
      Subject: EXTERNAL: [doxygen:discussion] Using less than/greater than in \code\endcode section

      Hei,

      So it says it all, I am trying to use something like this:

      \code if(value < other)\endcode

      but using like this seems to get Doxygen confused and then ignore the comment. Using < simply prints <

      At first I was using <\code> but indentation was getting cumbersome so I opted for the \code way but now that becomes an issue as I am using C#, there a lot of <> on the way.

      So what would be the solution?

      Thanks


      Using less than/greater than in \code\endcode sectionhttps://sourceforge.net/p/doxygen/discussion/130994/thread/468e569f/?limit=25#4002


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/doxygen/discussion/130994/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.