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 <pra...@wxs.nl
<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[+
On 04 Apr 2016, at 00:12, Hans Hagen <pra...@wxs.nl<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
\stopMPpa
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
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 nguyen...@gmail.com 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
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
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
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
to set font use \definefontfamily and \setbodyfont commands.
regards
Keith.
Am 28.01.2015 um 05:45 schrieb Van Dung Tang nguyen...@gmail.com:
I edit 1 file metafun follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
), 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 beforebuffer
%%
{\vbox\bgroup
\forgetall
\dontcomplain
\startMPenvironment
\doifundefined{RotFont}{\definefont[RotFont][RegularBold]}
\stopMPenvironment
\MPtoks\emptytoks
\resetMPdrawing
\startMPdrawing
\includeMPgraphic{followtokenscentred} ;
picture pic[] ; numeric len[], n ; n
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
[metafun]
[textstyle=\small]
Marco
);
\switchtobodyfont[size] can be done in \startMPenvironment and inside each
label.
Better use setupMPinstance:
\setupMPinstance
[metafun]
[textstyle=\small]
Marco
_
dimexpr.pdf
Description: dimexpr.pdf
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]
\stopMPenvironment
and it changed
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
\startMPenvironment [global]
\usetypescript[palatino][ec
\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 style for metapost text
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
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 the font inside
metapost labels only.
Mojca
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
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 sans
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
][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
font should be left untouched
(serif).
·
\startMPenvironment %[global]
\switchtobodyfont[sans]
%\setupbodyfont[sans]
\stopMPenvironment
%\start\setupbodyfont[sans]
\startuseMPgraphic{bg}
verbatimtex \setupbodyfont[sans] etex
should be typeset (drawn)
as lm sans, whereas the main font should be left untouched
(serif).
·
\startMPenvironment %[global]
\switchtobodyfont[sans]
%\setupbodyfont[sans]
\stopMPenvironment
%\start\setupbodyfont[sans
On 2011-06-09 23:31:49, Wolfgang Schuster wrote:
Am 09.06.2011 um 23:20 schrieb Philipp Gesang:
snip/
·
\startMPenvironment %[global]
\switchtobodyfont[sans]
%\setupbodyfont[sans]
\stopMPenvironment
%\start
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]
\stopMPenvironment
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 !?!?
\startMPenvironment
=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
/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[state=start,textcolor=white]
\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss
# 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 inside \startMPcode
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 where # has catcode other
:
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 Termes... Any idea about a workaround to
obtain
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
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
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-|
Thanks
% 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]
\stopMPenvironment
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.
% logo.mp
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 behaviour? 8
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
are 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
are 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
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
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[postscript,ss
.
\startMPenvironment[global]
... global font defintions (esp. a math font), so metapost can also use them
\stopMPenvironment
Hope that helps...
Best wishes, Peter
And also do something like
\placefigure[][fig:metapostfigure]{Here is the figure I made in DIA
converted to metapost}{\usestaticMPfigure
' when using XeTeX/luaTeX
\setupbodyfont[Adventor,14.4pt,ss]
\startMPenvironment
\usetypescript[Adventor] % leave out 'ec' when using XeTeX/luaTeX
\setupbodyfont[Adventor,14.4pt,ss]
\stopMPenvironment
\startuseMPgraphic{mag2}
% Define macro for horizontal centering.
vardef hcentered primary P =
P
filename), then do
not use btex ... etex.[1] Use \sometxt{...} instead.
I just used the following regex on your file
%s/btex\s*\(.\)\s*etex/\\sometxt\1/g
and then everything works fine.
[1] It is possible to get correct fonts using btex ... etex also. You need
to set up fonts in \startMPenvironment
. 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 \startMPenvironment ... \stopMPenvironment. For most
cases \sometxt is more convinient.
Aditya
I tried to do some fontsettings
labels in MkII with
\doattributes.
\startMPenvironment[global]
\setupcolors[state=start]
\def\labelstyle{bold}
\def\labelcolor{red}
\stopMPenvironment
This gives you only bold label.
\starttext
\startMPcode
label(textext(\doattributes{label}{style}{color}{Label}),origin) ;
\stopMPcode
On Mon, 27 Oct 2008, Wolfgang Schuster wrote:
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 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]
\setupcolors[state=start]
\def\labelstyle{bold}
\def
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 gives you only bold label
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]
\setupcolors[state=start]
\def\labelstyle{bold}
\def
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
\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) remains not
big [11pt] with [global]. How can I toggle
Compilation says ! I can't find file `texnansi-raw-lbf'
It'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
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:
\startMPenvironment[global] % use lucida for metapost too
[couic
,
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 lucida for metapost too
\usetypescript[lucida][texnansi]
\usetypescript[lucidabfm][texnansi] % for bold
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=start]
\startMPenvironment[global]
\usetypescriptfile[type-gyr
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]
\setupbodyfont[palatino
\startuseMPgraphic{test}
draw unitsquare scaled BodyFontSize;
draw textext.rt(Test);
draw btex \TeX etex xshifted 2*BodyFontSize;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext
Did this work for you
\startMPenvironment
\usetypescript[palatino][texnansi]
\switchtobodyfont
machine.
---
\enableregime[utf]
\setupcolors[state=start]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,30pt]
\startMPenvironment
\usetypescript[palatino][\defaultencoding]
\switchtobodyfont[palatino,30pt]
\stopMPenvironment
\startuseMPgraphic
vanilla
color background on my machine.
---
\enableregime[utf]
\setupcolors[state=start]
del
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,30pt]
/del
\startMPenvironment
[global]
\usetypescript[palatino][\defaultencoding]
\switchtobodyfont
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
\starttext
foobar baz äöß % -- OK
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 baz äöß,(3cm,3cm
][name,texnansi]
\usetypescriptonce [sans] [helvetica][name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi
] [helvetica][name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi]
\usetypescriptonce[serif][times][name,texnansi]
\usetypescriptonce
,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
] [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
.
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 used elsewhere).
\startMPenvironment[global]
\setupunderbar[rulethickness=2pt]%
\stopMPenvironment
Anyhow
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
\startMPcode
label(\sometxt{\a},origin);
\stopMPcode
\stoptext
). 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);
\stopstaticMPfigure
outside
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}
label(btex sun etex, origin
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 needed in this case, I think
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 trying to implement a few functions
experiments show) so
what we can do is pass info from the mpenvironment
\startMPenvironment[global]
\setupbodyfont[20pt]
\stopMPenvironment
\starttext
\long\def\startstaticMPgraphic#1#2\stopstaticMPgraphic
{\blabelgroup
\def\MPgraphicfile{#1}% no \jobname here
\let\MPwrite
in sometxt:
= with-static.tex
\startMPenvironment
\setupbodyfont[20pt]
\stopMPenvironment
\starttext
\startstaticMPfigure{fig}
label(\sometxt{in sometxt},origin);
\stopstaticMPfigure
outside sometxt\quad
\usestaticMPfigure[fig]
\stoptext
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
\startreusableMPgraphic{fig
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
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
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 textext):
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}
That's it, indeed
]
\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 = (2cm,1cm
]
\setuppagenumbering[state=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
Hans Hagen wrote:
\startMPenvironment [global]
\usetypescriptfile[minionpro-diss]
\usetypescript[Minion]
\switchtobodyfont[Minion,12pt]
\stopMPenvironment
dangerous to use such a upper/lowercase mix (typos)
I see what you mean.
hm, looks like a bronwser
David Wooten wrote:
Hans Hagen wrote:
\startMPenvironment [global]
\usetypescriptfile[minionpro-diss]
\usetypescript[Minion]
\switchtobodyfont[Minion,12pt]
\stopMPenvironment
dangerous to use such a upper/lowercase mix (typos)
I see what you mean
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 thanks!
David
) but the
same problem appears with palatino also.
This does not work
\startMPenvironment
\usetypescript[palatino][ec]
\setupbodyfont[palatino,10pt]
\stopMPenvironment
This still does not work, but as Hans explained, one should have a
[global] with MPenvironments anyway.
\starttext
in the tests taht I made.
I can not test with lucida (do not have them) but the
same problem appears with palatino also.
This does not work
\startMPenvironment
\usetypescript[palatino][ec]
\setupbodyfont[palatino,10pt]
\stopMPenvironment
This still does not work, but as Hans
pt
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.
This does not work
\startMPe
(use decimen, since there is a linesplit bug
with here)
- then load the times font
- somehow display and inline math render differently; something for taco
\startMPenvironment[global]
\startmathcollection [default]
\definemathsymbol [varointctrclockwise] [op] [mc] [43] [mc] [44
to figure out why
Something very strange is happening here. Looks like a typescript
loading problem. I can not test with lucida (do not have them) but the
same problem appears with palatino also.
This does not work
\startMPenvironment
\usetypescript[palatino][ec]
\setupbodyfont[palatino,10pt
:
\startMPenvironment[global]
\usetypescriptfile[type-buy]
\loadmapfile[texnansi-bh-lucida.map]
\usetypescript[lucida][texnansi]
\setupbodyfont[lucida,10pt]
\stopMPenvironment
the global directive makes the env transparent for the doc
anyhow, the problem is that in a mp to pdf
]
\setuppagenumbering[state=stop]
\def\AXIS#1#2#3{(#1) Axis #2: {\bf #3}}
\forceMPTEXcheck{LABELL}
\forceMPTEXcheck{LABELR}
\forceMPTEXcheck{LABELM}
\startMPenvironment
\ssxx\setupinterlinespace
\stopMPenvironment
\startMPinclusions
vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext
Dear syndicate,
Ok, here is a challenge: The following works (I thank Aditya for his help)
==
\forceMPTEXcheck{LABEL}
\startMPenvironment
\ssxx\setupinterlinespace
\stopMPenvironment
\startMPinclusions
vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED
: {\bf #3}}
\forceMPTEXcheck{LABELL}
\forceMPTEXcheck{LABELR}
\forceMPTEXcheck{LABELM}
\startMPenvironment
\ssxx\setupinterlinespace
\stopMPenvironment
\startMPinclusions
vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext(%
\framed[width=1.5cm,align=left,frame=off,autowidth=force
On 7/1/06, Idris Samawi Hamid wrote:
A question for Hans first: how can something similar be used for \sometxt?
\startMPenvironment
\ssxx\setupinterlinespace
\stopMPenvironment
(\setupsometxt[before=,after=] ?)
Wow... Ok, following is my present, still naive code. What I would like
\startproduct prd_mcc_a3
\project pro_mcc_a3
\setuppapersize[A3, landscape][A3, landscape]
\startMPenvironment
\setupbodyfont[pos]
\stopMPenvironment
\startuseMPgraphic{fra}
StartPage ;
u:=10mm;
draw Page enlarged -1cm;
draw Page enlarged -0.80cm;
draw (1u,2u)--(41u,2u
\startMPenvironment
\enableregime[utf]
\usemodule[chi-00]
\stopMPenvironment
\startMPpage
label(btex ÆÇæà etex,(0,0));
\stopMPpage
\stoptext
instead.
Hans
-
Hans Hagen | PRAGMA ADE
1 - 100 of 134 matches
Mail list logo