Re: [NTG-context] Re: fonts installation

2004-12-10 Thread Willi Egger
Hi Rob,
I see that struggling keeps going on.
As far as I can see you are able to use the palatino font through the 
adobekb typescript. - Afaik you use now the files as used by e.g. LaTeX.
In order to come to use your Hudson font we need to be able to use the 
verbose naming-scheme of ConTeXt.
From your previous mails I deduct, that pdfTeX can't find the font. Are 
the mapfiles which are created by texfont added to the base-map-file 
which is read by pdfTeX?

Hereafter this should work:
\setupoutput[pdftex]
\usetypescript[palatino][\defaultencoding] %ec?
\setupbodyfont[palatino,20pt,rm]
If this is solved you might try
\definetypeface[hudson][rm][serif][palatino][default]
\switchtotypeface[hudson][11pt,rm]
Kind regards
Willi
Rob Ermers wrote:
Dear friends,
I would like to let you all know that palatino works now.
What steps do I need to take now to get my Hudson?
Thanks in advance!
Robert

\setupoutput[pdftex]
\usetypescript [adobekb][\defaultencoding]
\usetypescript[palatino][\defaultencoding]
\definetypeface[hudson][rm][serif][palatino][default]
\setupbodyfont[palatino,20pt,rm]
\starttext
\input tufte
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Update ConTeXt 2004-12-06 for teTeX 2.99.4-beta: map files

2004-12-10 Thread Thomas Esser
Hi Hans,

 so, i wonder what this is aliased to.

$ kpsewhich m-ch-en.sty
/software/oss/Text/teTeX-3.0/share/texmf-dist/tex/generic/context/m-ch-en.tex

 The content of these files is 
 suggested/provided by latex users (esp the provide, require, and options 
 stuff);

Oops... So, I should stop using these aliases and distribute the .sty
files instead.  Last time that I looked at these .sty files, they just
loaded the .tex files without any additional code.

I think that I have even told you some years ago that I am not
distributing the .sty files and that I am using aliases instead...

Thomas
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-10 Thread h h extern
Nikolai Weibull wrote:
* David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]:
It might not be the only way, this should work:
\placefigure
 [here]
 [fig:somelabel]
 {Caption}
 \placelegend{Figure}
 {Text}

Hm, yeah, that works OK.  I was hoping for something that made a little
ik, let's give you a cue:
\placefigure
  {What a caption}
  {\placelegend
 {\externalfigure[cow.pdf]}
 {\input zapf \relax}}
\placefigure
  {What a caption}
  {\placelegend[location=right]
 {\externalfigure[cow.pdf]}
 {\input zapf \relax}}
using buffers makes sense here:
\startbuffer
lots of text
\stopbuffer
\placefigure
  {What a caption}
  {\placelegend
 {\externalfigure[cow.pdf]}
 {\getbuffer}}
Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XML formulas

2004-12-10 Thread h h extern
Adam Lindsay wrote:
Hi all.
I want to use XML, but in a non-doctrinaire way: I much prefer TeX
formula writing to mathml by hand. 

I looked at xtag-mml, and the \defineXMLenvironment [formula] looked like
just what I wanted. However, when trying it, the XML catcode regime was
still in effect, and the backslashes were printed, and didn't act as escapes.
Am I missing something in the correct usage, or is support incomplete?
This is a sample file, showing how I've been trying to use it:
\useXMLfilter[mml]
\starttext
\startXMLdata
formula
t+3+x+t\neq m\alpha\frac\theta\hbar
/formula
\stopXMLdata
\stoptext
\starttext
\unprotected \def\XMLtex#1%
  {\begingroup
   \disableXML
   [EMAIL PROTECTED]@[EMAIL PROTECTED]@@XMLdata:#1\endcsname}%
   \endgroup}
\defineXMLenvironmentsave
  [formula]
  {}
  {\XMLtex{formula}}
\input bryson
\startXMLdata
formula
t+3+x+t\neq m\alpha\frac\theta\hbar
/formula
\stopXMLdata
\input thuan
\stoptext
Also, what's the status of contml? I like the idea of it as a simple,
structural, basic markup that ConTeXt handles with zero effort, but is
anyone actually using it?
we sometimes mix it into other xml docs; i have no problem with extending it; 
actualy, (see mag-0008.pdf), i want to map most context directly onto xml so 
that we have a rather complete xml input syntax

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


SOLVED -- Re: [NTG-context] pdfetex can't find map files

2004-12-10 Thread Matt Gushee
Matt Gushee wrote:
  Warning: pdfetex (file original-public-vnr.map): \
cannot open font map file
The files exist and are world-readable, so the above must mean that 
pdfetex just can't find them.
Thomas Esser has explained that pdfetex uses $TEXPSHEADERS (or maybe 
$PSHEADERS) as the search path for map files. So I added

  $TEXMF/fonts/map//
to TEXPSHEADERS in my texmf.cnf, and now everything works fine.
It seems a little strange that pdf(e)tex doesn't use TEXFONTMAPS. Maybe 
it will in the future? Perhaps Hans can comment on that.

Thanks to all.
--
Matt Gushee
Englewood, CO, USA
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \bfm broken

2004-12-10 Thread David Munger
\bfm seems broken in 2004.12.06


Compiling the following:

\setupformulas [method=bold]
\starttext
\startformula
  {\bfm x}
\stopformula
\stoptext

results in:
...
! Bad number (127).
argument \defaultskewcharmi

\dosetskewchar ...ar \empty \skewchar \textfont #1
  #2\skewchar
\scriptfont #1...
inserted text ...ultskewcharmi \dosetmathfamily
  \sybffam \textface
\script...
inserted text ...\else \the \boldmathstrategies
  \fi
\autoenablemathcollect...

\synchronizemath ...athfonts \the \mathstrategies
  \fam \mrfam \fi
inserted text ...bfamily \c!bf \synchronizemath
  \aftergroup
\synchronizemath
...
l.4   {\bfm
x}
?



Any help welcome. Thanks in advance,

David

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XML formulas

2004-12-10 Thread Adam Lindsay
h h extern said this at Fri, 10 Dec 2004 22:38:27 +0100:

\unprotected \def\XMLtex#1%
   {\begingroup
\disableXML
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@XMLdata:#1\endcsname}%
\endgroup}

Okay. More strange and wondrous magic. Thanks!
I notice there's a \let\XMLtex already in xtag-ini...

\defineXMLenvironmentsave
   [formula]
   {}
   {\XMLtex{formula}}

Hmm. No math there on my machine.
So do you reckon that this is an acceptable elaboration?

\defineXMLenvironmentsave
   [formula] [label=]
   {}
   {\startformula[\XMLop{label}]
 \XMLtex{formula} \stopformula}

(it runs okay on limited variations here)

Is the existing [formula] definition in xtag-mml obsolete, then?

 Also, what's the status of contml? I like the idea of it as a simple,
 structural, basic markup that ConTeXt handles with zero effort, but is
 anyone actually using it?

we sometimes mix it into other xml docs; i have no problem with
extending it; 
actualy, (see mag-0008.pdf), i want to map most context directly onto xml so 
that we have a rather complete xml input syntax

Okay, cool. I may have found my general authoring tool once I get this
transform worted...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context