From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94053 Path: news.gmane.org!not-for-mail From: "L.S.-Soc&Gam" Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt installation and configuration on Win 10 x64 Date: Thu, 10 Mar 2016 02:53:09 +0100 Message-ID: <56E0D385.8030408@gmail.com> References: <56E09C2F.4030307@gmail.com> <56E0A896.9070708@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7290047468384472519==" X-Trace: ger.gmane.org 1457574841 9200 80.91.229.3 (10 Mar 2016 01:54:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 01:54:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 10 02:53:34 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adpnB-0005Dj-JH for gctc-ntg-context-518@m.gmane.org; Thu, 10 Mar 2016 02:53:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 072EC7DF4; Thu, 10 Mar 2016 02:53:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dkzf-0-a7oxK; Thu, 10 Mar 2016 02:53:23 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 09EF07DF8; Thu, 10 Mar 2016 02:53:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 855927DF3 for ; Thu, 10 Mar 2016 02:53:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GMVHzOI0GvIo for ; Thu, 10 Mar 2016 02:53:19 +0100 (CET) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C86D27DEF for ; Thu, 10 Mar 2016 02:53:09 +0100 (CET) Original-Received: by mail-wm0-f51.google.com with SMTP id l68so9844382wml.0 for ; Wed, 09 Mar 2016 17:53:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=CPbJvNXpWshH7KsrbozwxW+mTBoF18E+OjuKujzKIEM=; b=CbSAhdbrUdOBYb62iWNyh540ci/9p+24grj25VXjhWwq1HbZgi1ZfT2ufonTt999oy 8fBGcvcNrMqvfAOyQJAAp3bF42PYcidtr8dMGcjqvvuuwRe1T+sXRmZOTfysX4fAveOH eLM9p9t49C7g+S1BJIsAV5ixE4w38GR7TEalo5kgcEQoa4xPcL+zKqHY1TVycU86lBIs IB4aJDcv0VFNu862xqG2RBPR2sdzmsZ1HTEICpnvkPJF12edZHNXrGHYtDHPBvn7ZjIV /JcN8nMjNuoDdp5lFi43mukwHIuHwxLWVLbJIiWhiTBBb4b0uzrSfcfYPBflDgziWO9d mSmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=CPbJvNXpWshH7KsrbozwxW+mTBoF18E+OjuKujzKIEM=; b=Uql2wnDcWZI0LDakvEZ07tUReko3vV7+nztNl3jSJirp3zmdvLSL35MuXQLtdIjsL6 f1iF4aiozV8QblYKLKoeLeKyUnIGF3Z+bywcBeoNOCb5K7ky6EL3grs7IWorPgbvS09S eq0gfzaRtGXGspPrsngMGb+xp+zw5FJEUuzp2vCgclvLJDeLPT6JCoo0fh8xr1UGsJp1 cujGoo+QcgcyAgrUeU5Ev35FHIKzPniq5V8fvCNDisk23WILfl1bjlJLvzlZdhRAzi5v 4GiIqFE6a9riNKeNjPUe7CW3M43bHMO88ZZPGMwmIiOHHt9ose3X/tYB23nnER+07bDH Aqvg== X-Gm-Message-State: AD7BkJIkMnXseliIj2HRzFebbgHadRlFbCcFmvz2wpwsj+k3UZbEGG/z7z3X7N57PPjhOw== X-Received: by 10.194.249.42 with SMTP id yr10mr760761wjc.12.1457574789002; Wed, 09 Mar 2016 17:53:09 -0800 (PST) Original-Received: from [192.168.1.2] (port-92-201-87-218.dynamic.qsc.de. [92.201.87.218]) by smtp.googlemail.com with ESMTPSA id ys9sm1092450wjc.35.2016.03.09.17.53.08 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2016 17:53:08 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <56E0A896.9070708@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94053 Archived-At: This is a multi-part message in MIME format. --===============7290047468384472519== Content-Type: multipart/alternative; boundary="------------090704000501080504090203" This is a multi-part message in MIME format. --------------090704000501080504090203 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable hey Pablo, thanks a lot for pointing some things out. i finally managed=20 to get mkiv working!!! Am 09.03.2016 um 23:49 schrieb Pablo Rodriguez: > On 03/09/2016 10:57 PM, L.S.-Soc&Gam wrote: >> in TeXnicCenter i added a new profile. >> on (La)TeX register i have activated: Run LaTeX in this profile. >> >> in the path to compiler field i entered: >> F:\Sandbox\ConTeXt\tex\setuptex.bat & >> F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe >> >> question: do i need both entries? > I don=E2=80=99t think so. The second entry isn=E2=80=99t required at al= l. almost! the first one wasn't required. *setuptex.bat* only initializes=20 the context folder sub-tree to the system. this is not necessary if=20 *...**\ConTeXt\tex\texmf-win64\bin\* has been added to the system path.=20 in case of TeXnicCenter it might be not necessary at all, unless=20 *context.exe* doesn't call any other executable or batch files. but even=20 then it would look in its own folder first. i will check that out in the=20 future. > >> in the command line field i entered: >> texexec.rb --batch --nonstop --pdf --color "%bm" --synctex=3D-1 >> >> BibTeX is deactivated, MakeIndex isn't used either. > MakeIndex isn=E2=80=99t required in ConTeXt. (Indices aren=E2=80=99t ge= nerated using > MakeIndex in ConTeXt, afaIk.) > > BibTeX may work, but there is a much better bibliographic module being > developed. it's not that i would need any of these so i didn't bother about those=20 options being deactivated in the first place anyway. but thanks for=20 pointing out what those are there for. >> well and it works. but not without ruby: why do i need ruby? i would u= se >> mkiv only if i could. i also worked with Hex color codes but then >> everything is black untill i add \setupcolor[hex] to the document. i >> read that this line is only needed in mkiv, so again i am wondering wh= y >> i am obviously using mkii instead of mkiv... > The command line for MkIV should read "context source-file.tex". BTW, > ruby isn=E2=80=99t required for MkIV. here's the point why it works now: TeXnicCenter has a location field and=20 a console command field. this is what i entered in the compiler LOCATION field before: F:\Sandbox\ConTeXt\tex\setuptex.bat &=20 F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe like you pointed out before: *setuptex.bat* is not needed and the second=20 path with texmfstart.exe is for i don't know what!?! but it always used=20 mkii as compiler... anyway this is from a tutorial from the contextgarden wiki:=20 http://wiki.contextgarden.net/TeXnicCenter that's why i got frustrated. the article was last updated 2012 and=20 honestly i was quiet sure that's it's up to date. so i simply changed the compiler location to=20 F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe and as you also pointed out i had to tell context which file. and=20 therefor is the console command field. in my quotation above there is=20 the following command: "%bm" i didn't realize that %bm is TeXnicCenter specific to handle over the=20 name of the current project to the command line. it's that easy; one=20 just has to know...^^ so my location is now F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe and command is %bm and it finally works!!! so again Pablo thanks for taking me to this. > >> the last question for now is: how can i stop pdfTeX.exe from warning m= e >> that no GlyphToUnicode entry has been inserted yet. i read somewhere >> that this can be ignored but nobody explains what this is and how it >> works. i just don't want to read this every time but fix it. >> and what is meant with bad boxes? i read "Underfull \hbox (badness >> 10000) in paragraph..." but don't know how to fix this. > Warnings fron pdftex will dissapear when you switch to MkIV :-). > > "Underfull \hbox" may be caused by wrong hyphenation? > > Would it be possible that you were compiling a German (or non-English t= ext)? > > In such case, please add "\mainlanguage[de]" in the first line of your > source document. yes, i had \language in my document before but i also added=20 \mainlanguage too now. didn't know about this one, so thanks yet again. and you were right, i now don't have any errors or warnings anymore. but=20 unfortunately now console also doesn't show the quantity of pages=20 compiled anymore. i tried before with *context.exe* compiler location=20 (the long described case above) but it always showed 0 pages so i=20 thought nothing got compiled.^^ i didn't bother anymore and changed back=20 to *texmfstart.exe*. maybe i should have checked the pdfs first. :D so yeah, i finally got ConTeXt mkiv up and running and can't wait to=20 continue learning this beast. thanks a bunch Pablo. you helped me a lot. Greetings, Sebastian --------------090704000501080504090203 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable hey Pablo, thanks a lot for pointing some things out. i finally managed to get mkiv working!!!

Am 09.03.2016 um 23:49 schrieb Pablo Rodriguez:
On 03/09/2016 10:57 PM, L.S.-Soc&Gam wrote:
in TeXnicCenter i added a new profile.
on (La)TeX register i have activated: Run LaTeX in this profile.

in the path to compiler field i entered:
F:\Sandbox\ConTeXt\tex\setuptex.bat &=20
F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe

question: do i need both entries?
I don=E2=80=99t think so. The second entry isn=E2=80=99t required at all.=

almost! the first one wasn't required. setuptex.bat only initializes the context folder sub-tree to the system. this is not necessary if ...\ConTeXt\tex\texmf-win64\bin\ has been added to the system path. in case of TeXnicCenter it might be not necessary at all, unless context.exe doesn't call any other executable or batch files. but even then it would look in its own folder first. i will check that out in the future.


in the command line field i entered:
texexec.rb --batch --nonstop --pdf --color "%bm" --synctex=3D-1

BibTeX is deactivated, MakeIndex isn't used either.
MakeIndex isn=E2=80=99t required in ConTeXt. (Indices aren=E2=80=99t gene=
rated using
MakeIndex in ConTeXt, afaIk.)

BibTeX may work, but there is a much better bibliographic module being
developed.

it's not that i would need any of these so i didn't bother about those options being deactivated in the first place anyway. but thanks for pointing out what those are there for.


      
well and it works. but not without ruby: why do i =
need ruby? i would use=20
mkiv only if i could. i also worked with Hex color codes but then=20
everything is black untill i add \setupcolor[hex] to the document. i=20
read that this line is only needed in mkiv, so again i am wondering why=20
i am obviously using mkii instead of mkiv...
The command line for MkIV should read "context source-file.tex". BTW,
ruby isn=E2=80=99t required for MkIV.

here's the point why it works now: TeXnicCenter has a location field and a console command field.

this is what i entered in the compiler LOCATION field before:
F:\Sandbox\ConTeXt\tex\setuptex.bat & F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe

like you pointed out before: setuptex.bat is not needed and the second path with texmfstart.exe is for i don't know what!?! but it always used mkii as compiler...
anyway this is from a tutorial from the contextgarden wiki: http://wiki.contextgarden.net/TeXnicCenter
that's why i got frustrated. the article was last updated 2012 and honestly i was quiet sure that's it's up to date.

so i simply changed the compiler location to F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe
and as you also pointed out i had to tell context which file. and therefor is the console command field. in my quotation above there is the following command:
"%bm"

i didn't realize that %bm is TeXnicCenter specific to handle over the name of the current project to the command line. it's that easy; one just has to know...^^

so my location is now=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe
and command is=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 %bm

and it finally works!!! so again Pablo thanks for taking me to this.<= br>

the last question for now is: how can i stop pdfTe=
X.exe from warning me=20
that no GlyphToUnicode entry has been inserted yet. i read somewhere=20
that this can be ignored but nobody explains what this is and how it=20
works. i just don't want to read this every time but fix it.
and what is meant with bad boxes? i read "Underfull \hbox (badness=20
10000) in paragraph..." but don't know how to fix this.
Warnings fron pdftex will dissapear when you switch to MkIV :-).

"Underfull \hbox" may be caused by wrong hyphenation?

Would it be possible that you were compiling a German (or non-English tex=
t)?

In such case, please add "\mainlanguage[de]" in the first line of your
source document.
yes, i had \language in my document before but i also added \mainlanguage too now. didn't know about this one, so thanks yet again.

and you were right, i now don't have any errors or warnings anymore. but unfortunately now console also doesn't show the quantity of pages compiled anymore. i tried before with context.exe compiler location (the long described case above) but it always showed 0 pages so i thought nothing got compiled.^^ i didn't bother anymore and changed back to texmfstart.exe. maybe i should have checked the pdfs first. :D


so yeah, i finally got ConTeXt mkiv up and running and can't wait to continue learning this beast. thanks a bunch Pablo. you helped me a lot.

Greetings, Sebastian
--------------090704000501080504090203-- --===============7290047468384472519== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============7290047468384472519==--