#796: Literate pre-processor fails to see end of code in LaTeX
-------------------------------------------+--------------------------------
  Reporter:  Adam                          |          Owner:         
      Type:  bug                           |         Status:  closed 
  Priority:  normal                        |      Milestone:         
 Component:  Compiler                      |        Version:  6.4.2  
  Severity:  normal                        |     Resolution:  invalid
  Keywords:  Literate pre-processor latex  |             Os:  Windows
Difficulty:  Unknown                       |   Architecture:  x86    
-------------------------------------------+--------------------------------
Changes (by simonmar):

  * resolution:  => invalid
  * status:  new => closed

Old description:

> Using the code environment in a LaTeX document to place Haskell source,
> if trying to read the file, the Literate pre-processor fails to see the
> \end{code} tag, as in the following example:
>
> \begin{code}
> > module Main where
> > main = do
> >     someStuff
> \end{code}

New description:

 Using the code environment in a LaTeX document to place Haskell source, if
 trying to read the file, the Literate pre-processor fails to see the
 \end{code} tag, as in the following example:

 {{{
 \begin{code}
 > module Main where
 > main = do
 >     someStuff
 \end{code}
 }}}

Comment:

 We can't find a bug here.  Inside \begin{code}...\end{code} you should not
 use the (alternative) literate style of bird tracks (> ...).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/796>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to