\usepackage{pstricks}
\usepackage{pst-barcode}


 \begin{pspicture}(30mm,30mm)
    \obeylines
    \psbarcode{%
      BEGIN:VCARD^^J
      VERSION:3.0^^J
      N:Lee;Jeong Han^^J
      FN:Jeong Han Lee^^J
      ORG:-^^J
      TITLE:-^^J
      URL:^^J
      EMAIL;TYPE=internet,pref:xxxx@xxx.xxx^^J
      TEL;TYPE=voice,cell,pref:+82 00 0000 0000^^J
      TEL;TYPE=voice,work:+82 11 1111 0000^^J
      TEL;TYPE=fax,work:+82 11 1111 0001^^J
      ADR;TYPE=intl,work,postal,parcel:;;0 beta-daero 1689 gil beta-gu;Daejeon;;305-811;;South Korea^^J
      END:VCARD
    }{eclevel=L width=1.181 height=1.181}{qrcode}%
  \end{pspicture}


References


저작자 표시 비영리 변경 금지
신고
블로그 이미지

citadel

memory, life, and logs

The margin of the output pdf file are incorrect, if I want to use a4paper instead of letter without any option like as

dvipdf test.dvi

In that case,  the following command gives me a good margin pdf file.

dvipdf -sPAPERSIZE=a4 test.dvi

저작자 표시 비영리 변경 금지
신고
블로그 이미지

citadel

memory, life, and logs


apt-get install pstoedit  skencil  inkscape

and python-xml (not sure)

Problem:
Effects -> Render -> LaTeX formula
returns nothing.


Solution:
Ubuntu 8.04 Hardy has a bug as
https://bugs.launchpad.net/inkscape/+bug/55273

This bug can be fixed by
cd /usr/share/inkscape/extensions

sudo curl -s 'http://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch' | sudo patch -p0

or
wget -c http://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch
patch -p0 < eqtexsvg.py_linux_shell_apply.patch

, which is well described in the above link.

신고

'Computer > linux' 카테고리의 다른 글

unicode in xterm  (0) 2008.12.18
Inkscape 0.46 with latex formular error  (0) 2008.12.18
xorg.conf with an external monitor  (0) 2008.12.17
mount usb devices by using UUID or device ID (id)  (0) 2008.12.09
블로그 이미지

citadel

memory, life, and logs

티스토리 툴바