Seite 1 von 1
Suche Hinweise zu PSTricks psbarcode Änderungen in Version 0
Verfasst: Do 31. Okt 2013, 10:15
von mareb
Hallo,
ich versuche zu verstehen, wie ich unter Debian Wheezy mit pst-barcode 0.8 so arbeiten kann, dass ich einwandfreie code128 Barcodes erstellen kann.
Wenn ich auf dem Server mit Debian Squeeze (pst-barcode 0.7) compiliere, erhalte ich ein ganz anderes Ergebnis, als unter der aktuellen Version.
Weiß jemand, was hier richtig wäre?
Beispiel zum nachvollziehen:
\documentclass[10pt,a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[absolute]{textpos}
\usepackage{graphicx}
\usepackage{xkeyval}
\usepackage{pstricks}
\usepackage{pst-barcode}
\usepackage{pstricks-add}
\textblockorigin{0mm}{0mm}
\begin{document}
\pagestyle{empty}
\begin{textblock}{12}(2,2)
\psbarcode[transy=0.7cm]{^104^102(402) 1455643}{includetext height=0.7}{code128}
\end{textblock}
\begin{textblock}{12}(2,5)
\psbarcode[transy=0.7cm]{^1042LDE^0998330^1008+^09999000901231002^090^106}{includetext height=0.984}{code128}
\end{textblock}
\begin{textblock}{12}(2,8)
\psbarcode[transy=0.1cm]{^105^10200340434124796000075^106^106}{includetext height=0.984}{code128}
\end{textblock}
\begin{textblock}{12}(2,11)
\psbarcode{^104^102Code 128^101}{includetext}{code128}
\end{textblock}
\end{document}
Bei der Ausgabe erscheinen auch die Codes (wie ^104) und die Strichcodes sehen unter Squeeze anders aus als unter Wheezy.
Verfasst: Do 31. Okt 2013, 10:25
von Johannes_B
Füge mal in deinem Beispiel ein
\listfiles noch vor
\documentclass ein.
pst-barcode.sty 2012/11/16 package wrapper for pst-barcode.tex (hv)
pst-barcode.tex 2013/10/26 v0.12 `PST-barcode' (hv)
Schau mal in die Anleitung zum Paket. Wenn du
includetext hinschreibst, dann wird auch der Text eingefügt.
Wie so ein Barcode
richtig oder
falsch aussehen würde, kann ich aber leider nicht sagen.
Verfasst: Do 31. Okt 2013, 13:35
von mareb
Johannes_B hat geschrieben:
Schau mal in die Anleitung zum Paket. Wenn du includetext hinschreibst, dann wird auch der Text eingefügt.
Klar, includetext ist Absicht. So richtig deutlich wird das Problem durch den sichtbaren Unterschied zwischen den erzeugten PDFs auf Squeeze/Wheezy.
Hier die Ausgabe von listfiles:
*File List*
scrartcl.cls 2012/05/15 v3.11 KOMA-Script document class (article)
scrkbase.sty 2012/05/15 v3.11 KOMA-Script package (KOMA-Script-dependent bas
ics and keyval usage)
scrbase.sty 2012/05/15 v3.11 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2011/03/09 v3.09 KOMA-Script package (loading files)
tocbasic.sty 2012/04/04 v3.10b KOMA-Script package (handling toc-files)
scrsize10pt.clo 2012/05/15 v3.11 KOMA-Script font size class option (10pt)
typearea.sty 2012/05/15 v3.11 KOMA-Script package (type area)
babel.sty 2008/07/08 v3.8m The Babel package
ngermanb.ldf 2008/07/06 v2.6n new German support from the babel system
ucs.sty 2004/10/17 UCS: Unicode input support
uni-global.def 2012/04/20 UCS: Unicode global data
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8x.def 2004/10/17 UCS: Input encoding UTF-8
textpos.sty 2012/06/01 v1.7h
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pstricks.sty 2011/10/31 v0.52 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2012/06/04 v2.29 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pst-fp.tex 2012/06/04 v2.29 `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pst-barcode.sty 2006/07/23 package wrapper for pst-barcode.tex (hv)
pst-barcode.tex 2011/03/10 v0.08 `PST-barcode' (hv)
pstricks-add.sty 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex (hv
)
pst-plot.sty 2011/04/13 package wrapper for pst-plot.tex (hv)
pst-xkey.sty 2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
multido.sty 2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN)
multido.tex 2010/05/14 v1.42 `multido' (tvz,hv)
pst-plot.tex 2012/05/03 1.42 `pst-plot' (tvz,hv)
pst-node.sty 2010/04/22 package wrapper for pst-node.tex
pst-node.tex 2012/02/12 1.22 `pst-node' (tvz)
pst-3d.sty 2009/07/28 package wrapper for pst-3d.tex (hv)
pst-3d.tex 2010/02/14 v1.11 `PST-3d' (hv)
pst-math.sty 2009/01/20 package wrapper for PSTricks pst-math.tex
pstricks-add.tex 2011/12/11 v3.55 `PSTricks-add' (hv)
ucsencs.def 2011/01/21 Fixes to fontencodings LGR, T3
Verfasst: Do 31. Okt 2013, 14:42
von u_fischer
Das ist ein Fehler in der Dokumentation (Herbert Voss weiß es schon), es fehlt die Option parse:
Mit dem pst-barcode aus TL 2013 funktioniert das hier wie erwartet:
\documentclass[10pt,a4paper]{scrartcl}
\usepackage{pst-barcode}
\begin{document}
\begin{pspicture}(5,1in)
\psbarcode{^104^102Count^0991234^101!}{includetext parse}{code128}
\end{pspicture}
\end{document}
Verfasst: Do 31. Okt 2013, 15:16
von mareb
Hallo,
man,

oh mann.
Ich möchte gleichzeitig laut Scheisse und DANKE brüllen!
Was hab ich für Zeit verbraten!
Herzlichen Dank für diese kleine Wort!