CTAN package "extract"

Kevin Göser <[email protected]> Sun, 23 Oct 2005 20:11:56 +0200
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
Hi,

sorry for bothering the list :-/
I'm unable to use the extract package from ctan 
http://www.ctan.org/tex-archive/help/Catalogue/entries/extract.html

The package seems to depend on xkeyval so I tried to use it with version 1.4 
and 2.4 of xkeyval. 1.4 seems to be too old (missing commands). With 2.4, 
pdflatex throws "/usr/share/texmf/tex/latex/extract/extract.sty:47:Missing 
\begin{document}. \define@boolkey[XTR]{extract.sty}[XT..." (see attached 
test.log)

Thanks for any help!
    Kevin
test.log (text/x-log, 7.8 KB)
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdflatex 2005.1.23)  23 OCT 2005 19:56
**test.tex
(./test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e 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
)
(/usr/share/texmf/tex/latex/extract/extract.sty
Package: extract 2005/05/07 v1.8 extract content from document (HA)

(/usr/share/texmf/tex/latex/tools/verbatim.sty
Package: verbatim 2001/03/12 v1.5p LaTeX2e package for verbatim enhancements
\every@verbatim=\toks14
\verbatim@line=\toks15
\verbatim@in@stream=\read1
)
(/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2005/03/31 v2.4 package option processing (HA)

(/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex
\XKV@toks=\toks16
\XKV@depth=\count87
File: xkeyval.tex 2005/03/31 v2.4 key=value parser (HA)

(/usr/share/texmf/tex/generic/xkeyval/keyval.tex)))
\XTR@out=\write3
\XTR@tmp=\write4


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.47 \define@boolkey[XTR]{extract.sty}[XT
                                         R@]{active}[true]{}
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.


! Package xkeyval Error: `header' undefined in families `extract.sty'.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.77 ...=true,handles=true,copydocumentclass=true}
                                                  
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.


! Package xkeyval Error: `handles' undefined in families `extract.sty'.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.77 ...=true,handles=true,copydocumentclass=true}
                                                  
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.


! Package xkeyval Error: `copydocumentclass' undefined in families `extract.sty
'.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.77 ...=true,handles=true,copydocumentclass=true}
                                                  
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! Undefined control sequence.
l.83 \ifXTR@active
                  
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.

\openout4 = `test.xtr'.

(./test.xtr)
! Extra \fi.
l.98 \fi
        
I'm ignoring this; it doesn't match any \if.

\@envdepth=\count88
! Undefined control sequence.
l.304 \ifXTR@active
                   
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.

\openout3 = `aufgaben.tex'.

! Undefined control sequence.
l.306 \ifXTR@header
                   
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.

! Extra \fi.
l.344 \fi
         
I'm ignoring this; it doesn't match any \if.

! Undefined control sequence.
l.345 \ifXTR@copydocumentclass
                              
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.

! Extra \fi.
l.354 \fi
         
I'm ignoring this; it doesn't match any \if.

! Extra \fi.
l.515 \fi
         
I'm ignoring this; it doesn't match any \if.

)
Overfull \hbox (40.86179pt too wide) in paragraph at lines 47--8
[]/cmr10/TR@]active[true] TR@]header[true] TR@]handles[true] TR@]copydocumentcl
ass[true]
 []


Underfull \hbox (badness 10000) in paragraph at lines 47--8

 []

No file test.aux.
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
! Undefined control sequence.
\@begindocumenthook ->\ifXTR@handles 
                                     \XTR@writeout {}\XTR@writeout {\string ...
l.9 \begin{document}
                    
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.

! Extra \fi.
\@begindocumenthook ...ring \begin {document}}\fi 
                                                  \XKV@ifundefined {XTR@envs...
l.9 \begin{document}
                    
I'm ignoring this; it doesn't match any \if.

! Undefined control sequence.
\@enddocumenthook ->\ifXTR@handles 
                                   \XTR@writeout {}\XTR@writeout {\string \e...
l.11 \end{document}
                   
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.

! Extra \fi.
\@enddocumenthook ...{\string \end {document}}\fi 
                                                  \immediate \closeout \XTR@...
l.11 \end{document}
                   
I'm ignoring this; it doesn't match any \if.

[1

{/usr/share/texmf/dvips/config/pdftex.map}] (./test.aux) ) 
Here is how much of TeX's memory you used:
 548 strings out of 95437
 7243 string characters out of 1190233
 55474 words of memory out of 1000001
 3611 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 500000 for 1000
 14 hyphenation exceptions out of 1000
 29i,4n,35p,164b,162s stack positions out of 1500i,500n,5000p,200000b,5000s
 7 PDF objects out of 300000
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536
{/usr/share/texmf/dvi
ps/tetex/f7b6d320.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on test.pdf (1 page, 8977 bytes).