Public bug reported:

The bug is easily reproducible. Running the following simple test file
using luatex or pdflatex:


\documentclass[12pt,twoside,a4paper,BCOR=0cmn]{scrbook}

        \usepackage[english,dutch]{babel}

\begin{document}

blabla

\end{document}


gives the following output:

This is LuaTeX, Version beta-0.76.0-2013121407 (rev 4627) 
 restricted \write18 enabled.
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 33 languages loaded.
(./test.tex (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2013/12/19 v3.12 KOMA-Script document class (book)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2013/12/19 v3.12 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize12pt.clo)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2013/12/19 v3.12 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.720 \KOMAProcessOptions
                       \relax
)
Overfull \hbox (26.52771pt too wide) in paragraph at lines 720--3362
[][]\OT1/cmr/m/n/12 n

Overfull \hbox (6.52771pt too wide) in paragraph at lines 720--3362
\OT1/cmr/m/n/12 n
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}])
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/luababel.def)))
(/usr/share/texlive/texmf-dist/tex/generic/babel-dutch/dutch.ldf)) 
(./test.aux)[2] (./test.aux) )
(see the transcript file for additional information)
 281 words of node memory still in use:
   2 hlist, 1 vlist, 1 rule, 2 glue, 44 glue_spec, 1 write nodes
   avail lists: 2:19,3:6,4:256,5:2,6:35,7:3,9:14,10:3
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
Output written on test.pdf (2 pages, 9270 bytes).
Transcript written on test.log.

LaTeX exited abnormally with code 1 at Fri May  9 12:11:35


Inspecting the error learns it occurs on line 720 of the file "typearea.sty", 
which reads:

\KOMAProcessOptions\relax

I suspect somewhere in an .sty file of KOMA there is text latex thinks
shouldn't be in the preamble but after \begin{document}

** Affects: texlive-base (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: tex4ht (Ubuntu) => texlive-base (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1317843

Title:
  Bug in KOMA-script (part of texlive-latex-recommended)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/1317843/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to