Public bug reported:

The hello world like in the lhs2tex manual fails. Here is the lhs file:

-------------------------------
\documentclass{article}
%include polycode.fmt
\begin{document}

First we make this an executable

> module Main where

And then the hello world.

> main = putStrLn "Hello, World!\n"

end{document}
-------------------------------

This leads to this error: lhs2TeX: user error (File `polycode.fmt' not
found in search path

The  "polycode.fmt" can be exchange by "lhs2TeX.fmt". Then lhs2TeX
compiles a tex file. That seems to have errors too:

-------------------------------
$ pdflatex helloworld.tex  
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./helloworld.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf-tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-tetex/tex/latex/base/size10.clo)) (./helloworld.aux)
! Undefined control sequence.
l.5 \begin{tabbing}\texfamily
                             
? 
! Emergency stop.
-------------------------------

Since everything should be included by lhs2TeX i think this merely a
packaging bug.

** Affects: lhs2tex (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Hello World fails
https://launchpad.net/bugs/62641

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to