logo       

Re: [GHC] #796: Literate pre-processor fails to see end of code in LaTeX: msg#00081

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #796: Literate pre-processor fails to see end of code in LaTeX

#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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise