ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Can ConTeXt generate QR-codes
Date: Tue, 26 Jul 2011 08:50:09 +0200	[thread overview]
Message-ID: <op.vy7rxvnmtpjj8f@lpr> (raw)
In-Reply-To: <27602873-3C51-477A-B3BC-AC8DE25AB2D6@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

Hello,

I tried to compile the example:

---- Zint.mkiv
\usemodule[zint]
----

with

----
context.exe Zint.mkiv --mode=demo
----

But it seem that something doesn't work correctly under Windows - see the result attached and the log.

Pictures to be involved to the document are not generated and (error) messages

"zint není názvem vnitřního ani vnějšího příkazu, spustitelného programu nebo dávkového souboru."

(which means "zint is not a name of an internal or an external command, an executable or a batch file.")

appear several times during the compilation.

And also, three temporary files of a mask "zint-*.tmp" stay in the directory after compilation (does the module delete them automatically?).

Lukas


On Sat, 23 Jul 2011 12:19:52 +0200, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

>
> Am 23.07.2011 um 11:28 schrieb Cecil Westerhof:
>
>> I would like to integrate qr-codes into documents. (http://en.wikipedia.org/wiki/QR_code) Is this possible with ConTeXt?
>
> \usemodule[zint]
>
> There is a example at the end of the module.
>
> Wolfgang


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: Zint.log --]
[-- Type: application/octet-stream, Size: 14620 bytes --]

(Zint.mkiv

ConTeXt  ver: 2011.07.19 11:22 MKIV  fmt: 2011.7.19  int: english/english

system          > cont-new.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > Zint.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["mode"]="demo",
used options    > }
used options    > document.files={
used options    >  "Zint.mkiv",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=Zint.mkiv]
used options    > \setupsystem[\c!n=2,\c!m=3]
used options    > % modes
used options    > \enablemode[demo]
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(Zint.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
)
resolvers       > modules > loaded: 'zint'
(c:/ConTeXt/tex/texmf-context/tex/context/base/m-zint.mkiv{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)
files           > readfile > asked name: 'loc', not found
{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-d726c9df1e167a4c33e369a57fb54b67'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-pdf417-f0184db6c3db89321d666029d28cae41'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
comment         > using 'zint' to generate 'zint-isbn-5742b125af59ad81daad04d61ed5662e'
backend         > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
 )<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf><c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>

system          > files > start used files

used files      >    1: filename=Zint.mkiv | foundname=Zint.mkiv | usedmethod=direct
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    3: filename=Zint.top | foundname=Zint.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=c:/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    5: filename=m-zint.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/m-zint.mkiv | usedmethod=database
used files      >    6: filename=mkiv-base.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >    7: filename=type-siz.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv | usedmethod=database
used files      >    8: filename=type-otf.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv | usedmethod=database
used files      >    9: filename=lm-math.lfg | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   10: filename=lm-math.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   11: filename=lm-rm.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   12: filename=lmroman12-regular | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   13: filename=lmroman7-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-regular.otf | usedmethod=database
used files      >   14: filename=rm-lmr7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr7.tfm | usedmethod=database
used files      >   15: filename=lmmi7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi7.tfm | usedmethod=database
used files      >   16: filename=lmsy7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy7.tfm | usedmethod=database
used files      >   17: filename=lmex10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmex10.tfm | usedmethod=database
used files      >   18: filename=msam7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam7.tfm | usedmethod=database
used files      >   19: filename=msbm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm7.tfm | usedmethod=database
used files      >   20: filename=stmary10.afm | filetype=afm | format=afm | foundname=c:/ConTeXt/tex/texmf/fonts/afm/public/stmaryrd/stmary10.afm | usedmethod=database
used files      >   21: filename=stmary10.pfb | filetype=pfb | format=pfb | foundname=c:/ConTeXt/tex/texmf/fonts/type1/public/stmaryrd/stmary10.pfb | usedmethod=database
used files      >   22: filename=lmroman7-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-bold.otf | usedmethod=database
used files      >   23: filename=lmmib7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib7.tfm | usedmethod=database
used files      >   24: filename=lmsans8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans8-regular.otf | usedmethod=database
used files      >   25: filename=lmmono8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=database
used files      >   26: filename=eufm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm7.tfm | usedmethod=database
used files      >   27: filename=eufb7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb7.tfm | usedmethod=database
used files      >   28: filename=lmroman9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-regular.otf | usedmethod=database
used files      >   29: filename=rm-lmr9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr9.tfm | usedmethod=database
used files      >   30: filename=lmmi9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi9.tfm | usedmethod=database
used files      >   31: filename=lmsy9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy9.tfm | usedmethod=database
used files      >   32: filename=msam10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam10.tfm | usedmethod=database
used files      >   33: filename=msbm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | usedmethod=database
used files      >   34: filename=lmroman9-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-bold.otf | usedmethod=database
used files      >   35: filename=lmmib10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib10.tfm | usedmethod=database
used files      >   36: filename=lmsans9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans9-regular.otf | usedmethod=database
used files      >   37: filename=lmmono9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono9-regular.otf | usedmethod=database
used files      >   38: filename=eufm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm10.tfm | usedmethod=database
used files      >   39: filename=eufb10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb10.tfm | usedmethod=database
used files      >   40: filename=lmroman12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   41: filename=rm-lmr12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr12.tfm | usedmethod=database
used files      >   42: filename=lmmi12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi12.tfm | usedmethod=database
used files      >   43: filename=lmsy10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy10.tfm | usedmethod=database
used files      >   44: filename=lmroman12-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf | usedmethod=database
used files      >   45: filename=lmsans12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans12-regular.otf | usedmethod=database
used files      >   46: filename=lmmono12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files      >   47: filename=lmmono12-regular | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files      >   48: filename=lmmono8-regular | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=database
used files      >   49: filename=lpdf-pdx.xml | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=database

system          > files > stop used files


system          > structure > start used stucture

used structure  > text: Zint

system          > structure > stop used structure


mkiv lua stats  > used config file          - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - c:/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > resource resolver         - loadtime 0.000 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 49 found files, scanned paths: 
mkiv lua stats  > stored bytecode data      - 293 modules, 63 tables, 356 chunks
mkiv lua stats  > cleaned up reserved nodes - 34 nodes, 9 lists of 423
mkiv lua stats  > node memory usage         - 2 glue, 2 penalty, 9 attribute, 27 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 2388 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 1 requested, 1 found (*-zint), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2570 direct, 3063 indirect, 5633 total
mkiv lua stats  > randomizer                - resumed with value 0.9144260994293
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - Zint.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.266 seconds 
mkiv lua stats  > graphics processing time  - 0.031 seconds including tex, 3 processed images
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.1-2011061421 (web2c 2011) (rev 4277)
mkiv lua stats  > control sequences         - 30707 of 165536
mkiv lua stats  > current memory usage      - 34 MB (ctx: 34 MB)
mkiv lua stats  > runtime                   - 1.297 seconds, 1 processed pages, 1 shipped pages, 0.771 pages/second


[-- Attachment #3: Zint.mkiv --]
[-- Type: application/octet-stream, Size: 18 bytes --]

\usemodule[zint]

[-- Attachment #4: Zint.pdf --]
[-- Type: application/pdf, Size: 9380 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2011-07-26  6:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23  9:28 Cecil Westerhof
2011-07-23 10:19 ` Wolfgang Schuster
2011-07-23 11:42   ` Cecil Westerhof
2011-07-23 12:26   ` Marcin Borkowski
2011-07-23 14:27     ` Cecil Westerhof
2011-07-26  6:50   ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2011-07-26  7:57     ` luigi scarso
2011-07-26  8:05     ` Cecil Westerhof
2011-07-26  8:13     ` luigi scarso
2011-07-26 10:05       ` Hans Hagen
2011-07-26 10:08         ` luigi scarso
2011-07-26 10:23           ` Hans Hagen
2011-07-26 10:13         ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-07-26 10:16           ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vy7rxvnmtpjj8f@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).