ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* changing tt only
@ 2003-01-29 17:15 Patrick Gundlach
  2003-01-29 17:25 ` Adam Lindsay
  0 siblings, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-29 17:15 UTC (permalink / raw)


Hello out there,

I currently use:

\usetypescript[berry][8r]
\setupbodyfont[pos]

and wish to change the monospace only, let's say to cmtt10. How do I
accomplish this?

Patrick

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

* Re: changing tt only
  2003-01-29 17:15 changing tt only Patrick Gundlach
@ 2003-01-29 17:25 ` Adam Lindsay
  2003-01-29 18:11   ` Patrick Gundlach
  2003-01-29 23:32   ` Hans Hagen
  0 siblings, 2 replies; 18+ messages in thread
From: Adam Lindsay @ 2003-01-29 17:25 UTC (permalink / raw)


Patrick Gundlach said this at Wed, 29 Jan 2003 18:15:30 +0100:

>Hello out there,
>
>I currently use:
>
>\usetypescript[berry][8r]
>\setupbodyfont[pos]
>
>and wish to change the monospace only, let's say to cmtt10. How do I
>accomplish this?

I know no simple way of doing this. I have a typescript set up for this,
though:
\starttypescript [Time] 
  \usetypescript [berry] [8r]
  \definetypeface [Time] [rm] [serif] [times]           [default]
[encoding=8r]
  \definetypeface [Time] [ss] [sans]  [helvetica]       [default]
[rscale=.9,encoding=8r]
  \definetypeface [Time] [tt] [mono]  [computer-modern] [default]
[rscale=1.1,encoding=ec]
  \definetypeface [Time] [mm] [math]  [times]           [default]
[encoding=8r]
\stoptypescript

I find it preferable to pos because courier is far too light. I'd love to
hear of an easier way, though.

adam


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: changing tt only
  2003-01-29 17:25 ` Adam Lindsay
@ 2003-01-29 18:11   ` Patrick Gundlach
  2003-01-29 19:00     ` Adam Lindsay
  2003-01-29 20:58     ` Hraban
  2003-01-29 23:32   ` Hans Hagen
  1 sibling, 2 replies; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-29 18:11 UTC (permalink / raw)


"Adam Lindsay" <atl@comp.lancs.ac.uk> writes:

Hello Adam,

> I know no simple way of doing this. I have a typescript set up for this,
> though:
> \starttypescript [Time] 

[..]

how do I use this? I have tried for the last .... hours. The
typescript/font mechanism is far too high for me.

Is there any description /documentation of the typescript mechanism?
Besides mfont.pdf? mfont is not clear enough. There are only some
examples but no real explanation how this mechanism works. At least I
cannot see it.


Patrick

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

* Re: Re: changing tt only
  2003-01-29 18:11   ` Patrick Gundlach
@ 2003-01-29 19:00     ` Adam Lindsay
  2003-01-29 19:39       ` Patrick Gundlach
                         ` (2 more replies)
  2003-01-29 20:58     ` Hraban
  1 sibling, 3 replies; 18+ messages in thread
From: Adam Lindsay @ 2003-01-29 19:00 UTC (permalink / raw)


Patrick Gundlach said this at Wed, 29 Jan 2003 19:11:49 +0100:

>"Adam Lindsay" <atl@comp.lancs.ac.uk> writes:
>
>Hello Adam,
>
>> I know no simple way of doing this. I have a typescript set up for this,
>> though:
>> \starttypescript [Time] 
>
>[..]
>
>how do I use this? I have tried for the last .... hours. The

Sorry I wasn't clear. I assumed too much. I spent an entire weekend
working through this stuff at the start.

>typescript/font mechanism is far too high for me.

Patrick, nearly everything I knew about fonts in ConTeXt was learned from
Bill McClain's excellent resource:
<http://home.salamander.com/~wmcclain/context-help.html>

Basically, you put this into one file, say "font-ttt.tex":
%--- begin font-ttt.tex ---
\starttypescript [Time] 
  \usetypescript [berry] [8r]
  \definetypeface [Time] [rm] [serif] [times]           [default]
[encoding=8r]
  \definetypeface [Time] [ss] [sans]  [helvetica]       [default]
[rscale=.9,encoding=8r]
  \definetypeface [Time] [tt] [mono]  [computer-modern] [default]
[rscale=1.1,encoding=ec]
  \definetypeface [Time] [mm] [math]  [times]           [default]
[encoding=8r]
\stoptypescript
%--- end ---

Preface your actual text source file with the following:

%--- begin usetime.tex ---
\usetypescriptfile[font-tmm]
\usetypescript[Time]
\setupbodyfont[Time,12pt]
\starttext
\showfontstrip
\input tufte

\startalignment[right]
{\tt \input zapf }
\stopalignment
\stoptext
%--- end ---

I haven't been clever enough to figure out how to include the typescript
in the same file that I'm ConTeXting. My guess is that this is because of
a (reasonable) assumption of wanting to reuse typescripts.

>Is there any description /documentation of the typescript mechanism?
>Besides mfont.pdf? mfont is not clear enough. There are only some
>examples but no real explanation how this mechanism works. At least I
>cannot see it.

I really can't help you there... I'm still at the point of imitating
examples, really, myself. You can also try typesetting some of the
documentation, like font-ini.tex, by copying the file into your own
directory, and typing:
texexec --pdf --module font-ini.tex
(This requires that you did the recommended nl interface installation. It
gives me an error at one point, but switching to silent mode by typing
's' allowed it to continue.)

I hope that's of some help, even though it's yet another example.

Cheers,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: changing tt only
  2003-01-29 19:00     ` Adam Lindsay
@ 2003-01-29 19:39       ` Patrick Gundlach
  2003-01-29 23:43         ` Hans Hagen
  2003-01-29 21:12       ` Hraban
  2003-01-29 23:40       ` Hans Hagen
  2 siblings, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-29 19:39 UTC (permalink / raw)


"Adam Lindsay" <atl@comp.lancs.ac.uk> writes:

Hello Adam,

> Sorry I wasn't clear. I assumed too much. I spent an entire weekend
> working through this stuff at the start.
>
>>typescript/font mechanism is far too high for me.
>
> Patrick, nearly everything I knew about fonts in ConTeXt was learned from
> Bill McClain's excellent resource:
> <http://home.salamander.com/~wmcclain/context-help.html>

I have visited this page again. I guess I have to put it under my
pillow and read it every evening. Perhaps one day I know how to...


I've got it working now. Thank you very much. One thing I'd like to
comment: i think tat rscale=1.1 for cmtt is a bit too large. 


> Basically, you put this into one file, say "font-ttt.tex":

That is what I had before, but somehow I could not make context to
switch to that font. Since I don't know how to debug this stuff, this
is either "get it right" or "get it wrong". 

>
> I haven't been clever enough to figure out how to include the typescript
> in the same file that I'm ConTeXting. 

That took me some time to discover...

> My guess is that this is because of a (reasonable) assumption of
> wanting to reuse typescripts.

Hans should know.. :)

> I hope that's of some help, even though it's yet another example.

Well, a clear definiton of how typescripts work would be nice. But
Bill has a lot of comments as far as I have seen.

Thanks again,

Patrick

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

* Re: Re: changing tt only
  2003-01-29 18:11   ` Patrick Gundlach
  2003-01-29 19:00     ` Adam Lindsay
@ 2003-01-29 20:58     ` Hraban
  1 sibling, 0 replies; 18+ messages in thread
From: Hraban @ 2003-01-29 20:58 UTC (permalink / raw)


> Is there any description /documentation of the typescript mechanism?
> Besides mfont.pdf? mfont is not clear enough. There are only some
> examples but no real explanation how this mechanism works. At least I
> cannot see it.

Patrick, I presume you understand german? ;-)

Perhaps my (incomplete) docs are of some help.
Ok, no explanation of the mechanism, but some hints what works...

While my site is under re-construction you can find the files at:
http://www.ramm.ch/fiee/material
(fiee-*.zip)


Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

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

* Re: Re: changing tt only
  2003-01-29 19:00     ` Adam Lindsay
  2003-01-29 19:39       ` Patrick Gundlach
@ 2003-01-29 21:12       ` Hraban
  2003-01-29 23:40       ` Hans Hagen
  2 siblings, 0 replies; 18+ messages in thread
From: Hraban @ 2003-01-29 21:12 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

> I really can't help you there... I'm still at the point of imitating
> examples, really, myself. You can also try typesetting some of the

Perhaps you'd like to use my attached script for font installation.
It copies font files (makes all lowercase), fixes some AFM problems
(overlong lines), runs texfont and writes a basic typescript that
contains some comments how to use it.
I'll enhance it somewhen, but until then you must change the "hardcoded"
paths in this two lines:

# if there's no environment variable TEXMF, set it to default
(!$ENV{TEXMF}) && ($ENV{TEXMF} = "/usr/TeX/texmf"); # default on 
MacOSX...
# install everything in texmf-var:
$TeXRoot = $ENV{TEXMF}."-var";


[-- Attachment #2.1: install-font.pl --]
[-- Type: application/applefile, Size: 469 bytes --]

[-- Attachment #2.2: install-font.pl --]
[-- Type: application/text, Size: 7377 bytes --]

[-- Attachment #3: Type: text/plain, Size: 135 bytes --]



Cry if you'd like a bunch of working typescript examples.

Grüßlis vom Hraban!
-- 
www.fiee.net/texnique/
www.ramm.ch/context/

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

* Re: changing tt only
  2003-01-29 17:25 ` Adam Lindsay
  2003-01-29 18:11   ` Patrick Gundlach
@ 2003-01-29 23:32   ` Hans Hagen
  2003-01-30 10:34     ` Patrick Gundlach
  1 sibling, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2003-01-29 23:32 UTC (permalink / raw)


At 05:25 PM 1/29/2003 +0000, Adam Lindsay wrote:

>I know no simple way of doing this. I have a typescript set up for this,
>though:
>\starttypescript [Time]
>   \usetypescript [berry] [8r]
>   \definetypeface [Time] [rm] [serif] [times]           [default]
>[encoding=8r]
>   \definetypeface [Time] [ss] [sans]  [helvetica]       [default]
>[rscale=.9,encoding=8r]
>   \definetypeface [Time] [tt] [mono]  [computer-modern] [default]
>[rscale=1.1,encoding=ec]
>   \definetypeface [Time] [mm] [math]  [times]           [default]
>[encoding=8r]
>\stoptypescript
>
>I find it preferable to pos because courier is far too light. I'd love to
>hear of an easier way, though.

\usetypescript[times][texnansi]
\setupbodyfont[times]
-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: changing tt only
  2003-01-29 19:00     ` Adam Lindsay
  2003-01-29 19:39       ` Patrick Gundlach
  2003-01-29 21:12       ` Hraban
@ 2003-01-29 23:40       ` Hans Hagen
  2003-01-30 23:18         ` Patrick Gundlach
  2 siblings, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2003-01-29 23:40 UTC (permalink / raw)
  Cc: Patrick Gundlach

At 07:00 PM 1/29/2003 +0000, Adam Lindsay wrote:

> >how do I use this? I have tried for the last .... hours. The
>
>Sorry I wasn't clear. I assumed too much. I spent an entire weekend
>working through this stuff at the start.

not bad, since fonts is the most complicatd part of tex (due to the fact 
that math is involved and so)

I haven't been clever enough to figure out how to include the typescript
>in the same file that I'm ConTeXting. My guess is that this is because of
>a (reasonable) assumption of wanting to reuse typescripts.

indeed, also, having all of them in mem takes space

> >Is there any description /documentation of the typescript mechanism?
> >Besides mfont.pdf? mfont is not clear enough. There are only some
> >examples but no real explanation how this mechanism works. At least I
> >cannot see it.

consider typescripts to be:

\starttypescript [key a] [key b] [key c]

\stoptypescript

and all key's being optional

selecting them is a matter of best match, say [key a] or [key a][key b] or 
...  so

\usetypescript [key a] [key b]

filters all instances that match those first two keys (actually sets of keys)

the definetypeface macro (just take a look in type-ini) filters a couple of 
combinations

inside typescripts can be all kind of things but in practice it's mainly 
mapping files

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Re: changing tt only
  2003-01-29 19:39       ` Patrick Gundlach
@ 2003-01-29 23:43         ` Hans Hagen
  2003-01-30 23:03           ` Patrick Gundlach
  0 siblings, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2003-01-29 23:43 UTC (permalink / raw)


At 08:39 PM 1/29/2003 +0100, you wrote:
>"Adam Lindsay" <atl@comp.lancs.ac.uk> writes:
>
>Hello Adam,
>
> > Sorry I wasn't clear. I assumed too much. I spent an entire weekend
> > working through this stuff at the start.
> >
> >>typescript/font mechanism is far too high for me.
> >
> > Patrick, nearly everything I knew about fonts in ConTeXt was learned from
> > Bill McClain's excellent resource:
> > <http://home.salamander.com/~wmcclain/context-help.html>
>
>I have visited this page again. I guess I have to put it under my
>pillow and read it every evening. Perhaps one day I know how to...
>
>
>I've got it working now. Thank you very much. One thing I'd like to
>comment: i think tat rscale=1.1 for cmtt is a bit too large.
>
>
> > Basically, you put this into one file, say "font-ttt.tex":

consider that method to be kind of obsolete and put the ttt in a typescript 
since those are located first

\starttypescript [ttt]

\stoptypescript

somewhere in a file, say patrick

  \usetypescriptfile[patrick]

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: changing tt only
  2003-01-29 23:32   ` Hans Hagen
@ 2003-01-30 10:34     ` Patrick Gundlach
  2003-01-31 23:04       ` Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-30 10:34 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:

Hello,

> \usetypescript[times][texnansi]
> \setupbodyfont[times]


This switches to a complete new typescript. But is it possible to
change the *tt* only? 

I think that scaling to 1.1 too big. In my opinion 1.03 fits the
times' visual appearence. 


Strange.. the acrobat reader tells me that the urw times
(NimbusRomNo9L-Regu) *and* Times-Roman (substituted by
TimesNewRomanPSMT) are used...

Patrick

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

* Re: changing tt only
  2003-01-29 23:43         ` Hans Hagen
@ 2003-01-30 23:03           ` Patrick Gundlach
  0 siblings, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-30 23:03 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:

> \starttypescript [ttt]
>
> \stoptypescript
>
> somewhere in a file, say patrick
>
>   \usetypescriptfile[patrick]

OK, the \usetypescriptfile always loads 

(context/base/type-syn.tex)
(context/base/type-enc.tex)
(context/base/type-siz.tex)
(context/base/type-map.tex)
(context/base/type-spe.tex)
(context/base/type-exa.tex) 

??

Patrick

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

* Re: changing tt only
  2003-01-29 23:40       ` Hans Hagen
@ 2003-01-30 23:18         ` Patrick Gundlach
  2003-01-31 12:34           ` Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-30 23:18 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:

Hello again,

> selecting them is a matter of best match, say [key a] or [key a][key
> b] or ...  so
>
> \usetypescript [key a] [key b]
>
> filters all instances that match those first two keys (actually sets of keys)


I have:

\starttypescript [aaa] [bbb][ccc]
\def\hello{abc}
\stoptypescript

and:

\starttext
\usetypescriptfile[patrick]

\usetypescript [aaa][bbb]

\message {\hello}
\stoptext


I get: undefined control sequence \hello.

So it looks as if I have to write \usetypescript [aaa][bbb][ccc] or
\usetypescript [aaa][bbb][all]  to get the above defined typescript.

Patrick

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

* Re: Re: changing tt only
  2003-01-30 23:18         ` Patrick Gundlach
@ 2003-01-31 12:34           ` Hans Hagen
  2003-01-31 15:01             ` My Way (was: Re: Re: changing tt only) Adam Lindsay
  2003-01-31 15:27             ` changing tt only Patrick Gundlach
  0 siblings, 2 replies; 18+ messages in thread
From: Hans Hagen @ 2003-01-31 12:34 UTC (permalink / raw)


At 12:18 AM 1/31/2003 +0100, you wrote:
>Hans Hagen <pragma@wxs.nl> writes:
>
>Hello again,
>
> > selecting them is a matter of best match, say [key a] or [key a][key
> > b] or ...  so
> >
> > \usetypescript [key a] [key b]
> >
> > filters all instances that match those first two keys (actually sets of 
> keys)
>
>
>I have:
>
>\starttypescript [aaa] [bbb][ccc]
>\def\hello{abc}
>\stoptypescript

That one should be in an external file, which is registered by

   \usetypescriptfile[thatfile]

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* My Way (was: Re: Re: changing tt only)
  2003-01-31 12:34           ` Hans Hagen
@ 2003-01-31 15:01             ` Adam Lindsay
  2003-01-31 15:26               ` Hans Hagen
  2003-01-31 15:27             ` changing tt only Patrick Gundlach
  1 sibling, 1 reply; 18+ messages in thread
From: Adam Lindsay @ 2003-01-31 15:01 UTC (permalink / raw)


Hans Hagen said this at Fri, 31 Jan 2003 13:34:30 +0100:

>That one should be in an external file, which is registered by
>
>   \usetypescriptfile[thatfile]

Okay, so with reference to the new My Way module, if I were to, say,
create a typescriptfile to illustrate a font combination or two, would
the "source code of this document" section easily accommodate the calling
in of an external file?

(Sure, I guess the answer is learn about buffers and the like.)

The real question is, will the elegant self-documenting format still hold
with the necessity of putting typescripts in external files?

Sorry, I'll back off. I'm getting too eager about something you haven't
officially announced yet. 

Thanks,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: My Way (was: Re: Re: changing tt only)
  2003-01-31 15:01             ` My Way (was: Re: Re: changing tt only) Adam Lindsay
@ 2003-01-31 15:26               ` Hans Hagen
  0 siblings, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2003-01-31 15:26 UTC (permalink / raw)


At 03:01 PM 1/31/2003 +0000, Adam Lindsay wrote:
>Hans Hagen said this at Fri, 31 Jan 2003 13:34:30 +0100:
>
> >That one should be in an external file, which is registered by
> >
> >   \usetypescriptfile[thatfile]
>
>Okay, so with reference to the new My Way module, if I were to, say,
>create a typescriptfile to illustrate a font combination or two, would
>the "source code of this document" section easily accommodate the calling
>in of an external file?

sure, \typefile{somefile}

>(Sure, I guess the answer is learn about buffers and the like.)
>
>The real question is, will the elegant self-documenting format still hold
>with the necessity of putting typescripts in external files?

yes, since in many cases styles are split up as well (at least here)

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: changing tt only
  2003-01-31 12:34           ` Hans Hagen
  2003-01-31 15:01             ` My Way (was: Re: Re: changing tt only) Adam Lindsay
@ 2003-01-31 15:27             ` Patrick Gundlach
  1 sibling, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2003-01-31 15:27 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:

OK, i did not express myself well enough.
> That one should be in an external file, which is registered by
>
>    \usetypescriptfile[thatfile]

I have 

\starttypescript [aaa] [bbb][ccc]
\def\hello{abc}
\stoptypescript

in a file called patrick.tex

\starttext
\usetypescriptfile[patrick]

\usetypescript [aaa][bbb]

\message {\hello}
\stoptext

And my comment/question is:


I get: undefined control sequence \hello.

So it looks as if I have to write \usetypescript [aaa][bbb][ccc] or
\usetypescript [aaa][bbb][all]  to get the above defined typescript.

It is not a matter of 'file not found'. More a matter of key
(mis)match for \usetypescript.

Patrick

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

* Re: Re: changing tt only
  2003-01-30 10:34     ` Patrick Gundlach
@ 2003-01-31 23:04       ` Hans Hagen
  0 siblings, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2003-01-31 23:04 UTC (permalink / raw)


At 11:34 AM 1/30/2003 +0100, you wrote:
>Hans Hagen <pragma@wxs.nl> writes:
>
>Hello,
>
> > \usetypescript[times][texnansi]
> > \setupbodyfont[times]
>
>
>This switches to a complete new typescript. But is it possible to
>change the *tt* only?
>
>I think that scaling to 1.1 too big. In my opinion 1.03 fits the
>times' visual appearence.
>
>
>Strange.. the acrobat reader tells me that the urw times
>(NimbusRomNo9L-Regu) *and* Times-Roman (substituted by
>TimesNewRomanPSMT) are used...

hm, maybe something slanted is not understood to be times; anyway: i always 
include the 15 base fonts and don't trust/rely on the built-ins

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

end of thread, other threads:[~2003-01-31 23:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-29 17:15 changing tt only Patrick Gundlach
2003-01-29 17:25 ` Adam Lindsay
2003-01-29 18:11   ` Patrick Gundlach
2003-01-29 19:00     ` Adam Lindsay
2003-01-29 19:39       ` Patrick Gundlach
2003-01-29 23:43         ` Hans Hagen
2003-01-30 23:03           ` Patrick Gundlach
2003-01-29 21:12       ` Hraban
2003-01-29 23:40       ` Hans Hagen
2003-01-30 23:18         ` Patrick Gundlach
2003-01-31 12:34           ` Hans Hagen
2003-01-31 15:01             ` My Way (was: Re: Re: changing tt only) Adam Lindsay
2003-01-31 15:26               ` Hans Hagen
2003-01-31 15:27             ` changing tt only Patrick Gundlach
2003-01-29 20:58     ` Hraban
2003-01-29 23:32   ` Hans Hagen
2003-01-30 10:34     ` Patrick Gundlach
2003-01-31 23:04       ` 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).