Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
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. > >

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
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 =

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-11 Thread Alfredo Catalina
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 /

[NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
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!

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
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

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
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.

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
\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

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
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?

Re: [NTG-context] Change font in \startuseMPgraphic

2012-06-10 Thread Alfredo Catalina
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

[NTG-context] \externalfigure shows text alongside the picture

2012-06-08 Thread 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 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

Re: [NTG-context] \externalfigure shows text alongside the picture

2012-06-08 Thread Alfredo Catalina
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

Re: [NTG-context] Zapf Dingbats font

2012-06-04 Thread Alfredo Catalina
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??

Re: [NTG-context] Zapf Dingbats font

2012-06-03 Thread Alfredo Catalina
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

[NTG-context] Process stops

2012-06-03 Thread Alfredo Catalina
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.

Re: [NTG-context] Process stops

2012-06-03 Thread Alfredo Catalina
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.

[NTG-context] Zapf Dingbats font

2012-06-01 Thread Alfredo Catalina
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

[NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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);

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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:

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

Re: [NTG-context] thelabel problem

2012-05-28 Thread Alfredo Catalina
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

[NTG-context] Flow Charts

2009-04-07 Thread Alfredo Catalina
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

[NTG-context] Customizing chapter heads

2009-01-24 Thread Alfredo Catalina
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