Re: [NTG-context] Problem with external graphics

2006-08-09 Thread Renaud AUBIN
The Wizard a écrit :

>I also tried the answer offered by Renaud, 
>"\placefigure[here]{none}{\externalfigure[Figure1]}", which results in 
>no figure at all.
>
>  
>
adapt Figure1 -> Figure 1 according to your useexternalfigure declaration...

\placefigure[here]{none}{\externalfigure[Figure1]

An example from a document of mine:

\useexternalfigure[largeur][nofile][width=.5\textwidth]
\useexternalfigure[slime][src/images/slime][largeur]

\placefigure[here][fig:ssrI]{Robot \SSR-I ({\sc
Hirose})}{\externalfigure[slime]}

Cheers,

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


[NTG-context] doifempty

2006-08-09 Thread Bernd Militzer
Hi all,

after I defined

\def\VariA{}
\def\VariB{with Text}

\doifemptyelse{\VariA}{empty}{not empty}\crlf
\doifemptyelse{\VariB}{empty}{not empty}

both results are "not empty"!

what do I wrong?

thanks for help

Bernd

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


Re: [NTG-context] completecontent, completeindex

2006-08-09 Thread Miguel Queiros

> If you use \completecontent or \completeindex, how do you manipulate  
> the heads of these constructs?
> 
> Can I change the text of the header, Contents to Table of Contents?

I'v done that using: 

\setupheadtext[pt][content=Índice]

That will change the header, for Portuguese, notice the [pt].

You can do something similar for the List of Figures and the List of
tables using:

\setupheadtext[pt][figures=Lista de Figuras]
\setupheadtext[pt][tables=Lista de Tabelas]

> Can I change the color?

You can change the color of your chapters, sections etc. 
Try using the following:

\setuphead[chapter][color=darkblue]
\setuphead[section][color=darkblue]
\setuphead[subsection][color=darkblue]
\setuphead[subject][color=darkblue]
\setuphead[subsubject][color=darkblue]

Don't forget \setupcolors[state=start]

Miguel Queirós


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


Re: [NTG-context] Problem with external graphics

2006-08-09 Thread The Wizard
Hans Hagen wrote:
> The Wizard wrote:
>   
>> All -
>> I am experiencing some strange behavior with external graphics. I 
>> use one file to setup all the graphics for later inclusion. All that is 
>> in the file is a bunch of "\useexternalgraphics" statements, so I can 
>> reference the graphics by name later. The problem comes when I try to 
>> use "\placefigure" instead of "\externalfigure". Here is an example:
>>
>> Figure setup:
>>
>> \useexternalfigure[Figure 1][Figure1][scale=520,type=pdf,factr=broad]
>> % This sets up the file 'Figure1.pdf' for later inclusion
>>
>> If I then reference it using
>>
>> \externalfigure[Figure 1]
>>
>> the figure is included at the spot following the text, and fits on the 
>> remainder of the page, which is what I want. But if I try to add a 
>> caption to it by using
>>
>> \placefigure
>> [force][]
>> {}
>> {\externalfigure[Figure 1][Figure 1]}
>>
>> the figure gets the caption, but always is placed on the top of the 
>> following page. Why is this?
>>
>>   
>> 
> because it dos not fit (spacing around it,
>
> \placefigure
> [force,none][]
> {}
> {\externalfigure[Figure 1][Figure 1]}
>
>
> may help
>
>   
Hans -
I tried this solution, the result is still the same. Is there an 
easy way to find out why it doesn't fit? Does adding the caption cause 
it to require more space?

I also tried the answer offered by Renaud, 
"\placefigure[here]{none}{\externalfigure[Figure1]}", which results in 
no figure at all.

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

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


Re: [NTG-context] Subsection header last item on a page

2006-08-09 Thread David Arnold
Hans,

\subsection{A Piecewise Defined Function}

was the last line at the bottom of a page. We're going through on our  
last pass before burning cds, so I took care of it with:

\page[yes]
\subsection{A Piecewise Defined Function}

But I thought tex wouldn't allow this sort of thing, or perhaps there  
are some things we could set for widow and orphan control.


On Aug 9, 2006, at 2:08 PM, Hans Hagen wrote:

> David Arnold wrote:
>> All,
>>
>> A subsection head should not be the last item to appear on a page.
>>
>> What setting should prevent this?
>>
> \page[no]
>
> but normally you should not do this; a vskip or whatever spoils  
> this game, \blank should work ok ; in the case of itemizations one  
> can say [intro]
>
> 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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Cow-font (was Context 2006.08.08 released}

2006-08-09 Thread Taco Hoekwater

Mojca Miklavec wrote:

\setupsymbolset[cownormal]
\symbol[CowConTeXtComplete]


That reminded me that symb-cow.tex needs to be extended&changed a bit
because the new release has 8 extra glyphs:

  \symbol[CowCowTeXtComplete]

and all the 'Complete' logos are now also available without dots.
New file attached.

Cheers, Taco


%D \module
%D   [   file=symb-cow,
%Dversion=2006.06.23,
%D  title=\CONTEXT\ Symbol Libraries,
%D   subtitle=Cow Symbols,
%D author=Hans Hagen,
%D   date=\currentdate,
%D  copyright=\PRAGMA]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\loadmapfile[koeieletters.map]

\definefontsynonym [Cows][koeielett]
\definefontsynonym [CowsContour] [koeielett-contour]
\definefontsynonym [CowsLogo][koeielogos]
\definefontsynonym [CowsLogoContour] [koeielogos-contour]

\definecolor [lsky][r=.6,g=.6,b=1]
\definecolor [dsky][r=.1,g=.1,b=1]
\definecolor [lground] [r=.3,g=.9,b=.3]
\definecolor [dground] [r=0,g=.5,b=0]
\definecolor [cspots]  [r=.33,g=.1,b=0]

\definecolor [tlsky][t=.5,a=1,r=.6,g=.6,b=1]
\definecolor [tdsky][t=.5,a=1,r=.1,g=.1,b=1]
\definecolor [tlground] [t=.5,a=1,r=.3,g=.9,b=.3]
\definecolor [tdground] [t=.5,a=1,r=0,g=.5,b=0]
\definecolor [tcspots]  [t=.5,a=1,r=.33,g=.1,b=0]

\definepalet
  [cow]
  [normal=lground,
   contour=dground,
   sky=lsky]

\def\CowNormal#1%
  {\dontleavehmode\hbox{\color[cow:normal]{\getglyph{Cows}{#1

\def\ScaledCowNormal#1#2%
  {\dontleavehmode\hbox{\color[cow:normal]{\definedfont[Cows sa #1]#2}}}

\def\ScaledCowOverlay#1#2%
  {\dontleavehmode\hbox
 {\color[cow:contour]{\hsmash{\definedfont[CowsContour sa #1]#2}}%
  \color[cow:normal] {\definedfont[Cowssa #1]#2}}}

\def\CowOverlay#1%
  {\dontleavehmode\hbox
 {\color[cow:contour]{\hsmash{\getglyph{CowsContour}{#1}}}%
  \color[cow:normal] {\getglyph{Cows}   {#1

\def\CowContour#1%
  {\dontleavehmode\hbox
 {\color[cow:contour]{\hsmash{\getglyph{CowsLogoContour}{#1}}}%
  \color[cow:normal] {\getglyph{CowsLogo}   {#1

\def\CowLogo#1%
  {\getglyph{CowsLogo}{\char#1\relax}}

\startsymbolset[cownormal]

\definesymbol[CowPragmaADE][\CowLogo{0}]
\definesymbol[CowPragma]   [\CowLogo{1}]
\definesymbol[CowConTeXt]  [\CowLogo{2}]
\definesymbol[CowConTeXtComplete]  [\CowLogo{3}]
\definesymbol[CowConTeXtShadow][\CowLogo{4}]
\definesymbol[CowConTeXtContour]   [\CowLogo{5}]
\definesymbol[CowConTeXtOutline]   [\CowLogo{6}]
\definesymbol[CowConTeXtDots]  [\CowLogo{7}]
\definesymbol[CowMP]   [\CowLogo{8}]
\definesymbol[CowMPComplete]   [\CowLogo{9}]
\definesymbol[CowTeX]  [\CowLogo{10}]
\definesymbol[CowTeXComplete]  [\CowLogo{11}]
\definesymbol[CowBoo]  [\CowLogo{12}]
\definesymbol[CowCow]  [\CowLogo{13}]
\definesymbol[CowExampleComplete]  [\CowLogo{14}]
\definesymbol[CowFoxetComplete][\CowLogo{15}]
\definesymbol[CowMetafun]  [\CowLogo{16}]
\definesymbol[CowMetafunComplete]  [\CowLogo{17}]
\definesymbol[CowTEXComplete]  [\CowLogo{18}]
\definesymbol[CowWikiComplete] [\CowLogo{19}]
\definesymbol[CowPragmaADEComplete][\CowLogo{20}]
\definesymbol[CowPragmaComplete]   [\CowLogo{21}]
\definesymbol[CowExample]  [\CowLogo{22}]
\definesymbol[CowFoxet][\CowLogo{23}]
\definesymbol[CowTEX]  [\CowLogo{24}]
\definesymbol[CowWiki] [\CowLogo{25}]
\definesymbol[CowCowTeXtComplete]  [\CowLogo{26}]
\definesymbol[CowCowTeXt]  [\CowLogo{27}]

\stopsymbolset

\startsymbolset[cowcontour]

\definesymbol[CowPragmaADE][\CowLogo{0}]
\definesymbol[CowPragma]   [\CowLogo{1}]
\definesymbol[CowConTeXt]  [\CowLogo{2}]
\definesymbol[CowConTeXtComplete]  [\CowLogo{3}]
\definesymbol[CowConTeXtShadow][\CowLogo{4}]
\definesymbol[CowConTeXtContour]   [\CowLogo{5}]
\definesymbol[CowConTeXtOutline]   [\CowLogo{6}]
\definesymbol[CowConTeXtDots]  [\CowLogo{7}]
\definesymbol[CowMP]   [\CowLogo{8}]
\definesymbol[CowMPComplete]   [\CowLogo{9}]
\definesymbol[CowTeX]  [\CowLogo{10}]
\definesymbol[CowTeXComplete]  [\CowLogo{11}]
\definesymbol[CowBoo]  [\CowLogo{12}]
\definesymbol[CowCow]  [\CowLogo{13}]
\definesymbol[CowExampleComplete]  [\CowLogo{14}]
\definesymbol[CowFoxetComplete][\CowLogo{15}]
\definesymbol[CowMetafun]  [\CowLogo{16}]
\definesymbol[CowMetafunComplete]  [\CowLogo{17}]
\definesymbol[CowTEXComplete]  [\CowLogo{18}]
\definesymbol[CowWikiComplete] [\CowLogo{19}]
\definesymbol[CowPragmaADEComplete][\CowLogo{20}]
\definesymbol[CowPragmaComplete]   [\CowLogo{21}]
\definesymbol[CowExample]  [\CowLogo{22}]
\definesymbol[CowFoxet][\CowLogo{23}]
\definesymbol[CowTEX]  [\CowLogo{24}]
\definesymbol[CowWiki] [\CowLogo{

Re: [NTG-context] Problem with external graphics

2006-08-09 Thread Hans Hagen
The Wizard wrote:
> All -
> I am experiencing some strange behavior with external graphics. I 
> use one file to setup all the graphics for later inclusion. All that is 
> in the file is a bunch of "\useexternalgraphics" statements, so I can 
> reference the graphics by name later. The problem comes when I try to 
> use "\placefigure" instead of "\externalfigure". Here is an example:
>
> Figure setup:
>
> \useexternalfigure[Figure 1][Figure1][scale=520,type=pdf,factr=broad]
> % This sets up the file 'Figure1.pdf' for later inclusion
>
> If I then reference it using
>
> \externalfigure[Figure 1]
>
> the figure is included at the spot following the text, and fits on the 
> remainder of the page, which is what I want. But if I try to add a 
> caption to it by using
>
> \placefigure
> [force][]
> {}
> {\externalfigure[Figure 1][Figure 1]}
>
> the figure gets the caption, but always is placed on the top of the 
> following page. Why is this?
>
>   
because it dos not fit (spacing around it,

\placefigure
[force,none][]
{}
{\externalfigure[Figure 1][Figure 1]}


may help

-- 

-
  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] Subsection header last item on a page

2006-08-09 Thread Hans Hagen
David Arnold wrote:
> All,
>
> A subsection head should not be the last item to appear on a page.
>
> What setting should prevent this?
>   
\page[no] 

but normally you should not do this; a vskip or whatever spoils this game, 
\blank should work ok ; in the case of itemizations one can say [intro] 

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] Cow-font (was Context 2006.08.08 released}

2006-08-09 Thread Mojca Miklavec
On 8/9/06, Willi Egger wrote:
> Hi Hans,
>
> Thanks for the hint!
>
> Now I am able to display the symbolsets with \showsymbolset. However I
> can't get eg. \symbol[CowConTeXtComplete]
> I tried also the Marvosyms. I can display the a set e.g.
> \showsymbolset[atronomic], but can't get \symbol[astronomic:Mars]
>
> Is the \symbol command broken?
>
> Willi

\usesymbols[cow]

\starttext
\symbol[cownormal][CowConTeXtComplete]
\stoptext

There's also a command to "preaload cownormal", so that you may leave
the [cownormal] out:

\setupsymbolset[cownormal]
\symbol[CowConTeXtComplete]

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


Re: [NTG-context] core-buf from Hans

2006-08-09 Thread Taco Hoekwater
David Arnold wrote:
> Hans, Taco, et al,
> 
> This is a FYI.
> 
> After updating my Context through Gerben's site:

> chapter2 $ 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.1 - ConTeXt / PRAGMA ADE 1992-2006
> tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
> context : ver: 2006.07.22 18:35

The updater is a bit behind. That particular beta was four releases
ago (and that is counting yesterday's double upload as one :-))

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


Re: [NTG-context] Problem with external graphics

2006-08-09 Thread Renaud AUBIN
What happens with \placefigure[here]{none}{\externalfigure[Figure1]} ?

Renaud

The Wizard a écrit :

>All -
>I am experiencing some strange behavior with external graphics. I 
>use one file to setup all the graphics for later inclusion. All that is 
>in the file is a bunch of "\useexternalgraphics" statements, so I can 
>reference the graphics by name later. The problem comes when I try to 
>use "\placefigure" instead of "\externalfigure". Here is an example:
>
>Figure setup:
>
>\useexternalfigure[Figure 1][Figure1][scale=520,type=pdf,factr=broad]
>% This sets up the file 'Figure1.pdf' for later inclusion
>
>If I then reference it using
>
>\externalfigure[Figure 1]
>
>the figure is included at the spot following the text, and fits on the 
>remainder of the page, which is what I want. But if I try to add a 
>caption to it by using
>
>\placefigure
>[force][]
>{}
>{\externalfigure[Figure 1][Figure 1]}
>
>the figure gets the caption, but always is placed on the top of the 
>following page. Why is this?
>
>  
>

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


[NTG-context] Subsection header last item on a page

2006-08-09 Thread David Arnold
All,

A subsection head should not be the last item to appear on a page.

What setting should prevent this?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problem with external graphics

2006-08-09 Thread The Wizard
All -
I am experiencing some strange behavior with external graphics. I 
use one file to setup all the graphics for later inclusion. All that is 
in the file is a bunch of "\useexternalgraphics" statements, so I can 
reference the graphics by name later. The problem comes when I try to 
use "\placefigure" instead of "\externalfigure". Here is an example:

Figure setup:

\useexternalfigure[Figure 1][Figure1][scale=520,type=pdf,factr=broad]
% This sets up the file 'Figure1.pdf' for later inclusion

If I then reference it using

\externalfigure[Figure 1]

the figure is included at the spot following the text, and fits on the 
remainder of the page, which is what I want. But if I try to add a 
caption to it by using

\placefigure
[force][]
{}
{\externalfigure[Figure 1][Figure 1]}

the figure gets the caption, but always is placed on the top of the 
following page. Why is this?

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> Try 'authoryear' or 'authoryears' if you want to have both, the author
> and the year.
> 
> Could you try
>\setupcite[authoryears][authoretallimit=2]
>\setupcite[authoryear][authoretallimit=2]
> maybe it works. (I still have an older ConTeXt and no time to test.)

Thanks, the

  \setupcite[authoryears][authoretallimit=2]

fixes it.  (And in the latest bib module, Taco has fixed the need for
that line.)

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Cow-font (was Context 2006.08.08 released}

2006-08-09 Thread Willi Egger
Hi Hans,

Thanks for the hint!

Now I am able to display the symbolsets with \showsymbolset. However I 
can't get eg. \symbol[CowConTeXtComplete]
I tried also the Marvosyms. I can display the a set e.g. 
\showsymbolset[atronomic], but can't get \symbol[astronomic:Mars]

Is the \symbol command broken?

Willi

Hans Hagen wrote:
> Willi Egger wrote:
>   
>> Great that the new Cows-letter-font is released!
>>
>> Will you kindly provide some hints how to use this font? - I remember 
>> some trickery you presented at the NTG meeting.
>> ..
>> Last but not least, what am I missing trying to get the cows show up?
>>   
>> 
> just load the symb-cow symbols (\usesymbols[cow]) as starting point (it 
> defined fonts and such)
>
> there will be a manual
>
> Hans
> ___
> 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] COW-font (was: Context 2006.08.08 released)

2006-08-09 Thread Willi Egger
Hi Taco,

Thanks, this helps. Also \setupbodyfont[cow,rm,36pt]  does the trick.

Willi

Taco Hoekwater wrote:
> Willi Egger wrote:
>   
>> Great that the new Cows-letter-font is released!
>>
>> Will you kindly provide some hints how to use this font? - I remember 
>> some trickery you presented at the NTG meeting.
>> .
>> Last but not least, what am I missing trying to get the cows show up?
>> 
>
> This should work:
>
>
>\loadmapfile[koeieletters]
>\usetypescriptfile[type-cow]
>\usetypescript[cow][default] % only in 'default' encoding
>
>\definebodyfontenvironment[72pt]
>\setupbodyfont[cow,72pt]
>
>\starttext
>\rm Hello! % the typescript switches to sans by default
>
>\blank[big]
>
>$1 + 1 = 2$
>\stoptext
>
> 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


[NTG-context] core-buf from Hans

2006-08-09 Thread David Arnold
Hans, Taco, et al,

This is a FYI.

After updating my Context through Gerben's site:

chapter2 $ 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.1 - ConTeXt / PRAGMA ADE 1992-2006
tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
context : ver: 2006.07.22 18:35
cont-en : ver: 2006.07.22 18:35  fmt: 2006.8.9  mes:  
english
cont-nl : ver: 2006.07.22 18:35  fmt: 2006.8.9  mes:  
dutch

 total run time : 2 seconds

warning : use 'texmfstart texexec' instead


I still had to replace core-buf with the one Hans sent me in order to  
get our figures to show up in our second chapter.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font Question: Specific font sizes not working.

2006-08-09 Thread David Wooten
Greetings all,

In the last week or so I started having a problem with fonts: what once 
worked stopped doing so, giving me the default font rather than my 
chosen fonts. I finally figured out that it is only certain sizes that 
are not working. For example, with:

\usetypescriptfile[jensonpro]
\usetypescript[jenson]
\switchtobodyfont[jenson,11pt]

\starttext

Testing.

\stoptext

"\switchtododyfont" sizes 8pt, 10pt, 11pt, 13pt all still work, while 
9pt and 12pt no longer do so...

I recently updated ConTeXt and it remains the same. No change was made 
to my typescript files, and indeed in \definebodyfont those sizes are 
definitely listed:

\starttypescript [serif] [Opticals] [size]
\definebodyfont
  [13pt,12pt,11pt,10pt,9pt,8pt][rm]
...
\stoptypescript

Any clues?


Kind regards,
David
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to align graphics at text edge?

2006-08-09 Thread The Wizard
All -
Thanks to some help from Hans, I have a very clean setup which 
creates a "standard" cover for my project documents. It has a long 
colored swirl the length of the page, two logos (mine and the 
customers') and a title. The code looks like this

\startsetups[titlepage]
\setuplayout[page]
\startstandardmakeup
\setlayer[page]
  [preset=lefttop]
  {\externalfigure[wp_cover_art_blue.pdf][height=\paperheight]}
\setlayer[page]
  [preset=righttop,y=.01\paperheight,x=.01\paperwidth]
  {\externalfigure[customer-logo.pdf][height=.1\paperheight]}
\setlayer[page]
  [preset=righttop,y=.08\paperheight,x=.01\paperwidth]
  {\externalfigure[my_logo_blk.pdf][height=.1\paperheight]}
\setlayer[page][preset=middle]
  {\definedfont[SansBold at 22pt]\color[sunblue]\setupinterlinespace
   \framed[align=flushleft,frame=off]{\getvariable{document}{title}}}
\tightlayer[page]
\stopstandardmakeup
\setuplayout
\setuppagenumber[number=2]
\doifmodeelse{twosided} {

\setuppagenumbering[conversion=romannumerals,alternative=doublesided,
 location=,state=start] } {

\setuppagenumbering[conversion=romannumerals,alternative=singlesided,
 location=,state=start] }
\doifmode{twosided} {\page[yes,right]}
\stopsetups

and is invoked in the document as

\setups[titlepage]


Now, I am trying to figure out how to get the two logo graphics to align 
to the right edge of the printable page, but I can't seem to find the 
right "key" to the \externalfigure call. I have looked at the wiki, and 
through the manuals, but I don't seem to be able to find what I want. 
Any ideas?

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

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


[NTG-context] t-lilypond: no longer needs eps step?

2006-08-09 Thread David Wooten
Greetings,

I've just noticed that in the development branch change log [1] of 
LilyPond (2.9) the following notice has been posted about the LaTeX 
module lilypond-book:

"lilypond-book now includes support for PDFTeX."

I'm curious as to whether that means

"Generating a pdf directly always creates a whole page, so we generate 
eps first."

might no longer be necessary?

[1] http://www.lilypond.org/doc/v2.9/Documentation/topdocs/NEWS.html
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt with ctxtools

2006-08-09 Thread Alan Bowen
On Aug 8, 2006, at 4:52 PM, Sanjoy Mahajan wrote:

>> In any case, I have probably misunderstood the thread. Has a summary
>> been posted somewhere that I might consult?
>
> I need to summarize all the Linux installation methods on the Wiki,
> once I get it all straight in my head.  Right now in reality and in my
> head it's a nightmare because of all the flavors (texlive, tetex 2 or
> 3, etc.) and the gazillion map files that could be anywhere.  ConTeXt
> tries to work everywhere so it has a hard life.
>
> I don't know much about what MacOS X does, but if you're not using a
> graphical installation method, it should be like BSD 4.[0123] Unix
> that I once used.  In which case it should work mostly like Linux.
>
> Here's what I do now and did just half hour ago to update to the
> 2006.08.08 version.  I use bash (a mostly sh-compatiable shell), which
> the MacOS terminal runs too I think.  The $ below is my bash prompt
> and everything after it is what I type:
>
>   $ TEXMFLOCAL=/home/sanjoy/texmf texmfstart ctxtools --updatecontext
>
> This fixes the problem that ctxtools uses (I think) Windows quoting in
> this source line:
>
> tree = `kpsewhich --expand-path $TEXMFLOCAL`.chomp  
> rescue nil
>
> In Unix ruby (like in Perl) the $TEXMFLOCAL is expanded by the shell
> because of the $, and the result is run by the backticks.  Usually
> TEXMFLOCAL has no setting in the shell or environment so ruby runs the
> command with $TEXMFLOCAL replaced by an empty string, giving:
>
>kpsewhich --expand-path
>
> So kpsewhich complains that it didn't get an argument for
> --expand-path (or --expand-var).  The long-term fix is to figure out
> how to quote that works in Windows and Unix, but I don't know how
> since I don't use Windows.
>
> The short-term hack is to set TEXMFLOCAL just while running ctxtools,
> which is done by the command above that I run.
>
> So maybe try that using the vanilla distribution (so with \012
> restored) and report back what happens and let's see if we can find a
> fix if something else doesn't work.  My computers run Linux but my
> partner has a MacOS 10.3 machine and I'll use it for ConTeXt
> experiments if needed.
>
> -Sanjoy

Sanjoy—

Since I use the teTeX distribution on my Mac, I ran
TEXMFLOCAL=/usr/local/teTeX/share/texmf.local sudo texmfstart  
ctxtools --updatecontext
in Terminal (bash) and the update went perfectly.

Many thanks!

Alan

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater
Sanjoy Mahajan wrote:
>>No, it is all my fault, sorry. For a quick fix, please add this
>>   \setupcite[authoryears][authoretallimit=2]
>>to your document. I will upload a fixed version asap.
> 
> 
> Thanks, that fixes it.

Great.

Meanwhile I have also uploaded a fixed version, but the \setupcite
statement is a user-level command that is there to stay so there
is no real reason to update right now.

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> No, it is all my fault, sorry. For a quick fix, please add this
>\setupcite[authoryears][authoretallimit=2]
> to your document. I will upload a fixed version asap.

Thanks, that fixes it.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] compiling project files

2006-08-09 Thread Aditya Mahajan
On Wed, 9 Aug 2006, Derek Schmidt wrote:

> Hi there,
>
> I'm a complete ConTeXt newbie, so please be patient with me. :)
>
> I'm putting together a book and I'm trying to use the project
> structure that Context likes so much. My components come out
> beautifully--they are chapters in the book.
>
> The product file is the actual book. I don't have the code in front of
> me, but it looks very much like the examples given in the manuals and
> at ContextGarden. When I texexec it, it runs but only produces and
> empty table of contents with the word Contents at the top. It won't
> list the chapters, forget about actually printing their content.

I do not understand this. Do you mean that the components are not in 
the output?


> Any ideas on what I'm doing wrong? I'm guessing this might not be
> enough info for you to help. I'll try to answer any questions as best
> I can.

It is pretty hard to guess. Does your product file look like this

\startproduct product-name

\environment env-name

\component component-1
\component component-2


\stopproduct


Maybe the components are not getting loaded. To actually see which 
files are being loaded, look at product.tui file. The enteries 
starting with f tell you which files are being read. What does the 
output of

grep "^f" product.tui

look like?

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


Re: [NTG-context] compiling project files

2006-08-09 Thread Tobias Burnus
Hi Derek,

Derek Schmidt wrote:
> When I texexec it, it runs but only produces and empty table of contents with 
> the word Contents at the top. It won't list the chapters, forget about 
> actually printing their content.
>   
I have only three ideas:

(a)  The data is not available. The mechanism is a follows:
1. TeX is run and chapter names with pagenumbers etc. are saved into
.tui.
2. TeXutil is run and sorts some entries in *.tui and writes *.tuo
3. TeX is run again, reads .tuo and uses that data to produce the table
of contents etc. (and produces a new .tui)
As this changes the page numbers (for longer table of contents), TeXutil
and TeX are re-run again.
In principle TeXExec should do this automatically. Do you have a *.tuo file?

(b) The data is available via .tuo but somehow \completecontent only
writes the sections below the "Content" chapter, which is empty.
Try:  \completecontent[criterium=all]
this instructs it to print the table of content for all chapters (which
is actually the default).

(c) Something is broken (whatever, the installation, ConTeXt/TeXexec, my
ability to find the cause of problems etc.)

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Tobias Burnus
Hi,

> I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
> fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
> citation in the text rather than giving (Pound and Rebka, 1959).

> If I
> use \cite[author][Pound-Rebka:1959] to make sure the style is
> 'author', then I get (Pound) in the text, with no year.  Probably I'm
> doing something silly?
>   
Try 'authoryear' or 'authoryears' if you want to have both, the author
and the year.

Could you try
   \setupcite[authoryears][authoretallimit=2]
   \setupcite[authoryear][authoretallimit=2]
maybe it works. (I still have an older ConTeXt and no time to test.)

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater


Sanjoy Mahajan wrote:
>>>I have just installed the latest version of m-bib. Where I had before a 
>>>citation "alpher and bethe" with \cite[author] for a bib-item with two 
>>>authors I get only the first now. What has to be changed in order to get 
>>>two authors in the text while for more than two there will be "alpher et 
>>>al."?
>>
>>You have to update your base context distribution as well.
> 
> 
> I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
> fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
> citation in the text rather than giving (Pound and Rebka, 1959).  If I
> use \cite[author][Pound-Rebka:1959] to make sure the style is
> 'author', then I get (Pound) in the text, with no year.  Probably I'm
> doing something silly?

No, it is all my fault, sorry. For a quick fix, please add this

   \setupcite[authoryears][authoretallimit=2]

to your document. I will upload a fixed version asap.

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


[NTG-context] compiling project files

2006-08-09 Thread Derek Schmidt
Hi there,

I'm a complete ConTeXt newbie, so please be patient with me. :)

I'm putting together a book and I'm trying to use the project
structure that Context likes so much. My components come out
beautifully--they are chapters in the book.

The product file is the actual book. I don't have the code in front of
me, but it looks very much like the examples given in the manuals and
at ContextGarden. When I texexec it, it runs but only produces and
empty table of contents with the word Contents at the top. It won't
list the chapters, forget about actually printing their content.

Any ideas on what I'm doing wrong? I'm guessing this might not be
enough info for you to help. I'll try to answer any questions as best
I can.

Thanks and

all best,
Derek
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-09 Thread Thomas A. Schmitz

On Aug 9, 2006, at 4:52 PM, Hans Hagen wrote:

> i see, interesting; before we do that, can you check if we can/need to
> do the same with texnansi, qx, etc ?
>
> Hans

texnansi is OK, in my experience, and qx as well. t5 also has some  
LIGKERN instructions at the beginning, but doesn't have f-ligatures  
in its character set, AFAICS, so this should work as well. I can run  
some texts this weekend (if you want) and see what comes up.

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


[NTG-context] column sets and column breaks

2006-08-09 Thread David Arnold
All,

What's the best way to do a column break with column sets? I am just  
using \column. Is that OK?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columns -> columnsets introduces problems

2006-08-09 Thread David Arnold
Hans, Taco,

I had a \Tindex inside a display math, something like this.

\placeformula
\startformula
x^2 \Tindex{sample}
\stopformula

I think that might have been it, because now I have a compile.

On Aug 9, 2006, at 1:11 AM, Taco Hoekwater wrote:

>
>
> David Arnold wrote:
>> \Tindex #1->\index
>> {#1}#1
>> ...
>> l.104 \setnumber
>>  [page]{\pagenumberExercisesOneTwo}
>>
>> If I go into the offending file and comment out the line:
>
> The problem appears related to the index (\Tindex), not the
> \setnumber command, so you may have been looking at the wrong
> spot.
>
> Greetings,
> 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


Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> > I have just installed the latest version of m-bib. Where I had before a 
> > citation "alpher and bethe" with \cite[author] for a bib-item with two 
> > authors I get only the first now. What has to be changed in order to get 
> > two authors in the text while for more than two there will be "alpher et 
> > al."?
> 
> You have to update your base context distribution as well.

I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
citation in the text rather than giving (Pound and Rebka, 1959).  If I
use \cite[author][Pound-Rebka:1959] to make sure the style is
'author', then I get (Pound) in the text, with no year.  Probably I'm
doing something silly?


\usemodule[bib]

\setuppublicationlist[samplesize={Mid91},totalnumber=1]

\startpublication[k=Pound-Rebka:1959,t=article,
a={{Pound},{Rebka}},y=1959,n=1,s=PR59]
\artauthor[]{R.~V.}[R.~V.]{}{Pound}
\artauthor[]{G.~A.}[G.~A.]{}{Rebka}
\pubyear{1959}
\arttitle{Gravitational red-shift in nuclear resonance}
\journal{Physical Review Letters}
\volume{3}
\pages{439--441}
\stoppublication

\starttext
An incredibly tiny effect!  To find out how it was measured, see their
paper:
\cite[Pound-Rebka:1959].
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-09 Thread Hans Hagen
Thomas A. Schmitz wrote:
> And for the LIGKERN: yes, I asked about them on the tex-fonts list a  
> while ago, and nobody considered them a problem. IMHO, they're  
> totally useless or even worse, but I received the same ol' answers:  
> can't change that, it's legacy etc. I think Mojca knows something  
>   
indeed, not even broken things are fixed; i wonner what those ol' users 
are doing with their patterns since i expect an update in patterns to 
have more consequences than a fix in fonts
> about this as well. So my suggestion would be: make ec a synonym for  
> lm-ec in texfont (but then, because of one or to glyphnames, lm- 
> ec.enc has to be in the mapfile as well).
>   
i see, interesting; before we do that, can you check if we can/need to 
do the same with texnansi, qx, etc ?

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] texfont: installed font only works with pdftex

2006-08-09 Thread Thomas A. Schmitz

On Aug 9, 2006, at 3:58 PM, Taco Hoekwater wrote:

>> I've experimented with afm2pl, and as I wrote in an earlier mail: the
>> beginning of EC.enc with its additional LIGKERN instructions confuses
>> it so it will not include default ligatures.
>
> As it turns out, this is the same for afm2tfm. And to make matters
> even more confusing, I had the following problem: At one point,
> I had copied EC.enc to the current directory and fixed it. However,
> it still didn't work, because:
>
>[EMAIL PROTECTED] new]$ ls *.enc
>EC.enc
>
>[EMAIL PROTECTED] new]$ kpsewhich --progname=dvips ec.enc
>/opt/tex/teTeX/texmf/fonts/enc/dvips/base/EC.enc
>
> because of a line in /opt/tex/teTeX/texmf/aliases :-/
>
>
>
> Either way, it seems that this LIGKERN interpretation that
> overrules the afm file is actually considered a feature. The
> sane way out seems to be to ship our own encoding files in
>
>fonts/enc/texfont
>
> or so.
>
> Taco

Yes, I have a dim recollection that afm2tfm has the same problem.  
Isn't lm-ec.enc the better choice anyway? Couldn't we make texfont  
default to lm-ec.enc when it is called with --en=EC?

And for the LIGKERN: yes, I asked about them on the tex-fonts list a  
while ago, and nobody considered them a problem. IMHO, they're  
totally useless or even worse, but I received the same ol' answers:  
can't change that, it's legacy etc. I think Mojca knows something  
about this as well. So my suggestion would be: make ec a synonym for  
lm-ec in texfont (but then, because of one or to glyphnames, lm- 
ec.enc has to be in the mapfile as well).

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


Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-09 Thread Hans Hagen
Taco Hoekwater wrote:
> because of a line in /opt/tex/teTeX/texmf/aliases :-/
>
>   
ah, the dreadful aliases file ... in tex live they're gone ; let's hope 
that this aliases fiel does not contain anything related to context tex 
files (patterns for instance)
>
> Either way, it seems that this LIGKERN interpretation that
> overrules the afm file is actually considered a feature. The
> sane way out seems to be to ship our own encoding files in
>
>fonts/enc/texfont
>
> or so.
>   
hm, we can let texfont search for a texfont-ec file first (the map file 
can still refer to the normal one i suppose)

(an alternative is to let texfont copy the ec.enc file to the local 
path, remove the messy lines, and remove that one afterwards)

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] texfont: installed font only works with pdftex

2006-08-09 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> On Aug 8, 2006, at 11:57 PM, Taco Hoekwater wrote:
> 
> 
>>>how does -afmpl perform? i always suspected afm2tfm not to take non
>>>existing ligs into account
>>
>>Just as bad (here, at least). I'll get back to you about this  
>>tomorrow,
>>it is too late for me to do serious work.
>>
> 
> 
> I've experimented with afm2pl, and as I wrote in an earlier mail: the  
> beginning of EC.enc with its additional LIGKERN instructions confuses  
> it so it will not include default ligatures. 

As it turns out, this is the same for afm2tfm. And to make matters
even more confusing, I had the following problem: At one point,
I had copied EC.enc to the current directory and fixed it. However,
it still didn't work, because:

   [EMAIL PROTECTED] new]$ ls *.enc
   EC.enc

   [EMAIL PROTECTED] new]$ kpsewhich --progname=dvips ec.enc
   /opt/tex/teTeX/texmf/fonts/enc/dvips/base/EC.enc

because of a line in /opt/tex/teTeX/texmf/aliases :-/



Either way, it seems that this LIGKERN interpretation that
overrules the afm file is actually considered a feature. The
sane way out seems to be to ship our own encoding files in

   fonts/enc/texfont

or so.

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


Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
\define\tildedomega{\hbox{$\tilde{\bfm \omega}$}} and use \tildedomega
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:

> Nikolai Weibull wrote:

> Now how do I get this package to the modules homepage?
>
> On modules.contextgarden.net,  there is a "log in" link in the
> upper right corner. Do that (use your wiki login), and you get a
> new set of links for updating your modules.

I don't have a login, that I know about, so I created a new one.  My
username is "now", so if you could give the user "now" ownership of
the BNF grammar module, that'd be great.

Thanks!

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


Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
ok, but then omega is not bold anymore...

Taco Hoekwater a écrit :

>  
>
>Adding this redefinition of \bfm helps
>
>   \def\bfm{\noexpand\boldfacemath} % \noexpand added
>
>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


Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN




Correction: the problem occurs only with align

Renaud AUBIN a écrit :

  
  
  Hi all,
  
Considering the following example, there is a problem with \bfm \omega
in the align environment... I observed the same problem with the matrix
environment... Any idea how to solve the problem ?
  
\starttext
\usetypescript[lucida] [texnansi]
\usetypescript[lucidabfm] [texnansi]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]
  
\startformula[lucida]
\tilde{\bfm \omega}
\stopformula
  
\startformula[lucida]
\startalign[n=2, align={right,left}]
\NC \tilde{\bfm \omega} \NC = a \NR
\stopalign
\stopformula
\stoptext
  
Renaud
  
  

___
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] modules

2006-08-09 Thread Taco Hoekwater


Nikolai Weibull wrote:
>>
>>No, you do have to do that yourself, it is not autogenerated.
>>(because that would not be very reliable)
> 
> OK, done.  Now how do I get this package to the modules homepage?

On modules.contextgarden.net,  there is a "log in" link in the
upper right corner. Do that (use your wiki login), and you get a
new set of links for updating your modules.

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


Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Taco Hoekwater


Renaud AUBIN wrote:
> Hi all,
> 
> Considering the following example, there is a problem with \bfm \omega 
> in the align environment... I observed the same problem with the matrix 
> environment... Any idea how to solve the problem ?

Adding this redefinition of \bfm helps

   \def\bfm{\noexpand\boldfacemath} % \noexpand added

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


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
>
>
> Nikolai Weibull wrote:
> >>Have a look at the lettrines module for an example that should
> >>be simple to apply to t-bnf.
> >
> >
> > Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
> > auto-generated, so I don't need to include that, right?
>
> No, you do have to do that yourself, it is not autogenerated.
> (because that would not be very reliable)

OK, done.  Now how do I get this package to the modules homepage?

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


[NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN




Hi all,

Considering the following example, there is a problem with \bfm \omega
in the align environment... I observed the same problem with the matrix
environment... Any idea how to solve the problem ?

\starttext
\usetypescript[lucida] [texnansi]
\usetypescript[lucidabfm] [texnansi]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]

\startformula[lucida]
\tilde{\bfm \omega}
\stopformula

\startformula[lucida]
\startalign[n=2, align={right,left}]
\NC \tilde{\bfm \omega} \NC = a \NR
\stopalign
\stopformula
\stoptext

Renaud



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


Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-09 Thread Taco Hoekwater
Hans Hagen wrote:
>> 
> 
> well, we can consider to let texfont use a ec-fixed encoding for
> afm2tfm and the regular ec encoding for the rest
> 
> --afmencoding=ec-fixed
> 
> or so

or fix afm2pl.

> 
> for a while afm2pl was the default, but then it suddenly defaulted to
> latex default (em) spacing which ruined a project here because that
> went unnoticed and resulted in incompatible output, so it made me
> more careful; i'm not sure to what extend afm2pl uses the same
> default for the fontdimen related things as afm2tfm

from the afm2pl documentation:

   -f font_dimensions

afm2tfm compatible settings would be something like

   -f 300,100,0,1000,

But as of 0.702

   -f afm2tfm is also accepted

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


Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-09 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Aug 8, 2006, at 11:57 PM, Taco Hoekwater wrote:
>
>   
>>> how does -afmpl perform? i always suspected afm2tfm not to take non
>>> existing ligs into account
>>>   
>> Just as bad (here, at least). I'll get back to you about this  
>> tomorrow,
>> it is too late for me to do serious work.
>>
>> 
>
> I've experimented with afm2pl, and as I wrote in an earlier mail: the  
> beginning of EC.enc with its additional LIGKERN instructions confuses  
>   
well, we can consider to let texfont use a ec-fixed encoding for afm2tfm 
and the regular ec encoding for the rest

--afmencoding=ec-fixed

or so

> it so it will not include default ligatures. If you delete this, it  
> will work. If you use lm-ec.enc (which has a number of mistakes fixed  
> anyway), it works. BUT afm2pl needs a file default.lig which is not  
> present in all TeX distributions. I asked Siep a couple of months  
> ago, and he replied there was a switch to ignore default.lig, but in  
>   
she
> that case, the default ligs would have to be supplied by texfont  
> itself (which should be doable). IMHO, texfont should switch to  
> afm2pl by default; it's much better at preserving kerning information  
> (Adam, any thoughts on this?), and it makes virtual fonts  
> unnecessary. I now use it regularly for all my font needs and am very  
> satisfied with it.
>   
for a while afm2pl was the default, but then it suddenly defaulted to latex 
default (em) spacing which ruined a project here because that went unnoticed 
and resulted in incompatible output, so it made me more careful; i'm not sure 
to what extend afm2pl uses the same default for the fontdimen related things as 
afm2tfm 

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] modules

2006-08-09 Thread Taco Hoekwater


Nikolai Weibull wrote:
>>Have a look at the lettrines module for an example that should
>>be simple to apply to t-bnf.
> 
> 
> Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
> auto-generated, so I don't need to include that, right?

No, you do have to do that yourself, it is not autogenerated.
(because that would not be very reliable)

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


Re: [NTG-context] modules

2006-08-09 Thread Hans Hagen
Nikolai Weibull wrote:
> On 8/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
>   
>> Nikolai Weibull wrote:
>> 
>>> On 4/4/06, Hans Hagen <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>   
 In order to be able to generate new zips i'd like the modules in the
 wiki to be tds compliant as soon as possible.
 
>>> I"ve kept this mail starred since I first saw it and haven't put any
>>> thought into what you're actually asking about here.  Now, however,
>>> I'd really like to know what /TDS compliant/ means and if there's
>>> something I should do with my BNF model to make it so.
>>>   
>> Have a look at the lettrines module for an example that should
>> be simple to apply to t-bnf.
>> 
>
> Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
> auto-generated, so I don't need to include that, right?
>   
once you have a valid tpm file describing the package, you can use 

textools --tpmmake

to update such a file and create a zip 

saves time 

-
  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] Column problem

2006-08-09 Thread Hans van der Meer

On Aug 9, 2006, at 1:11, David Arnold wrote:

> Hans et al,
>
> In making the final pass at our book, I have a problem with the
> \column command.
>
> In trying to start a new column to avoid a widow, I put a \column
> command at the end of the first of two columns on a page. The result
> is I get a start of a new column, but it is on a new page.
>
> Thus, page 1 has 1 column, the second column is blank, and the rest
> continues on page 2 in two column format!
>
> Help!

When I had a column problem Taco Hoekwater pointed out  
\startsimplecolumns for me (it is in page-mul.tex) and that helped.  
Maybe you could give it a try...
>
Hans van der Meer



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


Re: [NTG-context] modules

2006-08-09 Thread Nikolai Weibull
On 8/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> Nikolai Weibull wrote:
> > On 4/4/06, Hans Hagen <[EMAIL PROTECTED]> wrote:
> >
> >
> >>In order to be able to generate new zips i'd like the modules in the
> >>wiki to be tds compliant as soon as possible.
> >
> > I"ve kept this mail starred since I first saw it and haven't put any
> > thought into what you're actually asking about here.  Now, however,
> > I'd really like to know what /TDS compliant/ means and if there's
> > something I should do with my BNF model to make it so.
>
> Have a look at the lettrines module for an example that should
> be simple to apply to t-bnf.

Thanks (and thanks Sanjoy).  I suppose the PDF documentation is
auto-generated, so I don't need to include that, right?

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


Re: [NTG-context] columns -> columnsets introduces problems

2006-08-09 Thread Taco Hoekwater


David Arnold wrote:
> \Tindex #1->\index
> {#1}#1
> ...
> l.104 \setnumber
>  [page]{\pagenumberExercisesOneTwo}
> 
> If I go into the offending file and comment out the line:

The problem appears related to the index (\Tindex), not the
\setnumber command, so you may have been looking at the wrong
spot.

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


Re: [NTG-context] Footnote not marked in narrative

2006-08-09 Thread Taco Hoekwater
David Arnold wrote:
> All,
> 
> How can I have a footnote that is not marked in the narrative?

Use \footnotetext

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


Re: [NTG-context] modules

2006-08-09 Thread Taco Hoekwater
Nikolai Weibull wrote:
> On 4/4/06, Hans Hagen <[EMAIL PROTECTED]> wrote:
> 
> 
>>In order to be able to generate new zips i'd like the modules in the
>>wiki to be tds compliant as soon as possible.
>  
> I"ve kept this mail starred since I first saw it and haven't put any
> thought into what you're actually asking about here.  Now, however,
> I'd really like to know what /TDS compliant/ means and if there's
> something I should do with my BNF model to make it so.

Have a look at the lettrines module for an example that should
be simple to apply to t-bnf.

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


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
> Hi there,
> 
> I have just installed the latest version of m-bib. Where I had before a 
> citation "alpher and bethe" with \cite[author] for a bib-item with two 
> authors I get only the first now. What has to be changed in order to get 
> two authors in the text while for more than two there will be "alpher et 
> al."?

You have to update your base context distribution as well.

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