Generalproblem using package xparse

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mandinga
Posts: 5
Joined: Mon Aug 19, 2013 3:04 pm

problem using package xparse

Post by mandinga »

Hi,

I'm running MiKTex 2.9 and I tried to add the package xparse but it's not working for some reason. It doesn't build anything (it creates the .log but not the rest of the files). The code:

Code: Select all

\documentclass{article}
\usepackage{xparse}
\begin{document}
Hello world
\end{document}
I searched manually in the Package Manager but the package it's not there.. and the compilation doesn't give the .sty error (it doesn't show any errors). :?
I also tried updating the packages..

Is there a problem with my MiKTeX? Should I reinstall it or something?

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

problem using package xparse

Post by Johannes_B »

You also need all the LaTeX3 packages conatined in expl3. There recently was an update of the bundle.
Is your log really not showing anything that might help? You can upload the log file of your example and show it.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mandinga
Posts: 5
Joined: Mon Aug 19, 2013 3:04 pm

problem using package xparse

Post by mandinga »

Thanks a lot for your quick response, Johannes!
Here's the .log before adding the package you mentioned (i3kernel)
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2013.5.27) 26 NOV 2013 13:45
entering extended mode
**C:/Users/Gabo/Desktop/LaTeX1.tex
(C:/Users/Gabo/Desktop/LaTeX1.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-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\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
)
Now I do have installed the i3kernel package (also have i3packages) but the result is the same. Here's the new .log:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2013.5.27) 26 NOV 2013 13:53
entering extended mode
**C:/Users/Gabo/Desktop/LaTeX1.tex
(C:/Users/Gabo/Desktop/LaTeX1.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-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\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
)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\l3kernel\l3names.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\l3kernel\l3bootstrap.sty"
Package: l3bootstrap 2013/07/28 v4581 L3 Experimental bootstrap code
)
Package: l3names 2012/12/07 v4346 L3 Namespace for primitives
)

There's a lot of information in the CTAN documentation, I have no idea where to look for an answer! (As you can see, I'm a complete newbie..)

Thanks a lot again!!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem using package xparse

Post by localghost »

Both log files seem to be truncated. Try to compile on the command line and see what happens.


Best regards and welcome to the board
Thorsten
mandinga
Posts: 5
Joined: Mon Aug 19, 2013 3:04 pm

problem using package xparse

Post by mandinga »

I compiled as you suggested and it worked! I was asked to install the package etex, and then it all went great. (No idea why the package maintenance was not started while compiling from the editor -was using TeXnicCenter Stable 1.0 -maybe it needs an update?)

Thanks a lot!!! :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem using package xparse

Post by localghost »

mandinga wrote:[…] (No idea why the package maintenance was not started while compiling from the editor -was using TeXnicCenter Stable 1.0 -maybe it needs an update?) […]
And that's exactly the reason. TXC1 is not able to handle the automatic package installation feature of MiKTeX. It is strongly recommended to upgrade to TXC2, which doesn't have this problem. TXC1 is ancient and for many other reasons outdated.
Post Reply