Re: [NTG-context] Iwona font

2005-11-30 Thread Hans Hagen

David Arnold wrote:


Hans et al,

So, could I fix this by changing some filenames?



\starttypescript [map] [iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi,qx,t5]

 \loadmapfile[\typescriptthree-iwona.map]
 \loadmapfile[rm-iwona.map]
 \loadmapfile[mi-iwona.map]
 \loadmapfile[sy-iwona.map]
 \loadmapfile[ex-iwona.map]
\stoptypescript

\starttypescript [map] [iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi,qx,t5]

 \loadmapfile[iwona-\typescriptthree.map]
 \loadmapfile[iwona-rm.map]
 \loadmapfile[iwona-mi.map]
 \loadmapfile[iwona-sy.map]
 \loadmapfile[iwona-ex.map]
\stoptypescript

might help

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tetex or texlive on linux

2005-11-30 Thread Hans Hagen

Renaud AUBIN wrote:



For internals, I don't know well diff between teTeX and TeXlive.



there is also the 'tex collection' which is texlive ++

the big collection tree (also used by protext) has more goodies; due to 
all kind ot licence issues tetex/texlive tend to become smaller; some 
fonts for instance are free but permit no changes to shapes (which is ok 
for me); 


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0

2005-11-30 Thread Hans Hagen

Hans van der Meer wrote:

I use (as root: sudo) the following shell script to install the  
latest pdfetex. For me it works. It might be of use to you.


#!/bin/sh
echo Installing Pdftex...
umask 022
unzip pdftex-1.30.4.zip
cd pdftex-1.30.4
sh ./Build
cp -f build/texk/web2c/pdftex `which pdftex`
cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`


no need for pdftex, is kind of obsolete, and afaik pdfetex is always the 
default



cp -f build/texk/web2c/pdfetex `which pdfetex`


which - kpsewhich


cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`
chown -R root:wheel /usr/local/teTeX


what is this wheel thing?


chmod -R u+w /usr/local/teTeX
chmod -R a+r /usr/local/teTeX


why not make that place independent as well?

chmod -R u+w `which pdfetex` `which pdfetex.pool`


umask 027
cd ..
echo Installing Pdftex done.
exit



wikiable

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Re: ConTeXt, XML, multiple attributes evaluation

2005-11-30 Thread Hans Hagen

Johannes Graumann wrote:


Hans,

I'm just not getting it ... can't find the appropriate documentation maybe?
http://www.pragma-ade.nl/general/manuals/example.pdf is all I got and e.g.
XMLop does not show up at all in there ...
 


XMLop{xx} is a shortcut for \XMLpar{list}{xx}{some default}

and as long as the current element is list that will work, so

\defineXMLenvironment[list]
 {here \XMLop{xx} works fine}
 {but here the last element encountered may be another than list}


I tryed to get this working (just trial and error), but I just don't
understand ... can you kick me some more into the right direction?

\mapXMLvalue {list:packed} {yes} {packed}
\mapXMLvalue {list:packed} {no} {unpacked}
\mapXMLvalue {list:setup}  {\XMLpar{list}{setup}{}} {setup}
\defineXMLenvironment
   [list]
   [packed=no,setup=1]
   {%
   \startitemize[%
   \XMLval{list:setup}{\XMLop{setup}}{},
   \XMLval{list:packed}{\XMLop{packed}}{}
   ]%
   }%
   {\stopitemize}

Likly many a thing doesn't make sense at all - I just don't get it.

Any hint is highly appreciated,
 


This works ok here:

\mapXMLvalue {list:packed} {yes} {packed}
\mapXMLvalue {list:packed} {no} {unpacked}

\defineXMLenvironment
   [list]
   [packed=no,setup=1]
   {\startitemize[\XMLop{setup},\XMLval{list:packed}{\XMLop{packed}}{}]}
   {\stopitemize}

\defineXMLenvironment
   [item]
   {\item}
   {\endgraf}

\starttext

\startXMLdata
list packed='yes'
   itemitem one/item
   itemitem two/item
/list
\stopXMLdata

\startXMLdata
list
   itemitem one/item
   itemitem two/item
/list
\stopXMLdata

\startXMLdata
list packed='yes' setup='a'
   itemitem one/item
   itemitem two/item
/list
\stopXMLdata

\startXMLdata
list setup='a'
   itemitem one/item
   itemitem two/item
/list
\stopXMLdata

\stoptext

(it may help to look at the x-* files in the context/base path)

Hans


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Re: ConTeXt, XML en-dash

2005-11-30 Thread Hans Hagen

Johannes Graumann wrote:


Hans Hagen wrote:

 


Gee ... Tacos fix (see thread) worked just fine ... when would I need
this?

 


taco's fix deals with entities; the other method is meant for direct
input (say three -'s in the input stream)

   


I see. I was hoping to find some way of mapping my (custom) XML eventually
somehow into ooffice as well (any pointers on how one might create a style
sheet for that are HIGHLY appreciated) and think the entity method is
therefore more future proof for me.
 

definitely, but when you deal with third part (utf-8 encoded) xml, you 
can expect anything (a dozen of different dashes to start with -)


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Building and installing pdftex 1.30 on teTeX 3.0

2005-11-30 Thread Taco Hoekwater


Hi Hans and Hans,

Hans Hagen wrote:

Hans van der Meer wrote:

I use (as root: sudo) the following shell script to install the  
latest pdfetex. For me it works. It might be of use to you.


#!/bin/sh
echo Installing Pdftex...
umask 022
unzip pdftex-1.30.4.zip
cd pdftex-1.30.4
sh ./Build
cp -f build/texk/web2c/pdftex `which pdftex`
cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`



no need for pdftex, is kind of obsolete, and afaik pdfetex is always the 
default


Yes. I will remove these two lines from the wiki page as well.


cp -f build/texk/web2c/pdfetex `which pdfetex`



which - kpsewhich


No, which is correct.  You want to replace the executable pdfetex
that is in the path.

On all distributions (except the minimal zips), the bin tree is
outside of kpsewhich scope.


cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`
chown -R root:wheel /usr/local/teTeX



what is this wheel thing?


The wheel user group is a unix security measure (of sorts).


chmod -R u+w /usr/local/teTeX
chmod -R a+r /usr/local/teTeX


why not make that place independent as well?


Hans is chmodding the directory, not the executable.

I'm doubt these chown/chmod lines are really needed after
each update of pdfetex (the will only do something the first
time the script is run).

It looks to me like you had a rather peculiar umask in effect
when you installed teTeX 3.0.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] 'empty string' test in MP

2005-11-30 Thread Hans Hagen

Peter Rolf wrote:


Hi all,

I pass a string to a MP graphic using \setMPtext{LABEL}{TEXT}. The
string can also be empty, and then no action (for the text) is taken.
How can I test in MP, if the given \MPstring{LABEL} is empty?

I have tried everything I can imagine in the last one hour, but no
success. Not my day...

This is the old, not working version

if not(\MPstring{LABEL}=) : % is always true.

 


unless to set it to nothign (currently you don't assign it at all)

take this:

\setupcolors[state=start]

\starttext

\startuseMPgraphic{test}
   fill fullcircle
   scaled 1cm
   withcolor if not(\MPstring{XX}=) : red else : green fi ;
\stopuseMPgraphic

\useMPgraphic{test} \start \setMPtext{XX}{} \useMPgraphic{test} \stop

\unprotect

\def\MPtext   #1{\executeifdefined{\@@MPT#1}\empty}
\def\MPstring#1{\executeifdefined{\@@MPT#1}\empty}
\def\MPbetex #1{btex \executeifdefined{\@@MPT#1}\empty etex}

\protect

\useMPgraphic{test} \start \setMPtext{XX}{} \useMPgraphic{test} \stop

\stoptext

the current definitions return \relax when a text is not defined; i'll 
change the definitions


Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] 'empty string' test in MP

2005-11-30 Thread Peter Rolf
Hans Hagen wrote:
 Peter Rolf wrote:
 
 Hi all,

 I pass a string to a MP graphic using \setMPtext{LABEL}{TEXT}. The
 string can also be empty, and then no action (for the text) is taken.
 How can I test in MP, if the given \MPstring{LABEL} is empty?

 I have tried everything I can imagine in the last one hour, but no
 success. Not my day...

 This is the old, not working version

 if not(\MPstring{LABEL}=) : % is always true.

  

 unless to set it to nothign (currently you don't assign it at all)

yes and no. I had an older macro

\XXmacro[#1]#2{%
 ...
\ifsecondargument\setMPtext{XX}{\SomeFontsettings\strut#2}\else\setMPtext{XX}{}\fi

which is naturally always true. I replaced it with a \doiftextelse and
now everything is working as expected.
Thanks for the enlightenment and the nice example :)

Peter

 take this:
 
 \setupcolors[state=start]
 
 \starttext
 
 \startuseMPgraphic{test}
fill fullcircle
scaled 1cm
withcolor if not(\MPstring{XX}=) : red else : green fi ;
 \stopuseMPgraphic
 
 \useMPgraphic{test} \start \setMPtext{XX}{} \useMPgraphic{test} \stop
 
 \unprotect
 
 \def\MPtext   #1{\executeifdefined{\@@MPT#1}\empty}
 \def\MPstring#1{\executeifdefined{\@@MPT#1}\empty}
 \def\MPbetex #1{btex \executeifdefined{\@@MPT#1}\empty etex}
 
 \protect
 
 \useMPgraphic{test} \start \setMPtext{XX}{} \useMPgraphic{test} \stop
 
 \stoptext
 
 the current definitions return \relax when a text is not defined; i'll
 change the definitions
 
 Hans
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] update

2005-11-30 Thread Hans Hagen

Hi,

I'm uploading an update. Apart from a few fixes/new-things, the main 
change in the minimals is that the platformtex.zip files now only 
contain binaries, and justtex.zip the rest.


So, in case you use a windows/linux minimal: you need to download two 
files now. In the case of macosx, gerbens auto-updater takes care of it,


I replaced the iwona/kurier/etc map/enc files with the ones that are now 
shipped. In the meantime i found out that there is also a change in the 
ams font tfm structure, so if you copy over old trees, make that you 
remove old instances of those fonts.


I hope that i didn't mess up things too much.

The normal cont-*.zip files are updates too, and the map files now refer 
to the new iwona cum suis scheme


uploading now, may take a while

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Re: Re: ConTeXt, XML, multiple attributes evaluation

2005-11-30 Thread Johannes Graumann
Thanks,

Does what I want and opens the door for further exploration ...

Joh

Hans Hagen wrote:

 Johannes Graumann wrote:
 
Hans,

I'm just not getting it ... can't find the appropriate documentation
maybe? http://www.pragma-ade.nl/general/manuals/example.pdf is all I got
and e.g. XMLop does not show up at all in there ...
  

 XMLop{xx} is a shortcut for \XMLpar{list}{xx}{some default}
 
 and as long as the current element is list that will work, so
 
 \defineXMLenvironment[list]
   {here \XMLop{xx} works fine}
   {but here the last element encountered may be another than list}
 
I tryed to get this working (just trial and error), but I just don't
understand ... can you kick me some more into the right direction?

\mapXMLvalue {list:packed} {yes} {packed}
\mapXMLvalue {list:packed} {no} {unpacked}
\mapXMLvalue {list:setup}  {\XMLpar{list}{setup}{}} {setup}
\defineXMLenvironment
[list]
[packed=no,setup=1]
{%
\startitemize[%
\XMLval{list:setup}{\XMLop{setup}}{},
\XMLval{list:packed}{\XMLop{packed}}{}
]%
}%
{\stopitemize}

Likly many a thing doesn't make sense at all - I just don't get it.

Any hint is highly appreciated,
  

 This works ok here:
 
 \mapXMLvalue {list:packed} {yes} {packed}
 \mapXMLvalue {list:packed} {no} {unpacked}
 
 \defineXMLenvironment
 [list]
 [packed=no,setup=1]
 {\startitemize[\XMLop{setup},\XMLval{list:packed}{\XMLop{packed}}{}]}
 {\stopitemize}
 
 \defineXMLenvironment
 [item]
 {\item}
 {\endgraf}
 
 \starttext
 
 \startXMLdata
 list packed='yes'
 itemitem one/item
 itemitem two/item
 /list
 \stopXMLdata
 
 \startXMLdata
 list
 itemitem one/item
 itemitem two/item
 /list
 \stopXMLdata
 
 \startXMLdata
 list packed='yes' setup='a'
 itemitem one/item
 itemitem two/item
 /list
 \stopXMLdata
 
 \startXMLdata
 list setup='a'
 itemitem one/item
 itemitem two/item
 /list
 \stopXMLdata
 
 \stoptext
 
 (it may help to look at the x-* files in the context/base path)
 
 Hans

-- 
+--+
| Johannes Graumann, Dipl. Biol.   |
|  |
|  Graduate StudentTel.: ++1 (626) 395 6602|
|  Deshaies LabFax.: ++1 (626) 395 5739|
|  Department of Biology   |
|  CALTECH, M/C 156-29 |
|  1200 E. California Blvd.|
|  Pasadena, CA 91125  |
|  USA |
+--+

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Iwona again (solved?)

2005-11-30 Thread David Arnold

Hans,

How does this look?

%output=pdf

\setupwhitespace[medium]
\setupindenting[medium,yes]

\starttypescript[map][iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi]

\loadmapfile[iwona-\typescriptthree.map]
\loadmapfile[iwona-rm.map]
\loadmapfile[iwona-mi.map]
\loadmapfile[iwona-sy.map]
\loadmapfile[iwona-ex.map]
\stoptypescript

\starttypescript [sans] [iwona,iwona-light,iwona-medium]  
[texnansi,ec,qx,t5]
  \definefontsynonym[Iwona-Light] [\typescriptthree-iwonal]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Regular]   [\typescriptthree-iwonar]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Medium][\typescriptthree-iwonam]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Bold]  [\typescriptthree-iwonab]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Heavy] [\typescriptthree-iwonah]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-LightItalic]   [\typescriptthree-iwonali]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-RegularItalic] [\typescriptthree-iwonari]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-MediumItalic]  [\typescriptthree-iwonami]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-BoldItalic][\typescriptthree-iwonabi]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-HeavyItalic]   [\typescriptthree-iwonahi]  
[encoding=\typescriptthree]

\stoptypescript

\starttypescript [math] [iwona] [default]
  \definefontsynonym [Iwona-Math-Letters-Regular]   [rm-iwonar]
  \definefontsynonym [Iwona-Math-Letters-RegularItalic] [mi-iwonari]
  \definefontsynonym [Iwona-Math-Symbols-Regular]   [sy-iwonarz]
  \definefontsynonym [Iwona-Math-Extension-Regular] [ex-iwonar]
\stoptypescript

\starttypescript [math] [iwona-light] [default]
  \definefontsynonym [Iwona-Math-Letters-Light]   [rm-iwonal]
  \definefontsynonym [Iwona-Math-Letters-LightItalic] [mi-iwonali]
  \definefontsynonym [Iwona-Math-Symbols-Light]   [sy-iwonalz]
  \definefontsynonym [Iwona-Math-Extension-Light] [ex-iwonal]
\stoptypescript

\starttypescript [math] [iwona-medium] [default]
  \definefontsynonym [Iwona-Math-Letters-Medium]   [rm-iwonam]
  \definefontsynonym [Iwona-Math-Letters-MediumItalic] [mi-iwonami]
  \definefontsynonym [Iwona-Math-Symbols-Medium]   [sy-iwonamz]
  \definefontsynonym [Iwona-Math-Extension-Medium] [ex-iwonam]
\stoptypescript

\usetypescript[map][iwona][texnansi]

\definetypeface[david][rm][sans][iwona][default][encoding=texnansi]
\definetypeface[david][mm][math][iwona][default]

\setupbodyfont[david,ss,10pt]

\starttext

In attempting to {\bf explain} this {\em typesetting ritual}, I found  
myself going {\sl round in circles}.

Not necessariy a {\sc bad} thing.

\input knuth

\placeformula[-]
\startformula
f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx
\stopformula

\input knuth

\placeformula[-]
\startformula
f(x)=\cases{%
  1/3, if $0\le x\le 1$;\cr
  2/3, if $3\le x\le 4$;\cr
  0, elsewhere.}
\stopformula
\stoptext


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \sc and dvips

2005-11-30 Thread Peter Münster
Hello,

with the recent version (2005.11.30), I get a strange font in dvips output,
when using \sc.
dvips messages don't show any error:
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.11.30:2115' - test.ps
tex.proec-lm.enctexps.pro. lmcsc10.pfblmr12.pfb[1] 

Here my test-file:
\starttext
\sc
\input tufte
\stoptext

The PostScript file is here:
http://pmrb.free.fr/tmp/test.ps

Could anybody help please?
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Scite problems after update of Scite

2005-11-30 Thread Wolfgang Zillig
Hello,

I have some problems with Scite after updating (new installing) scite.
The scite version is 1.66 (Nov 23 2005 16:59:09) on WinXP. I copied the
*.properties files from cont-tmf.zip (sorry I don't know which version
this is but also downloaded it today from pragma) into the scite folder.
I further added input context in SciTEglobal.properties and removed
the tex entry there.

My problems are:

1. when starting scite i get an error: 
attempt to call a string value
Lua: error occurred while loading startup script

I assume this is due to import scite-ctx and in that file there is
ext.lua.startup.script=$(SciteDefaultHome)/scite-ctx.lua which I don't
have.

My solution: I commended import scite-ctx out

2. When I try to compile a file then I get the message: texmfstart
newtexexec.rb --autopdf --pdf to_do.tex
The system cannot find the file specified. 
When I try the command:texmfstart newtexexec.rb --autopdf --pdf
to_do.tex in the command line I get the file compiled without any
problems. I absolutely don't have an idea whats going wrong here.

3. all text and context commands are in black and white. Is there a
chance to get color back?

Regards,

Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] IPA/TIPA support in Context?

2005-11-30 Thread Jason Knight
What support is there for IPA/TIPA in Context at this point? I've had
a look through the mailing list archive and the last comment I saw
about it was from the first half of 2004. Has anyone done more hacking
on this?

Jason
--
Jason Knight
Systems-Analyst-at-large
They fix 'em, I break 'em. Thus, analysis.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Iwona again (solved?)

2005-11-30 Thread Hans Hagen

David Arnold wrote:


Hans,

How does this look?



probably like iwona -)

btw, i adapted the typescripts to the new situation



%output=pdf

\setupwhitespace[medium]
\setupindenting[medium,yes]

\starttypescript[map][iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi]

\loadmapfile[iwona-\typescriptthree.map]
\loadmapfile[iwona-rm.map]
\loadmapfile[iwona-mi.map]
\loadmapfile[iwona-sy.map]
\loadmapfile[iwona-ex.map]
\stoptypescript

\starttypescript [sans] [iwona,iwona-light,iwona-medium]  
[texnansi,ec,qx,t5]
  \definefontsynonym[Iwona-Light] [\typescriptthree-iwonal]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Regular]   [\typescriptthree-iwonar]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Medium][\typescriptthree-iwonam]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Bold]  [\typescriptthree-iwonab]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-Heavy] [\typescriptthree-iwonah]   
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-LightItalic]   [\typescriptthree-iwonali]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-RegularItalic] [\typescriptthree-iwonari]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-MediumItalic]  [\typescriptthree-iwonami]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-BoldItalic][\typescriptthree-iwonabi]  
[encoding=\typescriptthree]
  \definefontsynonym[Iwona-HeavyItalic]   [\typescriptthree-iwonahi]  
[encoding=\typescriptthree]

\stoptypescript

\starttypescript [math] [iwona] [default]
  \definefontsynonym [Iwona-Math-Letters-Regular]   [rm-iwonar]
  \definefontsynonym [Iwona-Math-Letters-RegularItalic] [mi-iwonari]
  \definefontsynonym [Iwona-Math-Symbols-Regular]   [sy-iwonarz]
  \definefontsynonym [Iwona-Math-Extension-Regular] [ex-iwonar]
\stoptypescript

\starttypescript [math] [iwona-light] [default]
  \definefontsynonym [Iwona-Math-Letters-Light]   [rm-iwonal]
  \definefontsynonym [Iwona-Math-Letters-LightItalic] [mi-iwonali]
  \definefontsynonym [Iwona-Math-Symbols-Light]   [sy-iwonalz]
  \definefontsynonym [Iwona-Math-Extension-Light] [ex-iwonal]
\stoptypescript

\starttypescript [math] [iwona-medium] [default]
  \definefontsynonym [Iwona-Math-Letters-Medium]   [rm-iwonam]
  \definefontsynonym [Iwona-Math-Letters-MediumItalic] [mi-iwonami]
  \definefontsynonym [Iwona-Math-Symbols-Medium]   [sy-iwonamz]
  \definefontsynonym [Iwona-Math-Extension-Medium] [ex-iwonam]
\stoptypescript

\usetypescript[map][iwona][texnansi]

\definetypeface[david][rm][sans][iwona][default][encoding=texnansi]
\definetypeface[david][mm][math][iwona][default]

\setupbodyfont[david,ss,10pt]

\starttext

In attempting to {\bf explain} this {\em typesetting ritual}, I found  
myself going {\sl round in circles}.

Not necessariy a {\sc bad} thing.

\input knuth

\placeformula[-]
\startformula
f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx
\stopformula

\input knuth

\placeformula[-]
\startformula
f(x)=\cases{%
  1/3, if $0\le x\le 1$;\cr
  2/3, if $3\le x\le 4$;\cr
  0, elsewhere.}
\stopformula
\stoptext


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \sc and dvips

2005-11-30 Thread Hans Hagen

� wrote:


Hello,

with the recent version (2005.11.30), I get a strange font in dvips output,
when using \sc.
dvips messages don't show any error:
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.11.30:2115' - test.ps
tex.proec-lm.enctexps.pro. lmcsc10.pfblmr12.pfb[1] 
 

uses ec-lm.enc (which is no longer part of the lm distribution, but my 
guess is that dvips does not complain)



Here my test-file:
\starttext
\sc
\input tufte
\stoptext

The PostScript file is here:
http://pmrb.free.fr/tmp/test.ps
 


texmfstart newtexexec test --dvips --batch --silent
TeXExec | processing document 'test'
TeXExec | provide ctx file
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
.
ConTeXt  ver: 2005.11.30  fmt: 2005.11.30  int: english  mes: english
.
specials: tex,postscript,rokicki loaded
.
TeXUtil | parsing file test.tex
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | commands: 15
TeXUtil | programs: 0
TeXUtil | tuo file saved
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software 
(www.radicaleye.com)

' TeX output 2005.11.30:2208' - test.ps
tex.prolm-ec.enctexps.pro. lmcsc10.pfblmr12.pfb[1]
TeXExec | runtime: 2.704

this one uses lm-ec.enc and looks ok here

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] mfonts.tex from manuals

2005-11-30 Thread David Arnold

Taco, Hans, et al,

I'd like to remind you that this problem (uplr8t) still seems to  
exist when I tried compiling the beginner's manual ma-cb-en.


I had to do two things to get ma-cb-en.tex to compile:

1. Make this change to: ma-cb-style.tex:

\startnotmode[atpragma]

\usetypescript[adobekb][8r,ec]
\usetypescriptfile[type-buy]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,10pt]

\stopnotmode

2. Make this change to ma-cb-abbreviations.tex.

\startenvironment ma-cb-abbreviations

\usemodule[abr-01]



On Nov 22, 2005, at 11:27 PM, Taco Hoekwater wrote:


David Arnold wrote:


All,
I was able to texfont the demofont and texfont the palatino and   
compiled test files for each. But when I try to compile  
mfonts.tex, I  get the stuff below. I obviously need help. I have  
no uplr8t anything  on my system.




First: here is a quick fix. I've made my copy of mfonts.tex
start with these

  \usetypescript[adobekb][8r,ec]
  \usetypescriptfile [type-buy]
  \usetypescriptfile [typeface]
  \environment ../allkind/mcommon.tex

That fixed the problem with Palatino (It now says I have
missing LucidaBright (texnansi-lbXXX) fonts, but I believe
that is correct because it is from an example, and at least
one hurdle is taken).


Now for the actual problem.

It looks like this problem is caused by type-dis.tex. In that file,
fontsynonym mappings are provided between texfont-style metric names
and berry-style filenames for a number of free Type 1 fonts,
esp. the ones that come from URW and are shipped with ghostscript.

In theory, the definitions in that file are fine, but in the real
world there is a problem:

  The URW fonts are normally used only to mimic Adobe's base
  PostScript fonts like Times and Palatino, are therefore almost
  never installed under their true names like URWPalladio and
  Nimbus Roman.

So, the font metrics for URWPalladioL-Roma in EC (psnfss)
encoding are typically installed as pplr8t (the initial p
indicating Adobe, to mimic Palatino-Roman) instead of uplr8t
like they should be (that initial u would be indicating urw).

I am not sure how Hans feels about this, but there are two ways out:

1. Certainly the *easiest* way to get a working solution is to
change the fontsynonyms in typ-dis.tex so that they match the real
world instead of the desired world.

2. But on the other hand, that would be promoting a rather bad
practise, and deleting the fontsynonyms instead would be better.

I happen to know that Hans will start distributing a cont-fnt.zip
file soon that will contain texfont-style metrics, so my vote goes
to the second solution.



Greetings, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context