Fehler bei der erstellung des Glossars [paket: glossaries]

Erstellen von Index, Glossar, Symbolverzeichnis, einer Nomenklatur etc. mit MakeIndex oder Xindy


sunnyflo
Forum-Newbie
Forum-Newbie
Beiträge: 5
Registriert: Mi 17. Jul 2013, 09:06
Wohnort: Fulda

Fehler bei der erstellung des Glossars [paket: glossaries]

Beitrag von sunnyflo »

Guten Morgen Latex Gemeinde,

Ich schreibe grade meine Bachelor Thesis und habe "einen Schönheits" Fehler beim Erstellen meines Latex Dokumentes. Ich weiss, dass bei Fehlern immer gerne ein Minimal Beispiel gewünscht wird. Ich möchte mir aber erstmal die Arbeit sparen und darauf hoffen das ihr den Fehler vielleicht so erkennt.

Zur Struktur. Ich verwende eine von mir angepassten ClassicThesis Version.

In meinem Hauptdokument importiere ich die Glosar Einträge wie folgt
\makeglossaries
\include{glossar}
Meine Glossar.tex sieht so aus
\newglossaryentry{CA}{
name={Certificate Authority (CA)},
description={Zertifizierungsstelle. Verteilt und Verwaltet Zertifikate},
text={CA},
first={Certificate Authority (CA)}
}
\newglossaryentry{CRL}{
name={Certificate Revocation List (CRL)},
description={Liste, in der gesperrte Zertifikate einer CA aufgelistet sind.},
text={CRL},
first={Certificate Revocation List (CRL)}
}
\newglossaryentry{CDP}{
name={CRL Distribution Point (CDP)},
description={Veröffentlichungsort der CRL und Delta-CRL},
text={CDP},
first={CRL Distribution Point (CDP)}
}
Um das Glossar zu drucken verwende ich folgenden Code
\markboth{\spacedlowsmallcaps{Glossar}}{\spacedlowsmallcaps{Glossar}}
\phantomsection 
\addcontentsline{toc}{chapter}{\tocEntry{Glossar}}
\printglossary[title={Glossar}]
Nach der Kompilierung sieht die GLS Datei wie folgt aus:
\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble
\begin{theglossary}\glossaryheader
\glsgroupheading{C}\relax \glsresetentrylist %
\glossaryentryfield{CA}{\glsnamefont{Certificate Authority (CA)}}{Zertifizierungsstelle. Verteilt und Verwaltet Zertifikate}{\relax }{\glossaryentrynumbers{\relax 
		\setentrycounter[]{page}\glsnumberformat{11\delimR 13}}}%
\glossaryentryfield{CRL}{\glsnamefont{Certificate Revocation List (CRL)}}{Liste, in der gesperrte Zertifikate einer CA aufgelistet sind.}{\relax }{\glossaryentrynumbers{\relax 
		\setentrycounter[]{page}\glsnumberformat{13\delimN 14}}}%
\glossaryentryfield{CDP}{\glsnamefont{CRL Distribution Point (CDP)}}{Ver\IeC {\"o}ffentlichungsort der CRL und Delta-CRL}{\relax }{\glossaryentrynumbers{\relax 
		\setentrycounter[]{page}\glsnumberformat{14}}}%
\end{theglossary}\glossarypostamble
Da ich aus dem TeXnicCenter leider aus dem Fehlerprotokoll nichts kopieren kann, habe ich die Fehler als Screenshot beigefügt.
Hmm. Leider geht das hier im Forum nicht.
Upload Error: Kann das Attachment ./files/shot1_138.png nicht hochladen.
<-- Vielleicht was für den Admin.

Habe jetzt die betreffenden Zeilen aus dem Log File eingefügt.
(D:\Users\27698036\Desktop\Workplace\03-LateX\ThesisRepo\branches\ClassicThesis.gls
! Undefined control sequence.
\@hyper@@anchor ...r@spot {#2#3}\let \put@me@back 
                                                  \@empty \ifx \relax #2\rel...
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing control sequence inserted.
<inserted text> 
                \inaccessible 
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.

! Extra }, or forgotten \endgroup.
\@begin@tempboxa ...begingroup #2\color@endgroup }
                                                  \def \width {\wd \@tempbox...
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Undefined control sequence.
\@begin@tempboxa ...\@tempboxa }\let \totalheight 
                                                  \@ovri \totalheight \heigh...
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...talheight \@ovri \totalheight 
                                                  \height \advance \totalhei...
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...t \@ovri \totalheight \height 
                                                  \advance \totalheight \depth 
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   \advance 
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again> 
                   \advance 
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
\@begin@tempboxa ...\height \advance \totalheight 
                                                  \depth 
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ... \advance \totalheight \depth 
                                                  
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing } inserted.
<inserted text> 
                }
l.5 ...ter[]{page}\glsnumberformat{11\delimR 13}}}
                                                  %
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
\@hyper@@anchor ...r@spot {#2#3}\let \put@me@back 
                                                  \@empty \ifx \relax #2\rel...
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing control sequence inserted.
<inserted text> 
                \inaccessible 
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.

! Extra }, or forgotten \endgroup.
\@begin@tempboxa ...begingroup #2\color@endgroup }
                                                  \def \width {\wd \@tempbox...
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Undefined control sequence.
\@begin@tempboxa ...\@tempboxa }\let \totalheight 
                                                  \@ovri \totalheight \heigh...
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...talheight \@ovri \totalheight 
                                                  \height \advance \totalhei...
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...t \@ovri \totalheight \height 
                                                  \advance \totalheight \depth 
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   \advance 
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again> 
                   \advance 
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
\@begin@tempboxa ...\height \advance \totalheight 
                                                  \depth 
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ... \advance \totalheight \depth 
                                                  
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing } inserted.
<inserted text> 
                }
l.7 ...ter[]{page}\glsnumberformat{13\delimN 14}}}
                                                  %
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Undefined control sequence.
\@hyper@@anchor ...r@spot {#2#3}\let \put@me@back 
                                                  \@empty \ifx \relax #2\rel...
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing control sequence inserted.
<inserted text> 
                \inaccessible 
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.

! Extra }, or forgotten \endgroup.
\@begin@tempboxa ...begingroup #2\color@endgroup }
                                                  \def \width {\wd \@tempbox...
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

! Undefined control sequence.
\@begin@tempboxa ...\@tempboxa }\let \totalheight 
                                                  \@ovri \totalheight \heigh...
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...talheight \@ovri \totalheight 
                                                  \height \advance \totalhei...
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ...t \@ovri \totalheight \height 
                                                  \advance \totalheight \depth 
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   \advance 
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again> 
                   \advance 
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

! Undefined control sequence.
\@begin@tempboxa ...\height \advance \totalheight 
                                                  \depth 
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\@begin@tempboxa ... \advance \totalheight \depth 
                                                  
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing } inserted.
<inserted text> 
                }
l.9 ...tentrycounter[]{page}\glsnumberformat{14}}}
                                                  %
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
Wenn ihr ein Minimal Beispiel haben wollt, erstelle ich auch eins. Aber vielleicht kennt ihr die Fehler ja.

Vielen Dank

Flo

Benutzeravatar
Johannes_B
Moderator
Moderator
Beiträge: 5079
Registriert: Do 1. Nov 2012, 14:55
Kontaktdaten:

Beitrag von Johannes_B »

Ja, bitte erstell ein Minimalbeispiel. Das hätte dich übrigens ungefähr den gleichen Zeitaufwand gekostet, den du benötigt hast um aus verschiedenen Dateien Schnipsel zu kopieren.

Denk an die Sicherungskkopien.

Und denk auch dran, dass \include nicht in der Präambel verwendet werden darf.
TeXwelt - Fragen und Antworten Schaut vorbei und stellt Fragen.
LaTeX-Vorlagen?

Der Weg zum Ziel: Ruhe bewahren und durchatmen, Beiträge und unterstützende Links aufmerksam lesen, Lösungsansätze verstehen und ggf. nachfragen.

sunnyflo
Forum-Newbie
Forum-Newbie
Beiträge: 5
Registriert: Mi 17. Jul 2013, 09:06
Wohnort: Fulda

Beitrag von sunnyflo »

Hi. Vielen Dank für die schnelle Antwort.

Ich kann keine Datei hochladen.

Upload Error: Kann das Attachment ./files/minimalbeispiel_945.zip nicht hochladen.

Mache es über DropBox


https://www.dropbox.com/s/bbkorrva66wk6 ... ispiel.zip

Vielen Dank schon mal.

Benutzeravatar
Sepp99
Forum-Meister
Forum-Meister
Beiträge: 1569
Registriert: So 29. Aug 2010, 17:26
Wohnort: Offenhausen/OÖ

Re: Fehler bei der erstellung des Glossars [paket: glossarie

Beitrag von Sepp99 »

sunnyflo hat geschrieben:In meinem Hauptdokument importiere ich die Glosar Einträge wie folgt
\makeglossaries
\include{glossar}
Das dürfte so nicht klappen. glossar lädt man mit
\loadglsentries{glossar}
Siehe dazu die Paketdoku.

Gruß, Sepp

Benutzeravatar
u_fischer
Forum-Meister
Forum-Meister
Beiträge: 4300
Registriert: Do 22. Nov 2012, 11:09
Kontaktdaten:

Beitrag von u_fischer »

Es ist immer wieder erstaunlich, was so alles als "Minimal"beispiel bezeichnet wird.

sunnyflo
Forum-Newbie
Forum-Newbie
Beiträge: 5
Registriert: Mi 17. Jul 2013, 09:06
Wohnort: Fulda

Beitrag von sunnyflo »

@Sepp -> Vielen Dank für die Info. Hatte das so aus einem Beispiel Dokument adaptiert. Dort wurden die \newglossaryentry in die "Haupt" Datei noch vor den Text geschrieben. War der Meinung mit einem Include das sauber auslagern zu können.

Habe das mal angepasst statt include nun loadglsentries. Habe auch das \makeglossaries nun hinter das \load... gesetzt.

Leider immer noch Fehler

Benutzeravatar
Sepp99
Forum-Meister
Forum-Meister
Beiträge: 1569
Registriert: So 29. Aug 2010, 17:26
Wohnort: Offenhausen/OÖ

Beitrag von Sepp99 »

Möglicherweise hast du Probleme mit dem Kompiliervorgang, siehe dazu [3] das entsprechende Kapitel zu glossaries. Und lies dir auf alle Fälle die Beschreibung zu Minimalbeispiel [4] durch, daran wirst du nicht vorbeikommen!

Gruß, Sepp

sunnyflo
Forum-Newbie
Forum-Newbie
Beiträge: 5
Registriert: Mi 17. Jul 2013, 09:06
Wohnort: Fulda

Beitrag von sunnyflo »

Hallo Sepp,

nicht nur möglicherweise. Ich habe die Probleme beim Kompilierungsvorgang.

Die PDF[3] konnte mir nicht wirklich weiterhelfen. Habe den Tipp mit makeglossaries.exe probiert. Selbe Fehler.

Könntest du das Projekt mal bei dir Kompilieren und schauen was passiert ? Nur um sicher zu gehen, dass meine MikTex Umgebung keinen Bug hat.

Epllus
Forum-Guru
Forum-Guru
Beiträge: 470
Registriert: So 23. Sep 2012, 17:31

Beitrag von Epllus »

Ich glaube eher, dass es an der Vorlage liegt und nicht am System. Bei mir treten ähnliche Fehler auf.
Halte dich mal an Johannes_B und u_fischer und mach ein Minimalbeispiel.

Grüße
Epllus

Benutzeravatar
u_fischer
Forum-Meister
Forum-Meister
Beiträge: 4300
Registriert: Do 22. Nov 2012, 11:09
Kontaktdaten:

Beitrag von u_fischer »

Epllus hat geschrieben: Halte dich mal an Johannes_B und u_fischer und mach ein Minimalbeispiel.
Ein Minimalbeispiel zu basteln, könnte etwas schwierig sein. Die Datei lädt eine config-Datei, die wiederrum ein langen style lädt usw usw. Sowas zu debuggen macht keinen Spaß. Ich würde die Vorlage in die Tonne schmeißen und neu ansetzen.

Antworten