noweb dpp filter and latex not printing curly braces

Posted by Dervin Thunk on Stack Overflow See other posts from Stack Overflow or by Dervin Thunk
Published on 2010-04-17T03:22:49Z Indexed on 2010/04/17 3:33 UTC
Read the original article Hit count: 440

Filed under:
|

Hello. Well, this smells like a tumbleweed, but I will ask it anyway. Suppose you have a noweb file with some c# code. You also have the c++ pretty-print filter dpp. If you run the command noweave -filter ./dpp -x test.nw > csharp.tex on the file below, it will print everything except for the curly braces. Instead of them, I get an em-dash and a closing quotations marks (i.e. ?) in the dvi. The tex source looks fine... Any ideas?

@ C\# test file
    <<test.c>>=
        while( (a[right] >= pivot) && (left < right) )
        {
          right--;
        }

© Stack Overflow or respective owner

Related posts about latex

Related posts about noweb