Flashcard Minimalbeispiel funktioniert nicht Thema ist als GELÖST markiert

Redefinition von Makros, Definition eigener Befehle sowie neuer Umgebungen


Riodoro

Flashcard Minimalbeispiel funktioniert nicht

Beitrag von Riodoro »

Hallo golatex,

ich möchte gerne die Flashcards klasse benutzen, um Karteikarten zu erstellen.

Ich benutze Texworks v0.4.4 r.1003 und MiKTeX 2.9.4196.

Die Flashcards klasse habe ich gerade über meinen PackageManager hinzugefügt. Dabei werden die avery - Dateien aber nicht zu ~\tex\latex\flashcards hinzugefügt.

Dann bin ich auf die Ctan Seite http://www.ctan.org/tex-archive/macros/ ... flashcards, habe mir die .dtx und .ins Dateien runtergeladen und jeweils in Texworks per Textsatz pdfLaTeX kompiliert.

Dann die .cls die beiden avery .cfg's und die sample .tex unter ~\tex\latex\flashcards\ kopiert (die alte flashcards.cls ersetzt).

Jetzt sind (dachte ich) alle Schritte erfüllt um ein Minimal beispiel zu kompilieren.

Zum nächsten post springen
\documentclass[avery5388,grid,frame]{flashcards}


\cardfrontstyle[\large\slshape]{headings}
\cardbackstyle{empty}

\begin{document} 

\cardfrontfoot{Functional Analysis}


\begin{flashcard}[Definition]{Norm}
	A real-valued funktion 
\end{flashcard}


\begin{flashcard}[Definition]{Norm}
	A real-valued funktion 
\end{flashcard}


\begin{flashcard}[Definition]{Norm}
	A real-valued funktion 
\end{flashcard}

\end{document}

Das ist ein Asuzug aus des Samplecodes auf der CTAN Seite, bzw. der Dokumentation.


Funktioniert aber leider gar nicht.
hier das .log file

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2013.4.30) 16 MAR 2014 13:09
entering extended mode
**C:/Users/josep_000/Dropbox/Uni/TEX/Flashcards/Minimalbeispiel*Debug/Minimalbe
ispiel.tex

("C:/Users/josep_000/Dropbox/Uni/TEX/Flashcards/Minimalbeispiel Debug/Minimalbe
ispiel.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\flashcards\flashcards.cls"
Document Class: flashcards 2010/08/13 1.0.1 (matthew@debian.org)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty"
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
\cardheight=\skip43
\cardwidth=\skip44
\topoffset=\skip45
\oddoffset=\skip46
\evenoffset=\skip47
\oddevenshift=\skip48
\cardmargin=\skip49
\cardinnerheight=\skip50
\cardinnerwidth=\skip51

Coudln't find avery5388.cfg, using defualt.
! Undefined control sequence.
\reserved@b ...@onefilewithoptions #1[{\cardpaper
}][{}]\noexpand \@pkgexten...
l.77 \setlength
{\oddevenshift}{\oddoffset}
?
("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
Package: geometry 2010/09/12 v5.6 Page Geometry

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count87
\Gm@cntv=\count88
\c@Gm@tempcnt=\count89
\Gm@bindingoffset=\dimen103
\Gm@wd@mp=\dimen104
\Gm@odd@mp=\dimen105
\Gm@even@mp=\dimen106
\Gm@layoutwidth=\dimen107
\Gm@layoutheight=\dimen108
\Gm@layouthoffset=\dimen109
\Gm@layoutvoffset=\dimen110
\Gm@dimlist=\toks15

("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
! Undefined control sequence.
\@tempa ->\cardpapermode

l.87 noheadfoot}

?

! Undefined control sequence.
\@tempa ->\cardpapermode

l.87 noheadfoot}

?
! Package keyval Error: undefined.

See the keyval package documentation for explanation.
Type H <return> for immediate help.
...

l.87 noheadfoot}

?
! Undefined control sequence.
\@tempa ->\cardpaper

l.87 noheadfoot}

?

! Undefined control sequence.
\@tempa ->\cardpaper

l.87 noheadfoot}

?
! Package keyval Error: undefined.

See the keyval package documentation for explanation.
Type H <return> for immediate help.
...

l.87 noheadfoot}

?
\c@flashcards@row=\count90
\c@flashcards@col=\count91
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.132 }

?
! Missing number, treated as zero.
<to be read again>
\relax
l.132 }

?
\flashcards@savelineskip=\skip52
)

LaTeX Warning: Unused global option(s):
[avery5388].


("C:\Users\josep_000\Dropbox\Uni\TEX\Flashcards\Minimalbeispiel Debug\Minimalbe
ispiel.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.

*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: <default>
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(0.0pt, 614.295pt, 0.0pt)
* v-part:(T,H,B)=(0.0pt, 794.96999pt, 0.0pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=614.295pt
* \textheight=794.96999pt
* \oddsidemargin=-72.26999pt
* \evensidemargin=-72.26999pt
* \topmargin=-72.26999pt
* \headheight=0.0pt
* \headsep=0.0pt
* \topskip=10.0pt
* \footskip=0.0pt
* \marginparwidth=65.0pt
* \marginparsep=11.0pt
* \columnsep=10.0pt
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

! Missing number, treated as zero.
<to be read again>
\flashcardFrontRiCi
l.12 \begin{flashcard}[Definition]{Norm}

?
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 12.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 12.

Overfull \hbox (53.56871pt too wide) in paragraph at lines 12--12
[]\OT1/cmr/m/sc/10 Definition
[]


Overfull \hbox (0.74399pt too wide) in paragraph at lines 12--12
[]
[]


Overfull \hbox (29.78813pt too wide) in paragraph at lines 12--12
\OT1/cmr/m/sl/12 Norm
[]


Overfull \hbox (29.82437pt too wide) in paragraph at lines 12--12
| \OT1/cmr/m/sc/10 Func-
[]


Overfull \hbox (33.43272pt too wide) in paragraph at lines 12--12
\OT1/cmr/m/sc/10 tional
[]


Overfull \hbox (30.06047pt too wide) in paragraph at lines 12--12
\OT1/cmr/m/sc/10 Anal-
[]


Overfull \hbox (10.65504pt too wide) in paragraph at lines 12--12
\OT1/cmr/m/sc/10 y-
[]


Overfull \hbox (12.9217pt too wide) in paragraph at lines 12--12
\OT1/cmr/m/sc/10 sis
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 12--12
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 12--12
[]
[]

! Missing number, treated as zero.
<to be read again>
\flashcardBackRiCi
l.12 \begin{flashcard}[Definition]{Norm}

?

Overfull \hbox (8.244pt too wide) in paragraph at lines 13--14
[]\OT1/cmr/m/n/10 A
[]


Overfull \hbox (20.21623pt too wide) in paragraph at lines 13--14
\OT1/cmr/m/n/10 real-
[]


Overfull \hbox (28.79962pt too wide) in paragraph at lines 13--14
\OT1/cmr/m/n/10 valued
[]


Overfull \hbox (23.52184pt too wide) in paragraph at lines 13--14
\OT1/cmr/m/n/10 funk-
[]


Overfull \hbox (17.96626pt too wide) in paragraph at lines 13--14
\OT1/cmr/m/n/10 tion
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 12--14
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 12--14
[]
[]

! Undefined control sequence.
<inserted text> ...flashcards@col} > \cardcolumns

l.14 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.14 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} > \cardrows

l.14 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.14 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.14 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.14 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.14 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.14 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\flashcardFrontRiCi
l.17 \begin{flashcard}[Definition]{Norm}

?

Overfull \hbox (53.56871pt too wide) in paragraph at lines 17--17
[]\OT1/cmr/m/sc/10 Definition
[]


Overfull \hbox (0.74399pt too wide) in paragraph at lines 17--17
[]
[]


Overfull \hbox (29.78813pt too wide) in paragraph at lines 17--17
\OT1/cmr/m/sl/12 Norm
[]


Overfull \hbox (29.82437pt too wide) in paragraph at lines 17--17
| \OT1/cmr/m/sc/10 Func-
[]


Overfull \hbox (33.43272pt too wide) in paragraph at lines 17--17
\OT1/cmr/m/sc/10 tional
[]


Overfull \hbox (30.06047pt too wide) in paragraph at lines 17--17
\OT1/cmr/m/sc/10 Anal-
[]


Overfull \hbox (10.65504pt too wide) in paragraph at lines 17--17
\OT1/cmr/m/sc/10 y-
[]


Overfull \hbox (12.9217pt too wide) in paragraph at lines 17--17
\OT1/cmr/m/sc/10 sis
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 17--17
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 17--17
[]
[]

! Missing number, treated as zero.
<to be read again>
\flashcardBackRiCi
l.17 \begin{flashcard}[Definition]{Norm}

?

Overfull \hbox (8.244pt too wide) in paragraph at lines 18--19
[]\OT1/cmr/m/n/10 A
[]


Overfull \hbox (20.21623pt too wide) in paragraph at lines 18--19
\OT1/cmr/m/n/10 real-
[]


Overfull \hbox (28.79962pt too wide) in paragraph at lines 18--19
\OT1/cmr/m/n/10 valued
[]


Overfull \hbox (23.52184pt too wide) in paragraph at lines 18--19
\OT1/cmr/m/n/10 funk-
[]


Overfull \hbox (17.96626pt too wide) in paragraph at lines 18--19
\OT1/cmr/m/n/10 tion
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 17--19
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 17--19
[]
[]

! Undefined control sequence.
<inserted text> ...flashcards@col} > \cardcolumns

l.19 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.19 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} > \cardrows

l.19 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.19 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.19 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.19 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.19 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.19 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\flashcardFrontRiCi
l.22 \begin{flashcard}[Definition]{Norm}

?

Overfull \hbox (53.56871pt too wide) in paragraph at lines 22--22
[]\OT1/cmr/m/sc/10 Definition
[]


Overfull \hbox (0.74399pt too wide) in paragraph at lines 22--22
[]
[]


Overfull \hbox (29.78813pt too wide) in paragraph at lines 22--22
\OT1/cmr/m/sl/12 Norm
[]


Overfull \hbox (29.82437pt too wide) in paragraph at lines 22--22
| \OT1/cmr/m/sc/10 Func-
[]


Overfull \hbox (33.43272pt too wide) in paragraph at lines 22--22
\OT1/cmr/m/sc/10 tional
[]


Overfull \hbox (30.06047pt too wide) in paragraph at lines 22--22
\OT1/cmr/m/sc/10 Anal-
[]


Overfull \hbox (10.65504pt too wide) in paragraph at lines 22--22
\OT1/cmr/m/sc/10 y-
[]


Overfull \hbox (12.9217pt too wide) in paragraph at lines 22--22
\OT1/cmr/m/sc/10 sis
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 22--22
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 22--22
[]
[]

! Missing number, treated as zero.
<to be read again>
\flashcardBackRiCi
l.22 \begin{flashcard}[Definition]{Norm}

?

Overfull \hbox (8.244pt too wide) in paragraph at lines 23--24
[]\OT1/cmr/m/n/10 A
[]


Overfull \hbox (20.21623pt too wide) in paragraph at lines 23--24
\OT1/cmr/m/n/10 real-
[]


Overfull \hbox (28.79962pt too wide) in paragraph at lines 23--24
\OT1/cmr/m/n/10 valued
[]


Overfull \hbox (23.52184pt too wide) in paragraph at lines 23--24
\OT1/cmr/m/n/10 funk-
[]


Overfull \hbox (17.96626pt too wide) in paragraph at lines 23--24
\OT1/cmr/m/n/10 tion
[]


Overfull \hbox (0.79999pt too wide) in paragraph at lines 22--24
[]
[]


Overfull \hbox (6.99998pt too wide) in paragraph at lines 22--24
[]
[]

! Undefined control sequence.
<inserted text> ...flashcards@col} > \cardcolumns

l.24 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.24 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} > \cardrows

l.24 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.24 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.24 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.24 \end{flashcard}

?
! Undefined control sequence.
<inserted text> ...e {flashcards@row} < \cardrows

l.24 \end{flashcard}

?
! Missing number, treated as zero.
<to be read again>
\relax
l.24 \end{flashcard}

?

("C:\Users\josep_000\Dropbox\Uni\TEX\Flashcards\Minimalbeispiel Debug\Minimalbe
ispiel.aux") )
Here is how much of TeX's memory you used:
880 strings out of 493921
12986 string characters out of 3147270
66463 words of memory out of 3000000
4228 multiletter control sequences out of 15000+200000
4591 words of font info for 17 fonts, out of 3000000 for 9000
841 hyphenation exceptions out of 8191
30i,11n,21p,281b,403s stack positions out of 5000i,500n,10000p,200000b,50000s

No pages of output.
PDF statistics:
0 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Wenn ich aber Samplecards.tex kompiliere (dabei benutze ich immer pdflatex+makeindex+bibtex) funktioniert es und es werden drei Karteikarten mittig als pdf ausgegeben.

Vielen Dank im Voraus für die Hilfe,

riodoro

riodoro

Beitrag von riodoro »

Es funktioniert übrigens wenn ich Flashcards.cls und die verwendete .cfg im gleichen ordner wie mein .tex file habe.... das möchte ich aber eigentlich vermeiden!

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

Beitrag von Johannes_B »

Wenn du Dateien manuell ins Verzeichnis kopierst (das solltest du nach Möglichkeit vermeiden), dann musst du TeX noch sagen, dass sich was geändert hat. In MikTeX machst du das mit diesem kleinen Maintenance Tool und dem button Update FNDB (FileNameDataBase).

Refreshing the File Name Database
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.

Antworten