[texhax] Undefined control sequence. \end{pspicture}}

Jerry jerry at seibercom.net
Sun Apr 30 12:18:41 CEST 2017


On Sun, 30 Apr 2017 07:03:35 +0200, Herbert Voss stated:

>Jerry schrieb:
>> Using TeXstudio 2.12.4 and MiKTex 2.9 on a Windows 10 Pro machine, I
>> am trying to compile the following:
>>
>> \documentclass{article}
>> \usepackage{pst-barcode}  
>
>use
>#\documentclass{article}
>\usepackage{pst-barcode}
>\usepackage{auto-pst-pdf}
>
>\begin{document}
>
>foo
>\fbox{%
>        \begin{pspicture}(0,-8pt)(1.5in,1in)
>        \psbarcode{241078}{includetext width=1.5
>                height=1}{qrcode}
>        \end{pspicture}}
>bar
>
>\end{document}
>
>and run it with pdf latex --shell-escape
>or run your own document with xelatex and _not_ pdflatex

Using "pdflatex --shell-escape" produces this output:

Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "texstudio_N21472".tex  --shell-escape

This is dvips(k) 5.997 Copyright 2017 Radical Eye Software (www.radicaleye.com) ' TeX output 2017.04.30:0555' -> texstudio_N21472-autopp.ps dvips: ! Couldn't find header file: pst-barcode.pro

Process exited normally


The entire log file follows:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) (preloaded format=pdflatex 2017.4.29)  30 APR 2017 05:55
entering extended mode
**./texstudio_N21472.tex
(texstudio_N21472.tex
LaTeX2e <2017-04-15>
Babel <3.9r> and hyphenation patterns for 74 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.9\tex\latex\pst-barcode\pst-barcode.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\pstricks\pstricks.sty"
Package: pstricks 2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV)

("C:\Program Files\MiKTeX 2.9\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\color.cfg"
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\pdftex.def"
File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
\Gread at gobject=\count87
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pstricks.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\pst-xkey.tex"
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

("C:\Program Files\MiKTeX 2.9\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2014/12/03 v2.7a package option processing (HA)

("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkeyval.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkvutils.tex"
\XKV at toks=\toks14
\XKV at tempa@toks=\toks15

("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\keyval.tex"))
\XKV at depth=\count88
File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
)))
("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pst-fp.tex"
`pst-fp' v0.05, 2010/01/17 (hv)
\pstFP at xs=\count89
\pstFP at xia=\count90
\pstFP at xib=\count91
\pstFP at xfa=\count92
\pstFP at xfb=\count93
\pstFP at rega=\count94
\pstFP at regb=\count95
\pstFP at regs=\count96
\pstFP at times=\count97
)
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfutil-common.tex"
\pgfutil at everybye=\toks16
\pgfutil at tempdima=\dimen103
\pgfutil at tempdimb=\dimen104

("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfutil-common-lists.te
x")) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfkeys.code.tex"
\pgfkeys at pathtoks=\toks17
\pgfkeys at temptoks=\toks18

("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgfkeysfiltered.code.te
x"
\pgfkeys at tmptoks=\toks19
)) ("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgffor.code.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmath.code.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathcalc.code.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathutil.code.tex"
\pgf at x=\dimen105
\pgf at xa=\dimen106
\pgf at xb=\dimen107
\pgf at xc=\dimen108
\pgf at y=\dimen109
\pgf at ya=\dimen110
\pgf at yb=\dimen111
\pgf at yc=\dimen112
\c at pgf@counta=\count98
\c at pgf@countb=\count99
\c at pgf@countc=\count100
\c at pgf@countd=\count101
\pgfutil at tempcnta=\count102
\pgfutil at tempcntb=\count103
)
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathparser.code.tex"
\pgfmath at dimen=\dimen113
\pgfmath at count=\count104
\pgfmath at box=\box26
\pgfmath at toks=\toks20
\pgfmath at stack@operand=\toks21
\pgfmath at stack@operation=\toks22
)
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.code.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.basic.code.
tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.trigonometr
ic.code.tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.random.code
.tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.comparison.
code.tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.base.code.t
ex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.round.code.
tex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.misc.code.t
ex")
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfunctions.integerarit
hmetics.code.tex")))
("C:\Program Files\MiKTeX 2.9\tex\generic\pgf\math\pgfmathfloat.code.tex"
\c at pgfmathroundto@lastzeros=\count105
))
\pgffor at iter=\dimen114
\pgffor at skip=\dimen115
\pgffor at stack=\toks23
\pgffor at toks=\toks24
)
\psLoopIndex=\count106

`PSTricks' v2.72b  <2017/04/19> (tvz)
\pst at dima=\dimen116
\pst at dimb=\dimen117
\pst at dimc=\dimen118
\pst at dimd=\dimen119
\pst at dimg=\dimen120
\pst at dimh=\dimen121
\pst at dimm=\dimen122
\pst at dimn=\dimen123
\pst at dimo=\dimen124
\pst at dimp=\dimen125
\pst at hbox=\box27
\pst at ibox=\box28
\pst at boxg=\box29
\pst at cnta=\count107
\pst at cntb=\count108
\pst at cntc=\count109
\pst at cntd=\count110
\pst at cntg=\count111
\pst at cnth=\count112
\pst at cntm=\count113
\pst at cntn=\count114
\pst at cnto=\count115
\pst at cntp=\count116
\@zero=\count117
\pst at toks=\toks25
("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pstricks.con")
\psunit=\dimen126
\psxunit=\dimen127
\psyunit=\dimen128
\pst at C@@rType=\count118
\pslinewidth=\dimen129
\psk at startLW=\dimen130
\psk at endLW=\dimen131
\pst at customdefs=\toks26
\pslinearc=\dimen132
\pst at symbolStep=\dimen133
\pst at symbolWidth=\dimen134
\pst at symbolLinewidth=\dimen135
\everypsbox=\toks27
\psframesep=\dimen136
\pslabelsep=\dimen137
\sh at wgridXunit=\dimen138
\sh at wgridYunit=\dimen139
\pst at shift=\dimen140
)
File: pstricks.tex 2017/04/19 v2.72b `PSTricks' (tvz,hv)

("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pst-fp.tex")
File: pst-fp.tex 2017/04/19 v2.72b `PST-fp' (hv)
)
Package: pst-barcode 2016/04/22 package wrapper for pst-barcode.tex (hv)

("C:\Program Files\MiKTeX 2.9\tex\generic\pst-barcode\pst-barcode.tex"
`PST-barcode' v0.16a, 2017/04/18 (tb,hv)
("C:\Program Files\MiKTeX 2.9\tex\latex\marginnote\marginnote.sty"
Package: marginnote 2017/04/22 v1.2b non floating margin notes for LaTeX
\c at mn@abspage=\count119
)
\QR at box=\box30
)
File: pst-barcode.tex 2017/04/18 v0.16a `PST-barcode' (hv)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\auto-pst-pdf\auto-pst-pdf.sty"
Package: auto-pst-pdf 2009/04/26 v0.6 Wrapper for pst-pdf

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch
)
("C:\Program Files\MiKTeX 2.9\tex\latex\ifplatform\ifplatform.sty"
Package: ifplatform 2010/10/22 v0.4 Testing for the operating system

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
Package: pdftexcmds 2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO
)

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf at primitive is available.
Package pdftexcmds Info: \pdf at ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\catchfile.sty"
Package: catchfile 2016/05/16 v1.7 Catch the contents of a file (HO)

("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
)))
\c at app@runs=\count120
runsystem(echo " ")...executed.

runsystem(echo "-------------------------------------------------")...executed.

runsystem(echo "auto-pst-pdf: Auxiliary LaTeX compilation")...executed.

runsystem(echo "-------------------------------------------------")...executed.

runsystem(latex -disable-write18 -jobname="texstudio_N21472-autopp" -interactio
n=batchmode  "\let \APPmakepictures \empty \input  texstudio_N21472.tex")...exe
cuted.

runsystem(dvips -Ppdf -o "texstudio_N21472-autopp.ps" "texstudio_N21472-autopp.
dvi")...executed.



Package auto-pst-pdf Warning: 
    Creation of texstudio_N21472-autopp.ps failed.
This warning occured on input line 124.


Package auto-pst-pdf Warning: 
    Could not create texstudio_N21472-pics.pdf. Auxiliary files not deleted.
This warning occured on input line 124.

runsystem(echo "-------------------------------------------------")...executed.

runsystem(echo "auto-pst-pdf: End auxiliary LaTeX compilation")...executed.

runsystem(echo "-------------------------------------------------")...executed.

("C:\Program Files\MiKTeX 2.9\tex\latex\pst-pdf\pst-pdf.sty"
Package: pst-pdf 2017/04/24 v1.2c PS graphics for pdfLaTeX (RN,HjG)

("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\luatex85\luatex85.sty"
Package: luatex85 2016/06/15 v1.4 pdftex aliases for luatex
)
\c at pspicture=\count121

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2017/04/14 v1.1b Standard LaTeX Graphics (DPC,SPQR)

("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-cfg\graphics.cfg"
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
)
\Gin at req@height=\dimen141
\Gin at req@width=\dimen142
)
Package pst-pdf Info: MODE: 1 (pdfTeX mode) on input line 214.
\ppf at output=\toks28

("C:\Program Files\MiKTeX 2.9\tex\latex\preview\preview.sty"
Package: preview 2010/02/14 11.90 (AUCTeX/preview-latex)
\pr at snippet=\count122
\pr at box=\box31
\pr at output=\toks29
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics-def\dvips.def"
File: dvips.def 2016/07/10 v3.1a Driver-dependent file (DPC,SPQR)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\environ\environ.sty"
Package: environ 2014/05/04 v0.3 A new way to define environments

("C:\Program Files\MiKTeX 2.9\tex\latex\trimspaces\trimspaces.sty"
Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
)
\@envbody=\toks30
)))
(texstudio_N21472.aux)
\openout1 = `texstudio_N21472.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.

("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count123
\scratchdimen=\dimen143
\scratchbox=\box32
\nofMPsegments=\count124
\nofMParguments=\count125
\everyMPshowfont=\toks31
\MPscratchCnt=\count126
\MPscratchDim=\dimen144
\MPnumerator=\count127
\makeMPintoPDFobject=\count128
\everyMPtoPDFconversion=\toks32
)
Package marginnote Info: \pdfoutput not 0 or unimportant and
(marginnote)             \pdflastxpos or \lastxpos available.
(marginnote)             Extended position detection mode activated.

Preview: Fontsize 10pt
Preview: PDFoutput 1

Package pst-pdf Warning: pspicture No. 1 undefined.


Package pst-pdf Warning: pspicture No. 2 undefined.


Package pst-pdf Warning: pspicture No. 3 undefined.


Package pst-pdf Warning: File `texstudio_N21472-pics.pdf' not found.
(pst-pdf)                Use the following commands to create it:
(pst-pdf)                ---------------------------------------------------- 
(pst-pdf)                latex texstudio_N21472.tex
(pst-pdf)                dvips -o texstudio_N21472-pics.ps texstudio_N21472.dvi

(pst-pdf)                ps2pdf texstudio_N21472-pics.ps
(pst-pdf)                ---------------------------------------------------- .


[1


Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!{C:/Users/Gerard/AppData/Local/MiKTeX/2.9/pdftex/config
/pdftex.map}] (texstudio_N21472.aux) ) 
Here is how much of TeX's memory you used:
 8701 strings out of 493334
 154672 string characters out of 3139290
 210525 words of memory out of 3000000
 12116 multiletter control sequences out of 15000+200000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 1141 hyphenation exceptions out of 8191
 43i,5n,42p,520b,121s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.9/fonts/type1/
public/amsfonts/cm/cmr10.pfb>
Output written on texstudio_N21472.pdf (1 page, 8408 bytes).
PDF statistics:
 10 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)

****************************************************************************

I am new to LaTeX. Everything up to this point has been fine. This is
the first time I am trying to create a PDF document that will contain
(hopefully) a barcode. I have no idea how to debug this mess, so I am
really hoping someone can assist me.

-- 
Jerry




More information about the texhax mailing list