Hi, I'm beginning with ConTeXt. With the code below, the outpout pdf file shows space symbols between the three words of the title (cf. attached file): ---------------------------------------- \setupbodyfont[11pt] \enableregime[utf-8] \mainlanguage[fr] \starttext \setMPtext {1} {C'est le titre} \startMPcode pickup pencircle scaled .5mm ; pair a; a :=(0.2cm,.5cm); label.rt("\MPtext {1}",a); draw (0cm,0cm)--(8cm,0cm); draw (8cm,0cm)..(8.15cm,0.08cm)..(8.2cm,0.18cm); draw (8.2cm,0.18cm)--(8.7cm,1.7cm); \stopMPcode \stoptext ---------------------------------------- How can I avoid these symbols? Thanks for your help, Tristan lorino -- Ifsttar - Nantes Département « Aménagement, mobilités et environnement » Laboratoire « Environnement, acoustique, sécurité et éco-conception » Route de Bouaye CS4 44344 BOUGUENAIS Cedex Tél. +33 (0)2 40 84 56 18 Fax +33 (0)2 40 84 59 92
On 2013–04–10 Tristan Lorino wrote:
I'm beginning with ConTeXt.
You probably compiled your document with texexec. That means you are using an old, but still supported, version of ConTeXt called MkII. You can make you life easier if you use the newer version MkIV instead. Just compile with context somefile.tex instead of texexec. And you can skip the \enableregime line.
---------------------------------------- […] ----------------------------------------
How can I avoid these symbols?
If you use MkIV, those symbols don't show up. I don't know why they are visible with MkII. Marco
On 4/10/2013 3:50 PM, Marco Patzer wrote:
If you use MkIV, those symbols don't show up. I don't know why they are visible with MkII.
because in the old fonts there's a visual space in slot 32 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Thanks. I'm on Mac (10.8.3), with TeXLive (MacTeX 2012). I compile with Context through TeXShop: the log is This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012) ... ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30 I don't know how to get MKIV instead of MKII. Thanks again for your help. Tristan ----- Mail original -----
De: "Hans Hagen"
À: ntg-context@ntg.nl Envoyé: Mercredi 10 Avril 2013 16:15:46 Objet: Re: [NTG-context] New user of ConTeXt because in the old fonts there's a visual space in slot 32
-- Ifsttar - Nantes Département « Aménagement, mobilités et environnement » Laboratoire « Environnement, acoustique, sécurité et éco-conception » Route de Bouaye CS4 44344 BOUGUENAIS Cedex Tél. +33 (0)2 40 84 56 18 Fax +33 (0)2 40 84 59 92
You already have MKIV (probably)
As already mentioned, just type "context" instead of "texexec" as the command.
$ context name-of-your-tex-file.tex
I to had to learn that "texexec" is the script invoking MKII and that "context" is
the script that invokes MKIV. But both are usually included in a distribution I believe.
Tristan Lorino
Thanks. I'm on Mac (10.8.3), with TeXLive (MacTeX 2012). I compile with Context through TeXShop: the log is
This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012) ... ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30
I don't know how to get MKIV instead of MKII. Thanks again for your help.
Tristan
Hi Tristan,
If you ar eusing TeXLive and TeXShop on a Mac, when typesetting you should use a different engine than the one you use now.
To do so, pay attention to menu on the top of you source file, to th eright of the « Typeset » button: there it is indicated which engine you are going to use when you typeset. Try the engine « ConTeXt (LuaTeX) ».
Another solution is to install the stand alone version of ConTeXt.
Best regards: OK
On 10 avr. 2013, at 16:29, Tristan Lorino
Thanks. I'm on Mac (10.8.3), with TeXLive (MacTeX 2012). I compile with Context through TeXShop: the log is
This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012) ... ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30
I don't know how to get MKIV instead of MKII. Thanks again for your help.
Tristan
----- Mail original -----
De: "Hans Hagen"
À: ntg-context@ntg.nl Envoyé: Mercredi 10 Avril 2013 16:15:46 Objet: Re: [NTG-context] New user of ConTeXt because in the old fonts there's a visual space in slot 32
-- Ifsttar - Nantes Département « Aménagement, mobilités et environnement » Laboratoire « Environnement, acoustique, sécurité et éco-conception » Route de Bouaye CS4 44344 BOUGUENAIS Cedex Tél. +33 (0)2 40 84 56 18 Fax +33 (0)2 40 84 59 92
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On Wed, 10 Apr 2013, Tristan Lorino wrote:
\starttext
\setMPtext {1} {C'est le titre} \startMPcode pickup pencircle scaled .5mm ; pair a; a :=(0.2cm,.5cm); label.rt("\MPtext {1}",a);
In MkIV, this should be label.rt(btex \MPtext{1} etex, a); In MkII, you'd have to use label.rt(texttext("\MPtext{1}"), a); Aditya
participants (6)
-
Aditya Mahajan
-
Hans Hagen
-
hwitloc@gmail.com
-
Marco Patzer
-
Otared Kavian
-
Tristan Lorino