Re: [NTG-context] Angle braces?

2006-06-11 Thread Steven Robertson
Mojca Miklavec wrote:
 On 6/10/06, Steven Robertson wrote:
 
Hi Mojca,

It is more than two months old; the tetex i'm using is version 2.0.2 or
somesuch. So an upgrade is definitely due.
 
 
 Well, if you want to say that texexec --version (now ctxtools
 --contextversion) returns something around 2002, please don't ever try
 to mention that on this list if you want to stay alive ;)

Thanks for the safety tip :)

 
 Best download justtext.zip and linuxtex.zip from www.pragma-ade.com,
 extract them to some folder of your choice and execute . setuptex in
 your .bashrc. And then do ctxtools --update every tho weeks ;)
 
 teTeX isn't maintaind any more.

And thanks for these two tips too. I've since sorted out the original
angles problem by explicitly loading a font - which I think to do
otherwise, since the default worked for the most part.

Thanks for the help,
-Steven

 
 Mojca
 ___
 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] backgroundcolor broken in 2006-06-07

2006-06-11 Thread Taco Hoekwater
Hans van der Meer wrote:
 
 I have made a minimal example and done some variations. See file  
 test.tex and testfig.tex
 1. including my own metapost macroset for Label (custom.mp)
   gives different results for \forceMPTEXgraphictrue --  
 \forceMPTEXgraphicfalse
   undefined as label for true, unknown as label for false

The false - unknown is to be expected. Without it, context
does not understand that Label is similar to textext.
As an alternative, it is also possible to do

   \forceMPTEXcheck{Label}

 2. draw textext gives in both cases label undefined.

This typically means the the embedded TeX run for the textext
failed, but the problem could also be that the entire metapost
run was wrong.

 
 I do not know why this does occur on my MacOSX system and obviously  
 not on other systems.
 But the effect is demonstrably their.
 Could it be something in the communication between TeX and Metapost?
 Or something related end-of-line stuff?

Because even simple backgrounds fail (and only on MacOSX), end-of-line
stuff seems a likely candidate. What is the contents of the
test-mpgraph.mp?

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


[NTG-context] Open Type fonts and Context

2006-06-11 Thread John R. Culleton
Is there a guide for installing Open Type fonts for use in
Context?



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


Re: [NTG-context] backgroundcolor broken in 2006-06-07

2006-06-11 Thread Hans van der Meer

On Jun 10, 2006, at 9:10, Taco Hoekwater wrote:

 Hans van der Meer wrote:
 This turns out to be a disaster for me.
 Now all textext again comes out as unknown.
 Setting \forceMPTEXgraphictrue makes things worse, because now all
 graphics are replaced by the first one generated.
 Is there any help?


 Can you send me the complete output of your run, and the current
 contents of cont-sys.tex? (for debugging purposes)

I finally managed to nail down the cause of this problem and solve it.
(adding and removing files and rebuilding format in small steps did  
the trick ;-)

It is the following line in supp-mps.tex:
\ifx\TEXEXECcommand \undefined \def\TEXEXECcommand{texmfstart  
texexec} \fi

previously this was:
\ifx\TEXEXECcommand \undefined \def\TEXEXECcommand{texexec} \fi

The trouble stems from the fact that apparently texexec.pl does not  
need an excutable copy named texexec in order to get called from  
supp-mps.tex whereas texmfstart.rb did.
Calling texmfstart from bash shell apparently has no trouble  
finding texmfstart.rb if it knows its whereabouts.

Therefore now I add to my installation shell script in addition to  
unzipping now these two lines:
chmod a+x .../scripts/ruby/texmstart.rb
cp .../scripts/ruby/texmstart.rb /usr/local/bin
(/usr/local/bin on my path, as it is in most unix-like systems).

After that I had to tweak my TeXShop to use texmfstart accordingly.
For those MacOSX-TeXShop users among you who want this too and  
without much trouble, here is the recipe (with thanks to Richard Koch):
1. Make a file ~/Library/TeXShop/Engines/ContextNew.engine (vary the  
'ContextNew' part at will)
2. Give it the following contents (the tetex-part pertains to my  
tetex tex-structure, yours may vary)
#!/bin/tcsh
set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current)
texmfstart texexec --pdf --autopdf $1
3. ensure /usr/local/bin/texmfstart is on your search path
4. if you like choose in the Preferences of TeXShop under Default  
Command the item Command Listed Below and fill the textfield with  
ContextNew
5. and/or put as first line in your tex-files:
%!TEX TS-program = ContextNew
6. for working in Terminal (the shell, mine is bash) put in  
your .bashrc the following lines:
CONTEXT_RUBYSCRIPTS=/usr/local/teTeX/share/texmf-local/scripts/ 
context/ruby/
export CONTEXT_RUBYSCRIPTS
PATH=$PATH:$CONTEXT_RUBYSCRIPTS
export PATH

Hans van der Meer



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


Re: [NTG-context] Open Type fonts and Context

2006-06-11 Thread Thomas A. Schmitz
opentype installation context, google hit # 1:

http://www.tug.org/pracjourn/2005-2/lindsay/lindsay.pdf

Best

Thomas

On Jun 11, 2006, at 3:26 PM, John R. Culleton wrote:

 Is there a guide for installing Open Type fonts for use in
 Context?



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


Re: [NTG-context] Open Type fonts and Context

2006-06-11 Thread Mojca Miklavec
On 6/11/06, John R. Culleton wrote:
 Is there a guide for installing Open Type fonts for use in
 Context?

If you want to use the current pdfTeX, take a look at
http://homepage.mac.com/atl/tex/
http://www.tug.org/pracjourn/2005-2/lindsay/
I gave up once that I tried to follow because lcdftools which texfont
uses don't work well on Windows.

... or wait some months for the new pdfTeX or try XeTeX.

(In any case some typescripts, font variants, ... could be adapted for
the usage with ConTeXt.)

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


Re: [NTG-context] Open Type fonts and Context

2006-06-11 Thread Thomas A. Schmitz

On Jun 11, 2006, at 3:14 PM, Mojca Miklavec wrote:

 I gave up once that I tried to follow because lcdftools which texfont
 uses don't work well on Windows.


You don't need lcdftools at all; in fact, I now avoid it for most  
installs. I find the easiest route is:

1. create an afm with fontforge -c 'Open($1);Generate($2)' foo.otf  
foo.afm

2. create a pl file with afm2pl -p ENCODING.enc foo.afm ENCODING- 
foo.pl (you'll need the file default.lig for this to work and modify  
it if need be); this step will also write an (incorrect) map file  
which you can edit;

3. pltotf ENCODING-foo.pl

I prefer this approach because it's more transparent than lcdftools.

Best

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