Re: [NTG-context] inline diagrams/charts?

2007-08-15 Thread Adam Lindsay
sparklines?
http://en.wikipedia.org/wiki/Sparkline

Henning Hraban Ramm wrote:
 Hi there!
 
 A long time ago there was a discussion about some kind of tiny block  
 charts that run within the text. Now I would need such for the  
 summary of a poll.
 But I can't remember the name, and thus I can't find the thread and  
 website.
 Can you help me?
 
 Greetlings from Lake Constance!
 Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] infinite paper height

2006-07-18 Thread Adam Lindsay
Mojca Miklavec wrote:
 5m is inifinite enough for me (I hope). I only need to fit the whole
 article on a single page and I guess that no article will go over this
 limit. 

FWIW, Acrobat 6 and earlier had severe problems with document dimensions 
over 200cm, so keep that in mind for compatibility.

 It would be nice if the paper size could be adjusted
 automatically (that's what I meant with infinite) to the length of the
 article, but if that would require too much effort, it would probably
 be easier if I crop the page after processing it with ConTeXt.

Yes. See Hans's reply with \startTEXpage . Very handy command, that. :)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] small new feature on the wiki

2006-07-18 Thread Adam Lindsay
Mojca Miklavec wrote:

 If we agree on a common page size, I could easily put it in there. If
 we don't agree on one, I could perhaps say context source=...
 width=13cm. This would take a few more minutes to implement (I
 still have to implement that the source and the results are next to
 each other (left/right).)
 
 I also suggest scaling down to approximately 0.7 (70%). It's difficult
 to tell the exact size, but it's nice if the example fits on 800(?)
 pixel wide screen. I have a bad feeling for what the width should be
 since I feel claustrophobic on anything below 1200 pixels anyway.

Mm, I'd have misgivings about scaling down any more: a lot of detail 
gets hard to see with the renders, especially with the default LM.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, Charts, and transparency

2006-07-15 Thread Adam Lindsay
Hans Hagen wrote:
 Idris Samawi Hamid wrote:
 Yes, but that seems mainly geared towards flow charts, not graphical  
 charts. Can m-chart do things like the example png attached at the start  
 of the thread?
   
 i lost that one; actually, willy egger is the most experienced chart user but 
 he's on vacation 

It was more like a bar graph (with two sets of y-values), nothing to do 
with m-charts. I thought about mp-graph stuff, but I don't see how it 
can be (trivially) made to do that visual style.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt + XeTeX + Adobe Bembo Std = ???

2006-07-13 Thread Adam Lindsay
Mojca Miklavec wrote:
 On 7/12/06, Paul Hoffman wrote:
 The example on the _Fonts in XeTeX_ page in the wiki works fine except
 for small caps, which (not surprisingly) don't show up in this first
 attempt:

\definetypeface[bembo][rm][Xserif][Bembo Std]
\setupbodyfont[bembo]
\starttext
Bembo {\bf Bembo} {\it Bembo} {\sc Bembo} Bembo.
\stoptext
 
 [minimal fix]
 
 In type-xtx.tex add the following line:
 \definefontsynonym[DummyCaps]['\typescripttwo:mapping=tex-text;+smcp'][encoding=uc]
  

Hmm. Clever approach, but that puts a strong bias on loading fonts by 
the OpenType method, only. That assumption isn't valid with XeTeX on Mac 
(fast heading to being a minority ;) -- there's the ATSUI font loading 
syntax as well, which looks very different.

That said, now that I'm kind of back (hi), type-xtx and basically all 
the XeTeX stuff needs a radical re-think, as I had used the \ifXeTeX 
switch as a sign we were on a specific platform, not running a specific TeX.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt + XeTeX + Adobe Bembo Std = ???

2006-07-13 Thread Adam Lindsay
Hi Paul.

You almost got it. You slightly misunderstood the use of the 
definetypface line...

Paul Hoffman wrote:
 But that's a hack.  So I create a file type-bembo.tex:
 
\starttypescript[bembo][uc]

not quite. try:
\starttypescript[serif][bembo][uc]

  \definetypeface [bembo] [rm] [serif] [Bembo Std] [default] 
 [encoding=uc]
  \definefontsynonym[BemboRegular][Bembo Std:mapping=tex-text]  
   [encoding=uc]
  \definefontsynonym[BemboItalic] [Bembo 
 Std-Italic:mapping=tex-text][encoding=uc]
  \definefontsynonym[BemboBold]   [Bembo Std-Bold:mapping=tex-text] 
   [encoding=uc]
  \definefontsynonym[BemboCaps]   [Bembo 
 Std:mapping=tex-text;+smcp] [encoding=uc]
\stoptypescript

Okay, you just need to take the definetypeface line out of the above 
definition. We'll rewrite it and re-place it below.

\starttypescript[serif][bembo][name]
  \definefontsynonym[Serif]   [BemboRegular]
  \definefontsynonym[SerifItalic] [BemboItalic]
  \definefontsynonym[SerifBold]   [BemboBold]
  \definefontsynonym[SerifCaps]   [BemboCaps]
  \definefontsynonym[SerifSlanted][BemboItalic]
  \definefontsynonym[SerifBoldItalic] [BemboBold]
  \definefontsynonym[SerifBoldSlanted][BemboBold]
\stoptypescript

These lines look pretty good (although I suspect you could be defining 
Bold Italic as well).

You want a third typescript that creates the typeface definition. It's 
this thing that calls the other two:

\starttypescript[bembo][uc]
  \definetypeface [bembo] [rm] [serif] [bembo] [default]  [encoding=uc]
\stoptypescript

 And a test file in the same directory as the typescript file:
 
\usetypescriptfile[type-bembo]
\usetypescript[bembo][uc]
\setupbodyfont[bembo,11pt]
\starttext
Bembo {\bf Bembo} {\it Bembo} {\sc Bembo} Bembo.
\stoptext
 
 Now I get small caps all right, but everything's in Computer Modern.  
 :-(  What am I doing wrong?

You're just missing some of the magic in the definetypeface line. To 
show the arbitrariness of some of the names, you can change the last 
definition and how you call it:

\starttypescript[OpenTypeBembo]
  \definetypeface [BooBoo] [rm] [serif] [bembo] [default]  [encoding=uc]
\stoptypescript


   \usetypescriptfile[type-bembo]
   \usetypescript[OpenTypeBembo]
   \setupbodyfont[BooBoo,11pt]

And when you call the BooBoo typeface, it knows that definition and 
calls the following definitions when using the \rm family:

\starttypescript[serif][bembo]  [uc]
\starttypescript[serif][bembo]  [name]
\starttypescript[serif][default][size]

(and some other, special definitions that 98% of the time you don't need 
to worry about.)

Does that work?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] slightly OT: presentation tool

2006-07-12 Thread Adam Lindsay
Nice one, Thomas.

A few comments for the Mac folks:

Thomas A. Schmitz wrote:
 screen with your mouse pointer. There are some disadvantages: it has  
 a lot of pythonish dependencies (on OS X, I could install them via  
 darwinports, but it's a lot more difficult on most linux distros), it  

I don't subscribe to any ports systems any more. I tried tracking 
through the python dependencies myself, and got pretty frustrated, but 
Bob Ippolito's packages (Mac OS X 10.4) were a tremendous help:
  http://pythonmac.org/packages/py24-fat/index.html
(pdftk has its own mac installers, and I installed GS a while ago.)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bar missing in euler

2006-07-11 Thread Adam Lindsay
Hans Hagen wrote:
 Aditya Mahajan wrote:
 I do not know what is the equivalent of 'operators' family in context. 
 Any idea how to pull them out of the text fonts?
   
 if this is only euler, we may use something 

I believe this is euler only. The other math fonts I have dug into have 
been complete.

 euler:ec

Makes sense. I'll look at the new definitions you just sent.

On the user side, what do you imagine it would look like:
\definetypeface [e] [mm] [math] [euler] [euler] [encoding=ec]
   or
\definetypeface [e] [mm] [math] [euler] [euler] [encoding=euler:ec]
   or
\starttypescript [math,boldmath] [euler] [ec]   # with the first one
   \usemathcollection[euler:ec]
\stoptypescript

?

 otherwise we end up with all other math encodings being messed up 

Yes, and that's the last thing I'd want to happen because of euler support.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bar missing in euler

2006-07-06 Thread Adam Lindsay
Aditya Mahajan wrote:

 gives just a. I do not get any bar over a.

Yup. You seem to be the first to have noticed (or complained), as well.

 This is how eulervm.sty defines these characters for T1 encoding.
 ...

That's the key, though, it apparently pulls in the text accents as well, 
and changes the math definitions depending on the text encoding. That 
seems rather opposite to how ConTeXt *should* work.

 I do not know what is the equivalent of 'operators' family in context. 
 Any idea how to pull them out of the text fonts?

Let's open this up to Hans and Taco: any idea? Much of the finer points 
of \definemathsymbol et al are voodoo to me.

The fourth/sixth arguments of \definemathsymbol insist on a (hex) number 
to be in that slot. Anything else (like \textmacron) is a no-go.

So right now, Euler is limited by the math mechanisms/the encoding of 
the font. I can imagine two solutions of differing hack-ish natures:

1) Allow further expansion in \definemathsymbol:
  \definemathsymbol [breve] [accent] [tf] [\textbreve]

2) Do a hack following LaTeX's imperfect lead:
  \definemathsymbol [breve] [accent] [tf] [15] % for texnansi
   % or
  \definemathsymbol [breve] [accent] [tf] [08] % for ec
  etc.

Advice?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] symbolset

2006-07-04 Thread Adam Lindsay
Taco Hoekwater wrote:

 IIRC, some of the Unicode symbol sets require commercial fonts
 (from MacOS X).

Eh, require is such a strong word... There are some placeholders in 
there, since the Mac OS X fonts were easy (for me) to get. The XeTeX 
code that named the fonts explicitly (hmm, bad old assumption now...) 
was set off in a conditional in the hopes that a more general solution 
would come along...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] TL2005 perl problems [was: Re: Struggling with Old Style numerals!]

2006-03-16 Thread Adam Lindsay
G.C.H.M. Verhaag wrote:
 I've removed that one and installed TeXLive 2005! I was afraid of other 
 problems, and indeed that's exactly what happened.
...
 The Perl script texexec doesn't launch!! I get the following Perl error 
 message:
 
 Can't locate Digest/MD5.pm in @INC (@INC contains: 
 /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 
 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 
 /usr/local/lib/site_perl .) at 
 /usr/local/texlive/2005/texmf-dist/scripts/context/perl/texexec.pl line 54.
 BEGIN failed--compilation aborted at 
 /usr/local/texlive/2005/texmf-dist/scripts/context/perl/texexec.pl line 54.
 
 This missing MD5.pm is present in the directory: 
 /usr/local/texlive/2005/xemtex/perl/lib
 
 So what should be my next move?

I don't use TeXLive anymore, so I don't know. Sounds like a problem 
someone on the list has encountered, though!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [XeTeX] no space after item no.

2006-03-13 Thread Adam Lindsay
Dalyoung Jeong wrote:
 Dear all,
 
 Yesterday, I made a short text including itemized list more than 10.
 I have run it using XeTeX+ConTeXt and got a nice pdf file except one thing.
 
 there is no space between item no and the sentence.
 
 I tested the same file using ConTeXt(Mac Os Roman encoding), and have no 
 problem at all.
 There are spaces after item no less than 10.
 
 Should I set something in XeTeX-ConTeXt?

Dalyoung,

This is much more a ConTeXt issue than a XeTeX issue. I *think* it comes 
up with XeConTeXt because the CJK font has (relatively) wider roman 
characters than with roman fonts.

Anyway, here are two different approaches. You can either correct it per 
item group (making it broad or a multiple thereof), or across all 
itemizes (insert whatever width that makes you happy).

\starttext

\startitemize[n,2*broad]
\dorecurse{13}{\item item }
\stopitemize

% or:
\setupitemize[width=2.5em]
\startitemize[n]
\dorecurse{13}{\item item }
\stopitemize

\stoptext


Hope that helps!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Struggling with Old Style numerals!

2006-03-12 Thread Adam Lindsay
G.C.H.M. Verhaag wrote:
 Adam Lindsay wrote:
 For Latin Modern, look in the mail archive:
 http://archive.contextgarden.net/message/20050616.125032.05b714af.en.html

 Thanks for your suggestion!
 
 But sorry, I don't get any old-style numerals when I run the example as 
 shown in this link. Now the problem is that I don't know why it doesn't 
 work.

Really? Try this minimal, complete example:

\usetypescript [modern][\defaultencoding]
\usetypescript [map] [latin-modern-os] [\defaultencoding]

\setupbodyfont[modern]
\starttext
hello world 123
\ss 456 world hello
\rmit hello world 789
\stoptext

Do you have a recent ConTeXt? Do you have an up-to-date latin modern 
install?
(Most advice/ConTeXt stuff depends on at least those two things, here.)

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] problems with uppercase Greek letters in math

2006-03-06 Thread Adam Lindsay
Mojca Miklavec wrote:
 Hello,
 
 The uppercase Greek letters in the following example don't work since
 the letters are taken from ec encoding, while the default TeX encoding
 is assumed in the definitions of Phi, Psi, ... (mr, math roman font)
 
 Any suggestions how to fix this strange behaviour?
 
 \starttypescript [something] [ec,texnansi]
   \definetypeface [somename] [rm] [serif] [modern] [default]
 [encoding=\typescripttwo]
 \stoptypescript

Hi Mojca,

My rule-of-thumb would be that if you're going to use math in your 
document, you're best off defining something for the [mm] [math] family: ;)

\starttypescript [something] [ec,texnansi]
   \definetypeface [somename] [rm] [serif] [modern] [default]
[encoding=\typescripttwo]
   \definetypeface [somename] [mm] [math] [modern] [modern]
[encoding=\typescripttwo]
\stoptypescript

Hope that helps.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] problems with uppercase Greek letters in math

2006-03-06 Thread Adam Lindsay
Mojca Miklavec wrote:

 (Is [encoding=\typescripttwo] used in math or may it be left out?)

I tend to leave it out. I believe the encoding= value there is ignored.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-20 Thread Adam Lindsay
Berend de Boer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Adam Lindsay [EMAIL PROTECTED] writes:
 
 Read the previous email messages.
 
 Ah, you included a map file, had overlooked that with my first quick
 test. Wanted to try the suggestion of Taco when I would have more
 time, but you already did the work. Sorry I missed that, and that
 works!!

Oh good!
I was starting to doubt some of my core competencies.

Now, can you take it out for an extended spin/test? I'd like to be able 
to package it up in a way that (potentially) allows others to use it.

Or: Hans, Taco: is this feature best left as a dangerous curve, best 
left to specific users who need it?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columns in framedtext

2006-02-20 Thread Adam Lindsay
Hans van der Meer wrote:
 
 
 On Feb 20, 2006, at 16:18, Hans van der Meer wrote:
 
 I have been experimenting with columnsets too.
 There I encounter the problem that I cannot set the distance between
 the columns at will.
 
 That has been solved. Just had to dig a little deeper in columns.pdf  
 and iron out my bugs.
 I will now first pursue Hans Hagens suggestion of using setuplists.

Unless HH knows more about your use-case than what you've sent to the 
list, it looks like it can be summarised as:
\startframedtext[width=\textwidth]
  \startsimplecolumns[n=2]
   \input knuth
  \stopsimplecolumns
\stopframedtext

\setuplist doesn't enter into it, other than his demonstration.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Force an indent

2006-02-20 Thread Adam Lindsay
[someone else beat me to the punch.]

(\indentation instead of \indent)
That's not the most obvious choice of command name, but it works, eh?. 
To protect yourself, you could add more logical markup and say 
something like this in your environment:

\let\NewPar\indentation

and then mark all paragraphs to be indented with that \NewPar.

adam

 On Feb 20, 2006, at 10:13 AM, Taco Hoekwater wrote:
 
 David Arnold wrote:
 OK,

 But this gives the same result. No indent.
 [ok]

 How can I get that paragraph after the placeformula to indent?
\setupindenting[medium,yes]
\setupformulas[indentnext=yes]
%\setupfloats[indentnext=yes] % maybe desired as well?

 I just discovered that only this

\setupindenting[medium,always]

 doesn't work either, and that is a bit counterintuitive.

 Cheers, Taco
 ___
 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


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Force an indent

2006-02-20 Thread Adam Lindsay
[I realised this other part of my draft answer would be good for the 
archive:]

David Arnold wrote:

 I do not want to do this:
 
 \setupformulas[indentnext=auto]
 
...
 Because that has the effect that paragraphs following formulae are  
 always indented. I don't want that. I want to be able to type the  
 source like this ...

(not always, in the auto case)

 \setupwhitespace[medium]
 
 \setupindenting[medium,yes]
 
 \starttext
 
 Again, we choose to multiply the fours, then the result by the square  
 root of three. That is,
 
 \placeformula[-]
 \startformula
4(4\sqrt3)
=16\sqrt3.
 \stopformula
 
 By induction, we can argue that that the associative and commutative  
 properties will allows us to group and arrange the product of more  
 than three numbers in any order that we please.
 
 \stoptext

Although it doesn't really apply to you, because of the spaced-out 
nature of your source files, this will help someone out. If you have 
indentnext=auto set for formulae (or verbatim or itemize), then you have 
no indent if there's no blank line between the formula and the text. If 
there is a blank line, then there's a normal indent.

In the example, watch what happens after the two \stopformula s:

\setupindenting[medium,yes]
\setupformulas[indentnext=auto]
\starttext

\input ward
You will find that

\startformula
2+2=5
\stopformula % no blank line
for very large values of two.
\input dawkins
However, traditionalists maintain that

\startformula
2+2=4
\stopformula % extra blank line

Moving on, we find...
\input tufte

\stoptext

(pardon the extra test text. The bits that I wrote didn't make the 
example clear enough when typeset.)

 ... and not have the next paragraph after the formula. That is the  
 default. That is what I want. However, on occasion, sometimes I do  
 want to indent the next paragraph after a formula. My question is,  
 how to override the default behavior on occasion. That is, every  
 rare once in a while, how do I indent a paragraph after a formula.
 
 
 On Feb 20, 2006, at 10:13 AM, Taco Hoekwater wrote:
 
 David Arnold wrote:
 OK,

 But this gives the same result. No indent.
 [ok]

 How can I get that paragraph after the placeformula to indent?
\setupindenting[medium,yes]
\setupformulas[indentnext=yes]
%\setupfloats[indentnext=yes] % maybe desired as well?

 I just discovered that only this

\setupindenting[medium,always]

 doesn't work either, and that is a bit counterintuitive.

 Cheers, Taco
 ___
 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


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-19 Thread Adam Lindsay
Berend de Boer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Adam Lindsay [EMAIL PROTECTED] writes:
 
 What fails?
 That is to say, could you please give a more detailed report?
 
 Just that it still includes the Nimbus font.

Read the previous email messages. Try a test document without the 
\showbodyfont command.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-18 Thread Adam Lindsay

Taco Hoekwater wrote:

Berend de Boer wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello All,

I'm again hit by the disapperance of the Adoboe default fonts. When I
create a PDF document, I get the Nimbus (urw) fonts, instead of the
Adobe.


If you do _not_ have the Adobe binary fonts, then I am afraid you
have to learn to live with the URW versions. These days, a
non-embedded Helvetica seems to imply the use of Adobe Sans MM,
and I've had a production PDF rejected by a printing house because
of that.


I would second what Taco says: not embedding is just asking for trouble 
from third parties. However, if you're independent or otherwise control 
everybody's viewer, try this:


\usetypescript[adobekb][8r]
\loadmapfile[8r-base-ndl]
\usetypescript[postscript][8r]% 'pos' is deprecated
\setupbodyfont[postscript,ss,11pt]
\starttext
\showbodyfont
\subject{Test}
Of correct font.
\stoptext


updmap is irrelevant, ConTeXt comes with its own map files.


And here's one that ConTeXt can use (after Berend gives a thorough test 
and some feedback).


[Incidentally, there is one NimbusRoman that gets embedded: that's the 
slanted version, which seems unavoidable.]


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

% courier / urw

ucrb8r  Courier-BoldTeXBase1Encoding ReEncodeFont 8r.enc
ucrbo8r Courier-BoldOblique TeXBase1Encoding ReEncodeFont 8r.enc
ucrr8r  Courier TeXBase1Encoding ReEncodeFont 8r.enc
ucrro8r Courier-Oblique TeXBase1Encoding ReEncodeFont 8r.enc

% courier / adobe

pcrb8r  Courier-BoldTeXBase1Encoding ReEncodeFont 8r.enc
pcrbo8r Courier-BoldOblique TeXBase1Encoding ReEncodeFont 8r.enc
pcrr8r  Courier TeXBase1Encoding ReEncodeFont 8r.enc
pcrro8r Courier-Oblique TeXBase1Encoding ReEncodeFont 8r.enc

% helvetica / urw

uhvb8r  Helvetica-BoldTeXBase1Encoding ReEncodeFont 8r.enc
uhvbo8r Helvetica-BoldOblique TeXBase1Encoding ReEncodeFont 8r.enc
uhvr8r  Helvetica TeXBase1Encoding ReEncodeFont 8r.enc
uhvro8r Helvetica-Oblique TeXBase1Encoding ReEncodeFont 8r.enc

% helvetica / adobe

phvb8r  Helvetica-BoldTeXBase1Encoding ReEncodeFont 8r.enc
phvbo8r Helvetica-BoldOblique TeXBase1Encoding ReEncodeFont 8r.enc
phvr8r  Helvetica TeXBase1Encoding ReEncodeFont 8r.enc
phvro8r Helvetica-Oblique TeXBase1Encoding ReEncodeFont 8r.enc

% times / urw

utmb8r  Times-Bold   TeXBase1Encoding ReEncodeFont 8r.enc
utmbi8r Times-BoldItalic TeXBase1Encoding ReEncodeFont 8r.enc
utmr8r  Times-Roman  TeXBase1Encoding ReEncodeFont 8r.enc
utmri8r Times-Italic TeXBase1Encoding ReEncodeFont 8r.enc

utmbo8r NimbusRomNo9L-Medi   .167 SlantFont 8r.enc utmb8a.pfb
utmro8r NimbusRomNo9L-Regu   .167 SlantFont 8r.enc utmr8a.pfb

% times / adobe

ptmb8r  Times-Bold   TeXBase1Encoding ReEncodeFont 8r.enc
ptmbi8r Times-BoldItalic TeXBase1Encoding ReEncodeFont 8r.enc
ptmr8r  Times-Roman  TeXBase1Encoding ReEncodeFont 8r.enc
ptmri8r Times-Italic TeXBase1Encoding ReEncodeFont 8r.enc

ptmbo8r NimbusRomNo9L-Medi   .167 SlantFont 8r.enc utmb8a.pfb
ptmro8r NimbusRomNo9L-Regu   .167 SlantFont 8r.enc utmr8a.pfb

% palatino / urw

uplb8r  URWPalladioL-Bold8r.enc uplb8a.pfb
uplbi8r URWPalladioL-BoldItal8r.enc uplbi8a.pfb
uplr8r  URWPalladioL-Roma8r.enc uplr8a.pfb
uplri8r URWPalladioL-Ital8r.enc uplri8a.pfb

uplbo8r URWPalladioL-Bold.167 SlantFont 8r.enc uplb8a.pfb
uplro8r URWPalladioL-Roma.167 SlantFont 8r.enc uplr8a.pfb

% palatino / adobe

pplb8r  URWPalladioL-Bold8r.enc uplb8a.pfb
pplbi8r URWPalladioL-BoldItal8r.enc uplbi8a.pfb
pplr8r  URWPalladioL-Roma8r.enc uplr8a.pfb
pplri8r URWPalladioL-Ital8r.enc uplri8a.pfb

pplbo8r URWPalladioL-Bold.167 SlantFont 8r.enc uplb8a.pfb
pplro8r URWPalladioL-Roma.167 SlantFont 8r.enc uplr8a.pfb

% bookman / urw

ubkd8r  URWBookmanL-DemiBold 8r.enc ubkd8a.pfb
ubkdi8r URWBookmanL-DemiBoldItal 8r.enc ubkdi8a.pfb
ubkl8r  URWBookmanL-Ligh 8r.enc ubkl8a.pfb
ubkli8r URWBookmanL-LighItal 8r.enc ubkli8a.pfb

ubkdo8r URWBookmanL-DemiBold .167 SlantFont 8r.enc ubkd8a.pfb
ubklo8r URWBookmanL-Ligh .167 SlantFont 8r.enc ubkl8a.pfb

% bookman / adobe

pbkd8r  URWBookmanL-DemiBold 8r.enc ubkd8a.pfb
pbkdi8r URWBookmanL-DemiBoldItal 8r.enc ubkdi8a.pfb
pbkl8r  URWBookmanL-Ligh 8r.enc ubkl8a.pfb
pbkli8r URWBookmanL-LighItal 8r.enc ubkli8a.pfb

pbkdo8r URWBookmanL-DemiBold .167 SlantFont 8r.enc ubkd8a.pfb
pbklo8r URWBookmanL-Ligh .167 SlantFont 8r.enc ubkl8a.pfb

% chancery / urw

uzcmi8r URWChanceryL-MediItal8r.enc uzcmi8a.pfb

% chancery / adobe

pzcmi8r URWChanceryL-MediItal8r.enc uzcmi8a.pfb


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-18 Thread Adam Lindsay
Berend de Boer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Adam Lindsay [EMAIL PROTECTED] writes:
 
 However, if you're independent or otherwise control everybody's
 viewer, try this:
 
 Unfortunately, this doesn't work.

What fails?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-18 Thread Adam Lindsay
Adam Lindsay wrote:
 Berend de Boer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Adam Lindsay [EMAIL PROTECTED] writes:

 However, if you're independent or otherwise control everybody's
 viewer, try this:
 Unfortunately, this doesn't work.
 
 What fails?

That is to say, could you please give a more detailed report?
It works here: The attached new mapfile (in my original post) lived in a 
ConTeXt-accessible path (in this case, just the testfile's directory), 
and contained entries directly cut-and-paste from my pdftex_ndl14.map.

Some commentary on the testfile:

%D Berry doesn't work here because it's not available with 8r:
\usetypescript[adobekb][8r]
%D The adobekb typescript loads 8r-base, so we have to
%D overwrite the font embedding entries by loading this after:
\loadmapfile[8r-base-ndl]
%D The current way of triggering the 'pos' combination:
\usetypescript[postscript][8r]% 'pos' is deprecated
\setupbodyfont[postscript,ss,11pt]
\starttext
%D Since this triggers the slanted variant, there will be *one*
%D NimbusRoman font embedded. The rest is left up to the viewer:
\showbodyfont
\subject{Test}
Of correct font.
\stoptext


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to \bf for math?

2006-02-17 Thread Adam Lindsay
David Munger wrote:
 Very interesting, but with these definitions, I can't get roman
 characters in formulae. For the moment, the best solution for me is
 still the hbox wrapper.

Okay.
What do you mean by can't get roman characters? Can you give an 
minimal example?

adam

 Adam Lindsay wrote:

 \startmathcollection[default] %eventual patch for math-tex?
 \definemathcharacter [a]   [nothing] [mi] [61]
 \definemathcharacter [b]   [nothing] [mi] [62]
 \definemathcharacter [c]   [nothing] [mi] [63]
 \definemathcharacter [d]   [nothing] [mi] [64]
 \definemathcharacter [e]   [nothing] [mi] [65]
 ...

 Interesting. With these definitions in place, getting mixed bold in cmr 
 math is a lot better, too...

 \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern]
 \setupformulas [method=bold]

 \starttext
 \startformula
 n({\bfm a} + {\bfm b}) = {\bfm \Gamma}
 \stopformula
 \stoptext

 Now, do digits ever get bold-ed in mixed bold and regular math?
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to \bf for math?

2006-02-17 Thread Adam Lindsay
David Munger wrote:
 Adam Lindsay wrote :
 David Munger wrote:
 Very interesting, but with these definitions, I can't get roman
 characters in formulae. For the moment, the best solution for me is
 still the hbox wrapper.
 Okay.
 What do you mean by can't get roman characters? Can you give an 
 minimal example?

 adam
 
 Sorry, I should have given one.
 
 \startmathcollection[default]
 \definemathcharacter [a]   [nothing] [mi] [61]
 \stopmathcollection
 
 \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern]
 \setupformulas [method=bold]
 
 \starttext
 \formula{a, {\rm a}, {\bfm a}, {\bfm\rm a}}
 \stoptext
 
 I can't get bold roman math. And by using [mr] instead of [mi]:
 \definemathcharacter [a]   [nothing] [mr] [61]
 one gets the inverse problem: no more bold math italic.

oh, I see. I'll admit: all the maths I've dealt with don't require such 
fine manual control over the fonts.

Would it be for individual characters? Would an approach like this work?
\formula{a, {\rm a}, {\bfm a}, \text{\bf a}}

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] gnuplot mode

2006-02-16 Thread Adam Lindsay
Hans Hagen wrote:
 Adam Lindsay wrote:
 Hans Hagen wrote:

   
 what is this hlhr8r? a font filename? 
 
 Yes, one of the Lucida ones.

   
 ()when installing lbr using texfont, did you (manually) move the math pfb 
 files and tfm files? 

 (maybe i should distribute the lbr math tfm files) 
 
 Or, maybe I should finish that type-dis typescript to adapt the current 
 ConTeXt internal names to the TUG-distributed lucida font names. Which 
 would you prefer? _In this case_, I would likely trust the hand-tuned 
 TFMs a bit more than texfont-generated ones.
   
 for math i always use the ones supplied by yandy (i don't use the funny 
 names) 

And for the text versions? That's what I was offering, to do a lot of:

\starttypescript [serif] [lucida] [texnansi]
   \definefontsynonym [texnansi-lbr]   [hlhr8y]  [encoding=texnansi]
etc.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to \bf for math?

2006-02-16 Thread Adam Lindsay
Adam Lindsay wrote:

 \startmathcollection[default] %eventual patch for math-tex?
 \definemathcharacter [a]   [nothing] [mi] [61]
 \definemathcharacter [b]   [nothing] [mi] [62]
 \definemathcharacter [c]   [nothing] [mi] [63]
 \definemathcharacter [d]   [nothing] [mi] [64]
 \definemathcharacter [e]   [nothing] [mi] [65]
...

Interesting. With these definitions in place, getting mixed bold in cmr 
math is a lot better, too...

\definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern]
\setupformulas [method=bold]

\starttext
\startformula
n({\bfm a} + {\bfm b}) = {\bfm \Gamma}
\stopformula
\stoptext

Now, do digits ever get bold-ed in mixed bold and regular math?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] gnuplot mode

2006-02-15 Thread Adam Lindsay
Hans Hagen wrote:

 what is this hlhr8r? a font filename? 

Yes, one of the Lucida ones.

 ()when installing lbr using texfont, did you (manually) move the math pfb 
 files and tfm files? 
 
 (maybe i should distribute the lbr math tfm files) 

Or, maybe I should finish that type-dis typescript to adapt the current 
ConTeXt internal names to the TUG-distributed lucida font names. Which 
would you prefer? _In this case_, I would likely trust the hand-tuned 
TFMs a bit more than texfont-generated ones.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] OpenType and XeConTeXt

2006-02-14 Thread Adam Lindsay
Steffen Wolfrum wrote:
 Hi,
 
 using ConTeXt with XeTeX seems to be an nice option for us MacOSX users.
 But I get always confused with the names for these rich features like 
 Style Option, Ligatures, Variants.
 
 I mean: how do I know how many variants and style options a font has and 
 how they and their ligatures etc. want to be called?
 In plain ConTeXt (for the 255 characters) we can use \showfont[...] and 
 \showcharacters in order to know how to call the specific 
 characters/glyphs. But what about OpenType?

\showfont is limited to unicode's 0-255 slots, but it's functional:
  \showfont[Book Antiqua]

 Peeking at the LaTeX side of XeTeX, I saw that they have created a 
 packages called fontspec which seems to give better access to all (?) if 
 these options.
 
 What about us? Is there help also for XeConTeXt?

I find that the lcdf typetools are a tremendous help:
  otfinfo -f ~/Library/Fonts/WarnockPro-Regular.otf

aaltAccess All Alternates
c2scSmall Capitals From Capitals
caseCase-Sensitive Forms
cpspCapital Spacing
cswhContextual Swash
dligDiscretionary Ligatures
dnomDenominators
finaTerminal Forms
fracFractions
histHistorical Forms
kernKerning
ligaStandard Ligatures
lnumLining Figures
numrNumerators
onumOldstyle Figures
ordnOrdinals
ornmOrnaments
pnumProportional Figures
saltStylistic Alternates
sinfScientific Inferiors
sizeOptical Size
smcpSmall Capitals
supsSuperscript
tnumTabular Figures
zeroSlashed Zero


and I can test the features with:
  \showfont[Warnock Pro: +smcp]

Fontspec is an impressive piece of work, but I think it's driven much 
more by the 'possible' than by requirements. My time constraints (i.e., 
daughter) won't let me do that sort of exploratory coding anymore. I can 
try and help out with concrete requests, though.

[I feel like a lot of the stuff I've done in this space has been 
released into a vacuum, and that few people are actually making stuff 
with OpenType and/or XeConTeXt.]

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Dense encoding, part II

2006-02-10 Thread Adam Lindsay
Mojca Miklavec wrote:
 On 2/5/06, Adam Lindsay wrote:
 Hans Hagen wrote:
 Mojca Miklavec wrote:

 Hello,

 The fact that all Polish fonts (lm, iwona, kurier, antt) now ship with
 el-* files makes me wonder: is there time to do the next step and
 finish the second encoding with symbols?


 indeed
 Oop. Sorry, I hadn't been watching that.
 I've suggested texnansi as a starting point, at least within ConTeXt.
 What symbols do people want that *aren't* within texnansi?
 
 1. Would Caron  similar uppercase accents make sense? I doubt that
 many accents are needed in addition to what is already present in the
 other encoding anyway, but something like that could be used if there
 is no Ccaron present in the font for example:
 
 \definecharacter Ccaron {\buildtextaccent\textCaron C}
 instead of
 \definecharacter Ccaron {\buildtextaccent\textcaron C}
 
 In well-designed fonts (including all Polish fonts such as lm,
 antykwa, iwona, ...) the lowercase and the uppercase variant of the
 accent differ. (Try to write \Scaron\Ccaron in texnansi encoding for
 example to see the difference).

Good point... except that there are *no* accents available in eurolett, 
anyway. It *should* have all of the accented uppercase characters you 
need (within roman ;). The whole theory is to do away with building text 
accents. But what does Hans want? Should lc and uc accents be available 
to create `weird' combinations?

 Of course some care has to be taken, so that it will also work for
 fonts without those additional accents for uppercase characters (using
 \iffontchar perhaps?).

Indeed. I do want to avoid a strong dependency on the specific glyphs 
that appear in the font. That moves the encoding mess to *within* 
ConTeXt, which is not pretty, either.

 2. perhaps some currency symbols missing in texnansi
 I would suggest to add Euro, but with some special care of course.
 Perhaps some users still prefer to use the regular (geometrical)
 symbol rather than the one taken from I-forgot-which-font (the default
 behaviour when \texteuro is used).
 
 Any other currency on this list worth supporting?
 http://www.unicode.org/charts/PDF/U20A0.pdf
 Perhaps dong, lira, Won ...

sounds like ts1-like stuff.

 3. Perhaps a short glimpse into:
 http://source.contextgarden.net/ts1-lm.enc
 http://www.cstug.cz/aktivity/2005/lm-at11e.pdf
 http://www.janusz.nowacki.strefa.pl/pliki/AntykwaTorunska-doc-en-2_03.pdf
 if you notice anything worth supporting.
 
 married might be useful for geneaology, I guess that the leaf is
 there for the same purpose. No idea why anyone would want to use the
 musical note (ugly in lm and probably hardly present in any other
 font).

They're there because of ts1, which is *mostly* unhelpful here. I would 
have thought glyph coverage from places like Adobe, Storm, and Emigre 
(for example) might be a better guide.

 4. numero sign, ordfeminine, ordmasculine, copyleft ;), I don't know

well, some of those are in standard practice, at least. ;)

 if anybody needs fractions, permyriad, ... one/two/...superior
 (present in some regimes) are pretty pointless in TeX where you can
 use \high{} I guess. Perhaps there should be two different glyphs for
 tilde and asciitilde (not sure about the last one.)

Yeah, I'm trying to be driven by *requirements* instead of technical 
capability (i.e., what already exists in a family of fairly peculiar 
fonts). I know those are around, but I don't hear a lot of calls for 
them since ConTeXt moved to EC as a default encoding.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hanging in captions

2006-02-08 Thread Adam Lindsay
Taco Hoekwater wrote:
 Peter Münster wrote:
 \setupcaptions[align={hz,hanging}]
 
 I don't believe that is supposed to work, but I do not
 understand why the handling is reset inside the caption.
 
 This works (but is unwieldy if you have lots of floats):
 
 \placefigure%
{\setupalign[hz,hanging]
 \input tufte }
{\framed[width=\textwidth]{bla}}

With the original poster's code, the 'hz' part is superfluous (with 
'normal' handling). Still, I spent a couple minutes with it last night, 
and it remained a mystery to me, too.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] write18

2006-02-05 Thread Adam Lindsay
Gerben Wierda wrote:
 On 5 Feb 2006, at 05:10, David Arnold wrote:

 Gerben,

 With a default install of Context, I don't believe write18 is
 enabled nor run time development of Metapost graphics. Do you do
 any of that?

 If a change would require a non-secure standard config, I will not do  
 it. Nor will I if there is a reasonable run-time (not configure time)  
 workaround (e.g. adding -shell-escape to tex can be done runtime and  
 is thus a better security strategy than turning it on by default). If  
 it is possible to offer some configuration options to the user, I  
 will investigate.

Gerben, David,

I think the technique I documented here:
http://wiki.contextgarden.net/Texmf.cnf
...is probably a good compromise for one or the other of you. It doesn't 
compromise the system as a whole, but it does compromise/add-feature for 
ConTeXt.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Dense encoding, part II

2006-02-05 Thread Adam Lindsay
Hans Hagen wrote:
 Mojca Miklavec wrote:
 
 Hello,

 The fact that all Polish fonts (lm, iwona, kurier, antt) now ship with
 el-* files makes me wonder: is there time to do the next step and
 finish the second encoding with symbols?
  

 indeed

Oop. Sorry, I hadn't been watching that.
I've suggested texnansi as a starting point, at least within ConTeXt. 
What symbols do people want that *aren't* within texnansi?

(Hint:
  Here are some symbols present in some Unicode-y fonts, but there's 
really little pattern to the coverage within typical professional fonts:
  http://homepage.mac.com/atl/tex/UnicodeSymbolDemo.pdf )
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] th nd and rd

2006-01-04 Thread Adam Lindsay

John R. Culleton wrote:

On Friday 30 December 2005 04:35 pm, Mojca Miklavec wrote:


\def\enordinalnumber#1%
 {#1\ifnum\lasttwodigits{#1}=11
\highordinalstr{th}%
  \else\ifcase\lastdigit{#1}%
\highordinalstr{th}%
  \or % 1
\highordinalstr{st}%
  \or % 2
\highordinalstr{nd}%
  \or % 3
\highordinalstr{rd}%
  \else
\highordinalstr{th}%
  \fi\fi}

And use it as:

\enordinalnumber{1}
\enordinalnumber{2}
\enordinalnumber{3}
\enordinalnumber{4}
\enordinalnumber{5}
\enordinalnumber{100}
...



It is stored now as part of my standard macro pack for Context.
Thanks to all. 


As I was just reminded by a British Telecom website (which confirmed 
that I was moving on the 13rd), I'm used to two more exceptions 
(suggested as a patch):


\def\enordinaldaynumber#1%
  {#1\ifnum\lasttwodigits{#1}=11
 \highordinalstr{th}%
   \else\ifnum\lasttwodigits{#1}=12
 \highordinalstr{th}%
   \else\ifnum\lasttwodigits{#1}=13
 \highordinalstr{th}%
   \else\ifcase\lastdigit{#1}%
 \highordinalstr{th}%
   \or % 1
 \highordinalstr{st}%
   \or % 2
 \highordinalstr{nd}%
   \or % 3
 \highordinalstr{rd}%
   \else
 \highordinalstr{th}%
   \fi\fi\fi\fi}


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] problems with bold small caps

2005-12-13 Thread Adam Lindsay

Taco Hoekwater wrote:


I wrote:


\sc and \bf are defined at the same level in ConTeXt, so they (normally)
exclude each other. My guess is that it is very unlikely that this will
be fixed, but ...



make that

  be changed, but ..

Because it is not a bug, the behaviour is intentional.


Yes, and it's what variants were intended to address, to stack font 
switching behaviour on top of known shapes and weights. Old Style 
sometimes exists in more than regular shapes. Small Caps appear in bold 
and sometimes even italics versions. (Variants were also to get at fonts 
that wouldn't normally have a style associated with them, as well.)


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Chinese

2005-12-13 Thread Adam Lindsay

Hans Hagen wrote:


what we need is a set of encoding files like

/UniEncoding52 [

/uni52DF
/uni52E0


I hate to be negative, but I have doubts about how generic this approach 
may be. In some tentative experiments, I discovered that many (most?) 
CJK fonts don't use traditional postscript names, but rather map from 
unicode to an indexed glyph number.


Fortunately, ttf2tfm's -w [EMAIL PROTECTED]@ notation seems to address this 
in most of the old test cases I tried.


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Chinese

2005-12-13 Thread Adam Lindsay

Hans Hagen wrote:

Adam Lindsay wrote:
Fortunately, ttf2tfm's -w [EMAIL PROTECTED]@ notation seems to address this 
in most of the old test cases I tried.



afaik pdftex can handle the index and unic entries as 
alternatives for glyphnames


Yes. Sorry I wasn't clear on that.
It's just that ttf2tfm is the tool that does a good job at extracting 
those entries when other tools fail.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fonts

2005-12-12 Thread Adam Lindsay

Henning Hraban Ramm wrote:

  Warning: pdfetex (file qx-bitstream-vera.map): cannot open font
map file
  and then complaints about not being able to create a long list of
  bitmap fonts,�when I try to compile your vera-test.tex.

do you need qx? (eastern european languages)

 
Yes, the maps should be contained, I simply forgot to include them. Will 
fix that tonight.
And I decided to provide everything for ec, texnansi, tex256 and qx 
encoding.


What's the functional difference between ec and tex256? What good is it 
to generate both?


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Chinese

2005-12-09 Thread Adam Lindsay

Tobias Burnus wrote:

Hi,

Xiao Jianfeng wrote:


What would be needed to get UTF-8 input running with Chinese?


If you use vim to edit your tex file, maybe you can try set 
encoding=utf8, then save and compile.

As far as I know, GBK is compatible with unicode.


No, that does not work - that is the reason I started this mail thread.
You get the wrong characters and you may get some TeX errors.
(And that is the reason Lutz wrote a UTF-8 to GBK converted.)


Hmm, I suspect that some remix between my old (deprecated) Libertine in 
ConTeXt recipe and the ttf2tfm automatic unicode splitting would have 
some positive effects.


(I would discourage using that recipe for alphabetic (incl Roman) 
Unicode fonts because it blows away any kerning that would happen 
between unicode blocks. Is there less kerning among CJK fonts? I would 
expect so.)


Thinking aloud, you'd probably want to include some language-switching 
commands, to mediate between the calling of unicode fonts for un-named 
CJK glyphs (just raw conversion from Unicode to font switch + glyph 
number) to named roman (and other alphabetic) glyphs (conversion from 
UTF-8 to named glyphs to font+glyph, which retains kerning where it can).


I know it's sketchy and vague, but have a look inside font-uni. It's not 
the most complicated file in the distro.


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fonts

2005-12-08 Thread Adam Lindsay

Henning Hraban Ramm wrote:

Am 2005-12-08 um 09:39 schrieb Taco Hoekwater:


Cool! http://modules.contextgarden.net ?



Why not? It's PD. ;-)

I'd like to prepare some more symbol fonts - any requests?
(I always like to do nice font stuff while I should something more  
important... ;-))


What, you too?
There's this, probably this month only, as well:
 http://www.p22.com/free/snow.html
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fonts

2005-12-08 Thread Adam Lindsay

Henning Hraban Ramm wrote:

Am 2005-12-08 um 19:01 schrieb Adam Lindsay:


I'd like to prepare some more symbol fonts - any requests?
(I always like to do nice font stuff while I should something  more  
important... ;-))



What, you too?
There's this, probably this month only, as well:
 http://www.p22.com/free/snow.html



Hm, thanks for the link, but I don't find this font very interesting.  
Do you?


Hrm. Not normally, but as I've been tessellating Arabesque borders 
lately, the snow font did appeal to me on that level.


I've a huge collection of fonts, and I guess I should finally update  
the ConTeXt font packages on my homepage and add some nice freeware  
fonts that aren't online anymore (or do you know a link of Apostrophe  
Lab?).


I've found most of them on DAFont:
http://www.dafont.com/en/author.php?author=128

adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \godown

2005-12-06 Thread Adam Lindsay

Hans Hagen wrote:

Adam Lindsay wrote:


having to adjust for little gaps with:
 \godown[-0.029\bodyfontsize]

Does this ring a bell with anyone? I would have thought \godown[0pt] 
was the answer, but not so, here. The font metrics seem to be right, 
adding up to 1000 in both directions (or a little more, actually, 
considering overlapping dots).


this is tex's interlinespace mechanism popping in; play a bit with

a row of things \par
\nointerlinespace
a row of things \par

or

\vbox \bgroup \offinterlinespace
 rows of ornaments
\egroup


In case anyone else is trying to follow along, those are most likely the 
\nointerlineskip / \offinterlineskip commands. I played with them the 
same night, and the results are indistinguishable from \godown[0pt].


Hmm.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] extra space after variant

2005-12-05 Thread Adam Lindsay

Hans Hagen wrote:

variants are Adam's speciality so he should provide the solution for the 
precize definition -)


Only the original concept. I'm far enough from that low-level hackery 
(at this point) that all I can do is endorse yours and Hans's solution 
as advancing the cause of font variants.



Speaking of, there's some good variant support in Gerben's now 
near-final release of the Mac fonts, in particular, the Hoefler Text 
typescripts give you independent access to Small Caps variants of all 
bold/italics in the family (as well as independent old-style/lining 
figures). You can pick it up in Gerben's i-Installer *EXPERIMENTAL* 
directory.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fontvariants

2005-12-03 Thread Adam Lindsay

Hans van der Meer wrote:

I was probing into the font variant mechanism.

QUESTION: Is the variant mechanism exclusively tied to the series  Serif 
(\rm) and Sans (\ss)?


Yes, pretty much, in the implementation's design.


If otherwise, what am I doing wrong then?


Nothing. Except, is that Math Calligraphy font really suited to setting 
text? :)


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-12-02 Thread Adam Lindsay

Hans Hagen wrote:

Taco Hoekwater wrote:



Hi Jason,

Jason Knight wrote:


What support is there for IPA/TIPA in Context at this point? I've had




I think the answer is zero or nearly zero. If you have a bit of
patience, I can do a port of tipa.sty (quite easy), but it will
take some time before I can start on it.



in the process taco and i can discuss low level support issues as well; 
it's all a matter of demand and time; of course after a port, taco would 
mildly force you to write an article for the MAPS -)


I had done some basics with the font/encoding parts before. I solicited 
feedback on what next parts/features were important to tackle next, and 
I got nowhere. I'll try to dig this up and send it to you guys in the 
next few days. (Remind me if you don't hear from me!)


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-11-25 Thread Adam Lindsay


On 25 Nov 2005, at 01:37, David Arnold wrote:


\startnotmode[atpragma]

  \startMPenvironment[global]
%\usetypescript[handwriting,map][lucida][texnansi]
%\definefontsynonym[TitlePage-Bold][LucidaHandwriting-Italic]
usetypescript[calligraphy,map][chancery][texnansi]
definefontsynonym[TitlePage-Bold][Chancery]
%usetypescript[sans,map][iwona][texnansi]
%definefontsynonym[TitlePage-Bold][Iwona-BoldItalic]
  \stopMPenvironment

\stopnotmode


You need to make sure \usetypescript and \definefontsynonym are  
actually macros/commands: prepend a backslash!


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Home now --- More work with type-tmf.dat and mfonts.tex

2005-11-25 Thread Adam Lindsay
That looks like a success to me. You should now be able to run one of  
the texnansi-blah-blah.tex test files, as I outlined in an earlier  
message.


adam

On 24 Nov 2005, at 02:56, David Arnold wrote:

On my home machine now (Mac Tiger GWTeX). I have the attached type- 
tmf-gw.dat in ~/tmp and ran:


sudo texfont type-tmf-gw.dat

Resulting output attached in texfont.log.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-11-25 Thread Adam Lindsay


On 25 Nov 2005, at 22:42, Gerben Wierda wrote:


No pstoedit on my system.


If I recall I looked into pstoedit a while back. The fact that I  
did not release a package probably means there were problems  
getting it to compile on OS X.


I seem to recall similarly trying and failing about 11 months ago, as  
well!

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Getting texfont to do batch installs on gwTeX (was Re: [NTG-context] Palatino)

2005-11-23 Thread Adam Lindsay
David,

Sorry I've been quiet on this front. I've been busy with other, non-
ConTeXt things for a while, and am in the process of re-engaging with it.

In order to run type-tmf.dat, you need a way around the hard-coded --
rootlist=TEXMFMAIN that's in the .dat file. gwTeX keeps the fonts we
need in what it calls the TEXMFTE directory. My brutish workaround is as
follows:

1) Go to some temp directory.
2) copy type-tmf into that directory:
 cp /usr/local/teTeX/share/texmf.local/context/data/type-tmf.dat .
3) munge type-tmf to something more gwTeX friendly:
 sed s/TEXMFMAIN/TEXMFTE/ type-tmf.dat  type-tmf-gw.dat
(literally: replace every occurrence of TEXMFMAIN with TEXMFTE and put
it in type-tmf-gw.dat)
4) run texfont (prepend with sudo if you have errors):
 texfont type-tmf-gw.dat
5) run it again, if you want the ec encoding:
 texfont --en=ec type-tmf-gw.dat
6) process one or two test files to see if it really worked:
 texexec --once --mode=compact texnansi-urw-bookman.tex

I hope that works for you. 
Gerben, Hans, can you think of a way to make this workaround unnecessary?

adam

David Arnold said this at Tue, 22 Nov 2005 09:08:17 -0800:

Hans,

When I try:

011-101:/usr/local/teTeX/share/texmf.local/context/data davidarnold$  
sudo texfont --encoding=texnansi -batch type-tmf.dat

I get a slew of messages similar to this last one:

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

   slant factor : 0.167
  checking root : TEXMFMAIN
 processing aborted : unknown subpath ../fonts/afm/urw/ncntrsbk

 --help : show some more info

Some extra information:

texexec --verbose reports:

applications will use : /usr/local/teTeX/texmf.cnf

This last file is attached.




On Nov 22, 2005, at 7:32 AM, Hans Hagen wrote:

 David Arnold wrote:

 Taco et al,

 OK, this didn't work. Log file attached.

 ? ?\usetypescript[palatino][texnansi]
 ? \switchtobodyfont[palatino]
 ? \starttext
 ? Hello World!
 ? \stoptext

 no logfile -)

 for that one you need to run

 texfont --encoding=texnansi --batch type-tmf.dat

 (since you are familiar with texnansi  although better than ec,  
 this encoding was never really supported in distributions, only by  
 mouh, which is why you need to generate metrics yourself)

 This one worked.

 ?\usetypescript[adobekb][8r,ec]
 ? \usetypescript[palatino][ec]
 ? \switchtobodyfont[palatino]
 ? \starttext
 ? Hello World!
 ? \stoptext

 Two questions:

 1. I don't know why one worked and the other didn't. What files  
 could I look at in my tex tree that would give a hint as to which  
 to use?

 2. How can I make the first one work?

 use texfont (or take cont-fnt from the website)

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

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

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-11-23 Thread Adam Lindsay

I tried to run texfont demofont.dat, but failed.
First off, Hans, am I missing a runtools.rb? I can't find it. 

Secondly, I think the current demofont.dat has a bug because it triggers
an obscure texfont filtering feature. I changed the comments at the head
of the file to work around it:

# we assume that demofont.afm and demofont.pfb are present
# run with:
# texfont demofont.dat 

# test test
 
--ve=test --co=test --ma --indemofont
--ve=test --co=test --ma --in --sla=.167 demofont
--ve=test --co=test --ma --in --ext=1.50 demofont
--ve=test --co=test --ma --in --cap=.750 demofont
--ve=test --co=test --ma --in --nol  demofont


...and by running:
 texfont --ve=test --co=test --ma --in demofont.dat 
...I do indeed get the modified Iwona fonts.

more below...

Taco Hoekwater said this at Wed, 23 Nov 2005 08:27:14 +0100:

   \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).

Okay, another couple hacks to cross further hurdles:

The top of my mfonts.tex now looks like:

\preloadtypescripts   % I wanted to speed things up a bit!
\startnotmode[atpragma]
\startMPenvironment[global]
  % Current bug in distribution
 \definefontsynonym [LMSans-Italic] [LMSans-Oblique]
 \definefontsynonym [LMSans-BoldItalic] [LMSans-BoldOblique]
  % lucida gets called all over the place
 \definetypescriptsynonym [lucida] [palatino]
 \usetypescript[adobekb][8r,ec]
\stopMPenvironment
\stopnotmode

\usetypescriptfile [type-buy]
\usetypescriptfile [typeface]

\environment ../allkind/mcommon.tex

... That much ought to fix the main body (though with the synonyms and
substitutions, the fonts it mentions in the text are not always going to
match the actual fonts used now!)

Go down a little bit, and you'll see the title page font set:

\startnotmode[atpragma]

  \startMPenvironment[global]
\usetypescript[handwriting,map][lucida][texnansi]
\definefontsynonym[TitlePage-Bold][LucidaHandwriting-Italic]
%usetypescript[calligraphy,map][chancery][texnansi]
%definefontsynonym[TitlePage-Bold][Chancery]
% ...

comment out the lucida lines, and uncomment the chancery lines, and you
should be in business for a full run!

er, I hope.
Good luck?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Getting texfont to do batch installs on gwTeX (was Re: [NTG-context] Palatino)

2005-11-23 Thread Adam Lindsay
Hans Hagen said this at Wed, 23 Nov 2005 22:39:55 +0100:

 batch line : --en=texnansi --ve=public --co=antp -- 
 so=auto --ro=TEXMFMAIN

are you sure that you replaced it? 

It's weird. Looking through the rest of David's log, it replaced some of
them, but not all. I never claimed to be a sed wizard. To David, I'd say
open in a text editor and do a global find/replace.

Anyway, back to an earlier suggestion by Hans, --ro=TEXMFMAIN,TEXMFTE
seems to work for me, except in the case of Adobe Utopia. In that case,
--ro=TEXMFMAIN,TEXMFGW should work. Actually, I see the Utopia lines
replicated for tl2003+. Should it not be:
 --ro=TEXMFMAIN,TEXMFGW,TEXMFEXTRA   ?

[That said, I'm getting perplexing results on a texfont --en=ec type-
tmf.dat install: there's an insistence on creating bitmaps for these fonts!]

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] mfonts.tex

2005-11-21 Thread Adam Lindsay
David Arnold said this at Mon, 21 Nov 2005 09:58:39 -0800:

Hans, Steve, et al,

OK. I have subversion client installed. Now what?

What commands will download what I need?

Presuming you're in a directory where you want the stuff (and svn is in
your path, etc):

 svn checkout svn://ctx.pragma-ade.nl/manuals

(the first time: it creates a manuals subdirectory and populates it
with further subdirectories from the server. It also makes a hidden
manuals/.svn directory with enough metadata that you can forget the
URL and update with simply: )

 svn update

(all subsequent times)

(parenthetically,)
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] diacritics in Utopia/Fourier

2005-11-18 Thread Adam Lindsay
Alan Bowen said this at Thu, 17 Nov 2005 12:56:55 -0500:

I hope that we can resolve this—I need Fourier/Utopia for a book  
series. But right now not even \quote works properly in the roman  
typeface.

Sorry I haven't had the time to engage with this issue. There's
something suspect in your system. First off, what's your
\defaultencoding set to?

\starttext
\defaultencoding
\stoptext
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context 2005.11.11 Released

2005-11-11 Thread Adam Lindsay
Karl Berry said this at Fri, 11 Nov 2005 10:16:08 -0600:

Is this a Halo release for TeXLive? 

I don't know what that means, but no, this context release won't be on

I should have been more precise. I've heard of halo releases being the
last set of bug fixes for a given software series (such as MacOSX 10.3.9
or whatever was the final kernel in the Linux 2.2.n series).

TL'05.  That's frozen, and Manfred is making the golden masters for
final testing and production now.  From what Hans and Taco have told me,
the post-TL context releases aren't critical, i.e., TL should be ok.  If
that's not the case, I don't want to know :).  (Ok, not really, please
inform ASAP if that's so :)

Oh. I haven't been following closely, but I did notice that Taco
referred to the previous (2005.11.09) version as being a bit of a
problem child. 
http://wiki.contextgarden.net/Context_2005.11.11
I just wanted to flag the issue as soon as possible, in case Hans/Taco
saw it as critical.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] conTeXt distros on MACOSX

2005-11-08 Thread Adam Lindsay
andrea valle said this at Tue, 8 Nov 2005 10:59:03 +0100:


If I invoke texexec from terminal, default is located in sw/bin. It's 
3.1 version:

Danger! Danger!
(Sorry, that's a bit cruel and extreme.)
However, it seems that you, once upon a time, installed the Fink package
system, and tried to get TeX along with it. Fink is notoriously greedy
in the way it sets the path, and can live a long time on your system
after you have forgotten it exists.

If you don't use any fink-installed packages, I suggest completely
obliterating the /sw tree. If you can't get away with that, I suggest
going through and deleting all tex-related binaries from the /sw/bin
tree or making sure /sw/bin is inserted into your $PATH last, and not first.

(for those watching from the sidelines, Fink http://
fink.sourceforge.net/  is a dpkg system for the Mac, but I have long
disapproved of the way it goes about its business on people's systems)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] OT: PDF word counts?

2005-11-02 Thread Adam Lindsay
Sorry for going a bit off-topic, but does anyone here know of good tools
for doing a word count directly on existing PDFs?

cheers,
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: OT: PDF word counts?

2005-11-02 Thread Adam Lindsay
Patrick Gundlach said this at Wed, 2 Nov 2005 18:15:10 +0100:

what about pdftotext from xpdf?:

Perfect. That's certainly sufficient for my needs. I had never looked at
xpdf before because of the general level of PDF support on MacOSX, but
those associated tools look quite handy. The tools alone are compiled for Mac:
 http://users.phg-online.de/tk/MOSXS/xpdf-tools-3.dmg

Thanks,
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] German ß

2005-10-17 Thread Adam Lindsay
Wolfgang Zillig said this at Sun, 16 Oct 2005 19:57:35 +0200:

The font I use is from
the hfbright package (the hfbright package is a free version of the
cmbright font) but when I created that typescript I did't relalize that
a full font package was available and I renamed the fonts (therefore I
will not provide that ugly typescript file here). I don't know what has
changed but the german ß is not working any more. I use as font encoding
ec and as regime win.

Hi. I'm just catching up with this issue.
Mojca is giving you the right information. I've installed hfbright on my
machine and can confirm that it is OT1 (context's `default' encoding)
only. The easiest way to fix this for you is to return to the
typescripts and make sure they say:
  [encoding=default] instead of
  [encoding=ec]

As you are probably aware, there are issues with hyphenation and the OT1
encoding. However, the TFMs and free Type 1 glyphs for this font simply
are not around.

May I suggest looking at the new Latin Modern light sans fonts for text,
and using hfbright for mathematics only?

adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] German ß

2005-10-17 Thread Adam Lindsay
[Wolfgang, I hope you don't mind me copying parts of your response to
the list. -adam]

Wolfgang Zillig said this at Mon, 17 Oct 2005 14:06:32 +0200:

Hello Adam,

thanks for your answer!

Hi. I'm just catching up with this issue.
Mojca is giving you the right information. I've installed hfbright on my
machine and can confirm that it is OT1 (context's `default' encoding)
only. The easiest way to fix this for you is to return to the
typescripts and make sure they say:
  [encoding=default] instead of
  [encoding=ec]



ok, I did not know that OT1 is equal default.

It's another FAQ...

As you are probably aware, there are issues with hyphenation and the OT1
encoding. However, the TFMs and free Type 1 glyphs for this font simply
are not around.



in the package hfbright there are pfb included (I think this are the
type 1). tfms are also on my system

Yes, on my system, the TFMs are actually from the CMBright package, and
the map file redirects to the HFBright Type1/.pfb files.

I don't know much about hyphenantion, but why are there problems?

There's a little bit of explanation here:
http://wiki.contextgarden.net/Encodings_and_Regimes
...but basically, TeX's hyphenation trickery doesn't know how to deal
with composite characters (when it puts an  atop a u [pardon my 7-bit
rendition]). If a word contains a composite u as a character, it won't
break. If it contains a full ü, TeX can deal with it.


May I suggest looking at the new Latin Modern light sans fonts for text,
and using hfbright for mathematics only?



Propably you are right and I should go the easy way and simply use an
other font. Do you know if there is a ready package for the Latin Modern
light sans?

Um, disregard that. I must have hallucinated that font. It doesn't
exist. Sorry.

adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How up-to-date is cont-enp.pdf

2005-09-27 Thread Adam Lindsay
Alexander Lazic said this at Tue, 27 Sep 2005 10:17:18 +0200:

- a general overview of context will be provided by a book written by
steve peter and adam lindsay

Do you know when the book will arrive?

No.  :)
It's in the early stages yet.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] DOC/RTF to ConTeXt via XML

2005-09-27 Thread Adam Lindsay
Idris Samawi Hamid said this at Tue, 27 Sep 2005 09:10:27 -0600:

Adam (privately) suggested hiring someone to write a structured format for 
authors. Is that where docbook comes in?

Ah, sorry about that. I meant you *could* hire someone to design a
format, but the bigger point was that it would be rather futile without
a user-level authoring tool backing it up!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote for author (\thanks)

2005-09-26 Thread Adam Lindsay
Albrecht Kauffmann said this at Mon, 26 Sep 2005 17:04:45 +0200:

has ConTeXt any equivalent to the \thanks command in LaTeX that types a
footnote with a * as number and doesn't alter the footnote counter?

Hello, Albrecht,

Does the following handle the cases you need:

\definenote[thanks][conversion=set 2]
\starttext
A. U. Thor\thanks[Misk]{A. U. Thor and W.H. Gates, III, are at
Miskatonic U.}, 
A. N. Onymouse\thanks{A. N. Onymouse is at Shoggoth Enterprises.}, and
W. H. Gates, III\note[Misk]

Here is a footnote.\footnote{a note}

Footnotes\footnote{another note} return here.
\stoptext 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bugs?

2005-09-26 Thread Adam Lindsay
Idris Samawi Hamid said this at Mon, 26 Sep 2005 12:22:45 -0600:

The footnote numeral `1' is indented further than the footnote numeral `2'.

I'm not sure I see this: the width of `1' is less than `2', but the
default LM font has monospaced numbers, so the visual space to the left
of the `1' may appear to be greater...

not the cleanest visualisation, but you can see the left sides are the
same here:
\setupfootnotes[command=\framed]

...that or there's something different in your configuration?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Cont 2005.08.31: problem with vietnamese utf8

2005-09-25 Thread Adam Lindsay
Hans Hagen said this at Sun, 25 Sep 2005 23:31:32 +0200:

VnPenguin wrote:

I do a small test with Vietnamese UTF-8 input and the PDF is very
strange: accented characters were modified all, see the shot
http://people.vnoss.org/~vnpenguin/pub/context/test/test-vn.png

In the log file I see:
...
fonts   : using map file: t5-public-lm
[1.1{/usr/local/share/texmf-local/fonts/map/pdftex/context/original-
empty.map}{
/usr/local/share/texmf-local/fonts/map/pdftex/context/original-base.map}
{/usr/l
ocal/share/texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{/usr/
local/sh
are/texmf-local/fonts/map/pdftex/context/ec-base.map}{/usr/local/share/
texmf-lo
cal/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/share/
texmf-loca
l/fonts/map/pdftex/context/original-public-lm.map}{/usr/local/share/
texmf-local
/fonts/map/pdftex/context/t5-base.map}
Warning: pdfetex (file t5-urw-palatino.map): cannot open font map file

== I can not found this map file in teTeX's and ConTeXt's installation :(
  

did you use texfont to generate the metrics

  texfont --encoding=t5 --batch type-tmf  

in that case there should be a t5-urw-palatino.map file 

otherwise, the t5-base should do the job and you can ignore the message

can you check t5-base.map?  

or, can you check to see if type-dis gets loaded, and that you have:
\usetypescript [berry] [t5]
?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] More problems installing OpenType fonts

2005-09-23 Thread Adam Lindsay
Hi Emil.

I wrote that article and am pretty baffled by the problems you have. (I
just did a test run of the same command, running an identical texfont,
identical otftotfm version) The ConTeXt installation looks fine.
There are two discrepancies that I see here, though:
otftotfm is running updmap in the interim. That shouldn't disturb
things, but it might point to you getting the binary from somewhere
other than gwTeX.

your entire TeX tree is in your local directory, which makes me wonder
how you installed the whole machinery.

I also wonder which version of the Antykwa Torunska fonts you are trying
to convert: they have been updated a few times since the article.

adam

Emil Hedevang said this at Thu, 22 Sep 2005 11:20:19 +0200:

Hello

I am trying to follow the instructions in the article OpenType  
installation basics for ConTeXt, but the generated map file does not  
contain anything but commented lines. I have tried searching the web  
for a solution but I did not find any, so I hope you can help me.

My computer is running Mac OS X 10.4, and I have tried doing exactly  
the same thing (installed the same software) on the university's  
computers running RedHat Linux with the same negative result.

Please ask me to provide any information you like.

Thanks,
Emil

Here are all the details.

(1) These are the fonts I want to try to install:

[~/antykwa] ls
AntykwaTorunska-Italic.otf  AntykwaTorunska-Regular.otf


(2) These are the versions of the tools I use:

[~/antykwa] texexec --version

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2C 7.5.5)
context : ver: 2005.08.31
cont-en : ver: 2005.08.31  fmt: 2005.9.19  mes: english

 total run time : 2 seconds

[~/antykwa] otftotfm --version
otftotfm (LCDF typetools) 2.34
Copyright (C) 2002-2005 Eddie Kohler
This is free software; see the source for copying conditions.
There is NO warranty, not even for merchantability or fitness for a
particular purpose.


(3) This is the output I get when I run the suggested command in the  
article:

[~/antykwa] texfont --ma --in --ve=public --co=torunska --lcdf --pre  
--va=liga,kern

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating /Users/Emil/local/tetex/share/texmf-local/ls-R...
mktexlsr: Done.
encoding vector : texnansi
   encoding variant : liga,kern
vendor name : public
source path : .
font collection : torunska
texmf font root : /users/emil/local/tetex/share/texmf-local
pdftex map file : texnansi-LIGA-KERN-public-torunska.map
source path : .
   processing files : all on afm path
 locating afm files : using pattern ./*.afm
 locating afm files : using otf files
 converting : ./AntykwaTorunska-Italic.otf to ./ 
AntykwaTorunska-Italic.pfb
 converting : ./AntykwaTorunska-Regular.otf to ./ 
AntykwaTorunska-Regular.pfb
  copying files : afm
  copying files : pfb
copying : AntykwaTorunska-Italic.pfb
copying : AntykwaTorunska-Regular.pfb
  copying files : otf
copying : AntykwaTorunska-Italic.otf
copying : AntykwaTorunska-Regular.otf
 no map file at : /Users/Emil/local/tetex/share/texmf-local/ 
fonts/map/pdftex/context/texnansi-LIGA-KERN-public-torunska.map

font identifier : AntykwaTorunska-Italic - text - tfm
   processing files : otf - tfm + enc
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
updmap: This is updmap, version 1107552857
updmap: using transcript file `/Users/Emil/.texmf-var/web2c/updmap.log'
updmap: initial config file is `/Users/Emil/.texmf-config/web2c/ 
updmap.cfg'
updmap: configuration file updated: `/Users/Emil/.texmf-config/web2c/ 
updmap.cfg'

font identifier : AntykwaTorunska-Regular - text - tfm
   processing files : otf - tfm + enc
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
updmap: This is updmap, version 1107552857
updmap: using transcript file `/Users/Emil/.texmf-var/web2c/updmap.log'
updmap: initial config file is `/Users/Emil/.texmf-config/web2c/ 
updmap.cfg'
updmap: configuration file updated: `/Users/Emil/.texmf-config/web2c/ 
updmap.cfg'
  updating map file : texnansi-LIGA-KERN-public-torunska.map

 generating : ls-r databases

mktexlsr: Updating /Users/Emil/local/tetex/share/texmf-local/ls-R...
mktexlsr: Done.


(4) This is the output I get when I texexec the test file:

[~/antykwa] texexec 

Re: [NTG-context] Re: More problems installing OpenType fonts

2005-09-23 Thread Adam Lindsay
Emil Hedevang said this at Fri, 23 Sep 2005 11:30:18 +:

I have tested otftotfm, and it seems to work:

You're right... this is why it's so baffling: all the pieces seem to work.

After running texfont (with the --lcdf option), there should be a
texfont.map left over in the current directory. Clearly texfont is
having trouble parsing that file. Could you send me (off-list) that
resulting file after a fresh run on Antykwa Torunska?

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Antwort: Re: [NTG-context] XML

2005-09-23 Thread Adam Lindsay
Henning Hraban Ramm said this at Fri, 23 Sep 2005 16:29:17 +0200:

Am 2005-09-22 um 09:53 schrieb Jessica Holle:

 There I don't find something which helps me.
 The input must not be only XML. In can also be CVS or something
 else...

You will have to convert your XML file to become a ConTeXt table, use  
XSLT or some scripting language.
ConTeXt's TABLE format (HTML tables) is very suitable for such.

I'm not sure I understand the CVS or something else part from the
original poster, but XML-style tables can very feasibly be mixed with
other ConTeXt code:

\usemodule[contml]  % load the simple default xml vocab
\autoXMLnamespace [context] % avoid prefixing elements w/ context:
\setupcolors  [state=start] % not necessary, helps with example

\starttext
\section{Some \ConTeXt}

\startXMLdata
table frame=off background=color color=white
tr backgroundcolor=red   tdsome/td tdXML/td /tr
tr backgroundcolor=green tdxx/td tdxx/td /tr
/table
\stopXMLdata

I can also have normal \TeX-like 
\inframed[frame=off,background=color,backgroundcolor=yellow]
{markup}.

\stoptext

Is it possible to fill a table or a document in ConTeXt with content
from a XML file?

You can replace the \startXMLdata-\stopXMLdata block with (in this case)
\processXMLfilegrouped{table.xml} where table.xml holds a table similar
to the above.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Block of text with natrual width but right-aligned

2005-09-22 Thread Adam Lindsay
Giuseppe Bilotta said this at Thu, 22 Sep 2005 11:39:32 +0200:

  First line of text   |
  Second line of text  |
  One more line of text|


How do I achieve this?

One quick and easy way, without worrying about low-level commands, is
with two nested \framed's:
\framed[width=broad,align=left,frame=off,offset=0pt]
{\framed[align=raggedright,frame=off,offset=0pt]
  {First line of text\\
   Second line of text\\
   One more line of text}}


(I played with location= in \framedtext, but it didn't have the results
I expected.)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Block of text with natrual width but right-aligned

2005-09-22 Thread Adam Lindsay
Talking to myself...

Adam Lindsay said this at Thu, 22 Sep 2005 11:22:18 +0100:

(I played with location= in \framedtext, but it didn't have the results
I expected.)
(Silly mistake...)

\defineframedtext[Giuseppe]
[align=raggedright,width=fit,offset=0pt,
 frame=off,location=right]

\startGiuseppe
One line\\
Two lines\\
And a couple more
\stopGiuseppe
\input ward \par
\startGiuseppe
Here is\\
another short text to demonstrate things.
\stopGiuseppe


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt to RTF Conversion

2005-09-21 Thread Adam Lindsay
Mojca Miklavec said this at Wed, 21 Sep 2005 22:09:32 +0200:

1. The best quality can be achieved if you prepare all your stuff in XML 
and then write both a stylesheet for conversion into HTML and a couple 
of ConTeXt definitions to handle formating for output in PDF documents. 
I never did that (I consider it too complex and time consuming), but if 
you're ready to go that way and sacrifice some time, there are some 
people on the list who can help you.

very much agreed here. I'd personally advocate an intermediate XML
format (that matches your document needs), and transforming to Word-
friendly HTML or to a ConTeXt-friendly format.

For a taste of some XML workflows, see:
http://pragma-ade.com/general/manuals/example.pdf 
http://pragma-ade.com/general/magazines/mag-0008.pdf
and talk with the list!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-16 Thread Adam Lindsay
andrea valle said this at Fri, 16 Sep 2005 16:13:33 +0200:

Here are two of the resulting scores (not totally finished yet)
www.semiotiche.it/andrea/membrana/nodi-I.pdf
www.semiotiche.it/andrea/membrana/nodi-II.pdf

Wow. Fantastic stuff. Having just returned from the ICMC and ISMIR
conferences, it looks very much like it could be a computer's internal
model of a piece.

This cuts very close to my day job, yet I never would have imagined
ConTeXt could enable this for people...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] puzzling metafun graphics

2005-09-13 Thread Adam Lindsay
Hans Hagen said this at Mon, 12 Sep 2005 19:38:25 +0200:

Thomas A. Schmitz wrote:

 OK, I'm answering my own post. The plot thickens. It looks like this  
 has something to do with file names. It only happens when I have a  
 name with a period in it.

 Bug or feature? You decide, Hans!

bug; but does this mean that the old texexec works ok? 

Hang on, could this have to do with the following web2c setting?
 allow_multiple_suffixes = f

(as seen in minstall.pdf...)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem following OpenType installation basics for ConTeXt article

2005-09-07 Thread Adam Lindsay
Gavin Sinclair said this at Sat, 3 Sep 2005 15:42:36 +1000:

Greetings (first post),

Hi Gavin,

Two things:
Are you running texfont from the directory that contains all the .otf files?

(This doesn't look like the problem here, but) Are you running the
latest ConTeXt? There was a bug in the OpenType support in TeXFont that
was fixed  in the distribution as of a couple months ago.

(sorry for the delay--I'm on the road)

adam


Adam Lindsay's recent article OpenType installation basics for
ConTeXt in The PracTeX Journal
(http://www.tug.org/pracjourn/2005-2/lindsay) is very well written.
Unfortunately, I was unable to perform the first step.

As the article specified, I ran the command:

$ texfont --ma --in --ve=public --co=torunska --lcdf --pre --va=liga,kern

It started off OK, but failed to properly create the map file.
Selected output follows:

   extending map file :
E:/MiKTeX/local/fonts/map/pdftex/context/texnansi-LIGA-KERN-public-
torunska.map

  font identifier : AntykwaTorunska-Bold - text - tfm
 processing files : otf - tfm + enc
otftotfm: './AntykwaTorunska-Bold.otf': No such file or directory
no mapfile from otftotfm : texfont.map

  font identifier : AntykwaTorunska-BoldItalic - text - tfm
 processing files : otf - tfm + enc
otftotfm: './AntykwaTorunska-BoldItalic.otf': No such file or directory
no mapfile from otftotfm : texfont.map

  [and so on for each .otf file]


So, otftotfm is claiming that the files don't exist, but they
absolutely 100% do.  Perhaps it's looking for them somewhere else?

Does anyone have any suggestions?

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

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Relative font scaling

2005-08-31 Thread Adam Lindsay
Olivier said this at Wed, 31 Aug 2005 16:53:56 +0200:

moreover the math font is
correctly rscaled) but the tt font isn't rscaled at all. 
Any idea where the issue might come from?

I suspect it's in your local specifics. As we don't have access to your
rfont/mfont/tfont typescripts, here's a similar example that works here:
 \definetypeface [MyFnt] [rm] [serif] [palatino] [default] 
 [encoding=ec]
 \definetypeface [MyFnt] [mm] [math]  [palatino] [default] 
 [rscale=0.9,encoding=default]
 \definetypeface [MyFnt] [tt] [mono]  [courier] [default] 
  [rscale=0.5,encoding=ec]
 \setupbodyfont  [MyFnt]
\starttext
something $a+b$ here {\tt teeny text}
\stoptext

So, barring further analysis of your typescripts, rscale seems to work here...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Relative font scaling

2005-08-31 Thread Adam Lindsay
Olivier said this at Wed, 31 Aug 2005 18:03:57 +0200:

Quoting  Adam Lindsay :
 -- was [EMAIL PROTECTED] on Aug 31, 2005 at 04:44:35PM --

 Olivier said this at Wed, 31 Aug 2005 16:53:56 +0200:
 
 moreover the math font is
 correctly rscaled) but the tt font isn't rscaled at all. 
 Any idea where the issue might come from?
 
 I suspect it's in your local specifics. As we don't have access to your
 rfont/mfont/tfont typescripts,


\starttypescript [mono] [my-officina] [texnansi] 
  \definefontsynonym [MY-Officina][texnansi-LIGA-KERN-OfficinaSerifStd-Book]
 [encoding=texnansi]
\stoptypescript

Well, in testing, I used the locally-defined pcrr8t in the place of the
file you cite, but your example works for me.

I tested (just in case) if it was something to do with the OTF
conversion (highly unlikely), but the following lines added to your
typescripts (calling a locally-installed font) did what was expected:

\loadmapfile[texnansi-LIGA-KERN-adobe-myriad]

\starttypescript [sans] [myriad] [texnansi]
 \definefontsynonym [myriadreg] [texnansi-LIGA-KERN-MyriadPro-SemiCn]
[encoding=texnansi]
\stoptypescript

\starttypescript [sans] [myriad] [name]
 \setups[font:fallback:sans]
 \definefontsynonym [Sans] [myriadreg]
\stoptypescript

\definetypeface [MyFnt] [ss] [sans] [myriad]
[default][rscale=0.6,encoding=texnansi]

It's ok since I get the correct font, just it isn't rscaled.
THe mechanism seems to work well here however since the euler font is
correctly rscaled.

The information is all I put in the typescript for the tt font.

All I can ask now is: ConTeXt version? How do you call the font in your
text/for testing?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Palatino truetype: help!

2005-08-29 Thread Adam Lindsay
Taco Hoekwater said this at Mon, 29 Aug 2005 14:42:04 +0200:

Same result here, and I don't understand why (however, I not very
familiar with typescripts myself).

Hmm. What's the pdftex output at the font-inclusion stage?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Dense Encoding - Comments wanted

2005-08-19 Thread Adam Lindsay
Patrick Gundlach said this at Fri, 19 Aug 2005 12:34:11 +0200:

Hi Adam,
 So with those goals in mind, does anyone notice their favorite *letter*
 missing? Is there essential punctuation missing?


Looks fine so far, but I have only checked the chars I use (mostly
german). Did you consider posting this to the tex-fonts list?
(Although I wouldn't put too much effort posting there, the answer
will be 'we don't need this').

No, I haven't, mostly for that reason. The discussion will inevitably
center around why rather than what. Still, I probably should, once the
project is further along.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Dense Encoding - Comments wanted

2005-08-19 Thread Adam Lindsay
Vit Zyka said this at Fri, 19 Aug 2005 15:42:18 +0200:

So with those goals in mind, does anyone notice their favorite *letter*
missing? Is there essential punctuation missing?


OK for Czech chars too.

Thanks. Good to know.

Only tcaron char is not searchable (if in my AR7 search for any letter,
say 'a' I got all accented a variant; if for 't' 'È' is not find), but I
do not know if the problem is in a) AR, b) CMAP, c) encoding (enco in
the font presented in the PDF has mostly tcaron but tquoteright is
presented too). But tt is not a big problem.

Hmm, interesting. I get the same results in Apple's PDF viewer. (The
capital letter Tcaron is searchable, though!) There's a fair bit that I
don't understand about CMAP, however. (Also note that this was generated
a few months ago, and that recent CMAP improvements (I think I saw some
corrections go by on the mailing list while on holiday) won't be
reflected here.)

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] installing context

2005-07-25 Thread Adam Lindsay
Hans Hagen said this at Tue, 26 Jul 2005 00:10:57 +0200:

recovering from a disk crach and running those generator scripts is a
stresstest -) 

for you or the machine? :)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Texfont / OTF / Font installation.

2005-07-23 Thread Adam Lindsay
Cool. I'm glad it was that easy.

David Wooten said this at Fri, 22 Jul 2005 17:01:59 -0700:

Adam  Hans,

Thanks once again---you'd think I'd know by now to check the updates.  
Now at 5.4.2, and working fine.

Regards,
Dave

On Jul 22, 2005, at 3:59 PM, Adam Lindsay wrote:

 David Wooten said this at Fri, 22 Jul 2005 13:10:45 -0700:

 ConTeXt  ver: 2005.01.31  fmt: 2005.4.3  int: english  mes: english

 David,
 It looks like you're using an older ConTeXt. I made some bug fixes in
 TeXfont in June, and Hans silently updated TeXfont (different, but  
 still
 v2.2.1) in a subsequent release.

 I'd say update to a new version, as a first step. I made a mistake in
 keeping track of names internally, and your sort of font name  
 problem is
 fairly indicative of that issue.

 Hans suggestion of changing to lower-case font names probably won't
 hurt, either.

 Good luck!
 adam


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Texfont / OTF / Font installation.

2005-07-22 Thread Adam Lindsay
David Wooten said this at Fri, 22 Jul 2005 13:10:45 -0700:

ConTeXt  ver: 2005.01.31  fmt: 2005.4.3  int: english  mes: english

David,
It looks like you're using an older ConTeXt. I made some bug fixes in
TeXfont in June, and Hans silently updated TeXfont (different, but still
v2.2.1) in a subsequent release.

I'd say update to a new version, as a first step. I made a mistake in
keeping track of names internally, and your sort of font name problem is
fairly indicative of that issue.

Hans suggestion of changing to lower-case font names probably won't
hurt, either.

Good luck!
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Taco Hoekwater said this at Thu, 14 Jul 2005 16:30:10 +0200:

 So every command with brackets needs to be grouped? Maybe something 
 else? Where to look at it?

I know of nothing else, just brackets. Any bracket, not just as
part of a command, but also in cases like this:

   \setuppublications[left={[}]

Ooh, just remembered: Commas, too. 
\setupitemize[stopper={,}]

and to be sure: every command with brackets sounds like you mean
everywhere... this is just amongst parameters.

So: brackets and commas, used as parameter values, need to have
enclosing braces.

If you think of the braces as quoting the parameter values, you'll
probably be alright.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Radhelorn said this at Thu, 14 Jul 2005 21:25:50 +0400:

 If you think of the braces as quoting the parameter values, you'll
 probably be alright.

I mean parameter values. Then why not have ConTeXt add braces to every 
parameter? Or there will be slowdown Taco mentioned?

Sort of. That, I imagine, has more to do with TeX's parser, and the
inability to look ahead.

What if I amend my statement to:

If you think of the braces as quoting the parameter values when
necessary or otherwise ambiguous, you'll probably be alright.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font installation help

2005-07-13 Thread Adam Lindsay
Arun Swarup said this at Wed, 13 Jul 2005 08:21:41 -0700:

this, seems to be my problem, when i try to install an OpenType font
http://www.geocities.com/arunswarup/error.txt

The key line for the .otf stuff is here: 
 TeXFont 1.8 - ConTeXt / PRAGMA ADE 2000-2003

It's way too old. The version (2.2.1+) in the current ConTeXt fixes some
OTF installation bugs with non-adobe fonts.

hope that's a little help.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: re-using ConTeXt typescripts ?

2005-07-12 Thread Adam Lindsay
Steffen Wolfrum said this at Tue, 12 Jul 2005 14:07:34 +0200:

Isn't is possible when processing with XeTeX to continue using those 
precious hand-made virtual fonts?

*ohhh*
I see. Sorry about the confusion. I thought you were talking about using
converted OpenType fonts, and then using them in their natural state
from XeTeX.

If they're virtual fonts, then the short answer is no. XeTeX doesn't
deal with virtual fonts at all when it is in its compatibility
mode (i.e., tries to use tfms/type1 fonts in the texmf tree). This is
disappointing to me too (having just moved euler support to eulervm
files), but it's fairly understandable in the context of what XeTeX is
trying to achieve.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: re-using ConTeXt typescripts ?

2005-07-11 Thread Adam Lindsay
Hi Steffen,

You're pretty close. It's best not to rewrite your old scripts, rather,
to make a new type-enc style script to replace your existing [serif]
[agaramond][ec] script. This way, when changing engines, it's a simple
step of changing the (default, perhaps?) encoding...

\starttypescript [serif] [agaramond] [uc] % XeTeX and Unicode is a happy
combination
   \definefontsynonym [AGaramond-Regular]
  ['AGaramondPro-Regular:mapping=tex-text;+onum'][encoding=uc] 
   \definefontsynonym [AGaramond-Italic] 
  ['AGaramondPro-Italic:mapping=tex-text;+onum'] [encoding=uc] 
   \definefontsynonym [AGaramond-Bold]   
  ['AGaramondPro-Bold:mapping=tex-text;+onum']   [encoding=uc]
   \definefontsynonym [AGaramond-BoldItalic] 
  ['AGaramondPro-BoldItalic:mapping=tex-text;+onum'] [encoding=uc]
   \definefontsynonym [AGaramond-Semibold]   
  ['AGaramondPro-Semibold:mapping=tex-text;+onum']   [encoding=uc]
   \definefontsynonym [AGaramond-SemiboldItalic] 
  ['AGaramondPro-SemiboldItalic:mapping=tex-text;+onum'] [encoding=uc]
\stoptypescript

So, as you will know from the XeTeX documentation :), the way of naming
a font is enclosed within quotes. The first element is the postscript
font name (otfinfo -p fontname or look in FontBook.app), then
(optionally) a /I, /B, /BI, or /S for within-family selection, any
mapping features, and then other OpenType features.

Here I selected the tex-text mapping (to stay consistent with `` --- ''
ligatures), and the +onum opentype feature (guessing from the name of
your typescripts, you like Oldstyle NUMerals).

If you wanted to go further, you could define an \sc alternative in your
typescripts by inserting it into your other typescripts and turning on
the +smcp feature in AGaramondPro-Regular for the appropriate synonym to
fit above. I leave that as an exercise for the reader...

adam

Steffen Wolfrum said this at Mon, 11 Jul 2005 17:37:24 +0200:

\starttypescript [serif] [agaramond] [ec]
   \definefontsynonym [AGaramond-Regular][padr9e] 
[encoding=uc] % was encoding=ec before xetex
   \definefontsynonym [AGaramond-Italic] [padri9e]
[encoding=uc] % =ec
   \definefontsynonym [AGaramond-Bold]   [padb9e] 
[encoding=uc] % =ec
   \definefontsynonym [AGaramond-BoldItalic] [padbi9e]
[encoding=uc] % =ec
   \definefontsynonym [AGaramond-Semibold]   [pads9e] 
[encoding=uc] % =ec
   \definefontsynonym [AGaramond-SemiboldItalic] [padsi9e]
[encoding=uc] % =ec
\stoptypescript
\starttypescript [serif] [agaramond] [name]
   \definefontsynonym [Serif] [AGaramond-Regular]
   \definefontsynonym [SerifBold] 
[AGaramond-Semibold]%[AGaramond-Bold-OSF]
   \definefontsynonym [SemiBold]  [AGaramond-Semibold]
   \definefontsynonym [SerifItalic]   [AGaramond-Italic]
   \definefontsynonym [SerifBoldItalic] 
[AGaramond-SemiboldItalic]%[AGaramond-BoldItalic-OSF]
   \definefontsynonym [SemiBoldItalic][AGaramond-SemiboldItalic]
\stoptypescript
\starttypescript  [serif][allbold][all]
\definefontsynonym [Serif]  [SerifBold]
\definefontsynonym [SerifItalic][SerifBoldItalic]
\stoptypescript

\starttypescript [AGaramondOldStyle]
   \definetypeface [normaltype] [rm] [serif]  [agaramond] 
[default] [encoding=uc] % =ec
   \definetypeface [boldtype]   [rm] [serif]  [agaramond,allbold] 
[default] [encoding=uc] % =ec
\stoptypescript

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bold Greek Math with Fourier Font

2005-07-09 Thread Adam Lindsay
Randall Skelton said this at Sat, 9 Jul 2005 14:57:29 -0400:


\starttypescript [bfmath] [fourier] [name]
  \definefontsynonym [MathRoman] [Fourier-Math-Letters-Bold]
  \definefontsynonym [MathItalic][Fourier-Math-Letters-Italic-Bold]
  \definefontsynonym [MathSymbol][Fourier-Math-Symbols]
  \definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript

I've included a quick test below.  When I run it, I get all the fonts
being bold and some Greek symbols are missing after the \bfm command.

Any ideas?

Yes.

That last typescript you list should be:

\starttypescript [bfmath] [fourier] [name]
  \definefontsynonym [MathRomanBold] [Fourier-Math-Letters-Bold]
  \definefontsynonym [MathItalicBold][Fourier-Math-Letters-Italic-Bold]
  \definefontsynonym [MathSymbolBold][Fourier-Math-Symbols]
  \definefontsynonym [MathExtensionBold] [Fourier-Math-Extension]
\stoptypescript

You were redefining the normal math options to be the bold fonts. The
above typescript uses the named MathBlahBold slots, to be called with \bfm.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Hiding the content (drawing empty boxes?)

2005-07-08 Thread Adam Lindsay
Hans Hagen said this at Fri, 8 Jul 2005 09:12:01 +0200:

as long as it's only mojca's password that needs to be hidden

:)
Well, someone could cut-and-paste that invisible text...

But that certainly works better on Apple's Preview.app, and probably is
mostly appropriate for the intended use... (hiding stuff in
presentations, making them non-Acrobat/JS dependent)

Except that it doesn't seem to hide framed content.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Why does ConTeXt try to load Latin Modern?

2005-07-08 Thread Adam Lindsay
Giuseppe Bilotta said this at Fri, 8 Jul 2005 10:11:01 +0200:

Thursday, July 7, 2005 Adam Lindsay wrote:

 Me neither, but they look to be of good quality, but of lesser glyph
 coverage (lacking AMS symbols) than the PX fonts. That said, the basic
 three fonts are 99.8% glyph compatible with the existing PX support.

So ConTeXt uses the PX family for math support when Palatino
is in use?

That's my understanding of it, yes.
Reading more about it yesterday, that does indeed sound non-optimal. 

Can you say what the requirements would be for improving Palatino math
support would be?

(And have you tried my little typescript hack?)

For those trying to follow along:

Young Ryu's pxmath:
* Current ConTeXt choice
+ Complete AMS glyph coverage
- Some spacing bugs
- No longer supported, and deprecated in LaTeX world

Diego Puga's mathpazo:
* LaTeX's preferred choice (of free fonts)
+ heavily tested spacing
- only 'basic' math support

I think some sort of hybrid is possible. Without relying on virtual
fonts, it would be necessary to make a choice between the two blackboard
options. 
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Why does ConTeXt try to load Latin Modern?

2005-07-08 Thread Adam Lindsay
Giuseppe Bilotta said this at Fri, 8 Jul 2005 13:39:22 +0200:

Is it possible to set mathpazo as the default math font for
Palatino, and setting px as the fallback?

Interesting.

My first thought (and this probably can apply to your other issue within
this thread) was to probe for tfm files with something like:

\doiffile{zplmr7t.tfm}

...but that doesn't work. Does anyone know how you can look for non-.tex
files from within ConTeXt? 
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Why does ConTeXt try to load Latin Modern?

2005-07-08 Thread Adam Lindsay
Hans Hagen said this at Fri, 8 Jul 2005 15:14:29 +0200:

 ...but that doesn't work. Does anyone know how you can look for non-.tex
 files from within ConTeXt? 

you probably need to add the font paths you your tex input paths

Hmm. That doesn't make for a satisfying general solution, then.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to override a font in a typescript

2005-07-08 Thread Adam Lindsay
Giuseppe Bilotta said this at Fri, 8 Jul 2005 15:24:10 +0200:

Ok so far, but having to rewrite all of it just to override a
single value seems excessive, to me. Isn't there a simple
way to only override only some things?

I had tried a \definetypeface line on its own, but it didn't
seem to work ...

Hmm. How about:

\definetypescriptsynonym[modern][courier]

% and test with:

\usetypescript[adobekb][ec]
\usetypescript[palatino][ec]
\setupbodyfont[palatino]

\starttext
\showfontstrip
\stoptext

(It'll screw up the relative sizing put in place, and URW's Courier is
singularly ugly, and I would endorse what Hans said: you should be using
Latin Modern anyway, but I think it achieves what you want...)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Why does ConTeXt try to load Latin Modern?

2005-07-07 Thread Adam Lindsay
Hans Hagen said this at Thu, 7 Jul 2005 15:39:23 +0200:

 BTW, does ConTeXt support the pazo family of fonts?

never tried them ... question for adam -)

Me neither, but they look to be of good quality, but of lesser glyph
coverage (lacking AMS symbols) than the PX fonts. That said, the basic
three fonts are 99.8% glyph compatible with the existing PX support.

So here's really really _cheap_ support (no bold yet):

% add these two typescripts to your environment 
% before calling palatino math:

\starttypescript[map][palatino][all]
  \loadmapfile[pazo]
\stoptypescript

\starttypescript[math][palatino][default]
  \definefontsynonym[pxmi][zplmr7m]
  \definefontsynonym[pxr][zplmr7t]
  \definefontsynonym[pxex][zplmr7v]
  \definefontsynonym[pxsy][zplmr7y]
\stoptypescript

% then call your palatino family:
\usetypescript[adobekb][ec]
\usetypescript[palatino][ec]
\setupbodyfont[palatino]

% and run it thru some tests:
\starttext
\input knuth

\startformula
\theta\over\xi = {\os 2}\varphi
\stopformula

\startformula
\sqrt{\sqrt{\sqrt{\sqrt{1\over{a+b}
\stopformula

\showmathcharacters
\stoptext

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Hiding the content (drawing empty boxes?)

2005-07-07 Thread Adam Lindsay
Mojca Miklavec said this at Fri, 8 Jul 2005 00:33:38 +0200:

Just a hint: don't ever expect my secrets to be hidden that way. They 
are way too precious to be seen by others by simply switching them on 
again in Acrobat :)

It's not hidden in other PDF viewers, such as Apple's native one.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Why does ConTeXt try to load Latin Modern?

2005-07-06 Thread Adam Lindsay
Giuseppe Bilotta said this at Wed, 6 Jul 2005 14:02:10 +0200:

\setupbodyfont[ppl,rm,12pt]%

ppl is defined in type-pre, which is apparently deprecated in the latest
ConTeXt.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Confusion with font instructions

2005-07-05 Thread Adam Lindsay
David Rogers said this at Tue, 5 Jul 2005 09:18:45 -0700:

But if I change every times to lucida, typesetting reverts to cm (or lm
or whatever it is) and no lucida appears. What am I missing?

Have you bought the lucida fonts for TeX?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Confusion with font instructions

2005-07-04 Thread Adam Lindsay
Patrick Gundlach said this at Mon, 4 Jul 2005 09:54:06 +0200:

Hello David,

 I am new to ConTeXt, as my question is about to reveal.

This questions can also come from more experienced users :)

 Which set of instructions should I follow, in order to allow use of
 Palatino or Times, on Mac OS X, Gerben Wierda's TeX distribution, latest
 ConTeXt installed? 

OK, do you have LaTeX working? Then you can use the standard
postscript fonts for ConTeXt as well. Have a look at the (yet
unfinished page)

http://contextgarden.net/Psnfss

Sadly, that page relies on type-pre, which is deprecated!
(Yes, the situation changes again.)

So, the situation should now be:

% Times, Helvetica, Courier:
\usetypescript [adobekb]   [\defaultencoding] % default=ec
\usetypescript [postscript][\defaultencoding]
\setupbodyfont [postscript]

% or, for Times, Helvetica, and Latin Modern TT:
\usetypescript [adobekb][\defaultencoding]
\usetypescript [times]  [\defaultencoding]
\setupbodyfont [times]

% or, for Palatino  Latin Modern TT:
\usetypescript [adobekb]  [\defaultencoding] 
\usetypescript [palatino] [\defaultencoding]
\setupbodyfont [palatino]

The situation is dynamic because, to Hans's increasing frustration,
the font files that get distributed change with just about every release
of tetex (which gwTeX is mostly based on) or TeXLive.

Anyway, I hope this helps in the short term!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Confusion with font instructions

2005-07-04 Thread Adam Lindsay
Hi Otared,

What you mention sounds like a bug propagated by Hans last month. Take a
look at this thread:
http://archive.contextgarden.net/thread/
20050610.172825.65f0c37f.html#20050610.172825.65f0c37f

(Assuming you're comfortable with the CLI, I'd suggest verifying the bad
file by navigating to /usr/local/teTeX/share or wherever your tex trees
live, and looking for the file:
ls */fonts/map/*/context/pdftex.map

If a file is returned, delete it (and mktexlsr again).

If nothing is returned, then never mind, it's something else on your system.

One brief comment on your font selection below:

Otared Kavian said this at Mon, 4 Jul 2005 16:28:31 +0200:

\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[postscript]
\usetypescript[times][\defaultencoding] %or helvetica, or palatino
\setupbodyfont[times,12pt]

The [postscript] line in the above example is unnecessary. I'd suggest
cutting it out entirely. With a properly-configured system, the three
remaining lines should give you the results you expect.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Confusion with font instructions

2005-07-04 Thread Adam Lindsay
David Rogers said this at Mon, 4 Jul 2005 09:02:56 -0700:

I deleted the pdftex.map file you mentioned, ran mktexlsr, and I still
get the same effect. (I changed the font in my document from Times to
Palatino, in case I was only getting a Times that had been badly
generated on my first try with the map file still installed, but it now
creates a bad version of Palatino as well.)

Sounds frustrating all around. I might be able to do more with a log
file (send off-list, please).
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] International characters in math

2005-07-01 Thread Adam Lindsay
Mojca Miklavec said this at Fri, 1 Jul 2005 15:16:47 +0200:

\definetypeface[somename][mm][math][euler][euler]
\setupbodyfont[somename]
\starttext
$$\sqrt{\acute{a}+\bar{b}+\dot{c}}$$
\stoptext

I don't get any accents. Am I doing something wrong?

No, I am.

You can verify further by adding:
\loadmapfile[original-ams-base]
\showmathcharacters

The normal text-ish accents are not present in the eulervm fonts. I
suppose the rationale is that these are never to be used for text (but
it becomes questionable when you don't have an overbar or dot!) 

I have tried to figure out how to get them from other fonts, but am at a
loss, in terms of the general case.

No one has mentioned it before now, so I didn't try that hard. :) 

Anyone have any suggestions on what approach to take, or what they'd
like to see?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   3   4   >