2, 2022 at 3:36 PM Hans Hagen wrote:
> On 1/2/2022 3:12 PM, Alfredo Catalina via ntg-context wrote:
> > I'm trying to use ConTeXt with Metafun to produce a map of a videogame I
> > am working on. In fact I did it 9 years ago but it seems that now it
> > doesn't work.
> >
I'm trying to use ConTeXt with Metafun to produce a map of a videogame I
am working on. In fact I did it 9 years ago but it seems that now it
doesn't work.
I have two 32 pixels wide by 40 pixels high sprites. They are saved in the
skysprite.png and sandsprite.png files. Since 32 = 4 x 8 and 40 =
I've run
first-setup.bat --modules=all
and now it works. Thanks Wolfgang and Aditya!!
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
How can I setup a font -name, size, etc- inside a startuseMPgraphic
environment?
\startuseMPgraphic{map}
\stopuseMPgraphic
___
If your question is of interest to others as well, please add an entry to the
Wiki!
the font size but the font type is not palatino.
thanks
On Sun, Jun 10, 2012 at 5:25 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 10.06.2012 um 16:25 schrieb Alfredo Catalina:
How can I setup a font -name, size, etc- inside a startuseMPgraphic
environment
1. Do you use MkII or MkIV?
2. Do you want Palatino only for the metapost labels or also for the main
font in the document?
I am using MkIV. Whether it is possible I would like to use a different
font for the metapost labels.
\setupbodyfont[pagella,11pt]
%\setupMPinstance[metafun][textstyle=sans]
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
\starttext
\input knuth
\startMPcode
draw textext(I’m different!) ;
\stopMPcode
\stoptext
It gives an error:
! Undefined control
On Sun, Jun 10, 2012 at 7:14 PM, Aditya Mahajan adit...@umich.edu wrote
You need to upgrade your ConTeXt installation.
I installed context two weeks ago. I've just run
mtxrun --selfupdate
mtxrun --generate
luatools --generate
context --make
and I've got the same error. Any ideas?
On Sun, Jun 10, 2012 at 9:29 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Do you use TeXLive or the ConTeXt Suite (installation from the context
wiki)?
ConTeXt Suite
___
If your question is of
I am using \externalfigure to show a picture at the desired scale. Instead
of providing a number for the width parameter I have made a definition with
\def. When I run in mkiv this I get the text 4t alongside the picture.
\def\DesignSize#1{3.5cm/4*#1}%
\starttext
Great! Thanks Wolfgang!
On 8 Jun 2012 17:16, Wolfgang Schuster schuster.wolfg...@googlemail.com
wrote:
Am 08.06.2012 um 17:10 schrieb Alfredo Catalina:
I am using \externalfigure to show a picture at the desired scale.
Instead of providing a number for the width parameter I have made
On Mon, Jun 4, 2012 at 10:01 AM, Hans Hagen pra...@wxs.nl wrote:
in the distrubution from the contextgarden
\definefont[zapfdingbats][**ZapfDingbats]
should work as well
Hans
mmm, does it mean that a ZapfDingbats.* font file is present in the
distribution??
Ok, thanks Luigi.
This is how I sorted it out, hope it may help someone. It looks like I
should write a typescript and a symbol definition file, but I new to this
and don't know how to do it yet.
This is a workaround for the meantime:
- Download the free True Type font Zapf Dingbats BT from
I am trying to process a document I wrote in 2009 using mkii. I am
modifying it to work with mkiv.
When I run
context mydoc.tex
the process starts and after some time it stops and shows an asterisk (*)
waiting for a command. I then type in \end, and it resumes. Finally it
ouputs mydoc.pdf.
On Sun, Jun 3, 2012 at 10:19 AM, luigi scarso
luigi.scarso@??? wrote:
Something like a missed \stoptext , i.e.
\starttext
..
..
%\stoptext
A good strategy is to move \stoptext from bottom to up next to
\starttext until a correct compilation
You are right. There was a \stoptext missing.
Can the Zapf Dingbats font be used in MKIV? I can't do it work
I have downloaded the
symb-uni-zapf.ziphttp://dl.contextgarden.net/websitesarchive/atl/tex/symb-uni-zapf.zip
file
from http://dl.contextgarden.net/websitesarchive/atl/tex/. Then I unpacked
it and copied the .tfm, .enc and .map files
I installed ConTeXt in 2009 in my laptop and wrote some documents. Now I
have installed ConTeXt in other computer and tried to process some of those
documents but it doesn't work.
It looks that there is something wrong with Metapost/Metafun. I have tried
a simple program like
\starttext
Testing
Sorry, that's right, it works. I forgot the definition. I have been trying
some things before.
In fact the problem is this:
\starttext
Testing
\startuseMPgraphic{gh}
textX:=87.51u;
textY:=96.31u;
pic:=thelabel.urt(btex {Test} etex scaled 1.00,(0,0));
draw pic shifted (textX, textY);
Thank you. I check it, and you are right. I forgot to include the
definitions when I cut and paste that part of the code. I thought the
problem was related to the btex command, but it's not.
The first line is:
u=1.000mm; linecap:=butt; linejoin:=mitered; path pp; picture pic;
labeloffset:=0;
I
I've tried to compile that code and I got:
! terminal: picture
! Isolated expression.
to be read again
;
* ...3u yscaled 60.09u shifted (69.85u,20.30u) ;
;
.
system tex error on line 17 in file kk.tex: terminal:
I checked that I have
shell_escape = t
shell_escape.context = t
shell_escape_commands.context = mtxrun,luatools,texmfstart,texexec,mpost
in C:\context\tex\texmf\web2c\texmf.cnf
Please find attached the file log (kk.log).
Thanks in advance.
kk.log
Description: Binary data
on the terminal!
! == Fatal error occurred, no output PDF file produced!
On Mon, May 28, 2012 at 8:50 PM, Alfredo Catalina
alfredo.catal...@gmail.com wrote:
I checked that I have
shell_escape = t
shell_escape.context = t
shell_escape_commands.context = mtxrun,luatools,texmfstart
This is what I get with mtxrun texexec kk.tex
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX)
(format=cont-en 2012.5.28) 28 MAY 2012 21:18
entering extended mode
\write18 enabled.
(c:/context/tex/texmf-context/web2c/natural.tcx)
**kk.tex
(./kk.tex
ConTeXt ver: 2012.05.26
Yes!!! It works!!
Now I can use both commands and it works!
I very much appreciate your support.
Thanks Luigi!
On Mon, May 28, 2012 at 10:20 PM, luigi scarso luigi.sca...@gmail.comwrote:
On Mon, May 28, 2012 at 9:20 PM, Alfredo Catalina
alfredo.catal...@gmail.com wrote:
This is what I get
I find the chart module great, it provides good results when typesetting
flow charts in many cases. However, sometimes when defining connection lines
the automatic routing feature is not able to find an optimal route and lines
intersect. I was wondering if there is an alternate way to define a
I am new to ConTeXt. I am trying to define a customized head for chapters
but I am finding some problems. The sentences below are based on the chapter
Text Elements which may be found in the ConTeXt manual.
Prior to setting up the title, a new Head command is defined
by \def\HeadTitle#1#2%. It
26 matches
Mail list logo