From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96686 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Pierre Delange Newsgroups: gmane.comp.tex.context Subject: Re: texexec in ConTeXt Standalone does not work Date: Fri, 28 Oct 2016 20:55:37 +0200 Message-ID: <61f17e49-3680-feaf-811a-e7a1c63de29c@free.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0490912065014868225==" X-Trace: blaine.gmane.org 1477680983 7516 195.159.176.226 (28 Oct 2016 18:56:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 18:56:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 28 20:56:17 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0CJw-0007vQ-4G for gctc-ntg-context-518@m.gmane.org; Fri, 28 Oct 2016 20:56:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 451491C28B; Fri, 28 Oct 2016 20:55:52 +0200 (CEST) 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 MujmHmPj0DFO; Fri, 28 Oct 2016 20:55:51 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6222D1C290; Fri, 28 Oct 2016 20:55:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B5721C28B for ; Fri, 28 Oct 2016 20:55:50 +0200 (CEST) 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 lIhJIThsuvdk for ; Fri, 28 Oct 2016 20:55:49 +0200 (CEST) Original-Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 227781C28A for ; Fri, 28 Oct 2016 20:55:38 +0200 (CEST) Original-Received: from [192.168.0.11] (unknown [78.208.237.21]) by smtp2-g21.free.fr (Postfix) with ESMTP id E90932003A2 for ; Fri, 28 Oct 2016 20:55:37 +0200 (CEST) In-Reply-To: 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:96686 Archived-At: This is a multi-part message in MIME format. --===============0490912065014868225== Content-Type: multipart/alternative; boundary="------------CC727746204541E422BEAEF0" This is a multi-part message in MIME format. --------------CC727746204541E422BEAEF0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Asim, Before typing |: |||set OSFONTDIR=c:/windows/fonts you have to go to |/context/tex/texmf-win64/bin/ and type : ||set PATH=%PATH% (if your Windows system is |||32 bits |Windows, modify the command). | |Then : |||set OSFONTDIR=c:/windows/fonts|| ||After that, in the same directory (|||||/context/tex/texmf-win64/bin/)| type :|| |||||1) ||context --generate then 2) ||context --make| |3) In order to reload all fonts installed in c:/windows/fonts, type the following command :| |mtxrun --script fonts --reload| |You may verify the installation of any font with the following command :| mtxrun --script fonts --list --pattern=AnyFont* --all (you can play with * before and/or after the Font name)) |Hope that helps,| |JP | Le 28/10/2016 à 20:35, Asim ConTeXt a écrit : > Thank you. > I want to use MkII because, as far as I know, MkII uses pdfTeX; which > is stable. While MkIV uses LuaTeX; which is yet in development. > Further, pdfTeX is better at microtypography. > Am I correct at these two points? I would like to hear from you. > > I found that my system fonts are located at c:\windows\fonts, so I > added this address in front of OSFONTDIR in texmf.cnf file. But it > still is not working, although the previous warning message has now > gone. ConTeXt now silently stops the processing and does not give any > output file. > > On Fri, Oct 28, 2016 at 3:34 AM, Mica Semrick > wrote: > > Any reason you want to use MKII instead of MKIV? > > It looks lime you need to set the environment variable OSFONTDIR, > which should point to the directory where your fonts are stored. > > -m > > On October 27, 2016 2:02:10 PM PDT, Asim ConTeXt > > wrote: > > Dear list members, > I am new to ConTeXt world. I have installed ConTeXt Standalone > according to the instructions given in ConTeXt Standalone with > TexWorks > and > instructions given in Windows Installation > . I > added the address of context.exe into the Processing Tools of > TeXworks, according to instruction # 6 in ConTeXt Standalone > with TexWorks > and > compiled a simple ConTeXt document, it works fine. But I want > to use texexec (MkII), I had installed Ruby according to the > instruction 1. I added address of texexec.exe to the > Processing Tools of TeXworks; but when I try to compile the > simple document, it does not work and gives the following > warning and stops without giving any output pdf file: > > warning: > c:/Users/bsee1206/Desktop/ConTeXt/tex/texmf/web2c/texmf.cnf:49: > (kpathsea) No cnf value on line: OSFONTDIR =. > > Any suggestions? > > ------------------------------------------------------------------------ > > 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://context.aanhet.net > archive :https://bitbucket.org/phg/context-mirror/commits > / > wiki :http://contextgarden.net > ------------------------------------------------------------------------ > > ___________________________________________________________________________________ > 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://context.aanhet.net archive : > https://bitbucket.org/phg/context-mirror/commits/ > wiki : > http://contextgarden.net > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------CC727746204541E422BEAEF0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi Asim,

Before typing : set OSFONTDIR=c:/windows/fonts you have to go to /context/tex/texmf-win64/bin/ and type : set PATH=%PATH% (if your Windows system is 32 bits Windows, modify the command).

Then : set OSFONTDIR=c:/windows/fonts

After that, in the same directory (/context/tex/texmf-win64/bin/) type :

1) context --generate then 2) context --make

3) In order to reload all fonts installed in c:/windows/fonts, type the following command :

mtxrun --script fonts --reload

You may verify the installation of any font with the following command :

mtxrun --script fonts --list --pattern=AnyFont* --all (you can play with * before and/or after the Font name))

Hope that helps,

JP


Le 28/10/2016 à 20:35, Asim ConTeXt a écrit :
Thank you.
I want to use MkII because, as far as I know, MkII uses pdfTeX; which is stable. While MkIV uses LuaTeX; which is yet in development. Further, pdfTeX is better at microtypography.
Am I correct at these two points? I would like to hear from you.

I found that my system fonts are located at c:\windows\fonts, so I added this address in front of OSFONTDIR in texmf.cnf file. But it still is not working, although the previous warning message has now gone. ConTeXt now silently stops the processing and does not give any output file.

On Fri, Oct 28, 2016 at 3:34 AM, Mica Semrick <mica@silentumbrella.com> wrote:
Any reason you want to use MKII instead of MKIV?

It looks lime you need to set the environment variable OSFONTDIR, which should point to the directory where your fonts are stored.

-m

On October 27, 2016 2:02:10 PM PDT, Asim ConTeXt <asimsodai+ConTeXt@gmail.com> wrote:
Dear list members,
I am new to ConTeXt world. I have installed ConTeXt Standalone according to the instructions given in ConTeXt Standalone with TexWorks and instructions given in Windows Installation. I added the address of context.exe into the Processing Tools of TeXworks, according to instruction # 6 in ConTeXt Standalone with TexWorks and compiled a simple ConTeXt document, it works fine. But I want to use texexec (MkII), I had installed Ruby according to the instruction 1. I added address of texexec.exe to the Processing Tools of TeXworks; but when I try to compile the simple document, it does not work and gives the following warning and stops without giving any output pdf file:
warning: c:/Users/bsee1206/Desktop/ConTeXt/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =.
Any suggestions? 

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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________ 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://context.aanhet.net archive  : https://bitbucket.org/phg/context-mirror/commits/ wiki     : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________
--------------CC727746204541E422BEAEF0-- --===============0490912065014868225== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0490912065014868225==--