Help -- \DefineFamilyKey{KOMA}

Ayakoayaa
2012-06-02
2012-10-17
  • Ayakoayaa
    Ayakoayaa
    2012-06-02

    Hi people and profis,

    I am new using Miktex. I installed this program on Windows 7 and working with
    TEXworks as the interface. I am writing documents in German language, and it
    worked before. But when I try to compile it, a problem occur. For that, I need
    a help, since I have tried to look in the internet, and no answers can be
    found.

    The problem is:
    (C:\Users\Documents\2012_Fluid\7_Dokument
    ation\6_Report\Praeambel/Praeambel.tex
    ("C:\Program Files\MiKTeX 2.9\tex\latex\koma-script\scrbook.cls"
    Document Class: scrbook 2011/06/16 v3.09a KOMA-Script document class (book)
    ("C:\Program Files\MiKTeX 2.9\tex\latex\koma-script\scrkbase.sty"
    ("C:\Program Files\MiKTeX 2.9\tex\latex\koma-script\scrbase.sty"
    ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
    ! Undefined control sequence.
    <argument> \define@key
    {KOMA.\@currname .\@currext }
    l.237 \DefineFamilyKey{KOMA}
    {internalonly}{%
    ?

    And what I have as the main code are:

    \include{Praeambel/Praeambel} % PrÀambel (allg. Einstellungen) laden
    \include{Praeambel/hyphenation} % Silbentrennung

    \begin{document} % Eigentliches Dokument beginnen

    \frontmatter % Vorspann beginnen
    \pdfbookmark{Titel}{titel}
    \include{Kapitel/0_0_titelblatt} % Deckblatt
    \cleardoubleemptypage
    \include{Kapitel/0_1_Aufgabenstellung} % Platzhalter fÃŒr die Aufgabenstellung
    \cleardoubleemptypage
    \include{Kapitel/0_2_SelbstÀndigkeitserklÀrung} %
    SelbsstÀndigkeitserklÀrung
    \cleardoubleemptypage
    \include{Kapitel/0_3_Kurzfassung} % Kurzfassung
    \cleardoubleemptypage
    \include{Kapitel/0_4_Abstract} % Abstract
    \cleardoubleemptypage

    \appendix
    \bibliography{Bibliografie/Bibliografie}
    \include{Kapitel/2_0_anhang}

    \end{document}

    What I did are:
    1. I checked the scrbase.sty in Tex Folder, and it has no differences with any sources in the internet.
    2. I checked the error in google, and I didn't find any answers for this kind of error.

    Would anybody kindly help me with this matter.
    Thank you for your help.

    Regards,
    Ako

     
  • T. Benkert
    T. Benkert
    2012-06-02

    Hi Ako,

    try
    \input{Praeambel/Praeambel.tex}
    \input{Praeambel/hyphenation.tex}

    Regards,
    Thomas

     
  • Ayakoayaa
    Ayakoayaa
    2012-06-02

    Hi Thomas,

    Thanks before for the answer, but sadly it doesn't work.

    it produces:
    \@input{Praeambel/Praeambel.tex.aux}
    No file Praeambel/Praeambel.tex.tex.
    \@input{Praeambel/hyphenation.tex.aux}
    No file Praeambel/hyphenation.tex.tex.

    My opinion is that the file it self is a tex file. so, putting .tex behind is
    doubling the data file.

    Regards,
    Ako

     
  • T. Benkert
    T. Benkert
    2012-06-02

    Hi Ako,

    I tried a minimal test:
    main-test.tex


    \input{Praeambel/Praeambel.tex}

    \begin{document}

    Test

    \end{document}

    and inputed document at ./Praeambel/Praeambel.tex

    \documentclass{scrartcl}

    Result: "Test" without any errors and warnings.
    Try a second LaTeX run.

    Regards,
    Thomas