PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler in KomaScript?



Kojak
14-08-2006, 15:51
Hallo,
ich habe kürzlich das komaScript-Package geupdatet. Dabei hat sich wohl ein Fehler ins Update eingeschlichen: der Befehl \usekomafont{sectioning}Text
funktioniert nicht mehr so wie er soll!
Minimalbeispiel:

%Minimalbeispiel
\documentclass[12pt]{scrartcl}
\begin{document}
\section{Test}
{\usekomafont{sectioning}Test A}\par
zum Vergleich:\par
{\usekomafont{section}Test B}
\end{document}
Beim Kompilieren (egal in was), taucht vor "Test A" Text auf, der von mir nicht eingegeben wurde. Bug im KomaScript?!!?

Bis zum Update hats problemlos funktioniert! Kann jemand das Problem nachvollziehen oder liegts an mir?

Stephan

countbela666
14-08-2006, 18:42
Hallo Stephan,

ja, das Problem hab ich auch. Und wenn du dir mal die jetzt aktualisierte Version der KOMA-Script-Doku (http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf) anschaust, wirst du sehen, dass sich auch dort der Fehler eingeschlichen hat; auf jeder zweiten Seite findest du ein nicht dort hingehörendes "disposition".

Ursache sollte folgendes sein (Quelle: http://www.mail-archive.com/ctan-ann@dante.de/msg00790.html):

Most important changes at KOMA-Script 2.95b:

- \ifthispageodd fixed. This fix also fixes inner/outer
margin bug of captionbeside and addmargin.

- Line breaks at some messages improved to avoid overfull
message lines.

- Font variable `sectioning' renamed to `disposition'.
`sectioning' still may be used as an alias of the new name.Und siehe da, folgendes MB funzt:

%Minimalbeispiel
\documentclass[12pt]{scrartcl}
\begin{document}
\section{Test}
{\usekomafont{disposition}Test A}\par
zum Vergleich:\par
{\usekomafont{section}Test B}
\end{document}Grüße,
Marcel

Kojak
14-08-2006, 23:56
Danke, werds korrekt einbauen!