Re: [NTG-context] Bold in math mode

2006-07-13 Thread Taco Hoekwater
David Arnold wrote:
 How do I get a bold x in math mode?

Or like this: ${\bf x} {\bi y} {\bs z}$

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


Re: [NTG-context] Bold in math mode

2006-07-13 Thread David Arnold
Thanks, I got something with:

{\bf $\bf x$-intercept}

On Jul 12, 2006, at 11:19 PM, Taco Hoekwater wrote:

 David Arnold wrote:
 How do I get a bold x in math mode?

 Or like this: ${\bf x} {\bi y} {\bs z}$

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

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


Re: [NTG-context] positionoverlays problem

2006-07-13 Thread Taco Hoekwater
Hans van der Meer wrote:
 
 Thanks, I guess that is the case. If the number of \hpos's will not  
 overflow it shouldn't be a big problem. Can you confirm that all  
 these positional graphics are generated one by one, or are they  
 collected in a list that might overflow and one day cause me trouble?
 

Anything in TeX will overflow eventually, but you should be safe
enough. And if it still barks, you could define temp on a
per-chapter basis (or any other place with a 'natural' page
break).

Groet, Taco

___
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-13 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
 Dear syndicate,
 
 So it's not a graphical charts module but I'm curious anyway: Could  
 someone explain why the following sample file apparently does not work or  
 what I am missing?

FWIW: Doesn't work here either.

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


[NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Taco Hoekwater
Hi all,

After a fairly long list of betas, I have just uploaded a new
release of the bibliographic module to contextgarden.net

This release fixes three bugs that were still in beta 5:

* removed two incorrect spaces from bibl-num.tex
* reset the interaction style within \type{\cite}, so that
   font  switches from \type{\setupcite} stay in effect
* a guard is added against loading bbl files multiple times

It should be included automatically in the next context release.

Happy TeXing,

Taco

___
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 Paul Hoffman
Bingo!  Thanks a million, Adam; that did the trick.

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

Aha!  That explains a lot.  Now I know how to define a variant with 
old-style figures:

\starttypescript[serif][bembo][uc]
   \definefontsynonym[BemboRegular]
 [Bembo Std:mapping=tex-text]
 [encoding=uc]
   ...
\stoptypescript
%
\starttypescript[serif][bembo-osf][uc]
   \definefontsynonym[BemboRegular]
 [Bembo Std:mapping=tex-text;+onum]
 [encoding=uc]
   ...
\stoptypescript
%
\starttypescript[serif][bembo,bembo-osf][name]
   \definefontsynonym[Serif][BemboRegular]
   ...
\stoptypescript
%
\starttypescript[bembo][uc]
   \definetypeface[bembo]
   [rm][serif][bembo][default][encoding=uc]
   \definetypeface[bembo-osf]
   [rm][serif][bembo-osf][default][encoding=uc]
\stoptypescript

I figured out bold italic, too (Bembo Std-Bold Italic, not Bembo 
Std-BoldItalic, d'oh!) and all is golden.  I suppose I should try to 
fix the typescript so it can be used with other encodings, but I'll 
leave that for another day.  For now, I'm just thrilled to be able to 
use my brand new shiny font.  ConTeXt + XeTeX + Adobe Bembo Std + 
helpful netizens = bliss.

Paul.

-- 
Paul Hoffman [EMAIL PROTECTED]
http://nkuitse.com/
http://hoffmancommapaul.com/

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


Re: [NTG-context] Version Numbers in Download File Names

2006-07-13 Thread Hans Hagen
Taco Hoekwater wrote:
 Matthias W�chter wrote:
   
 Is there a strong motivation against having versioned package file names, 
 possibly with some months/years of history? 
 
   Or is this archive available but I am unable to find it? ;)

 There is an archive of old releases and file versions on-line,
 but at a different location. Check this page as a starting point:

http://wiki.contextgarden.net/Revisions

 It is not mentioned on the pragma-ade site (yet -- perhaps it should).
   
ok, will be under downloads 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] fyi

2006-07-13 Thread Hans Hagen
On Monday July 24 an update of the mail server will take place, starting at 
14.00 (till midnight).

Hans 

-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] pre-announce new version

2006-07-13 Thread Taco Hoekwater
Hi all,

Hans has made a new ConTeXt release today, but I've run out of time
for the announcement. Hopefully later tonight, but otherwise you'll
have to wait 'til tomorrow.  If you want to have a sneak peak: the
detailed change page on the wiki is already finished:

   http://wiki.contextgarden.net/Context_2006.07.13

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Thomas A. Schmitz

On Jul 13, 2006, at 10:47 AM, Taco Hoekwater wrote:

 Hi all,

 After a fairly long list of betas, I have just uploaded a new
 release of the bibliographic module to contextgarden.net

 This release fixes three bugs that were still in beta 5:

 * removed two incorrect spaces from bibl-num.tex
 * reset the interaction style within \type{\cite}, so that
font  switches from \type{\setupcite} stay in effect
 * a guard is added against loading bbl files multiple times

 It should be included automatically in the next context release.

 Happy TeXing,

 Taco


Hi Taco,

thanks for the new version! I didn't have time to play with your  
latest beta, but the new release appears to have a problem: numbered  
references don't seem to work! I found an older post to the list by  
Marten and I can confirm that it doesn't work. Here's a minimal test  
file:

%%%

\usemodule[bib]

\setuppublications[refcommand=num,
numbering=yes
]

\startpublication[k=austinhow,t=book,
a={{Austin}},y=1975a,
n=12,s=Aus75a]
\author[]{John~Langshaw}[J.~L.]{}{Austin}
\pubyear{1975\maybeyear{a}}
\title{How To Do Things with Words}
\city{Cambridge, MA}
\pubname{Harvard University Press}
\edition{2}
\stoppublication

\starttext

As can be seen in \cite[austinhow].

\page

\placepublications

\stoptext

%%%

If I change refcommand to author or other values, it works; with num  
I get

publications: warning: cite argument austinhow unknown on 108
references  : unknown reference [][0]

in my log file. Sorry, I don't know when this problem cropped up, but  
I know that this used to work...

Best

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Jul 13, 2006, at 10:47 AM, Taco Hoekwater wrote:

   
 Hi all,

 After a fairly long list of betas, I have just uploaded a new
 release of the bibliographic module to contextgarden.net

 This release fixes three bugs that were still in beta 5:

 * removed two incorrect spaces from bibl-num.tex
 * reset the interaction style within \type{\cite}, so that
font  switches from \type{\setupcite} stay in effect
 * a guard is added against loading bbl files multiple times

 It should be included automatically in the next context release.

 Happy TeXing,

 Taco

 

 Hi Taco,

 thanks for the new version! I didn't have time to play with your  
 latest beta, but the new release appears to have a problem: numbered  
 references don't seem to work! I found an older post to the list by  
 Marten and I can confirm that it doesn't work. Here's a minimal test  
 file:

 %%%

 \usemodule[bib]

 \setuppublications[refcommand=num,
 numbering=yes
   
numbering=yesspace
 ]
   
numbering=yes]

numbering=yes%
]

numbering=yes,
]

is correct 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] eating up

2006-07-13 Thread Hans van der Meer
I want to do something with  in tables (making it an active column separator).Now I have a macro with two arguments for parameters in Context style:\def\starttablex{\dodoubleargument\dostarttablex}\def\dostarttablex[#1][#2]{%Now for input: \starttable[][]  ... all is well,but for input: \starttable[]    ... the ampersand appears to be eaten up by the double argument expansion.How can I prevent that, letting  end the parameter scanning and using it as the first input? Hans van der Meer ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] eating up

2006-07-13 Thread Hans Hagen
Hans van der Meer wrote:
 I want to do something with  in tables (making it an active column 
 separator).
 Now I have a macro with two arguments for parameters in Context style:

 \def\starttablex{\dodoubleargument\dostarttablex}
 \def\dostarttablex[#1][#2]{%

 Now for input:�\starttable[][]  ... all is well,
 but for input: \starttable[]� � ... the ampersand appears to be eaten 
 up by the double argument expansion.
starttable or starttablex 

btw, messing around with  is dangerous in tex 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] eating up

2006-07-13 Thread Hans van der Meer

On Jul 13, 2006, at 22:27, Hans Hagen wrote:

 Hans van der Meer wrote:
 I want to do something with  in tables (making it an active column
 separator).
 Now I have a macro with two arguments for parameters in Context  
 style:

 \def\starttablex{\dodoubleargument\dostarttablex}
 \def\dostarttablex[#1][#2]{%

 Now for input:�\starttable[][]  ... all is well,
 but for input: \starttable[]� � ... the ampersand appears to  
 be eaten
 up by the double argument expansion.

 starttable or starttablex

Sorry, but I am missing your point here.
Does your answer imply that I cannot work with a [][]-parameterlist?
That would be problematic because I am using your getparameters-thing  
extensively.
Or do you mean something else that will stop the parameter gathering  
at the  ?


 btw, messing around with  is dangerous in tex

I know, I know, ...

Hans van der Meer



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