ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ursula Hermann <ursula.hermann@univie.ac.at>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: QR Code
Date: Mon, 18 Dec 2023 14:19:41 +0000	[thread overview]
Message-ID: <020842207bc34beeb7a63afa0cf2ac22@univie.ac.at> (raw)
In-Reply-To: <5b4f889b-7ef2-459f-8c84-0c79b7ee573f@fiee.net>

Dear Henning, 

I have downloaded Zint in Windows. Yes, I saw it, but I'm not sure where to write this file. I have WinEdt 11. 

Many thanks 
Uschi 

-----Ursprüngliche Nachricht-----
Von: Henning Hraban Ramm <texml@fiee.net> 
Gesendet: Montag, 18. Dezember 2023 13:26
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: QR Code

Am 18.12.23 um 13:00 schrieb Ursula Hermann:
> Dear  List
> 
> I was interested how it works.
> 
> So I started this example.
> 
> \starttext
> 
> \usemodule[m-zint]
> 
> \barcode[alternative=isbnx, text=9783865419026, width=4cm]
> 
> \barcode[alternative=qrcode, text={https://wiki.contextgarden.net},
> width=3cm]
> 
> \stoptext
> 
> Is that the right way?

just \usemodule[zint]

This works for me:
\barcode[alternative=isbn, text=9783865419026, width=5cm] \barcode[alternative=qr code, text={https://wiki.contextgarden.net},
width=2.5cm]
(Not sure how tolerant the codes are.)

But you must install the zint libraries, as outlined in https://wiki.contextgarden.net/Barcodes
I guess you saw this, since you quote the wiki examples.

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2023-12-18 16:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-18 12:00 [NTG-context] " Ursula Hermann
2023-12-18 12:26 ` [NTG-context] " Henning Hraban Ramm
2023-12-18 14:13   ` Ursula Hermann
2023-12-18 15:14     ` vm via ntg-context
2023-12-18 16:05       ` Ursula Hermann
2023-12-18 16:44         ` vm via ntg-context
2023-12-18 19:17         ` Pablo Rodriguez via ntg-context
2023-12-18 19:34         ` Henning Hraban Ramm
2023-12-18 20:35           ` Pablo Rodriguez via ntg-context
2023-12-18 21:06             ` Michal Vlasák
2023-12-19 11:37           ` Ursula Hermann
2023-12-21 13:29           ` Ursula Hermann
2023-12-18 14:19   ` Ursula Hermann [this message]
2024-04-29  3:03 Benjamin Buchmuller
2024-04-29  7:12 ` Henning Hraban Ramm

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=020842207bc34beeb7a63afa0cf2ac22@univie.ac.at \
    --to=ursula.hermann@univie.ac.at \
    --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).