In this file, I intended that all labels would come out in 7pt:
=== cut here
\starttext
\startMPenvironment
\setupbodyfont[7pt]
\stopMPenvironment
\startMPinclusions
def drawtext =
label(btex In drawtext() macro. etex, origin);
enddef;
\sto
Mojca Miklavec wrote:
> On 8/7/06, Taco Hoekwater wrote:
>
>> Mojca Miklavec wrote:
>>
>>> The "real problem" appears in the following figure where the first
>>> black is ignored and the second one is not, so it's rather
>>> inconsistent:
>>>
>> It is not really inconsistent, the rul
On 8/7/06, Taco Hoekwater wrote:
>
> Mojca Miklavec wrote:
> >
> > The "real problem" appears in the following figure where the first
> > black is ignored and the second one is not, so it's rather
> > inconsistent:
>
> It is not really inconsistent, the rule is very simple:
>
>all use of "withc
Mojca Miklavec wrote:
>
> The "real problem" appears in the following figure where the first
> black is ignored and the second one is not, so it's rather
> inconsistent:
It is not really inconsistent, the rule is very simple:
all use of "withcolor " upto the first non-zero color
is ignor
On 8/7/06, Hans Hagen wrote:
> Taco Hoekwater wrote:
> > Hi Mojca,
> >
> > Mojca Miklavec wrote:
> >
> >> But the other \sometxt was indeed red - withcolor seems to work, but
> >> only conditionally. And I have some weird examples of two texts one
> >> after another. In some cases (if something els
Taco Hoekwater wrote:
> Hi Mojca,
>
> Mojca Miklavec wrote:
>
>> But the other \sometxt was indeed red - withcolor seems to work, but
>> only conditionally. And I have some weird examples of two texts one
>> after another. In some cases (if something else is drawn inbetween and
>> a color change
Taco Hoekwater wrote:
> Quick fix: You can start your MP code with an explicit color
> initialization.
>
>\startMPcode
> special "0 setgray";
> ..
>\stopMPcode
>
>
> A hack, I know. MetaPost should be able to distinguish between
>draw p
> and
>draw p withcolor (0,0,0
On 8/6/06, Taco Hoekwater wrote:
> Hi Mojca,
>
> Mojca Miklavec wrote:
> >
> > But the other \sometxt was indeed red - withcolor seems to work, but
> > only conditionally. And I have some weird examples of two texts one
> > after another. In some cases (if something else is drawn inbetween and
> >
Hi Mojca,
Mojca Miklavec wrote:
>
> But the other \sometxt was indeed red - withcolor seems to work, but
> only conditionally. And I have some weird examples of two texts one
> after another. In some cases (if something else is drawn inbetween and
> a color changed twice), then the second text wi
On 8/6/06, Taco Hoekwater wrote:
> Mojca Miklavec wrote:
> > Hello,
> >
> > Does anyone have any idea about what's going on here? I get blue text,
> > but a black square, although both are supposed to come out black (I
> > wouldn't mind so much, but the problem is that some text is blue and
> > som
Mojca Miklavec wrote:
> Hello,
>
> Does anyone have any idea about what's going on here? I get blue text,
> but a black square, although both are supposed to come out black (I
> wouldn't mind so much, but the problem is that some text is blue and
> some is black - I have some other testcases where
Hello,
Does anyone have any idea about what's going on here? I get blue text,
but a black square, although both are supposed to come out black (I
wouldn't mind so much, but the problem is that some text is blue and
some is black - I have some other testcases where this happens, but I
have to creat
Hans van der Meer wrote:
> I expect Hans or Taco to react soon with there usual speed and will
> await for their comments first.
>
as taco mentioned, it's in the mem values; mpost does not store them with the
format (in the past this even could give segfaults and worse); tex does not
have th
Taco Hoekwater wrote:
> Hi Hans,
>
> Hans van der Meer wrote:
>
>> I expect Hans or Taco to react soon with there usual speed and will
>> await for their comments first.
>>
>
> Perhaps you missed the post below. The current problem is just
> a different symptom of the same problem.
>
Hi Hans,
Hans van der Meer wrote:
>
> I expect Hans or Taco to react soon with there usual speed and will
> await for their comments first.
Perhaps you missed the post below. The current problem is just
a different symptom of the same problem.
Greetings, Taco
Taco Hoekwater wrote:
> Hans v
After posting this problem I did probe a lot further in this and a
similar problem.
As I reported shortly, the problem goes away when solely replacing in
supp-mps.tex the line
\ifx\TEXEXECcommand \undefined \def\TEXEXECcommand{texmfstart
texexec} \fi
by
\ifx\TEXEXECcommand \undefined \def\TEX
I used to draw in transparent color in MetaFun with: newinternal tfill_mode; tfill_mode := 1; % transparency mode for inside newinternal tfill_fact; tfill_fact := 1; % transparency factor for inside def withFillColor = withcolor transparent(tfill_mode, tfill_fact, fillcolor_) enddef; fill s
Ah, ok, that's exactly what I need to know.
I was thinking that maybe there was some kind of special look for the
\MetaFun word: I was supposing that calling \MetaFun I would have
obtained the (nice) "shaken" metafun logo of the manuals.
Thanks
-a-
On 9 Jun 2006, at 16:55, Taco Hoekwater wro
andrea valle wrote:
> Thanks Hans
>
> This is what I obtain.
>
> http://www.semiotiche.it/andrea/membrana/metafun.zip
I may be missing something, but this is the output I would
expect. cont-log.tex contains only this simple definition:
\unexpanded\def\MetaFun
{MetaFun}
Cheers,
Taco
_
Thanks Hans
This is what I obtain.
http://www.semiotiche.it/andrea/membrana/metafun.zip
?
Best
-a-
PS: Console and log follow.
Here console:
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
andrea valle wrote:
> As I made a presentation concerning typesetting I used the "magic
> symbols" \TeX, \LaTex, \ConTeXt, \MetaFont, \MetaPost.
> I also used \MetaFun: no error (so it's a recognized command, I
> guess), but not special output, \MetaFun = MetaFun. I was hoping to
> have the ni
As I made a presentation concerning typesetting I used the "magic
symbols" \TeX, \LaTex, \ConTeXt, \MetaFont, \MetaPost.
I also used \MetaFun: no error (so it's a recognized command, I
guess), but not special output, \MetaFun = MetaFun. I was hoping to
have the nice MetaFun "shaked" logo...
Hans Hagen wrote:
> Thomas Engel wrote:
>
>>Hello Hans,
>>
>>
>>this is the message I got after running texexec pro_mcc_a3.tex.
>>As you can see I have increased the memory size for mp.
>>I have attached the two tex-files.
>>Maybe there is a mistake in the mp-code. A pdf-file will be produced,
>
Thomas Engel wrote:
> Hello Hans,
>
>
> this is the message I got after running texexec pro_mcc_a3.tex.
> As you can see I have increased the memory size for mp.
> I have attached the two tex-files.
> Maybe there is a mistake in the mp-code. A pdf-file will be produced,
> but if you check the outpu
Thomas Engel wrote:
> Hello Hans,
>
>
> this is the message I got after running texexec pro_mcc_a3.tex.
> As you can see I have increased the memory size for mp.
> I have attached the two tex-files.
> Maybe there is a mistake in the mp-code. A pdf-file will be produced,
> but if you check the outpu
Hello Hans,
this is the message I got after running texexec pro_mcc_a3.tex.
As you can see I have increased the memory size for mp.
I have attached the two tex-files.
Maybe there is a mistake in the mp-code. A pdf-file will be produced,
but if you check the output you will see, that one cubicle i
Thomas Engel wrote:
> Hello Hans,
>
>
> this is the message I got after running texexec pro_mcc_a3.tex.
> As you can see I have increased the memory size for mp.
> I have attached the two tex-files.
> Maybe there is a mistake in the mp-code. A pdf-file will be produced,
> but if you check the out
Thomas Engel wrote:
> Hello,
>
> I'm doing my first work with metafun to generate a switchgear layout
> from a cvs file.
> During the run (texexec ) I get the message - Metapost capacity
> exceeded and a part of the drawing is missing.
>
> I followed the thread -TeX capacity exceeded with metaf
Hello,
I'm doing my first work with metafun to generate a switchgear layout
from a cvs file.
During the run (texexec ) I get the message - Metapost capacity
exceeded and a part of the drawing is missing.
I followed the thread -TeX capacity exceeded with metafun-
and increased the memory size
Hi Adita,
I have already seen metaobj in the past... but I have forgotten it... ;-)
Thank you very much for the example !
Cheers,
Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
<--- On Mar 2, Renaud AUBIN wrote --->
>
> Hi all,
>
> Yesterday, I have tried to put "\input boxes" within a MPgraphic. As a
> result, I obtain errors at compilation. After discussing this issue with
> Taco on #context, it appears that boxes.mp and metafun interaction is
> not safe at all.
Shoul
Hi all,
Yesterday, I have tried to put "\input boxes" within a MPgraphic. As a
result, I obtain errors at compilation. After discussing this issue with
Taco on #context, it appears that boxes.mp and metafun interaction is
not safe at all.
Ok, but since my needs remain the same, solutions are :
1.
Mojca Miklavec wrote:
>
> went away when I removed \setupoutput[pdf] from cont-sys.tex (but I'm
> stil confused since there are two cont-sys files, one .rme and one
> .ori. Which one should be used? They are identical, but why would one
> want to have the same file at two places?)
>
because that
On 2/20/06, Hans Hagen wrote:
> Mojca Miklavec wrote:
> > But I still get no figures at all under MikTeX and "undefined" labels
> > with the standalone.
> >
> that normally means that no tex subruns take place (or wrong ones)
>
> (maybe the system command is not executed, in the log you can see wha
Mojca Miklavec wrote:
> Is it OK that those mpx314 files end with \end{document}?
Yes, that is 'normal': plain TeX (and thereby ConTeXt) only sees the
\end command, and LaTeX/SliTeX sees the whole \end{document} (this
stuff was written before ConTeXt became popular).
> Is there any way to explor
On 2/20/06, Hans Hagen wrote:
> > 4. I have problems with \loadfontfilesoncetrue. I searched through
> >
> hm, loadfontfilesonce is not there (any more)
But it's in all my -mpgraph.mp documents. Anyhow, other ConTeXt
commands aren't recognized either.
I reinstalled ConTeXt/MikTeX for the second o
Mojca Miklavec wrote:
>
> 5. I hoped to be able to use gnuplot with context terminal, but the
> file I produced crashes pdfetex 1.30.3--2.2 (in stand-alone distro).
> 1.21a under MikTeX doesn't crash, but since there is no output it
> might be that the older version never gets to the point where
Mojca Miklavec wrote:
> Hello,
>
> This metafun will soon drive me crazy.
>
> 1. I can't make textext work
>
> Once upon a time I only had problems in MikTeX, now standone is
> causing me problems as well. I have:
> - write18 / -shell-escape enabled
> - \runMPgraphicstrue
> \runMPTEXgraphicstrue
Hello,
This metafun will soon drive me crazy.
1. I can't make textext work
Once upon a time I only had problems in MikTeX, now standone is
causing me problems as well. I have:
- write18 / -shell-escape enabled
- \runMPgraphicstrue
\runMPTEXgraphicstrue
\useMETAFUNformattrue
\protectbuffers
Taco Hoekwater wrote:
Hi David,
To me it looks like it does work, but perhaps I am not looking
at it correctly. Here is what I compiled:
\setupcolors[state=start]
\setupoutput[pdftex]
\starttext
\startMPgraphic
draw unitsquare
xscaled 5cm yscaled 1cm
withpen pencircle scaled
Taco Hoekwater wrote:
David Arnold wrote:
It compiles, but the figures should not be identical according to
the Metafun manual, page 201.
Ah, I see now. The second argument is dropped, because it was
assumed that it was never actually used. See the two disjunct
definitions of \insertMPfil
David Arnold wrote:
It compiles, but the figures should not be identical according to the
Metafun manual, page 201.
Ah, I see now. The second argument is dropped, because it was
assumed that it was never actually used. See the two disjunct
definitions of \insertMPfile in supp-mps.tex (the ver
It compiles, but the figures should not be identical according to the
Metafun manual, page 201.
On Dec 18, 2005, at 1:01 AM, Taco Hoekwater wrote:
Hi David,
To me it looks like it does work, but perhaps I am not looking
at it correctly. Here is what I compiled:
\setupcolors[state=start]
Hi David,
To me it looks like it does work, but perhaps I am not looking
at it correctly. Here is what I compiled:
\setupcolors[state=start]
\setupoutput[pdftex]
\starttext
\startMPgraphic
draw unitsquare
xscaled 5cm yscaled 1cm
withpen pencircle scaled 2mm
withcolor .625 r
All,
I've always wondered why this Metafun manual example doesn't work.
\startMPgraphic
draw unitsquare
xscaled 5cm yscaled 1cm
withpen pencircle scaled 2mm
withcolor .625 red;
\stopMPgraphic
\hbox\bgroup
\loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic\quad
\loadcurrent
Mojca Miklavec wrote:
pstoedit now doesn't crash any more, but 'P' or 'O' for example don't
have "holes" any more. I'll try to reinstall my cygwin or to compile the
source of pstoedit on Linux later. If I understood correctly than this
patch should solve the problem and -ssp should work again.
I got the following answer from the author of pstoedit:
> Concerning your crash. I think this is related to the -ssp option -
> isn't it? Does the crash still happen without -ssp? Anyway - you could
> compile the source code yourself, e.g. under cygwin and simply apply
> the following patch.
>
>
Hi,
i did as suggested.
The Mp.tex is rendering grpahics perfectly. but the
pstoedit 3.40 seems to be having problems. it crashes
while doing the convertion.
However when I change the text "MP" to "MPL", it
crashes with the same error. but the pdf output
contains only "MP" with the last
hi wolfgang and all,
I did configured the pstoedit as you said and
generated new metafun.mem.
Compilation of makempy complains of
process aborted : invalid 'texexec --batch -- once
--interface=en --pdf' run
I did check pdftops as per requirement of mmakempy.pdf
manual. pdftops.exe is not availa
I assume you are working under windows.
You go in start -> settings -> control panel -> system -> advanced ->
environmental variables (at least under xp)
You have to chance the variable "path" and add there the path to pstoedit
Hope that helps
Wolfgang
piskala upendran wrote:
Hi all,
I
Hi all,
I have installed a fresh gs view 4.7 and pstoedit 3.40
all latest version under windows. I installed pstoedit
at H/program files/ghostgum directory.
Generated new metafun.mem and udated at
localtexmf/miktex/mem directory and texmf/web2c
directories.
MY makempy still complains about psto
Hans Hagen wrote:
Mojca Miklavec wrote:
I tried it out before reading that paragraph and I can approve: unless
you have an ancient GS, it doesn't work at all. 3.40 at least does
something even though it crashes.
but i have no problems here with gs 8.51 (all 8 versions worked ok)
and pstoed
Wolfgang Zillig wrote:
Hello,
I have problems with this graphic too. First I noticed that I don't
have pstoedit installed on my computer. I downloaded version 3.40 from
http://www.pstoedit.net/pstoedit. When I now run this MP code I get a
Windows (xp) errormessage: Unhandled exception in pst
Hello,
I have problems with this graphic too. First I noticed that I don't have
pstoedit installed on my computer. I downloaded version 3.40 from
http://www.pstoedit.net/pstoedit. When I now run this MP code I get a
Windows (xp) errormessage: Unhandled exception in pstoedit.exe
(STDDRIVERS.DL
MP.tex works after downgrading to pstoedit 3.33
luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Taco Hoekwater wrote:
> makempy --force --noclean MP-mpgraph.mpo
The last lines in the (now kept) mpy-MP-mpgraph.tmp should be
--cycle;
endfig;
end
no, again
--(144.658,2.99976)--(142.267,2.99976)..controls
(133.659,2.99976) and (133.3,4.29492)..(133.3,9.08569)
luigi.scarso wrote:
MP.tex does not work for me.
it works ok here
MP.tex:
\starttext
\startMPcode
graphictext "MP" scaled 8 outlinefill
withdrawcolor .7blue withfillcolor .7white dashed
evenly withpen
pencircle scaled 2pt ;
\stopMPcode
\stoptext
(133.659,2.99976) and (133.3,4.29492)..(13
luigi.scarso wrote:
MP.tex does not work for me.
[...]
(141.789,0.23877)..(144.658,-0.000244141)
--(144.658,2.99976)--(142.267,2.99976)..controls
(133.659,2.99976) and (133.3,4.29492)..(133.3,9.08569)
--cycle;
--cycle;
well, one of my bad day ?
Looks like it. The last li
MP.tex does not work for me.
MP.tex:
\starttext
\startMPcode
graphictext "MP" scaled 8 outlinefill
withdrawcolor .7blue withfillcolor .7white dashed
evenly withpen
pencircle scaled 2pt ;
\stopMPcode
run with
$>texexec --pdf --automprun MP.tex &>MP.out
MP.out:
TeXExec 5.2.3 - ConTeXt / PRAGMA
> > Thanks for the hint. I never thought about installing pstoedit. I just
> > noticed long time ago that I was unable to make such fancy things, but
> > I thought I was simply to stupid to understand the manual :(.
>
> thanks for not blaming the stupid manual -)
:)
..
hello Taco,
I did search the result of all the files. All the
files are ok. except the MP-mpgraph.mpy and
MP-mpgraph.1.
The mpy shows only the
%mpochecksum : 8298
rest are all blank.
Iam also finding the error in MP-mpgraph.1
I am attaching the file.
It means both mpy and MP-mpgraph.1 fil
piskala upendran wrote:
hello Taco,
I did search the result of all the files. All the
files are ok. except the MP-mpgraph.mpy and
MP-mpgraph.1.
The mpy shows only the
%mpochecksum : 8298
rest are all blank.
Iam also finding the error in MP-mpgraph.1
I am attaching the file.
It means bo
Hi Nikolai Weibull
It was unintentional. i would better be careful in
future.
thanks.
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
___
piskala upendran wrote:
[blah]
Could you perhaps choose to not send multiple copies of every message to
this list?,
nikolai
--
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021
Hi,
When this sort of thing happens, I usually run each step
manually to see what goes wrong. So, can you check if the
MP-mpgraph.mp file is ok? The last lines should be:
verbatimtex \global \loadfontfileoncetrue etex;
graphictext "MP" scaled 8 outlinefill withdrawcolor .7blue
withfil
Hi all,
I did install the new kpsewhich and texexec send by
mr. Hans Hagen and installed pstoedit.
updated the mem file and pdfetex.efmt using texexec
--make --alone en metafun. still the problem exits
except that the MakeMPY stopped complaining about
pstoedit is not recogonise internal or exte
Hi all,
I did install the new kpsewhich and texexec send by
mr. Hans Hagen and installed pstoedit.
updated the mem file and pdfetex.efmt using texexec
--make --alone en metafun. still the problem exits
except that the MakeMPY stopped complaining about
pstoedit is not recogonise internal or exte
Hi all,
I did install the new kpsewhich and texexec send by
mr. Hans Hagen and installed pstoedit.
updated the mem file and pdfetex.efmt using texexec
--make --alone en metafun. still the problem exits
except that the MakeMPY stopped complaining about
pstoedit is not recogonise internal or exte
On Sat, 25 Dec 2004 10:20:28 +, Adam Lindsay <[EMAIL PROTECTED]> wrote:
> Hello again,
>
> Replace all this preamble stuff with something that gets sent to both
> ConTeXt and MetaFun:
>
> \startMPenvironment[global]
> \enableregime[utf]
> \setupencoding[default=t5]
> \loadmapfile[urwvn]
VnPenguin said this at Sat, 25 Dec 2004 00:35:36 +0100:
>I'm trying the example at page 236 Graphics and macros (metafun-s.pdf).
>I use vietnamese utf-8 input with T5.:
>--- code ---
>\enableregime[utf]
>\setupencoding[default=t5]
>\loadmapfile[urwvn]
>\usetypes
Hi all,
I'm trying the example at page 236 Graphics and macros (metafun-s.pdf).
I use vietnamese utf-8 input with T5.:
--- code ---
\enableregime[utf]
\setupencoding[default=t5]
\loadmapfile[urwvn]
\usetypescript[all][computer-modern][t5]
\setupbodyfont[reset]
\
ishamid wrote:
Stupid question;-)
Can Metafun work with e-tex/aleph--dvipdfmx? As you know I am contemplating
actually learning meta for the Arabic project...
it will work when some bug in dvipdfmx is solved (some interference
between direct code and cm matrices); i mailed about it with Chof c
On Mon, Aug 30, 2004 at 09:21:29PM +0200, Floris van Manen wrote:
> >> I'm going to 'finish' the metafun manual, so if you have topics that
> >> need to be covered ...
If you'd like volunteers to proofread the finished version, I'd be glad
to help with that.
My main request is the addition of an
Floris van Manen wrote:
it seems that metafun has difficulty understanding the example using
no, it's tex playing tricks (# is kin dof special to tex)
thevardef [EMAIL PROTECTED] expr p = construct.
use \# instead
Hans
-
Floris van Manen wrote:
if i define a path
q := (w0,w0)--(w0,ww0)--(w2,ww1)--(w3,ww2)--(w3,w0)--cycle ;
and then pass this path as a parameter to a function
test( q ) ;
then within that function i can step through the 'list of points'.
def test( expr a ) =
for i = 1 upto (length(a)-2):
dotlabel.b
if i define a path
q := (w0,w0)--(w0,ww0)--(w2,ww1)--(w3,ww2)--(w3,w0)--cycle ;
and then pass this path as a parameter to a function
test( q ) ;
then within that function i can step through the 'list of points'.
def test( expr a ) =
for i = 1 upto (length(a)-2):
dotlabel.bot ("" , (point
it seems that metafun has difficulty understanding the example using
thevardef [EMAIL PROTECTED] expr p = construct.
! Illegal parameter number in definition of [EMAIL PROTECTED]@dummy2.
... p of p enddef; \par vardef [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I have made
texexec --make metafun
to generate metafun format. And it said it generated it.
But...
I always get these messages
kpathsea: Running mktexfmt metafun.mem
fmtutil: no info for format `metafun'.
texexec ---make --alone metafun
move the mem file to the path r
I have made
texexec --make metafun
to generate metafun format. And it said it generated it.
But...
I always get these messages
kpathsea: Running mktexfmt metafun.mem
fmtutil: no info for format `metafun'.
when doing texexec --pdf to my tex-beauties...
it seems that he goes for metapost after
All,
Never mind. Found it on page 214 of the metafun manual:
\runMPgraphicstrue
At 11:58 AM 7/31/03 -0700, you wrote:
>All,
>
>I am revisiting the metafun manual. Everytime I compile with:
>
>texexec --pdf junk
>
>I have to compile a second time with
>
>texexec --pdf junk
>
>before I can see cha
All,
I am revisiting the metafun manual. Everytime I compile with:
texexec --pdf junk
I have to compile a second time with
texexec --pdf junk
before I can see changes to my graphics.
What can I change and where so that I will only have to compile once?
___
301 - 381 of 381 matches
Mail list logo