From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63743 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Is the chart module broken? Date: Fri, 19 Nov 2010 19:12:24 +0100 Message-ID: References: <87lj5av7jb.fsf@Compaq.site> <4CD1ACF5.4030806@wxs.nl> <871v6hzrlg.fsf@Compaq.site> <4CE6B3F4.4020105@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0079791669==" X-Trace: dough.gmane.org 1290190361 25570 80.91.229.12 (19 Nov 2010 18:12:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 18:12:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 19:12:37 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJVRp-0005wE-Eu for gctc-ntg-context-518@m.gmane.org; Fri, 19 Nov 2010 19:12:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 55A7DCA874; Fri, 19 Nov 2010 19:12:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id y0cHr7rD7+57; Fri, 19 Nov 2010 19:12:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04F2DCA855; Fri, 19 Nov 2010 19:12:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BBD0CA855 for ; Fri, 19 Nov 2010 19:12:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f01Bbtv5rWbC for ; Fri, 19 Nov 2010 19:12:25 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 90C43CA82B for ; Fri, 19 Nov 2010 19:12:25 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAJICOGV010802 for ; Fri, 19 Nov 2010 19:12:25 +0100 Original-Received: by fxm20 with SMTP id 20so2913394fxm.14 for ; Fri, 19 Nov 2010 10:12:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=NP39GmKvfObmJbow6iiVknMThB63A9Ex9H65arsJhE0=; b=Kcwai1YN7N+0qWQuXb2kxTC3Txsb9i3WY7HA+lXDOzCBOKv5A3pg25d74d8XRzbCdO idzaml96kCGRBmU/GnI7scEFAPux6cQQqztQ8wTsyQbZEtPwxTpKYbAtpeOmNCOUL5ny JF9j36/OzE7twvYXkmv85Cgi29vSwTbCcRNio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GOSEaC6l4X43ln7USB7f2WoDVM60fjhZKfJWyVWyY1f+cW4eq7DPJfobaYEVK8rhn4 MuhAcQj5g+Rz7uwMFcgUHVX/fa4Td8y5Z5R73iU7tjTczBQD2uLXtZ0zwUH8KTEdPgE4 5Jh7BXZu7mjPEcdi3GjYsfPwy5dk88bZEDwOg= Original-Received: by 10.223.72.1 with SMTP id k1mr2127782faj.111.1290190344095; Fri, 19 Nov 2010 10:12:24 -0800 (PST) Original-Received: by 10.223.3.14 with HTTP; Fri, 19 Nov 2010 10:12:24 -0800 (PST) In-Reply-To: <4CE6B3F4.4020105@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Dx6coxN - 6fc61c96baaf - 20101119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63743 Archived-At: --===============0079791669== Content-Type: multipart/alternative; boundary=20cf3054a5f927116a04956bd986 --20cf3054a5f927116a04956bd986 Content-Type: text/plain; charset=ISO-8859-1 2010/11/19 Hans Hagen > On 19-11-2010 8:43, Cecil Westerhof wrote: > > The only things I see that could mean something are: >> systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead >> > > this is harmless but you can copy the file cont-sys.rme to cont-sys.tex and > tweak its content I did not think so, but better safe as sorry. pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! > > But I do not know if that is a problem. > > The pfd is made with: > texexec --automp flowchart > > Without the --automp I get a message about mpost. > Is mpost run or not? Your code looks ok and generates an image here, so it > looks like mpost is not run on your system. > I tried to make it after running 'texexec --make metafun'. It is still not run. I get: systems : begin file flowchart at line 3 (./flowchart-flw-1.tmp) (./flowchart-flw-1.tmp) (./flowchart-flw-1.tmp)sh: mpost: opdracht niet gevonden locate mpost gives: /home/cecil/ConTeXt/tex/texmf-linux/bin/mpost /home/cecil/ConTeXt/tex/texmf/metapost/base/mpost.mp /usr/lib/texmf/doc/man/man1/mpost.man1.pdf /usr/share/doc/packages/libSDL-devel/html/sdlsempost.html /usr/share/pstoedit/mpost.fmp Trying alias mpost=/home/cecil/ConTeXt/tex/texmf-linux/bin/mpost does not make a difference. For the moment forget about --automp as it only makes sense as speed > optimization. > I read somewhere to use it when having a problem with mpost. And I do not get a message when using it. But I forget about it. - double check if write18 is enabled in the used texmf.cnf file > When trying to make the pdf I get: This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) \write18 enabled. (/usr/lib/texmf/web2c/natural.tcx) entering extended mode (./flowchart.tex So it should be enabled. > - make sure that there is a metafun format (texexec --make metafun) Gives: MTXrun | kpse fallback with progname 'context' initialized in 0.04 seconds TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /etc/texmf/ls-R... mktexlsr: Updating /var/lib/texmf/main/ls-R... mktexlsr: Updating /usr/share/texmf/../../../var/lib/texmf/dist/ls-R... mktexlsr: Updating /var/cache/texmf/fonts/ls-R... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Done. TeXExec | using mp engine mpost TeXExec | using mps format path /etc/texmf/web2c TeXExec | generating mps format metafun TeXExec | TeXExec | mps engine path: /etc/texmf/web2c TeXExec | TeXExec | TeXExec | runtime: 0.675681 -- Cecil Westerhof --20cf3054a5f927116a04956bd986 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2010/11/19 Hans Hagen <pragma@wxs.nl>
On 19-11-2010 8:43, Cecil Westerhof wrote:

The only things I see that could mean something are:
=A0 =A0 systems =A0 =A0 =A0 =A0 : no file 'cont-sys.tex', using &#= 39;cont-sys.rme' instead

this is harmless but you can copy the file cont-sys.rme to cont-sys.tex and= tweak its content

I did not think so, bu= t better safe as sorry.



=A0 =A0 pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted = yet!

But I do not know if that is a problem.

The pfd is made with:
=A0 =A0 texexec --automp flowchart

Without the --automp I get a message about mpost.

Is mpost run or not? Your code looks ok and generates an image here, so it = looks like mpost is not run on your system.

I trie= d to make it after running 'texexec --make metafun'.
It is still= not run. I get:
systems=A0=A0=A0=A0=A0=A0=A0=A0 : begin file flowchart at line 3
(./flow= chart-flw-1.tmp) (./flowchart-flw-1.tmp) (./flowchart-flw-1.tmp)sh: mpost: = opdracht niet gevonden

locate mpost gives:
/home/cecil/ConTeXt/te= x/texmf-linux/bin/mpost
/home/cecil/ConTeXt/tex/texmf/metapost/base/mpo= st.mp
/usr/lib/texmf/doc/man/man1/mpost.man1.pdf
/usr/share/doc/p= ackages/libSDL-devel/html/sdlsempost.html
/usr/share/pstoedit/mpost.fmp<= br>
Trying alias mpost=3D/home/cecil/ConTeXt/tex/texmf-linux/bin/mpost does= not make a difference.
=A0

For the moment forget about --automp as it only makes sense as speed optimi= zation.

I read somewhere to use it when having a p= roblem with mpost. And I do not get a message when using it. But I forget a= bout it.


- double check if write18 is enabled in the used texmf.cnf file

When trying to make the pdf I get:
This is pdfTeX, Version= 3.1415926-1.40.10 (TeX Live 2009/openSUSE)
=A0\write18 enabled.
=A0(= /usr/lib/texmf/web2c/natural.tcx)
entering extended mode
(./flowchart.tex

So it should be enabled.<= br>
=A0
- make sure that there is a metafun format (texexec --make metafun)

Gives:
MTXrun | kpse fallback with progname 'context&#= 39; initialized in 0.04 seconds
TeXExec | using search method 'kpsew= hich'
TeXExec | updating file database
mktexlsr: Updating /etc/texmf/ls-R... <= br>mktexlsr: Updating /var/lib/texmf/main/ls-R...
mktexlsr: Updating /u= sr/share/texmf/../../../var/lib/texmf/dist/ls-R...
mktexlsr: Updating /= var/cache/texmf/fonts/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
TeXExec | = using mp engine mpost
TeXExec | using mps format path /etc/texmf/web2cTeXExec | generating mps format metafun
TeXExec |
TeXExec | mps en= gine path: /etc/texmf/web2c
TeXExec |
TeXExec |
TeXExec | runtime: 0.675681

--
Cecil Westerhof
--20cf3054a5f927116a04956bd986-- --===============0079791669== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0079791669==--