Re: [NTG-context] making multiple choice questions exams

2006-06-01 Thread Hans Hagen
Aditya Mahajan wrote:
 This is interesting. I have a couple of questions.

 On Sun, 28 May 2006, Hans Hagen wrote:

   
 This should get you started ... please wikify this:

 \setupitemgroup[itemize][1][a,random,packed]

 \startsetups examn:make
 [snipped]
 \stopsetups

 \startsetups examn:ok
\doifmode {answers} {
\inleft{\symbol[star]}
}
\ignorespaces
 \stopsetups
 

 For some reason, ignorespaces is ignored. The output is shifted left 
 by one space. Is this because of some grouping issue.

   
 \starttext

 \startbuffer[examn]

 \startitemize
 \startitem first  \stopitem
 \startitem \setups[examn:ok] second \stopitem
 \startitem third  \stopitem
 \startitem fourth \stopitem
 \stopitemize
 [snipped]
 \stopbuffer
 


 Any particular reason for using \startitem ... \stopitem instead of 
 \item? I could not notice any difference between the two. Is it just a 
 matter of taste?

   
well, you don't have the 'random' option in your version; we need the 
start/stop then because we need to collect the items first 

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

2006-06-01 Thread Thomas A. Schmitz

On Jun 1, 2006, at 5:52 AM, Jean Magnan de Bornier wrote:

 Hmm, no: gentoo is distro where every package is optimally  
 *compiled* by
 your machine, and tetex version right now is  3.0_p1-r3

 cheers
 -- 
 Jean

That's not quite right: if you run the stable gentoo branch, you get  
version 2.0.2-r8. The version you mention is in unstable. I have  
played with several linux distros and think that the tetex setup for  
gentoo is unnecessarily complicated. But it's good to see that gentoo  
is now including an experimental texlive package: http:// 
packages.gentoo.org/search/?sstring=texlive Given the demise of  
tetex, this may be an important step.

Best

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


Re: [NTG-context] Font problems (Palatino)

2006-06-01 Thread Hans Hagen
Johan Blixt-Dackhammar wrote:
 Trying that rendered the same result, but thanks anyway...

 On 6/1/06, Otared Kavian [EMAIL PROTECTED] wrote:
   
 On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote:

 
 When trying to typeset for example a document using the mag-01 module
 I get an error that from what I understand is font related. I'm using
 MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get
 the error and how can the problem be resolved?

 ERROR MESSAGE##
   
 Hi Johan,

 I think you need something like this:

 \enableregime[utf]
 \loadmapfile[context-base]
 \usetypescript[palatino][ec]
 \setupbodyfont[palatino,12pt]

 \starttext

 Here we are using the font  \fontname\font.

 These are some diacritics: �, �, �, �, �.

 And these are some ligatures: affliction, affine, first.\par
 Can you see correctly \type{affliction, affine, first}?
 $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx,
 \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$
 \input knuth.tex

 \stoptext

 I experienced several problems like the ones you mention, but the
 above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed
 with Gerben Wierda's i-installer).
 
normally things should work ok when one generates the metrics with texfont (or 
installs the font metrtics zip); problems can be anything, from a missing tfm, 
to a missing (or differently named type1) or a messed up map file, or an old 
pdftex ...  

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

2006-06-01 Thread Jean Magnan de Bornier
Le 01 juin à 09:56:46 Thomas A. Schmitz [EMAIL PROTECTED] 
écrit notamment:

| On Jun 1, 2006, at 5:52 AM, Jean Magnan de Bornier wrote:

|  Hmm, no: gentoo is distro where every package is optimally  
|  *compiled* by
|  your machine, and tetex version right now is  3.0_p1-r3
| 
|  cheers
|  -- 
|  Jean

| That's not quite right: if you run the stable gentoo branch, you get  
| version 2.0.2-r8. The version you mention is in unstable. 

Yes, you're right; however in gentoo you don't really run a branch, you
manage versions on a package basis rather than a system-wide basis. 

| I have played with several linux distros and think that the tetex setup
| for gentoo is unnecessarily complicated. But it's good to see that
| gentoo is now including an experimental texlive package: http://
| packages.gentoo.org/search/?sstring=texlive Given the demise of tetex,
| this may be an important step.

Yes, there has been an interesting piece of information on this point:

http://article.gmane.org/gmane.linux.gentoo.devel/38615

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


Re: [NTG-context] Fonts problem

2006-06-01 Thread Thomas A. Schmitz

On Jun 1, 2006, at 11:15 AM, Jean Magnan de Bornier wrote:

 Yes, there has been an interesting piece of information on this point:

 http://article.gmane.org/gmane.linux.gentoo.devel/38615


Thanks, that was a very interesting read! Personally, if it weren't  
for the really bad tex installation, I would favor gentoo over most  
other linux distros I have tried (the new SUSE 10.1 is a disaster,  
IMHO), so this sounds really exciting. I sure hope they'll figure out  
a way to compile binaries for ppc, which is not one of the default  
architectures for TeXLive.

Best

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


Re: [NTG-context] RLXTOOLS ?

2006-06-01 Thread Michal Kvasnicka
Many thanks to you both---I will experiment with both solutions. I would 
prefer the RLXTools (being standard in the ConTeXt) but I still can't 
imagine how should I make the figure name/conversion dependent on the 
size specified in the TeX file (different sizes for different figures). 
However, I'll experiment.

Many thanks once more.
M.K.

in the default rlxtools.rlx file you will find

rl:manipulator name='lowres' suffix='pdf'
rl:oldrl:value name='path'//rl:value name='file'//rl:old
rl:newrl:value name='path'//rl:value 
name='prefix'/rl:value name='file'//rl:new
rl:step
texmfstart pstopdf --convert --method=4
--inputpath=rl:value name='path'/
--outputpath=rl:value name='path'//rl:value name='prefix'/
rl:value name='file'/
/rl:step
/rl:manipulator

so, what you can do is define something  lowres-x and lowres-y and set 
the conversion to one of those those depending on the width

tricky but kind of okay is

\definemeasure[whatever][\makeupwidth]

... 
width=\measure{whatever},conversion=lowres-\ifdim\measure{whatever}\makeupwidth
 
x\else y\fi,...

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

2006-06-01 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Jun 1, 2006, at 11:15 AM, Jean Magnan de Bornier wrote:

   
 Yes, there has been an interesting piece of information on this point:

 http://article.gmane.org/gmane.linux.gentoo.devel/38615

 

 Thanks, that was a very interesting read! Personally, if it weren't  
 for the really bad tex installation, I would favor gentoo over most  
 other linux distros I have tried (the new SUSE 10.1 is a disaster,  
   
hm, i could install 10.1 ok here (but i never take tex's from linux 
distributions; one can always download tex live, so i actually wonder 
why there are derived tex distributions in linxu anyway)

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

2006-06-01 Thread Jean Magnan de Bornier
Le 01 juin à 13:44:33 Hans Hagen [EMAIL PROTECTED] écrit notamment:


[...]



 http://article.gmane.org/gmane.linux.gentoo.devel/38615

 

 Thanks, that was a very interesting read! Personally, if it weren't  
 for the really bad tex installation, I would favor gentoo over most  
 other linux distros I have tried (the new SUSE 10.1 is a disaster,  
   
 hm, i could install 10.1 ok here (but i never take tex's from linux 
 distributions; one can always download tex live, so i actually wonder 
 why there are derived tex distributions in linxu anyway)

Does this mean you would recommend TeXLive as a basis for ConTeXt (and if
so, how)?
 
-- 
jean
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fonts problem

2006-06-01 Thread Hans Hagen
Jean Magnan de Bornier wrote:
 Le 01 juin � 13:44:33 Hans Hagen [EMAIL PROTECTED] �crit notamment:


 [...]


   
 http://article.gmane.org/gmane.linux.gentoo.devel/38615

 
 
 Thanks, that was a very interesting read! Personally, if it weren't  
 for the really bad tex installation, I would favor gentoo over most  
 other linux distros I have tried (the new SUSE 10.1 is a disaster,  
   
   
 hm, i could install 10.1 ok here (but i never take tex's from linux 
 distributions; one can always download tex live, so i actually wonder 
 why there are derived tex distributions in linxu anyway)
 

 Does this mean you would recommend TeXLive as a basis for ConTeXt (and if
 so, how)?
  
   
well, on linux, more as a replacement for tetex since it has most of 
tetex, is maintained, is supposed to be cross platform etc

and one can always unzip the latest context zip in the local tree

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] Font size in FLOWchart module.

2006-06-01 Thread John R. Culleton
On Monday 08 August 2005 07:59, Hans Hagen wrote:
 Vit Zyka wrote:
  John R. Culleton wrote:
  I am using the flowchart module to create various goodies. What
  I don't know how to do is regulate the size of the font for the
  text that goes inside the little boxes. Any suggestions?
 
  I do not known any other way but put the size/style together with text:
 
  \startFLOWcell
\name{Obs}
\location{1,1}
\shape{action}
\text{{\switchtobodyfont[16pt]\bf Text in cell}}
  \stopFLOWcell
 
  If you want to be consistent over several cells, define a macro.
  vit

 in m-chart you will find:

 \setupFLOWcharts
   [\c!option=,
\c!bodyfont=,
\c!dot=,  % private option
\c!width=12\bodyfontsize,
\c!height=7\bodyfontsize,
\c!maxwidth=,
\c!maxheight=,
\c!offset=\v!standard, % == auto offset
\c!dx=2\bodyfontsize,
\c!dy=2\bodyfontsize,
\c!nx=0, % 1,
\c!ny=0, % 1,
\c!x=1,
\c!y=1,
\c!autofocus=,
\c!focus=,
\c!background=,  % \v!color,
\c!backgroundcolor=\s!white,
\c!rulethickness=\linewidth,
\c!frame=\v!off,
\c!framecolor=]

 \setupFLOWlines
   [\c!corner=\v!round,
\c!arrow=\v!yes,
\c!dash=\v!no,
\c!radius=.375\bodyfontsize,  % 2.5\c!rulethickness
\c!color=FLOWlinecolor,
\c!rulethickness=.15\bodyfontsize,  % 2pt,
\c!offset=\v!none]

 \setupFLOWshapes
   [\c!default=action,
\c!framecolor=FLOWframecolor,
\c!background=\v!color,
\c!backgroundcolor=FLOWbackgroundcolor,
\c!backgroundscreen=\@@rsscreen,
\c!rulethickness=.15\bodyfontsize,  % 2pt,
\c!offset=.5\bodyfontsize]

 \setupFLOWfocus
   [\c!framecolor=FLOWfocuscolor,
\c!background=\@@FLOSbackground,
\c!backgroundcolor=\@@FLOSbackgroundcolor,
\c!backgroundscreen=\@@FLOSbackgroundscreen,
\c!rulethickness=\@@FLOSrulethickness,
\c!offset=\@@FLOSoffset]

 \definecolor [FLOWfocuscolor]  [s=.2]
 \definecolor [FLOWlinecolor]   [s=.5]
 \definecolor [FLOWframecolor]  [s=.7]
 \definecolor [FLOWbackgroundcolor] [s=.9]

 so guess ... what variable can be used to set the bodyfont

 Hans

Revisiting this question after an absence I tried redefining
various values from the above list within \setupFLOWcharts. None
worked.  No doubt there is a magic combination I missed. But more
than one user has been perplexed by this. 

You know I never did figure out the answer to this one. And
factors such as \tfd were still too small. So I used the 
TeX primitive: 
\font\cx=bchr8r at 10pt
 external to any other macro
and for each text string in the chart definition
I used the \cx prefix. This was simple,
controllable, and did not interact with anything else. And the
font came out at the expected size. 

A better (more Contextish) solution is still requested. 


-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


[NTG-context] Want to turn off hyphenation in main text but on in footnotes

2006-06-01 Thread [EMAIL PROTECTED]
Hello All,
Is there a way to turn off hyphenation for the main body of my text, but enable it for the footnotes?
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


Re: [NTG-context] Want to turn off hyphenation in main text but on in footnotes

2006-06-01 Thread Hans Hagen
[EMAIL PROTECTED] wrote:

 Hello All,

 Is there a way to turn off hyphenation for the main body of my text, 
 but enable it for the footnotes?

\starttext

\setupnote[footnote][align={normal,hyphenated}]

\setupalign[hyphenated] \input tufte \footnote{\input tufte \relax} \par

\setupalign[nothyphenated,stretch,tolerant] \input tufte 
\footnote{\input tufte \relax} \par

\stoptext

please, wikify this,

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

2006-06-01 Thread Ralf Schmitt
Hi,

is there a way to specify additional characters (e.g. ) to be used for 
hyphenation of urls using \hyphenatedurl{...}?

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


Re: [NTG-context] making multiple choice questions exams

2006-06-01 Thread Aditya Mahajan
On Thu, 1 Jun 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 This is interesting. I have a couple of questions.

 On Sun, 28 May 2006, Hans Hagen wrote:


 This should get you started ... please wikify this:

 \setupitemgroup[itemize][1][a,random,packed]

 \startsetups examn:make
 [snipped]
 \stopsetups

 \startsetups examn:ok
\doifmode {answers} {
\inleft{\symbol[star]}
}
\ignorespaces
 \stopsetups


 For some reason, ignorespaces is ignored. The output is shifted left
 by one space. Is this because of some grouping issue.


 \starttext

 \startbuffer[examn]

 \startitemize
 \startitem first  \stopitem
 \startitem \setups[examn:ok] second \stopitem
 \startitem third  \stopitem
 \startitem fourth \stopitem
 \stopitemize
 [snipped]
 \stopbuffer



 Any particular reason for using \startitem ... \stopitem instead of
 \item? I could not notice any difference between the two. Is it just a
 matter of taste?


 well, you don't have the 'random' option in your version; we need 
 the start/stop then because we need to collect the items first

Oops, was testing with the wrong setup. Thanks for the explaination.

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


Re: [NTG-context] Font size in FLOWchart module.

2006-06-01 Thread Vit Zyka
John R. Culleton wrote:
 On Monday 08 August 2005 07:59, Hans Hagen wrote:
 Vit Zyka wrote:
 John R. Culleton wrote:
 I am using the flowchart module to create various goodies. What
 I don't know how to do is regulate the size of the font for the
 text that goes inside the little boxes. Any suggestions?
 I do not known any other way but put the size/style together with text:

 \startFLOWcell
   \name{Obs}
   \location{1,1}
   \shape{action}
   \text{{\switchtobodyfont[16pt]\bf Text in cell}}
 \stopFLOWcell

 If you want to be consistent over several cells, define a macro.
 vit
 in m-chart you will find:

 \setupFLOWcharts
   [\c!option=,
\c!bodyfont=,
\c!dot=,  % private option
\c!width=12\bodyfontsize,
\c!height=7\bodyfontsize,
\c!maxwidth=,
\c!maxheight=,
\c!offset=\v!standard, % == auto offset
\c!dx=2\bodyfontsize,
\c!dy=2\bodyfontsize,
\c!nx=0, % 1,
\c!ny=0, % 1,
\c!x=1,
\c!y=1,
\c!autofocus=,
\c!focus=,
\c!background=,  % \v!color,
\c!backgroundcolor=\s!white,
\c!rulethickness=\linewidth,
\c!frame=\v!off,
\c!framecolor=]

 \setupFLOWlines
   [\c!corner=\v!round,
\c!arrow=\v!yes,
\c!dash=\v!no,
\c!radius=.375\bodyfontsize,  % 2.5\c!rulethickness
\c!color=FLOWlinecolor,
\c!rulethickness=.15\bodyfontsize,  % 2pt,
\c!offset=\v!none]

 \setupFLOWshapes
   [\c!default=action,
\c!framecolor=FLOWframecolor,
\c!background=\v!color,
\c!backgroundcolor=FLOWbackgroundcolor,
\c!backgroundscreen=\@@rsscreen,
\c!rulethickness=.15\bodyfontsize,  % 2pt,
\c!offset=.5\bodyfontsize]

 \setupFLOWfocus
   [\c!framecolor=FLOWfocuscolor,
\c!background=\@@FLOSbackground,
\c!backgroundcolor=\@@FLOSbackgroundcolor,
\c!backgroundscreen=\@@FLOSbackgroundscreen,
\c!rulethickness=\@@FLOSrulethickness,
\c!offset=\@@FLOSoffset]

 \definecolor [FLOWfocuscolor]  [s=.2]
 \definecolor [FLOWlinecolor]   [s=.5]
 \definecolor [FLOWframecolor]  [s=.7]
 \definecolor [FLOWbackgroundcolor] [s=.9]

 so guess ... what variable can be used to set the bodyfont

 Hans
 
 Revisiting this question after an absence I tried redefining
 various values from the above list within \setupFLOWcharts. None
 worked.  No doubt there is a magic combination I missed. But more
 than one user has been perplexed by this. 
 
 You know I never did figure out the answer to this one. And
 factors such as \tfd were still too small. So I used the 

John, I guess you have

   maxwidth=\textwidth

and your natural chart is wider then \textwidth, is't it?
What happens if you put away maxwidth?

Vit

 TeX primitive: 
 \font\cx=bchr8r at 10pt
  external to any other macro
 and for each text string in the chart definition
 I used the \cx prefix. This was simple,
 controllable, and did not interact with anything else. And the
 font came out at the expected size. 
 
 A better (more Contextish) solution is still requested. 

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


[NTG-context] Fwd: Math 120 textbook for Fall 2006

2006-06-01 Thread David Arnold
All,I just received this from our disabled students' center. What is needed is a simple way to convert a Context document into a format that can be "read" by these MathML players.Are we anywhere close to such a conversion?Begin forwarded message:From: "Love, Ken" [EMAIL PROTECTED]Date: June 1, 2006 10:14:37 AM PDTTo: "Arnold, David" [EMAIL PROTECTED]Subject: Math 120 textbook for Fall 2006 Hi Dave:A student with a reading disability has requested an alternate version of the Math 120 textbook for Fall 2006. Jean Lawry told me that the Math faculty is creating the book, to give to students on a CD. I think that is just great! My task is to put that into a format that the student can listen to. Assuming that your CD doesn’t have all the info in audio files, one strategy is that I can scan the print version (Jean said there will be one), and extract the text. The problem—as with all Math books to this point—is that the scanning software doesn’t do math. Tracey ordered the site license for MathType, so I could re-create the math line by line. Much easier for me would be if the equations are already in a format that can be converted to be read by MathPlayer, such as MathML. One option is a flavor of .tex that Scientific Notebook can handle, that can be exported as .XHTML. Please give me a heads-up on how you’re making the book, so I can plan ahead. Thanks,Ken LoveHigh Tech CenterX4557 ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] format generation -- again!

2006-06-01 Thread Alan Bowen

Using the latest version of Gerben’s i-Installer (expert mode), I  
completely erased teTeX,
re-installed the 2005 x86pc version, and then re-installed the latest  
ConTeXt.

cd /usr/local/teTeX/share/texmf.local/web2c/
grep agr cont-en.log

produces
encoding: coding agr is loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)
language: patterns for agr not loaded
language: patterns for agr not loaded
and no more, which means that the ancient Greek hyphenation patterns
are not available, though they presumably should be since the files  
lang-agr.hyp and
lang-agr.pat are in the right place,
/usr/local/teTeX/share/texmf.local/tex/context/patterns/.

When I try to regenerate the formats using

sudo ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
texmfstart.rb texexec --make --all

I get the error message

language: patterns agr for agr loaded (n=24,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
! Nonletter.
\rawcharacter ...r\or   \or
\or
 \or
\or \or
   \or \or \or \or  
\or \...
l.37 α2Ϊ
   1
?

So no Greek hyphenation. I am baffled. And Thomas cannot reproduce  
the problem at his end.
So, if anyone has any suggestions they will be gratefully received.

By the way, if it is at all relevant, I am running Mac OS X 10.4.6 on  
a Power Mac G4 450 MHz.

Alan




On May 31, 2006, at 10:25 AM, Thomas A. Schmitz wrote:

 Alan,

 I really have no idea what's wrong there, but it must be a
 misconfiguration on your system. I just double-checked: wiped the  
 entire
 TeX installation on my laptop. Reinstalled with Gerben's installer,
 expert mode, texlive 2005. Everything fine. Run Gerben's Context
 updater. I get version 2006-05-28, greek hyphenation is included.  
 To be
 sure, I run texmfstart texexec --make --all afterwards, again, formats
 are generated without any problem. That's all I can say: it's not a
 ConTeXt problem and not a problem with Gerben's distribution; for the
 rest, I really can't be of any help because I can't reproduce the
 problem. My only guess would be: see if there's a directory web2c in
 your ~/Library/texmf and if there is, try moving it out of the way,  
 but
 this is just a far shot.

 Good luck

 Thomas


 On Wed, 2006-05-31 at 06:46 -0400, Alan Bowen wrote:
 It’s the file I was compiling in making the log from which the
 excerpt came.

 Alan
 On May 30, 2006, at 5:02 PM, Thomas A. Schmitz wrote:

 On Tue, 2006-05-30 at 16:45 -0400, Alan Bowen wrote:
 **cont-en 2005-12-03_Lautner.tex
 (./2005-12-03_Lautner.tex

 What is this Lautner.tex thing?

 T.




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


Re: [NTG-context] format generation -- again!

2006-06-01 Thread Hans Hagen
Alan Bowen wrote:
 Using the latest version of Gerben’s i-Installer (expert mode), I  
 completely erased teTeX,
 re-installed the 2005 x86pc version, and then re-installed the latest  
 ConTeXt.

 cd /usr/local/teTeX/share/texmf.local/web2c/
 grep agr cont-en.log

 produces
   encoding: coding agr is loaded
   (/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)
   language: patterns for agr not loaded
   language: patterns for agr not loaded
 and no more, which means that the ancient Greek hyphenation patterns
 are not available, though they presumably should be since the files  
 lang-agr.hyp and
 lang-agr.pat are in the right place,
 /usr/local/teTeX/share/texmf.local/tex/context/patterns/.

 When I try to regenerate the formats using

 sudo ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
 texmfstart.rb texexec --make --all

 I get the error message

 language: patterns agr for agr loaded (n=24,e=agr,m=agr)
 (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
 ! Nonletter.
 \rawcharacter ...r\or   \or
 \or
  \or
 \or \or
\or \or \or \or  
 \or \...
 l.37 α2Ϊ
1
 ?

 So no Greek hyphenation. I am baffled. And Thomas cannot reproduce  
 the problem at his end.
 So, if anyone has any suggestions they will be gratefully received.

 By the way, if it is at all relevant, I am running Mac OS X 10.4.6 on  
 a Power Mac G4 450 MHz.

 Alan




 On May 31, 2006, at 10:25 AM, Thomas A. Schmitz wrote:

   
 Alan,

 I really have no idea what's wrong there, but it must be a
 misconfiguration on your system. I just double-checked: wiped the  
 entire
 TeX installation on my laptop. Reinstalled with Gerben's installer,
 expert mode, texlive 2005. Everything fine. Run Gerben's Context
 updater. I get version 2006-05-28, greek hyphenation is included.  
 To be
 sure, I run texmfstart texexec --make --all afterwards, again, formats
 are generated without any problem. That's all I can say: it's not a
 ConTeXt problem and not a problem with Gerben's distribution; for the
 rest, I really can't be of any help because I can't reproduce the
 problem. My only guess would be: see if there's a directory web2c in
 your ~/Library/texmf and if there is, try moving it out of the way,  
 but
 this is just a far shot.

 Good luck

 Thomas


 On Wed, 2006-05-31 at 06:46 -0400, Alan Bowen wrote:
 
 It’s the file I was compiling in making the log from which the
 excerpt came.

 Alan
 On May 30, 2006, at 5:02 PM, Thomas A. Schmitz wrote:

   
 On Tue, 2006-05-30 at 16:45 -0400, Alan Bowen wrote:
 
 **cont-en 2005-12-03_Lautner.tex
 (./2005-12-03_Lautner.tex
   
 What is this Lautner.tex thing?

 T.

 
it looks like tetex does not use the -8bit switch (to pdfetex) or loads the 
natural tcx file; (you may try texexec --make instead) 

[patterns are now in utf-8 so this is why it show up now, but in fact your 
installation has never been 8 bit clean upto now] 

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

2006-06-01 Thread gnwiii
On 6/1/06, Hans Hagen [EMAIL PROTECTED] wrote:
 Thomas A. Schmitz wrote:

  Thanks, that was a very interesting read! Personally, if it weren't
  for the really bad tex installation, I would favor gentoo over most
  other linux distros I have tried (the new SUSE 10.1 is a disaster,
 
 hm, i could install 10.1 ok here (but i never take tex's from linux
 distributions; one can always download tex live, so i actually wonder
 why there are derived tex distributions in linxu anyway)

Many packages need TeX for their documentation.  For that you want a
compact, stable, very robust TeX package with support for many
languages.  Red Hat uses teTeX (with
Japanese support, e.g., ptex added).   Distros will want all the
libraries dynamically linked to save space and so that security
updates to thinks like libpng and libtiff don't require new TeX
binaries.  Distros will want to use the Type1 fonts from the system
for space and because they have added glyphs for more languages.

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] format generation -- again!

2006-06-01 Thread Alan Bowen

On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote:

 Alan Bowen wrote:
 Using the latest version of Gerben’s i-Installer (expert mode), I
 completely erased teTeX,
 re-installed the 2005 x86pc version, and then re-installed the latest
 ConTeXt.

 cd /usr/local/teTeX/share/texmf.local/web2c/
 grep agr cont-en.log

 produces
  encoding: coding agr is loaded
  (/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)
  language: patterns for agr not loaded
  language: patterns for agr not loaded
 and no more, which means that the ancient Greek hyphenation patterns
 are not available, though they presumably should be since the files
 lang-agr.hyp and
 lang-agr.pat are in the right place,
 /usr/local/teTeX/share/texmf.local/tex/context/patterns/.

 When I try to regenerate the formats using

 sudo ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
 texmfstart.rb texexec --make --all

 I get the error message

 language: patterns agr for agr loaded (n=24,e=agr,m=agr)
 (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
 ! Nonletter.
 \rawcharacter ...r\or   \or
 \or
  \or
 \or \or
\or \or \or \or
 \or \...
 l.37 α2Ϊ
1
 ?

 So no Greek hyphenation. I am baffled. And Thomas cannot reproduce
 the problem at his end.
 So, if anyone has any suggestions they will be gratefully received.

 By the way, if it is at all relevant, I am running Mac OS X 10.4.6 on
 a Power Mac G4 450 MHz.

 Alan

 it looks like tetex does not use the -8bit switch (to pdfetex) or  
 loads the natural tcx file; (you may try texexec --make instead)

 [patterns are now in utf-8 so this is why it show up now, but in  
 fact your installation has never been 8 bit clean upto now]

 Hans

Thanks, Hans. I tried
texexec --make --all
but the regeneration fails as before, with the lines
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
! Nonletter.
\rawcharacter ...r\or   \or
\or
\or
\or \or
  \or \or \or \or  
\or \...
l.37 α2Ϊ
  1
?

Does the MacTeX distribution have the same problem?

Alan

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


Re: [NTG-context] Fonts problem

2006-06-01 Thread Thomas A. Schmitz

On Jun 1, 2006, at 3:16 PM, [EMAIL PROTECTED] wrote:

 On 6/1/06, Hans Hagen [EMAIL PROTECTED] wrote:
 Thomas A. Schmitz wrote:

 Thanks, that was a very interesting read! Personally, if it weren't
 for the really bad tex installation, I would favor gentoo over most
 other linux distros I have tried (the new SUSE 10.1 is a disaster,

 hm, i could install 10.1 ok here (but i never take tex's from linux
 distributions; one can always download tex live, so i actually wonder
 why there are derived tex distributions in linxu anyway)

Well, just to clarify my somewhat sweeping remark: the troubles I had  
with TeX on SUSE 10.1 were relatively trivial (there was this old  
cont-usr.tex  that prevented format generation), and in many  
respects, I like it quite a lot. It's just that for a long time,  
every single beta had difficulties with online updates and online  
installation sources, and this has not been solved for the final  
release, it has even become somewhat worse. There's quite a lot of  
whining on the mailing lists and in the forums, and even some of the  
developers call this is an intermediate release, which, I guess, is  
marketing speech for banana ware...

Good night!

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


Re: [NTG-context] format generation -- again!

2006-06-01 Thread Hans Hagen
Alan Bowen wrote:
 On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote:

   
 Alan Bowen wrote:
 
 Using the latest version of Gerben’s i-Installer (expert mode), I
 completely erased teTeX,
 re-installed the 2005 x86pc version, and then re-installed the latest
 ConTeXt.

 cd /usr/local/teTeX/share/texmf.local/web2c/
 grep agr cont-en.log

 produces
 encoding: coding agr is loaded
 (/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)
 language: patterns for agr not loaded
 language: patterns for agr not loaded
 and no more, which means that the ancient Greek hyphenation patterns
 are not available, though they presumably should be since the files
 lang-agr.hyp and
 lang-agr.pat are in the right place,
 /usr/local/teTeX/share/texmf.local/tex/context/patterns/.

 When I try to regenerate the formats using

 sudo ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
 texmfstart.rb texexec --make --all

 I get the error message

 language: patterns agr for agr loaded (n=24,e=agr,m=agr)
 (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
 ! Nonletter.
 \rawcharacter ...r\or   \or
 \or
  \or
 \or \or
\or \or \or \or
 \or \...
 l.37 α2Ϊ
1
 ?

 So no Greek hyphenation. I am baffled. And Thomas cannot reproduce
 the problem at his end.
 So, if anyone has any suggestions they will be gratefully received.

 By the way, if it is at all relevant, I am running Mac OS X 10.4.6 on
 a Power Mac G4 450 MHz.

 Alan

   
 it looks like tetex does not use the -8bit switch (to pdfetex) or  
 loads the natural tcx file; (you may try texexec --make instead)

 [patterns are now in utf-8 so this is why it show up now, but in  
 fact your installation has never been 8 bit clean upto now]

 Hans
 

 Thanks, Hans. I tried
   texexec --make --all
 but the regeneration fails as before, with the lines
   (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
   ! Nonletter.
   \rawcharacter ...r\or   \or
   \or
   \or
   \or \or
 \or \or \or \or  
 \or \...
   l.37 α2Ϊ
 1
   ?

 Does the MacTeX distribution have the same problem?
   
is there a natural.tcx file on your system? and is loading it reported?

in the worst case you can say:

ctxtools --pat

and move the generated pattern files to tex/context/patterns

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] Font size in FLOWchart module.

2006-06-01 Thread John R. Culleton
On Thursday 01 June 2006 13:45, Vit Zyka wrote:
 John R. Culleton wrote:
  On Monday 08 August 2005 07:59, Hans Hagen wrote:
  Vit Zyka wrote:
  John R. Culleton wrote:
  I am using the flowchart module to create various goodies. What
  I don't know how to do is regulate the size of the font for the
  text that goes inside the little boxes. Any suggestions?
 
  I do not known any other way but put the size/style together with text:
 
  \startFLOWcell
\name{Obs}
\location{1,1}
\shape{action}
\text{{\switchtobodyfont[16pt]\bf Text in cell}}
  \stopFLOWcell
 
  If you want to be consistent over several cells, define a macro.
  vit
 
  in m-chart you will find:
 
  \setupFLOWcharts
[\c!option=,
 \c!bodyfont=,
 \c!dot=,  % private option
 \c!width=12\bodyfontsize,
 \c!height=7\bodyfontsize,
 \c!maxwidth=,
 \c!maxheight=,
 \c!offset=\v!standard, % == auto offset
 \c!dx=2\bodyfontsize,
 \c!dy=2\bodyfontsize,
 \c!nx=0, % 1,
 \c!ny=0, % 1,
 \c!x=1,
 \c!y=1,
 \c!autofocus=,
 \c!focus=,
 \c!background=,  % \v!color,
 \c!backgroundcolor=\s!white,
 \c!rulethickness=\linewidth,
 \c!frame=\v!off,
 \c!framecolor=]
 
  \setupFLOWlines
[\c!corner=\v!round,
 \c!arrow=\v!yes,
 \c!dash=\v!no,
 \c!radius=.375\bodyfontsize,  % 2.5\c!rulethickness
 \c!color=FLOWlinecolor,
 \c!rulethickness=.15\bodyfontsize,  % 2pt,
 \c!offset=\v!none]
 
  \setupFLOWshapes
[\c!default=action,
 \c!framecolor=FLOWframecolor,
 \c!background=\v!color,
 \c!backgroundcolor=FLOWbackgroundcolor,
 \c!backgroundscreen=\@@rsscreen,
 \c!rulethickness=.15\bodyfontsize,  % 2pt,
 \c!offset=.5\bodyfontsize]
 
  \setupFLOWfocus
[\c!framecolor=FLOWfocuscolor,
 \c!background=\@@FLOSbackground,
 \c!backgroundcolor=\@@FLOSbackgroundcolor,
 \c!backgroundscreen=\@@FLOSbackgroundscreen,
 \c!rulethickness=\@@FLOSrulethickness,
 \c!offset=\@@FLOSoffset]
 
  \definecolor [FLOWfocuscolor]  [s=.2]
  \definecolor [FLOWlinecolor]   [s=.5]
  \definecolor [FLOWframecolor]  [s=.7]
  \definecolor [FLOWbackgroundcolor] [s=.9]
 
  so guess ... what variable can be used to set the bodyfont
 
  Hans
 
  Revisiting this question after an absence I tried redefining
  various values from the above list within \setupFLOWcharts. None
  worked.  No doubt there is a magic combination I missed. But more
  than one user has been perplexed by this.
 
  You know I never did figure out the answer to this one. And
  factors such as \tfd were still too small. So I used the

 John, I guess you have

maxwidth=\textwidth

 and your natural chart is wider then \textwidth, is't it?
 What happens if you put away maxwidth?

 Vit

The immediate effect is that everything is bigger and the chart
overflows both margins. The text is at normal size for this
document. So the text problem was solved, but how to get the
widgets and the spaces between them down to a reasonable size?
After much experimentation I came up with this:

\setupFLOWcharts
[
nx=6,
ny=2,
dx=\bodyfontsize,
dy=\bodyfontsize,
width=.15\hsize,
height=.15\hsize,
]
There is still some overflow into the margins and some of the text
is too highly hyphenated. But at least I am on the right track.

When all this is over I may write my own version of the manual
so I won't forget between uses :) 

Thanks much,

John Culleton




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


Re: [NTG-context] Fwd: Math 120 textbook for Fall 2006

2006-06-01 Thread Aditya Mahajan
On Thu, 1 Jun 2006, David Arnold wrote:

 All,

 I just received this from our disabled students' center.

 What is needed is a simple way to convert a Context document into a format 
 that can be read by these MathML players.

 Are we anywhere close to such a conversion?

There is some work for latex documents. Have a look at
http://emacspeak.sourceforge.net/raman/aster/aster-toplevel.html

I do not know if this can be extended to handle context.


Aditya




 Begin forwarded message:

 From: Love, Ken [EMAIL PROTECTED]
 Date: June 1, 2006 10:14:37 AM PDT
 To: Arnold, David [EMAIL PROTECTED]
 Subject: Math 120 textbook for Fall 2006
 
 Hi Dave:
 
 A student with a reading disability has requested an alternate version of 
 the Math 120 textbook for Fall 2006. Jean Lawry told me that the Math 
 faculty is creating the book, to give to students on a CD. I think that is 
 just great! My task is to put that into a format that the student can 
 listen to. Assuming that your CD doesn?t have all the info in audio files, 
 one strategy is that I can scan the print version (Jean said there will be 
 one), and extract the text. The problem?as with all Math books to this 
 point?is that the scanning software doesn?t do math. Tracey ordered the 
 site license for MathType, so I could re-create the math line by line. Much 
 easier for me would be if the equations are already in a format that can be 
 converted to be read by MathPlayer, such as MathML. One option is a flavor 
 of .tex that Scientific Notebook can handle, that can be exported as 
 .XHTML. Please give me a heads-up on how you?re making the book, so I can 
 plan ahead.
 
 
 Thanks,
 
 Ken Love
 
 High Tech Center
 
 X4557
 

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


Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Neal Lester


1) Is there a way to suppress the display of Appendix page numbers in
a TOC while retaining alternative=c for Chapters?

I got the effect I wanted by hijacking subsubsection and subsubsubsection.

Is there a way to change the subsubsubsection numbers to letters?

Thanks, Neal 


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


Re: [NTG-context] Font problems (Palatino)

2006-06-01 Thread Johan Blixt-Dackhammar
I updated ConTeXt to the latest version available in i-Installer and
the error dissapeared. Although, another thing started to mess upp. I
write my documents in UTF-8 and was before upgrading using the
\enableregime[utf] commande which worked perfect. After upgrading
though, I only get blanks instead of special characters. Has the
command changed?

On 6/1/06, Hans Hagen [EMAIL PROTECTED] wrote:
 Johan Blixt-Dackhammar wrote:
  Trying that rendered the same result, but thanks anyway...
 
  On 6/1/06, Otared Kavian [EMAIL PROTECTED] wrote:
 
  On 31 mai 2006, at 23:40, Johan Blixt-Dackhammar wrote:
 
 
  When trying to typeset for example a document using the mag-01 module
  I get an error that from what I understand is font related. I'm using
  MacOS 10.4.6 (on intel), and I do have the Palatino font. Why do I get
  the error and how can the problem be resolved?
 
  ERROR MESSAGE##
 
  Hi Johan,
 
  I think you need something like this:
 
  \enableregime[utf]
  \loadmapfile[context-base]
  \usetypescript[palatino][ec]
  \setupbodyfont[palatino,12pt]
 
  \starttext
 
  Here we are using the font  \fontname\font.
 
  These are some diacritics: �, �, �, �, �.
 
  And these are some ligatures: affliction, affine, first.\par
  Can you see correctly \type{affliction, affine, first}?
  $${\rm e}^{{\rm i}\pi} + 1 = 0 = \int_0^{2\pi}\sin(x)dx,
  \quad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2\over 6}.$$
  \input knuth.tex
 
  \stoptext
 
  I experienced several problems like the ones you mention, but the
  above works fine for me (Mac OS X 10.4.6, TeX and ConTeXt installed
  with Gerben Wierda's i-installer).
 
 normally things should work ok when one generates the metrics with texfont 
 (or installs the font metrtics zip); problems can be anything, from a missing 
 tfm, to a missing (or differently named type1) or a messed up map file, or an 
 old pdftex ...

 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] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Aditya Mahajan
On Thu, 1 Jun 2006, Neal Lester wrote:

 Is there a way to change the subsubsubsection numbers to letters?

\setupsection[section-6][bodypartconversion=Character] should do the 
trick

section-1 corresponds to part, section-2 to chapter, and so on.


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