ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New ConTeXt vs. old document
@ 2001-07-06 11:47 David Antos
  2001-07-06 13:03 ` AMS font problem Tarik Kara
  2001-07-06 18:05 ` New ConTeXt vs. old document Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: David Antos @ 2001-07-06 11:47 UTC (permalink / raw)


	Hi all,

I tried to compile my older document (compilable with previous beta)
using the latest ConTeXt and I got following messages in the second run:
------------------

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
(./Unicode-HOWTO.tex{/usr/TeX/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2001.7.4  fmt: 2001.7.6  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex

... shortened ...

figures        : figure penguin can not be found
layout         : calculating backgrounds
interaction    : aspect ratio 600.0 x 450.0 (b x h)
[1.1]
title          : - Content
(./Unicode-HOWTO.tuo
! Missing \endcsname inserted.
<to be read again> 
                   \relax 
\colorcsname ...\currentpalet #1\endcsname \relax 
                                                  \else \currentpalet \fi #1...

\getcurrentcolorspecs ...lorspecs {\colorcsname #1
                                                  \endcsname }
<argument> ...i \v!hoofdstuk \c!kleur \endcsname }
                                                  \expandafter \dostartcolor...

\firstoftwoarguments #1#2->#1

\startcolormode ...specs \od } {\dostopcolormode }
                                                  \fi \fi 
...
l.7 ...1}{1}{Introduction}{1::0:1:0:0:0:0:0::2}{3}

?

------------------

I thing it might be related to the previously reported bug with
references as the 2001.7.2 version failed in the first run.
The document can be found at http://www.fi.muni.cz/~xantos/p126/document
(as Hans knows well, I'm sure :-))
Some pieces of my older stuff do very similar things.

	 All the best
				D.A.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* AMS font problem
  2001-07-06 11:47 New ConTeXt vs. old document David Antos
@ 2001-07-06 13:03 ` Tarik Kara
  2001-07-06 14:03   ` Taco Hoekwater
  2001-07-06 18:05 ` New ConTeXt vs. old document Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Tarik Kara @ 2001-07-06 13:03 UTC (permalink / raw)


Hans thanks for the solution you gave for my environment problem. Now I
have a new problem. I would like to use the Black board bold symbols of
AMS. I used

\setupbodyfont[ams]

in my environment file and typed

{\Bbb R}

in my document but rather then getting Bbb R a got a different symbol 
(\gtreqless of AMS). I am using ConTeXt  ver: 2001.7.2 under MikTeX.
What am I doing wrong?

Tar{\i}k


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AMS font problem
  2001-07-06 13:03 ` AMS font problem Tarik Kara
@ 2001-07-06 14:03   ` Taco Hoekwater
  2001-07-07  8:45     ` Tarik Kara
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2001-07-06 14:03 UTC (permalink / raw)
  Cc: ntg-context

Tarik Kara wrote:
>
> in my document but rather then getting Bbb R a got a different symbol
> (\gtreqless of AMS). I am using ConTeXt  ver: 2001.7.2 under MikTeX.
> What am I doing wrong?

You are not, I think. It may be coincidental (but probably isn't) that
\gtreqless occupies the same position in msam10 as R does in msbm10  :-)

-- 
groeten,

Taco


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New ConTeXt vs. old document
  2001-07-06 11:47 New ConTeXt vs. old document David Antos
  2001-07-06 13:03 ` AMS font problem Tarik Kara
@ 2001-07-06 18:05 ` Hans Hagen
  2001-07-07  7:42   ` David Antos
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2001-07-06 18:05 UTC (permalink / raw)
  Cc: ntg-context

At 01:47 PM 7/6/01 +0200, David Antos wrote:

[btw others: david's file is a nice example]

>! Missing \endcsname inserted.

impressive error cq. stupid bug -) 

btw, the file compiles well with pdfetex, so again a tex/etex compatibility
issue; unwise saving of couple of tokens 

\unprotect 

\def\doifcolorelse#1%

{\@EA\ifx\csname\??cr\@EA\ifx\csname\??cr\currentpalet#1\endcsname\relax\els
e\currentpalet\fi#1\endcsname\relax
     \expandafter\secondoftwoarguments
   \else
     \expandafter\firstoftwoarguments
   \fi}

\def\getcurrentcolorspecs#1%
  {\edef\currentcolorspecs%
     {\csname\??cr\@EA
        \ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
      #1\endcsname}}

\def\MPcolor#1%
  {\ifMPgraphics
     \@EA\@EA\@EA\doMPcolor
       \csname\??cr\@EA
         \ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
       #1\endcsname
     :::::\end
   \else
     #1%
   \fi}

\protect 

will solve your problem, 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New ConTeXt vs. old document
  2001-07-06 18:05 ` New ConTeXt vs. old document Hans Hagen
@ 2001-07-07  7:42   ` David Antos
  2001-07-07 13:50     ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: David Antos @ 2001-07-07  7:42 UTC (permalink / raw)
  Cc: ntg-context

> 
	Hi all, hi Hans!

> [btw others: david's file is a nice example]

Thanks :-) (It means that Hans is a good teacher.)

> 
> btw, the file compiles well with pdfetex, so again a tex/etex compatibility
> issue; unwise saving of couple of tokens 

Hey, I've used pdfeTeX! Have a look at the log file closely :-) Is there
a problem with older pdfeTeX version? (It's the one from TeXLive 5 CD,
I think many people use it.)

> 
> \unprotect 
> 
> \def\doifcolorelse#1%
> 
> {\@EA\ifx\csname\??cr\@EA\ifx\csname\??cr\currentpalet#1\endcsname\relax\els
> e\currentpalet\fi#1\endcsname\relax
>      \expandafter\secondoftwoarguments
>    \else
>      \expandafter\firstoftwoarguments
>    \fi}
> 
> \def\getcurrentcolorspecs#1%
>   {\edef\currentcolorspecs%
>      {\csname\??cr\@EA
>         \ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
>       #1\endcsname}}
> 
> \def\MPcolor#1%
>   {\ifMPgraphics
>      \@EA\@EA\@EA\doMPcolor
>        \csname\??cr\@EA
>          \ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
>        #1\endcsname
>      :::::\end
>    \else
>      #1%
>    \fi}
> 
> \protect 
> 
> will solve your problem, 

Great, should we all/I put it into cont-new.tex? Or is this `David's file
specific'?

	Thanks for your answer

				D.A.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AMS font problem
  2001-07-06 14:03   ` Taco Hoekwater
@ 2001-07-07  8:45     ` Tarik Kara
  2001-07-07 10:07       ` Taco Hoekwater
  2001-07-07 14:10       ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Tarik Kara @ 2001-07-07  8:45 UTC (permalink / raw)
  Cc: ntg-context

Is this a bug in ConTeXt (the \mathbb command works finw with LaTeX)?
Should I interchange all the msam with msbm in font-ams.tex? Thanks.

Tar{\i}k

On Fri, 6 Jul 2001, Taco Hoekwater wrote:

> You are not, I think. It may be coincidental (but probably isn't) that
> \gtreqless occupies the same position in msam10 as R does in msbm10  :-)
> 
> 
> -- 
> groeten,
> 
> Taco
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AMS font problem
  2001-07-07  8:45     ` Tarik Kara
@ 2001-07-07 10:07       ` Taco Hoekwater
  2001-07-07 11:37         ` Tarik Kara
  2001-07-07 14:10       ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2001-07-07 10:07 UTC (permalink / raw)


Tarik Kara wrote:
> 
> Is this a bug in ConTeXt (the \mathbb command works finw with LaTeX)?
> Should I interchange all the msam with msbm in font-ams.tex? Thanks.

No (font-ams.tex is no longer in use, even!)

It's a bug allright, but it appears somewhere else. In font-siz.tex, 
change the last part. It should read:

% start
\starttypescript [math] [ams] [size]
  \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt] [mm]
    [ma=msam10 sa 1,
     mb=msbm10 sa 1]
% end

In the distrib, the second line also loads msam10

That's all. No need to regenerate the format.

Greetings, Taco


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AMS font problem
  2001-07-07 10:07       ` Taco Hoekwater
@ 2001-07-07 11:37         ` Tarik Kara
  0 siblings, 0 replies; 10+ messages in thread
From: Tarik Kara @ 2001-07-07 11:37 UTC (permalink / raw)
  Cc: ntg-context

Thanks Taco. One small note: I do not have a font-siz.tex file (I am using
ConTeXt  ver: 2001.7.2). But I did look around and found a file named
type-siz.tex. Making the changes you succested to this file solved my
problems. Thanks again.

Have fun.

Tar{\i}k

On Sat, 7 Jul 2001, Taco Hoekwater wrote:

> 
> No (font-ams.tex is no longer in use, even!)
> 
> It's a bug allright, but it appears somewhere else. In font-siz.tex, 
> change the last part. It should read:
> 
> % start
> \starttypescript [math] [ams] [size]
>   \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt] [mm]
>     [ma=msam10 sa 1,
>      mb=msbm10 sa 1]
> % end
> 
> In the distrib, the second line also loads msam10
> 
> That's all. No need to regenerate the format.
> 
> Greetings, Taco
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New ConTeXt vs. old document
  2001-07-07  7:42   ` David Antos
@ 2001-07-07 13:50     ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2001-07-07 13:50 UTC (permalink / raw)
  Cc: ntg-context

At 09:42 AM 7/7/01 +0200, David Antos wrote:
>> 
>	Hi all, hi Hans!
>
>> [btw others: david's file is a nice example]
>
>Thanks :-) (It means that Hans is a good teacher.)
>
>> 
>> btw, the file compiles well with pdfetex, so again a tex/etex compatibility
>> issue; unwise saving of couple of tokens 
>
>Hey, I've used pdfeTeX! Have a look at the log file closely :-) Is there
>a problem with older pdfeTeX version? (It's the one from TeXLive 5 CD,
>I think many people use it.)

hm, but do you run in etex mode? is the entry in the fmtutil file *'d? mayeb 

  texexec --make --alone en nl metafun 

does a better job on your system [you may have to move the files by hand]

>Great, should we all/I put it into cont-new.tex? Or is this `David's file
>specific'?

i'll upload a new version, so for the moment it can go into cont-new

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: AMS font problem
  2001-07-07  8:45     ` Tarik Kara
  2001-07-07 10:07       ` Taco Hoekwater
@ 2001-07-07 14:10       ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2001-07-07 14:10 UTC (permalink / raw)
  Cc: ntg-context

At 11:45 AM 7/7/01 +0300, Tarik Kara wrote:
>Is this a bug in ConTeXt (the \mathbb command works finw with LaTeX)?
>Should I interchange all the msam with msbm in font-ams.tex? Thanks.

see taco's mail; 

if you install context, delete the old base dir; make sure that you keep
your local cont-sys.tex file; 

teh latest version is now completely split up in modules and the new font
layer implements thinsg as typescripts, so many olf font-* files are gone.
This way we get no problems with user fonts [see font manual]

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-07-07 14:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-06 11:47 New ConTeXt vs. old document David Antos
2001-07-06 13:03 ` AMS font problem Tarik Kara
2001-07-06 14:03   ` Taco Hoekwater
2001-07-07  8:45     ` Tarik Kara
2001-07-07 10:07       ` Taco Hoekwater
2001-07-07 11:37         ` Tarik Kara
2001-07-07 14:10       ` Hans Hagen
2001-07-06 18:05 ` New ConTeXt vs. old document Hans Hagen
2001-07-07  7:42   ` David Antos
2001-07-07 13:50     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).