2. Is there a way to remove a pagenumber from the title page?
Thank you again.
Best regards,
Dalyoung
Here is the simplified code:
%\startMPenvironment
%\stopMPenvironment
%\environment defCommon
%\environment defBook
%\usemodule[m-matrix]
%\startluacode
%mtx = moduledata.matrix
Meer, Hans van der <mailto:h.vanderm...@uva.nl>
4. April 2016 um 11:48
On 04 Apr 2016, at 00:12, Hans Hagen <mailto:pra...@wxs.nl>> wrote:
On 4/3/2016 4:07 PM, Meer, Hans van der wrote:
Previously I could do the following
\starttext
\startMPenvironment[+]\switcht
On 04 Apr 2016, at 00:12, Hans Hagen mailto:pra...@wxs.nl>>
wrote:
On 4/3/2016 4:07 PM, Meer, Hans van der wrote:
Previously I could do the following
\starttext
\startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment
\startMPpage
% metafont code
\stopMPpage
\stoptext
\endinput
On 4/3/2016 4:07 PM, Meer, Hans van der wrote:
Previously I could do the following
\starttext
\startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment
\startMPpage
% metafont code
\stopMPpage
\stoptext
\endinput
This is called by context --run --once etc. producing the figure and in
Previously I could do the following
\starttext
\startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment
\startMPpage
% metafont code
\stopMPpage
\stoptext
\endinput
This is called by context --run --once etc. producing the figure and in this
case modifying the font to a smaller size
On Wed, Jan 28, 2015 at 5:49 AM, Van Dung Tang wrote:
> I edit 1 file metafun with follow:
>
> \startMPenvironment
> \usetypescript[times][texnansi]
> \switchtobodyfont[times,10pt]
> \stopMPenvironment
> \startMPpage
> fill fullcircle scaled 2cm withcolor red;
>
set font use \definefontfamily and \setbodyfont commands.
regards
Keith.
Am 28.01.2015 um 05:45 schrieb Van Dung Tang :
>
> I edit 1 file metafun follow:
>
> \startMPenvironment
> \usetypescript[times][texnansi]
> \switchtobodyfont[times,10pt]
> \stopMPenvironment
On 1/28/2015 5:49 AM, Van Dung Tang wrote:
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
After run context and recieve 1 picture with a
I edit 1 file metafun follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
Ngu-Hanh.pdf
Description: Adobe PDF document
0) -- (2,0), arrow=Arrow(TeXHead));
draw((0,-.1) -- (0,2), arrow=Arrow(TeXHead));
draw((0,0) .. (1,1) .. (2,sqrt(2)));
\stopASY
\stopplacefigure
\stoptext
Here \startASY behaves similar to \startMPcode. To get something similar
to \startMPenvironment in mkii, you can use be
stretching it to the path size.
\useMPlibrary [txt]
\unexpanded\def\followtokenscentred#1%%
{\vbox\bgroup
\forgetall
\dontcomplain
\startMPenvironment
\doifundefined{RotFont}{\definefont[RotFont][RegularBold]}
\stopMPenvironment
\MPtoks\emptytoks
\resetMPdrawing
\startMPd
size of fonts in labels drawn in
MetaPost?
Probably a font switch directly in the label:
label("\small foobar", origin);
\switchtobodyfont[size] can be done in \startMPenvironment and inside each
label.
Better use setupMPinstance:
\setupMPinstance
[m
>> MetaPost?
>
> Probably a font switch directly in the label:
>
> label("\small foobar", origin);
>
>> \switchtobodyfont[size] can be done in \startMPenvironment and inside each
>> label.
>
> Better use setupMPinstance:
>
>
On 2013–05–06 Meer, H. van der wrote:
> What is the simplest way to change the size of fonts in labels drawn in
> MetaPost?
Probably a font switch directly in the label:
label("\small foobar", origin);
> \switchtobodyfont[size] can be done in \startMPenvironment and i
What is the simplest way to change the size of fonts in labels drawn in
MetaPost?
\switchtobodyfont[size] can be done in \startMPenvironment and inside each
label.
But is it possible to have:
set-font-to-size1
draw labels
set-font-to-size2
draw more labels
Hans van der Meer
Am 10.06.2012 um 18:40 schrieb Alfredo Catalina:
> I'm sorry but I don't know how to use them. I've tried
>
> \setupMPinstance [metafun] [textcolor=red]
>
> and got an "undefined control sequence" error.
>
> I've also tried
>
> \
I'm sorry but I don't know how to use them. I've tried
\setupMPinstance [metafun] [textcolor=red]
and got an "undefined control sequence" error.
I've also tried
\startMPenvironment [global]
\usetypescript[palatino][ec]
\switchtobodyfont[palatino,7pt]
\sto
On 4-5-2012 09:13, Aditya Mahajan wrote:
On Fri, 4 May 2012, Mojca Miklavec wrote:
I can think of many workarounds to this, but I agree that there is a
valid reason why
\startMPenvironment
(or some other command) should be able to change the font inside
metapost labels only.
A better
ns") ;
\stopMPcode
Serif
\startMPenvironment
\ss
\stopMPenvironment
\startMPcode
draw textext("Sans") ;
\stopMPcode
Serif
\stoptext
A better alternative would to define
\setupMPtext
[
style=...,
color=...,
setups=...,
]
that can be used to set the styl
On Fri, 4 May 2012, Mojca Miklavec wrote:
I can think of many workarounds to this, but I agree that there is a
valid reason why
\startMPenvironment
(or some other command) should be able to change the font inside
metapost labels only.
A better alternative would to define
\setupMPtext
uested / needed to have a special setup for using different font
for MetaPost labels.
I can think of many workarounds to this, but I agree that there is a
valid reason why
\startMPenvironment
(or some other command) should be able to change t
On Thu, 3 May 2012, Marco wrote:
The wiki claims setting up an MPenvironment is enough to change the
font in MetaPost graphics:
\startMPenvironment%[global]
\switchtobodyfont [sans]
\stopMPenvironment
\starttext
This should be serif.
\startMPcode
draw
The wiki claims setting up an MPenvironment is enough to change the
font in MetaPost graphics:
\startMPenvironment%[global]
\switchtobodyfont [sans]
\stopMPenvironment
\starttext
This should be serif.
\startMPcode
draw textext("This should be in
][width=9.3in,height=6.87in]
\definepapersize[LP1][width=9.55in,height=7.12in]
\setuppapersize[LG1][LP1]
\setuplayout[location=middle,marking=off]
\setuppagenumber[state=stop]
\startMPenvironment
\usetypescript[modern][ec]
\switchtotypeface[modern][7.0pt]
\setupinterlinespace
\def
On 2011-06-09 <23:31:49>, Wolfgang Schuster wrote:
>
> Am 09.06.2011 um 23:20 schrieb Philipp Gesang:
> > ·····
> >
> > \startMPenvironment %[global]
> > \switchtobodyfont[sans]
> > %\
le, the background text should be typeset (drawn)
> as lm sans, whereas the main font should be left untouched
> (serif).
>
> ·····
>
> \startMPenvironment %[global]
> \switchtobodyfont[sans]
> %\setupbodyfo
font should be left untouched
(serif).
·
\startMPenvironment %[global]
\switchtobodyfont[sans]
%\setupbodyfont[sans]
\stopMPenvironment
%\start\setupbodyfont[sans]
\startuseMPgraphic{bg}
verbatimtex \setupbodyfont[sans] etex
On 4-10-2010 12:41, Patrick Gundlach wrote:
Hi,
I would like to get the Metapost "Abcd" to be bigger then the TeX "Abcd" (for
all Metapost graphics). I thought that the command is \startMPenvironment .. \stopMPenvironment !?!?
----
Hi,
I would like to get the Metapost "Abcd" to be bigger then the TeX "Abcd" (for
all Metapost graphics). I thought that the command is \startMPenvironment ..
\stopMPenvironment !?!?
----
\startMPenvironment
\switchtobodyfont[16pt
=0in,
header=0.5in,
footer=0.5in,
headerdistace=0in,
footerdistance=0in
]
\setupwhitespace [small]
\setupblank [medium]
%\startMPenvironment[global]
%\definetypeface
% [MyFace] [rm] [serif] [palatino] [default] [encoding=ec
% References:
% - Original design [http://www.ntg.nl/pipermail/ntg-context/attachments/20090312/3056772b/attachment.zip ]
% - Thread discussion related to that [http://www.ntg.nl/pipermail/ntg-context/2009/038851.html]
% This file should be processed with ConTeXt (texexec file)
\setupcolors[s
nd TeX does not like isolated #. Try replacing
# with \# or \string#
it's more that tex likes to duplicate the # internally
Hans, does it make sense to parse all MP environments (ironically except
\startMPenvironment, but that is almost redundant in MKIV) with a
separate catcode regime
ted #. Try replacing
# with \# or \string#
Hans, does it make sense to parse all MP environments (ironically except
\startMPenvironment, but that is almost redundant in MKIV) with a separate
catcode regime where # has catcode other. After all, it is highly unlikely
that anyone will define a TeX maco
Am 08.04.2009 um 20:25 schrieb Renaud Aubin:
I have processed the test file with
\startMPenvironment[global]
\usetypescript[postscript]
\setupbodyfont[postscript,ss,12pt]
\stopMPenvironment
and the mindmap labels are in Termes... Any idea about a workaround
to obtain my labels in Heros
Am 08.04.2009 um 20:25 schrieb Renaud Aubin:
I have processed the test file with
\startMPenvironment[global]
\usetypescript[postscript]
\setupbodyfont[postscript,ss,12pt]
\stopMPenvironment
what happens with
\definetypeface[helvetica][ss][sans][heros][default]
\setupbodyfont[helvetica
er: 2009.04.06 21:42 MKIV fmt: 2009.4.8 int:
english/english) and latest t-tikz the result is good with palatino.
I have processed the test file with
\startMPenvironment[global]
\usetypescript[postscript]
\setupbodyfont[postscript,ss,12pt]
\stopMPenvironment
and the mindmap labels are in
F document
% logo.mp: creates a blue traffic sign-style context logo
% Copyright 2008 Taco Hoekwater
% You are free to use this code any way you can
\setupcolors[state=start,textcolor=white]
\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,144pt]
\stopMPe
En/na Xan ha escrit:
En/na Wolfgang Schuster ha escrit:
\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,144pt]\bf
\stopMPenvironment
Wolfgang
Without "\bf" at the end, I get letters more bold.
Is it not the contrary of natural behaviour? 8
Am 13.03.2009 um 14:18 schrieb Xan:
En/na Wolfgang Schuster ha escrit:
\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,144pt]\bf
\stopMPenvironment
Without "\bf" at the end, I get letters more bold.
Is it not the contrary of natural be
En/na Wolfgang Schuster ha escrit:
\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,144pt]\bf
\stopMPenvironment
Wolfgang
Without "\bf" at the end, I get letters more bold.
Is it not the contrary of natural behaviour? 8-|
Thanks,
Xan.
Am 12.03.2009 um 20:56 schrieb Aditya Mahajan:
Ha, there is a trick that I know but Wolfgang does not ;)
What do you expect, I don't use ConTeXt as long as you do ;-)
\startMPenvironment
You can use \startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscri
Hoekwater
% You are free to use this code any way you can
\setupcolors[state=start,textcolor=white]
Ha, there is a trick that I know but Wolfgang does not ;)
\startMPenvironment
You can use \startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt
free to use this code any way you can
\setupcolors[state=start,textcolor=white]
\startMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\stopMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\starttext
\startMPpage[offset=0pt]
color
free to use this code any way you can
\setupcolors[state=start,textcolor=white]
\startMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\stopMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\starttext
\startMPpage[offset=0pt]
color
can
\setupcolors[state=start,textcolor=white]
\startMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\stopMPenvironment
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,120pt]
\starttext
\startMPpage[offset=0pt]
color darkblue,textcolor;
darkblue
%s/btex\s*\(.\)\s*etex/\\sometxt\1/g
> and then everything works fine.
This above I didn't understood. I did though replace with
\sometxt{\vec{\cal B}} but no effect.
>
> [1] It is possible to get correct fonts using btex ... etex also. You need
> to set up fonts in \startMPenv
p fonts in \startMPenvironment ... \stopMPenvironment. For most
cases \sometxt is more convinient.
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://
d
>
> save x, y, t, p ; Added this line
>
> to include the figure multiple times (or to include multiple figures, I
> would imagine).
>
> Aditya
Thanks to all answers. I got it work, though a minor problem left, it
seems that "calligraphy" is not workin
mplete .
>
> Should I place part of the code in some definitions?
>
> 3. To input textlabels in mathnotation optionally anywhere I want inside
> the figure.
>
\startMPenvironment[global]
... global font defintions (esp. a math font), so metapost can also use them
\stopMPenvironm
t;
>>>> Hi all,
>>>>
>>>> what is the best method to format MetaPost labels in MkII with
>>>> \doattributes.
>>>
>>> \startMPenvironment[global]
>>>> \setupcolors[state=start]
>>>>
>>>> \def
MetaPost labels in MkII with
>>> \doattributes.
>>
>> \startMPenvironment[global]
>>> \setupcolors[state=start]
>>>
>>> \def\labelstyle{bold}
>>> \def\labelcolor{red}
>> \stopMPenvironment
>>
>> This gives you only bold label.
>>
>&
On Fri, Oct 24, 2008 at 2:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> On Fri, 24 Oct 2008, Wolfgang Schuster wrote:
>
>> Hi all,
>>
>> what is the best method to format MetaPost labels in MkII with \doattributes.
>
> \startMPenvironment[global]
>
On Fri, Oct 24, 2008 at 3:15 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> On Fri, 24 Oct 2008, Wolfgang Schuster wrote:
>
>> Hi all,
>>
>> what is the best method to format MetaPost labels in MkII with \doattributes.
>
> \startMPenvironment[global]
>
On Fri, 24 Oct 2008, Wolfgang Schuster wrote:
> Hi all,
>
> what is the best method to format MetaPost labels in MkII with \doattributes.
\startMPenvironment[global]
> \setupcolors[state=start]
>
> \def\labelstyle{bold}
> \def\labelcolor{red}
\stopMPenvironment
This give
gt; What I am doing wrong here?
You need
\runMPgraphicstrue
> This seems to be ok with luatex.
LuaTeX is a story on its own. It works differentrly anyway.
> 2. The settings in \startMPenvironment do not use the smaller font
> size [8pt] without [global]. And the outside Text (Bla) rema
Hallo,
I have a lot of problems with the following example:
\usetypescriptfile[type-exa]
\usetypescript[iwona][ec]
\setupbodyfont[iwona,11pt]
\startMPenvironment%[global]
\usetypescript[iwona][ec]
\setupbodyfont[iwona,8pt]
\stopMPenvironment
Hallo,
I have a lot of problems with the following example:
\usetypescriptfile[type-exa]
\usetypescript[iwona][ec]
\setupbodyfont[iwona,11pt]
\startMPenvironment%[global]
\usetypescript[iwona][ec]
\setupbodyfont[iwona,8pt]
\stopMPenvironment
7;s better than before : it didn't do anything :-)
>>
> Hi Eric,
>
> It may help us if you give us more details:
> - the texfont command used,
> - did your pfb files are in a single directory or not ? ...
> - ...
>
> A good test is:
> \startMPenvironment[global] % use l
using texfont...
>
> I had to had the line << \usetypescriptfile[type-buy] >> to the test
Ok (as you may already know), you can modify (your TeX
root)/tex/texmf-context/tex/context/user/cont-sys.tex to add
\usetypescriptfile[type-buy] permanently
>> A good test is:
>&g
the texfont command used,
I don't use texfont
I compile files from texshop
> - did your pfb files are in a single directory or not ? ...
yes they are with names lbc.pfb and so on
I had to had the line << \usetypescriptfile[type-buy] >> to the test
> A good test is:
> \star
tory or not ? ...
- ...
A good test is:
\startMPenvironment[global] % use lucida for metapost too
\usetypescript[lucida][texnansi]
\usetypescript[lucidabfm][texnansi] % for bold math
\usetypescript[lucidaboldmath][texnansi] % for bold math
\setupbodyfont[lucida,10pt]
\definebodyfont[17.3pt,14.4pt,12pt,11
ith the desired font (Arial, T1), as
> mkiv creates a broken pdf here (mtxrun is aborted, when calling
> pstoedit). Looks like a different problem, but one step after the other.
>
> Greetings, Peter
>
>
> %
> \useMPlibrary[txt]
>
> \setupcolors[state=st
here (mtxrun is aborted, when calling
pstoedit). Looks like a different problem, but one step after the other.
Greetings, Peter
%
\useMPlibrary[txt]
\setupcolors[state=start]
\startMPenvironment[global]
\usetypescriptfile[type-gyr]
\usetypescript[palatino][texnansi]
\setupbo
Hi,
this doesn't work any more (mkii and mkiv). Same error on
live.contextgarden.
I use pstoedit3.45 (updated today from 3.44) and the latest context/luatex.
%
\useMPlibrary[txt]
\setupcolors[state=start]
\startMPenvironment[global]
\definefont[ONEfont] [Sans at
off ... doesn't happen for the plain vanilla
> color background on my machine.
>
> ---
>
> \enableregime[utf]
>
> \setupcolors[state=start]
>
> \usetypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,30pt]
>
> \startMPenv
ound on my machine.
---
\enableregime[utf]
\setupcolors[state=start]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,30pt]
\startMPenvironment
\usetypescript[palatino][\defaultencoding]
\switchtobodyfont[palatino,30pt]
\stopMPenvironment
\startus
Perfectly!
Thanks to both of you.
Oliver
> Did this work for you
>
> \startMPenvironment
> \usetypescript[palatino][texnansi]
> \switchtobodyfont[palatino,20pt]
> \stopMPenvironment
>
> \usetypescript[palatino][texnansi]
> \setupbodyfont[palatino,
ont[palatino,32pt]
>
>
> \starttext
>
> \input ward
>
> \startuseMPgraphic{test}
> draw unitsquare scaled BodyFontSize;
> draw textext.rt("Test");
> draw btex \TeX etex xshifted 2*BodyFontSize;
> \stopuseMPgraphic
> \useMPgra
On 6/28/07, Patrick Gundlach wrote:
> Hi,
>
> is there any way to get utf-8 labels and without the 'strange' space
> glyph?
>
> --
>
> \startMPenvironment[+]
> \enableregime[utf]
> \stopMPenvironment
>
Hi,
is there any way to get utf-8 labels and without the 'strange' space
glyph?
------
\startMPenvironment[+]
\enableregime[utf]
\stopMPenvironment
\starttext
foobar baz äöß % <-- OK
\startuniqueMPgraphic{bla}
label("foobar
iptonce [map] [times,helvetica,palatino] [texnansi]
> \usetypescriptonce [serif][times][name,texnansi]
> \usetypescriptonce [sans] [helvetica][name,texnansi]
> \usetypescriptonce [palatino] [texnansi]
>
> \setupbodyfont [palatino,10pt
] [helvetica][name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi]
\usetypescriptonce[serif][times][name,texnansi]
\usetypescriptonce
[sans] [helvetica][name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi]
\usetypescriptonce[serif][times][name,texnansi]
\usetypescriptonce
[name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi]
\usetypescriptonce[serif][times][name,texnansi]
\usetypescriptonce[sans][helvetica][name,tex
a \setupMPenvironment. The [global] simply uses the same settings
> in the main text.
>
this works for the example code, but sadly not in my complex graphic. I
have to look deeper into this, as soon as I have the time (but there is
only one MP environment and no setup of underbar is us
nvironmentbuffer[#1]%
>
> {\expanded{\startMPenvironment\noexpand\readfile{\TEXbufferfile{\jobname}}{}{}}\stopMPenvironment}
Shouldn't that be \readfile{\TEXbufferfile{#1}?
> \useMPenvironmentbuffer[mp]
> \startreusableMPgraphic{fig}
> label(btex sun etex, origin);
If you try
l
tching (e.g. if I want the figures to be in a smaller
font). I wikified a small example of converting to \sometxt:
<http://wiki.contextgarden.net/Mpgraphic#startMPenvironment>. It's
probably not in the right place on the wiki though.
> \def\a{abc}
>
> \starttext
> \startM
On 9/29/06, Sanjoy Mahajan wrote:
> This test file (beta 2006.09.28):
>
> 1.tex
> \starttext
> \startMPenvironment
> \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
> \stopMPenvironment
A lesson that I learned while tryi
Sanjoy Mahajan wrote:
> Oh, wait, if metapost is fine with the file but ConTeXt isn't, then the
> error above must be from ConTeXt parsing the metapost code and seeing
> the \2, then complaining. So am I supposed to use the global option to
> \startMPenvironment? If it's
Sanjoy Mahajan wrote:
> This test file (beta 2006.09.28):
>
> 1.tex
> \starttext
> \startMPenvironment
> \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
> \stopMPenvironment
>
> \startreusableMPgraphic{fig}
&g
or staticMPfigure] is pass info from the mpenvironment"
>
> It works well, thanks for another instant improvement. The 2006.09.28
> beta passes the following test case (I will commit it to the contexttest
> repository). It gives a 12pt "outside sometxt" and a 20pt &qu
This test file (beta 2006.09.28):
1.tex
\starttext
\startMPenvironment
\def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
\stopMPenvironment
\startreusableMPgraphic{fig}
label(btex sun etex, origin);
\stopreusableMPgraphic
\reuseMPgraphic{fig
I'm not sure what's going on here, but this file fails (2006.09.28
beta): [well I have a better idea now after writing out the whole email,
see the end...]
=== 3.tex =
\starttext
\startMPenvironment
\def\2{hello}
\stopMPenvironment
\startreusableMPg
tory). It gives a 12pt "outside sometxt" and a 20pt "in sometxt":
===== with-static.tex
\startMPenvironment
\setupbodyfont[20pt]
\stopMPenvironment
\starttext
\startstaticMPfigure{fig}
label(\sometxt{in sometxt},origin);
ics (quick
hack for independent graphics)
we can spend a lot of time to make it more advanced but within a year
from now we will have mp as a library in tex which willreduce runtime to
nearly zero (at least that 's what experiments show) so
what we can do is pass info from the mpenvironment
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
Mojca Miklavec wrote:
> On 8/4/06, David Wooten wrote:
>
>> Hans Hagen wrote:
>>
>>> what is the label font then? probably defaultfont so you need to set
>>> that as well
>>> also, label does not use tex, use
>>>
>>> label(\textext("very"),z46)
>>>
>
> should be \textext{very}
>
i
On Aug 4, 2006, at 10:46, Mojca Miklavec wrote:
> On 8/4/06, David Wooten wrote:
>> Hans Hagen wrote:
>>> what is the label font then? probably defaultfont so you need to set
>>> that as well
>>> also, label does not use tex, use
>>>
>>> label(\textext("very"),z46)
>
> should be \textext{very}
>
On 8/4/06, David Wooten wrote:
> Hans Hagen wrote:
> > what is the label font then? probably defaultfont so you need to set
> > that as well
> > also, label does not use tex, use
> >
> > label(\textext("very"),z46)
should be \textext{very}
> That's it, indeed (though without the back-slash for te
Hans Hagen wrote:
> what is the label font then? probably defaultfont so you need to set
> that as well
> also, label does not use tex, use
>
> label(\textext("very"),z46)
>
That's it, indeed (though without the back-slash for textext):
label(textext("very"),z46)
> and friends
>
> Hans
Many t
David Wooten wrote:
> Hans Hagen wrote:
>
> >> \startMPenvironment [global]
> >> \usetypescriptfile[minionpro-diss]
> >> \usetypescript[Minion]
> >> \switchtobodyfont[Minion,12pt]
> >> \stopMPenvironment
> >>
&g
Hans Hagen wrote:
>> \startMPenvironment [global]
>> \usetypescriptfile[minionpro-diss]
>> \usetypescript[Minion]
>> \switchtobodyfont[Minion,12pt]
>> \stopMPenvironment
>>
> dangerous to use such a upper/lowercase mix (typos)
I s
t;
> \setupcolors[state=start]
> \setuppagenumbering[state=stop]
>
> \startMPenvironment [global]
> \usetypescript[palatino][ec]
> \switchtobodyfont[palatino,12pt]
> \stopMPenvironment
>
> \starttext
>
> The following example should be very interesting:
> \
=stop]
\startMPenvironment [global]
\usetypescript[palatino][ec]
\switchtobodyfont[palatino,12pt]
\stopMPenvironment
\starttext
The following example should be very interesting:
\blank
\startuseMPgraphic{very-interesting}
z40 = (2cm,0cm); z41 = (3cm,0cm) ;
z42 = (3cm,1cm); z43 = (2c
ng here. Looks like a typescript
loading problem.
The statics are working with the alpha. The maps seem to be correctly
identified in the tests taht I made.
I can not test with lucida (do not have them) but the
same problem appears with palatino also.
need to figure out why
>>>
>> Something very strange is happening here. Looks like a typescript
>> loading problem.
>>
>
> The statics are working with the alpha. The maps seem to be correctly
> identified in the tests taht I made.
>
>
>> I can not test
> them by staticMPfigure ?
>> the statics don't work well with text, i need to figure out why
>
>
> Something very strange is happening here. Looks like a typescript
> loading problem.
The statics are working with the alpha. The maps seem to be correctly
identified in th
- first extend the math collection (use decimen, since there is a linesplit bug with " here)
I will implement your suggestion, thanks
- then load the times font
- somehow display and inline math render differently; something for taco
\startMPenvironment[global]
\startmathcoll
> p := p scaled 0.15cm;
> draw p;
> \stopMPcode
> \stoptext
>
make sure that mp knows about the definitions:
- first extend the math collection (use decimen, since there is a linesplit bug
with " here)
- then load the times font
- somehow display and inline math rend
1 - 100 of 151 matches
Mail list logo