[NTG-context] magazine demo hangs forever

2007-08-12 Thread Vyatcheslav Yatskovsky
Hello,

The script

%engine=luatex
\starttyping
texmfstart texexec --mode=demo s-ptj-01.tex
\stoptyping

hangs forever...

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Installing MKiv

2007-08-12 Thread Jean Magnan de Bornier
Hi all, Following nice reports I read on the list as well as the mag-12
instructions I installed a context minimal linux distribution and
lua-5.1.2.  After everything seemed ok I lauch a compilation of this
test-file (found on the wiki):

% engine=luatex
\starttext
Hello from luatex
\blank
LUA
\startlua
a = 1.5
b = 1.8
c = a*b
tex.print(c)
\stoplua
\stoptext

But no pdf file appears, and here are some (hopefully) relevant parts of the
compilation message:

TeXExec | unable to fix backend map path
TeXExec | running: luatools --fmt=cont-en test.tex

LuaTools | using format name /cont-en.fmt
LuaTools | no luc/lua with name /cont-en
LuaTools |
LuaTools | runtime: 0.09 seconds
TeXUtil | unable to locate test.tui

I do have cont-en.luc and cont-en.lua!

tia 
-- 
Jean
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] em = slanted?

2007-08-12 Thread Hans Hagen
Aditya Mahajan wrote:
 On Sun, 12 Aug 2007, Vyatcheslav Yatskovsky wrote:
 
 Hello,

 Just a question for my curiousity: why \em switches to Slanted, not Italic?
 (I found this while  setting up my own typescript for luatex.)
 
 I don't know the reason for difference in defaults, but it can be 
 changed:
 
 \setupbodyfontenvironment[default][em=italic]

slanted has alwaye been the default .. dates from the time that we 
mostly used computer modern and i didn't want that italic for emphasizing

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] mimimal typescripting

2007-08-12 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
 Hello,
 
 I'm wondering why before defining a typeface I must define a synonym for it. 
 For example, my minimal working definition for Vladimir Script fontface is
 
 \starttypescript [serif] [vladimirscript]
 \definefontsynonym [Serif][name:vladimir][features=default]
 \stoptypescript
 \starttypescript [vladimirscript]
 \definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
 \stoptypescript
 
 Being XeTeX-adherent, it is a pain for me write that all for every font I 
 use. Why I cannot specify it as simply as
 
 \starttypescript [vladimirscript]
 \definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
 \stoptypescript
 
 or better just
 
 \definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
 
 without any synonyms?
 

depends if you want to access the individual fonts later on, some fonts 
come with 20 variants and only a few are used in a typeface then but you 
still may want to access the rest with symbolic names
-- 

-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread luigi scarso
 Hi all, Following nice reports I read on the list as well as the mag-12
 instructions I installed a context minimal linux distribution and
 lua-5.1.2.
hmm, try
http://www.lua.org/ftp/lua-5.1.tar.gz

 % engine=luatex
 \starttext
 Hello from luatex
 \blank
 LUA
 \startlua
 a = 1.5
 b = 1.8
 c = a*b
 tex.print(c)
 \stoplua
 \stoptext
on a linux box
$texmfstart texexec --pdf test.tex
compile well.
Are you under linux ?


-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread luigi scarso
On 8/12/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Hello,

 The script
try

 %engine=luatex
 \starttyping
 texmfstart texexec --mode=demo s-ptj-01.tex
 \stoptyping

 hangs forever...

%engine=luatex
%% save this as test002.tex
\starttext
\starttyping
texmfstart texexec --mode=demo s-ptj-01.tex
\stoptyping
\stoptext

$texmfstart texexec --pdf test002.tex
compiles ok
It's context that uses luatex as engine ;

you can also write down pure luatex code but \starttyping it's not a
luatex macro
nor primitive (and \stoptyping too)

-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread Hans Hagen
Jean Magnan de Bornier wrote:
 Hi all, Following nice reports I read on the list as well as the mag-12
 instructions I installed a context minimal linux distribution and
 lua-5.1.2.  After everything seemed ok I lauch a compilation of this
 test-file (found on the wiki):
 
 % engine=luatex
 \starttext
 Hello from luatex
 \blank
 LUA
 \startlua
 a = 1.5
 b = 1.8
 c = a*b
 tex.print(c)
 \stoplua
 \stoptext
 
 But no pdf file appears, and here are some (hopefully) relevant parts of the
 compilation message:
 
 TeXExec | unable to fix backend map path
 TeXExec | running: luatools --fmt=cont-en test.tex
 
 LuaTools | using format name /cont-en.fmt
 LuaTools | no luc/lua with name /cont-en

can you try with

set TEXMFCACHE=c:\temp

(remake formats)

-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] mimimal typescripting

2007-08-12 Thread Vyatcheslav Yatskovsky
Dear Hans,

I fully understand that such complex typescripts can be the only way to use 
full-featured professional fonts.  But if I have only one ttf with one kind of 
typeface in it, should I write it all? XeTeX style was very appealing for many 
people, and verbose font definitions may distract these users.  

But anyway, thank you for escaping us from TeX-specific font hell :)

Let me restate my question: is the following definition is really MINIMAL or it 
can be further reduced in some way?

 \starttypescript [serif] [vladimirscript]
\definefontsynonym [Serif][name:vladimir][features=default]
 \stoptypescript
 \starttypescript [vladimirscript]
 \definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
 \stoptypescript

\usetypescript[vladimirscript]
\setupbodyfont
[vladimirscript, 12pt]

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread Vyatcheslav Yatskovsky
Dear Luigi,

Sorry, I overlooked that \startstext \stoptext pair.  :o)

Believe it or not, but the working script produces... texmfstart texexec 
--mode=demo s-ptj-01.tex text of a white paper! I expected to get magazine 
demo.  :o)

P.S. Respectfully, did you consider set your name and surname to begin with 
capital letters?  ;o)

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread luigi scarso
On 8/12/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Dear Luigi,

 Sorry, I overlooked that \startstext \stoptext pair.  :o)

 Believe it or not, but the working script produces... texmfstart texexec 
 --mode=demo s-ptj-01.tex text of a white paper! I expected to get magazine 
 demo.  :o)
ah, ok.
$ texmfstart texexec --luatex --mode=demo s-ptj-01.tex
does not compile well on my box, I believe fonts problem  .

 P.S. Respectfully, did you consider set your name and surname to begin with 
 capital letters?  ;o)
hmm, why ?

-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread luigi scarso
On 8/12/07, luigi scarso [EMAIL PROTECTED] wrote:
 On 8/12/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
  Dear Luigi,
 
  Sorry, I overlooked that \startstext \stoptext pair.  :o)
 
  Believe it or not, but the working script produces... texmfstart texexec 
  --mode=demo s-ptj-01.tex text of a white paper! I expected to get magazine 
  demo.  :o)
 ah, ok.
 $ texmfstart texexec --luatex --mode=demo s-ptj-01.tex
 does not compile well on my box, I believe fonts problem  .
Same problem with
$ texmfstart texexec --pdf  --mode=demo s-ptj-01.tex
Also
$ texmfstart texexec --luatex  --module s-ptj-01.tex
doesn't work
but
$ texmfstart texexec --pdf --module s-ptj-01.tex
it's ok.
-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] em = slanted?

2007-08-12 Thread Aditya Mahajan
On Sun, 12 Aug 2007, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Sun, 12 Aug 2007, Vyatcheslav Yatskovsky wrote:

 Hello,

 Just a question for my curiousity: why \em switches to Slanted, not Italic?
 (I found this while  setting up my own typescript for luatex.)

 I don't know the reason for difference in defaults, but it can be
 changed:

 \setupbodyfontenvironment[default][em=italic]

 slanted has alwaye been the default ..

Yes, I meant, why Context's defaults are different from latex's (and 
plain tex)

 dates from the time that we
 mostly used computer modern and i didn't want that italic for emphasizing

And this explains it :)

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread Aditya Mahajan
On Sun, 12 Aug 2007, luigi scarso wrote:

 On 8/12/07, luigi scarso [EMAIL PROTECTED] wrote:
 On 8/12/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Dear Luigi,

 Sorry, I overlooked that \startstext \stoptext pair.  :o)

 Believe it or not, but the working script produces... texmfstart 
 texexec --mode=demo s-ptj-01.tex text of a white paper! I expected 
 to get magazine demo.  :o)

Well, some drawback of reading the documentation in source. See 
http://www.logosrl.it/context/modules/current/singles/s-ptj-01_ebook.pdf 
(thanks to Luigi) and the example on 
http://wiki.contextgarden.net/Modules/Pracjourn

 ah, ok.
 $ texmfstart texexec --luatex --mode=demo s-ptj-01.tex
 does not compile well on my box, I believe fonts problem  .

The practex module uses tex gyre pagella fonts. So you need to have 
the fonts in your distribution. I have not tested them with luatex 
yet.

 Same problem with
 $ texmfstart texexec --pdf  --mode=demo s-ptj-01.tex

This works here with old context (2007.07.24 14:36 MKII)

 Also
 $ texmfstart texexec --luatex  --module s-ptj-01.tex
 doesn't work

Do not have luatex on this machine.

 but
 $ texmfstart texexec --pdf --module s-ptj-01.tex
 it's ok.

This also works correctly with the old context. I will be at a machine 
with uptodate context tomorrow and will check what is going wrong.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
Hi,

I'm trying to write my own OpenType installation script. So far I have
run otftotfm to install my fonts and create tfm files.

Now I need to generate a typescript files, but the documentation I've
read sofar puzzles me.

From a base font AGaramond-Pro containing three weights:
- Regular
- Semibold
- Bold

I generate two versions:
- tabular lining figures
- proportional old style figures

Except for non-italic variants of Regular and Semibold which have two
additional versions:
- small caps + proportional old style figures
- caps to small caps + small caps + proportional old style figures

How should I write my typescript so I can easily choose between the
versions of the fonts?

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/
[EMAIL PROTECTED]:~/opentype/generated/adobe/garamond$ ~/otf.sh 
LY1--AGaramondPro-BoldItalic--flnum-ftnum--lcdfj AGaramondPro-BoldItalicLCDFJ  AGaramondPro-BoldItalicLCDFJ.pfb
I had to round some heights by 18.000 units.
I had to round some depths by 5.000 units.
I had to round some italic corrections by 0.500 units.
I had to round some heights by 18.000 units.
I had to round some depths by 5.000 units.
I had to round some italic corrections by 0.500 units.
LY1--AGaramondPro-BoldItalic--flnum-ftnum--base AGaramondPro-BoldItalic AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont [a_nxdktp.enc AGaramondPro-BoldItalic.pfb
LY1--AGaramondPro-BoldItalic--fonum-fpnum--lcdfj AGaramondPro-BoldItalicLCDFJ  AGaramondPro-BoldItalicLCDFJ.pfb
I had to round some heights by 18.000 units.
I had to round some depths by 6.500 units.
I had to round some italic corrections by 0.500 units.
I had to round some heights by 18.000 units.
I had to round some depths by 6.500 units.
I had to round some italic corrections by 0.500 units.
LY1--AGaramondPro-BoldItalic--fonum-fpnum--base AGaramondPro-BoldItalic AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont [a_t7l7nd.enc AGaramondPro-BoldItalic.pfb
LY1--AGaramondPro-Bold--flnum-ftnum--lcdfj AGaramondPro-BoldLCDFJ  AGaramondPro-BoldLCDFJ.pfb
I had to round some heights by 17.500 units.
I had to round some depths by 4.500 units.
I had to round some heights by 17.500 units.
I had to round some depths by 4.500 units.
LY1--AGaramondPro-Bold--flnum-ftnum--base AGaramondPro-Bold AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont [a_nxdktp.enc AGaramondPro-Bold.pfb
LY1--AGaramondPro-Bold--fonum-fpnum--lcdfj AGaramondPro-BoldLCDFJ  AGaramondPro-BoldLCDFJ.pfb
I had to round some heights by 19.000 units.
I had to round some depths by 5.000 units.
I had to round some heights by 19.000 units.
I had to round some depths by 5.000 units.
LY1--AGaramondPro-Bold--fonum-fpnum--base AGaramondPro-Bold AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont [a_t7l7nd.enc AGaramondPro-Bold.pfb
LY1--AGaramondPro-Italic--flnum-ftnum--lcdfj AGaramondPro-ItalicLCDFJ  AGaramondPro-ItalicLCDFJ.pfb
I had to round some heights by 18.500 units.
I had to round some depths by 6.000 units.
I had to round some italic corrections by 0.500 units.
I had to round some heights by 18.500 units.
I had to round some depths by 6.000 units.
I had to round some italic corrections by 0.500 units.
LY1--AGaramondPro-Italic--flnum-ftnum--base AGaramondPro-Italic AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont [a_nxdktp.enc AGaramondPro-Italic.pfb
LY1--AGaramondPro-Italic--fonum-fpnum--lcdfj AGaramondPro-ItalicLCDFJ  AGaramondPro-ItalicLCDFJ.pfb
I had to round some heights by 19.000 units.
I had to round some depths by 6.000 units.
I had to round some italic corrections by 0.500 units.
I had to round some heights by 19.000 units.
I had to round some depths by 6.000 units.
I had to round some italic corrections by 0.500 units.
LY1--AGaramondPro-Italic--fonum-fpnum--base AGaramondPro-Italic AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont [a_t7l7nd.enc AGaramondPro-Italic.pfb
LY1--AGaramondPro-Regular--flnum-ftnum--lcdfj AGaramondPro-RegularLCDFJ  AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 16.000 units.
I had to round some depths by 6.000 units.
I had to round some heights by 16.000 units.
I had to round some depths by 6.000 units.
LY1--AGaramondPro-Regular--flnum-ftnum--base AGaramondPro-Regular AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont [a_nxdktp.enc AGaramondPro-Regular.pfb
LY1--AGaramondPro-Regular--fonum-fpnum--lcdfj AGaramondPro-RegularLCDFJ  AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 18.000 units.
I had to round some depths by 5.500 units.
I had to round some heights by 18.000 units.
I had to round some depths by 5.500 units.
LY1--AGaramondPro-Regular--fonum-fpnum--base AGaramondPro-Regular AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont [a_t7l7nd.enc AGaramondPro-Regular.pfb
LY1--AGaramondPro-Regular--fsmcp-fonum-fpnum--lcdfj AGaramondPro-RegularLCDFJ  AGaramondPro-RegularLCDFJ.pfb
I had 

Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread Hans Hagen
luigi scarso wrote:
 On 8/12/07, luigi scarso [EMAIL PROTECTED] wrote:
 On 8/12/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Dear Luigi,

 Sorry, I overlooked that \startstext \stoptext pair.  :o)

 Believe it or not, but the working script produces... texmfstart texexec 
 --mode=demo s-ptj-01.tex text of a white paper! I expected to get magazine 
 demo.  :o)
 ah, ok.
 $ texmfstart texexec --luatex --mode=demo s-ptj-01.tex
 does not compile well on my box, I believe fonts problem  .
 Same problem with
 $ texmfstart texexec --pdf  --mode=demo s-ptj-01.tex
 Also
 $ texmfstart texexec --luatex  --module s-ptj-01.tex
 doesn't work
 but
 $ texmfstart texexec --pdf --module s-ptj-01.tex
 it's ok.


i need to look into this, but mkiv really needs the starttext/stoptext 
pair to match and these direct calls don't do that, mkii is a bit more 
tolerant

-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] mimimal typescripting

2007-08-12 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
 Dear Hans,
 
 I fully understand that such complex typescripts can be the only way to use 
 full-featured professional fonts.  But if I have only one ttf with one kind 
 of typeface in it, should I write it all? XeTeX style was very appealing for 
 many people, and verbose font definitions may distract these users.  

i dunno what xetex style means here, but

\font\vladimirscript=name:vladimir*default at 12pt

is as minimum as it can gets but normally you want to set up a whole 
bunch of related things

 But anyway, thank you for escaping us from TeX-specific font hell :)
 
 Let me restate my question: is the following definition is really MINIMAL or 
 it can be further reduced in some way?
 
  \starttypescript [serif] [vladimirscript]
 \definefontsynonym [Serif][name:vladimir][features=default]
  \stoptypescript
  \starttypescript [vladimirscript]
  \definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
  \stoptypescript
 
 \usetypescript[vladimirscript]
 \setupbodyfont
 [vladimirscript, 12pt]

\starttypescript [serif] [vladimirscript]
\setups[font:fallback:serif]
\definefontsynonym [Serif][name:vladimir][features=default]
\stoptypescript

\starttypescript [vladimirscript]
\definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
\stoptypescript

\usetypescript[vladimirscript]
\setupbodyfont[vladimirscript, 12pt]

by adding the setups call, you make sure that your bold etc also uses 
the same font as fallback



-
   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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Hans Hagen
Pascal de Bruijn wrote:

 I generate two versions:
 - tabular lining figures
 - proportional old style figures

if you want to to such things ... use xetex or luatex ... less work that 
way since then you can control things with features

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread Hans Hagen
Aditya Mahajan wrote:

 The practex module uses tex gyre pagella fonts. So you need to have 
 the fonts in your distribution. I have not tested them with luatex 
 yet.

mkiv assumes tex-gyre fonts to be installed

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
On Sun, 2007-08-12 at 19:34 +0200, Patrick Gundlach wrote:
 Hi Pascal,
 
 
  How should I write my typescript so I can easily choose between the
  versions of the fonts?
 
 Does this help:
 
 http://wiki.contextgarden.net/Font_Variants
 

Hmm I think so. I'll give it a shot. Thanks.

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Patrick Gundlach
Hi Pascal,


 How should I write my typescript so I can easily choose between the
 versions of the fonts?

Does this help:

http://wiki.contextgarden.net/Font_Variants

?

Patrick
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Hans Hagen
Pascal de Bruijn wrote:

 I still haven't got LuaTeX running properly. Something I wonder about is
 why all those installation instructions weren't executed before creating
 the tarballs.

well, taco and i and a few others have mkiv running fro quite a while no 
(before it went beta) ... the problem is that we cannot foresee how 
users have set up their system

the biggest issue is that

(1) luatex needs a cache path and users may have conflicting demands
(2) luatex needs lua code to start up and therefore be ablt to find it

 I understand this is a beta. But making the installation less complex
 might get you more testers.

well, once it runt it runs ... tex has never been easy to install and we 
cannot change everything at once

 I should probably reread the docs, and put some more effort into it.

guess so

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread Jean Magnan de Bornier
luigi wrote:
|  Hi all, Following nice reports I read on the list as well as the mag-12
|  instructions I installed a context minimal linux distribution and
|  lua-5.1.2.
| hmm, try
| http://www.lua.org/ftp/lua-5.1.tar.gz

|  % engine=luatex
|  \starttext
|  Hello from luatex
|  \blank
|  LUA
|  \startlua
|  a = 1.5
|  b = 1.8
|  c = a*b
|  tex.print(c)
|  \stoplua
|  \stoptext
| on a linux box
| $texmfstart texexec --pdf test.tex
| compile well.
| Are you under linux ?

Yes, I ought to have said that first!!

Now here is what I tried just now:

1/ reinstall lua by hand
2/ remove everything in /usr/local context, and unzip again justtex and
linuxtex
3/ rename /usr/local/texlive to some name unknown from my path (surely
wasn't necessary, but let's try anything...)
4/ edit setuptex and defined $TMP and $TEXMFCACHE there
5/ . setuptex
6/ texexec --make --all --pdftex
7 /texexec --make --all --xetex
8/ texexec --make --all --luatex
9/ luatools --generate
10/ luatools --ini --compile --verbose cont-en

And again, context complains the same way:

TeXExec | unable to fix backend map path
TeXExec | running: luatools --fmt=cont-en test.tex

LuaTools | using format name /tmp/luatex-cache/context/formats/cont-en.fmt
LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en
LuaTools |
LuaTools | runtime: 0.12 seconds
TeXUtil | unable to locate test.tui

actually then, even pdftex is broken!

I'm certainly missing something obvious?
-- 
Jean
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] OpenType typescripts

2007-08-12 Thread Pascal de Bruijn
On Sun, 2007-08-12 at 19:45 +0200, Hans Hagen wrote:
 Pascal de Bruijn wrote:
 
  I generate two versions:
  - tabular lining figures
  - proportional old style figures
 
 if you want to to such things ... use xetex or luatex ... less work that 
 way since then you can control things with features
 

XeTeX isn't really an option since it's missing the microtype extensions
which is really do want.

I still haven't got LuaTeX running properly. Something I wonder about is
why all those installation instructions weren't executed before creating
the tarballs.

I understand this is a beta. But making the installation less complex
might get you more testers.

I should probably reread the docs, and put some more effort into it.

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread luigi scarso
On 8/12/07, Hans Hagen [EMAIL PROTECTED] wrote:
 Aditya Mahajan wrote:

  The practex module uses tex gyre pagella fonts. So you need to have
  the fonts in your distribution. I have not tested them with luatex
  yet.

 mkiv assumes tex-gyre fonts to be installed
Should they be included in justtex.zip ?


-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread Hans Hagen
Jean Magnan de Bornier wrote:

 
 actually then, even pdftex is broken!

weird

anyhow, tomorrow there will be a new release of luatex (some font fixes) 
and i'll generate new minimals then

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] trouble generating mkiv format

2007-08-12 Thread Hans van der Meer
After installing context aug9 and starting up luatex I get the  
following tex error on

luatools --ini --compile --verbose cont-en

...
) (/usr/local/texlive/texmf-local/tex/context/base/regi-ini.tex (/usr/ 
local/texlive/texmf-local/tex/context/base/regi-ini.mkiv)) (/usr/ 
local/texlive/texmf-local/tex/context/base/enco-ini.tex

loading : Context Encoding Macros (ini)
encoding : coding def is loaded
(/usr/local/texlive/texmf-local/tex/context/base/enco-def.tex
! TeX capacity exceeded, sorry [pool size=93529].
\setvalue ...xpandafter \def \csname #1\endcsname

argument ...aracterencoding \string cyrillicdze}
  {dze}
\secondoftwoarguments #1#2-#2

l.683 \definecharacter cyrillicdze{dze}
... etc.

However, my texmf.cnf has: pool_size = 125 (standard texlive2007  
values)


What is wrong?

Hans van der Meer


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] trouble generating mkiv format

2007-08-12 Thread luigi scarso
On 8/12/07, Hans van der Meer [EMAIL PROTECTED] wrote:

 After installing context aug9 and starting up luatex I get the following tex
 error on
 luatools --ini --compile --verbose cont-en

 ...
 )
 (/usr/local/texlive/texmf-local/tex/context/base/regi-ini.tex
 (/usr/local/texlive/texmf-local/tex/context/base/regi-ini.mkiv))
 (/usr/local/texlive/texmf-local/tex/context/base/enco-ini.tex
 loading : Context Encoding Macros (ini)
 encoding : coding def is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-def.tex
 ! TeX capacity exceeded, sorry [pool size=93529].
 \setvalue ...xpandafter \def \csname #1\endcsname

 argument ...aracterencoding \string cyrillicdze}
   {dze}
 \secondoftwoarguments #1#2-#2

 l.683 \definecharacter cyrillicdze{dze}
 ... etc.

 However, my texmf.cnf has: pool_size = 125 (standard texlive2007 values)

 What is wrong?
Please, have a look at
can't find file `context.tex'
http://www.ntg.nl/pipermail/ntg-context/2007/026438.html
In short:
don't mix texlive with mkiv;
use justtex.zip and linuxtex.zip
-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread luigi scarso
On 8/12/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
 luigi wrote:
 |  Hi all, Following nice reports I read on the list as well as the mag-12
 |  instructions I installed a context minimal linux distribution and
 |  lua-5.1.2.
 | hmm, try
 | http://www.lua.org/ftp/lua-5.1.tar.gz
 
 |  % engine=luatex
 |  \starttext
 |  Hello from luatex
 |  \blank
 |  LUA
 |  \startlua
 |  a = 1.5
 |  b = 1.8
 |  c = a*b
 |  tex.print(c)
 |  \stoplua
 |  \stoptext
 | on a linux box
 | $texmfstart texexec --pdf test.tex
 | compile well.
 | Are you under linux ?

 Yes, I ought to have said that first!!

 Now here is what I tried just now:

 1/ reinstall lua by hand
 2/ remove everything in /usr/local context, and unzip again justtex and
 linuxtex
 3/ rename /usr/local/texlive to some name unknown from my path (surely
 wasn't necessary, but let's try anything...)
 4/ edit setuptex and defined $TMP and $TEXMFCACHE there
 5/ . setuptex
 6/ texexec --make --all --pdftex
 7 /texexec --make --all --xetex
 8/ texexec --make --all --luatex
 9/ luatools --generate
 10/ luatools --ini --compile --verbose cont-en

 And again, context complains the same way:

 TeXExec | unable to fix backend map path
 TeXExec | running: luatools --fmt=cont-en test.tex

 LuaTools | using format name /tmp/luatex-cache/context/formats/cont-en.fmt
 LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en
 LuaTools |
 LuaTools | runtime: 0.12 seconds
 TeXUtil | unable to locate test.tui

 actually then, even pdftex is broken!

 I'm certainly missing something obvious?
hmm maybe mktexlsr
5a/ mktexlsr ; luatools --generate
6/ texmfstart texexec --make --all --pdftex
7/ texmfstart texexec --make --all --luatoolss
-- 
luigi

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] em = slanted?

2007-08-12 Thread Hans Hagen
Aditya Mahajan wrote:

 Yes, I meant, why Context's defaults are different from latex's (and 
 plain tex)

because i hardly used, plain, only used latex for one document, then 
moved on to lamstex, inrstex and then started making a package that was 
configurable nd and could handle dutch; i know plain, but my latex 
knowlegde is minimal (only what i hear at conferences) -)

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] magazine demo hangs forever

2007-08-12 Thread Idris Samawi Hamid
On Sun, 12 Aug 2007 16:01:17 -0600, Hans Hagen [EMAIL PROTECTED] wrote:

 luigi scarso wrote:
 On 8/12/07, Hans Hagen [EMAIL PROTECTED] wrote:
 Aditya Mahajan wrote:

 The practex module uses tex gyre pagella fonts. So you need to have
 the fonts in your distribution. I have not tested them with luatex
 yet.
 mkiv assumes tex-gyre fonts to be installed
 Should they be included in justtex.zip ?

 aren't they? hm, must ceheck it then

Checked a few days ago, TeX Gyre is not in the distribution. In fact, the  
only otf's in the distro are lm. Meant to send a note to you about that...

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installing MKiv

2007-08-12 Thread Idris Samawi Hamid
Hi Jean,

On Sun, 12 Aug 2007 13:21:17 -0600, Jean Magnan de Bornier  
[EMAIL PROTECTED] wrote:

 LuaTools | using format name  
 /tmp/luatex-cache/context/formats/cont-en.fmt
 LuaTools | no luc/lua with name /tmp/luatex-cache/context/formats/cont-en
 LuaTools |
 LuaTools | runtime: 0.12 seconds
 TeXUtil | unable to locate test.tui

I've gotten this same mesasge on windows when I first installed mkiv.  
There is something screwy going on...

The only way I got it to stop was by initializing the setuptex script  
BEFORE opening my editor. If I initialize setuptex afterwards it does not  
work.

Best wishes
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] font file size

2007-08-12 Thread zs
Hi all,

while getting context/luatex to work, I experiment with fonts.

I play with DejaVu fonts. I found that when I use DejaVuSerif.ttf I get
what I want, but when I use DejaVuSans.ttf context produces nothing.
It seems to process document without any error message and gives no
pdf.

I made some investigation and I guess it has something to do with file
size of the font (DejaVuSerif.ttf-242KB, DejaVuSans.ttf-557KB).
Result is the same for fonts from collection with similar size.
Conversions with fontforge do not help.


Is there any limit for size of font?
Any other possible reason why?

Thanks for suggestions.

ZS
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] ConTeXt Support Package for Notepad++.

2007-08-12 Thread Idris Samawi Hamid
Dear fellow gangsters,

At long last, I have completed a ConTeXt setup package for Notepad++. See

http://wiki.contextgarden.net/images/8/87/Npp_ConTeXt.zip

Some background:

I come from the WinEdt world originally. However WinEdt, while a fantastic  
TeX editor (perhaps the best), has a couple of problems:

a) Geared towards LaTeX;
b) No utf-8 support present or immediately planned (at least when I was  
using it);
c) No Right-to-left support present or immediately planned (at least when  
I was using it);

a) is not really a problem; one could easily configure WinEdt to be  
ConTeXt editor, but b) and c) were showstoppers.

Scite is nice, but seems to me to be a real regression when compared to  
WinEdt's features.

Finally I came across Notepad++, hereafter called Npp (actually it was  
Hans who told me about it first). This is one amazing text editor. Like  
Scite, it is based on Scintilla. It is a programmer's editor, but for a
non-programmer user like myself it is amazingly easy to configure. Like  
scite, it has utf-8 support. It also has global utf-8 support (as opposed  
to local utf-8 support which scintilla does not support).

Npp is just loaded with features. It supports plugins, and some of the  
available plugins are now indispensable to me. For more information about  
Npp go to

http://notepad-plus.sourceforge.net/uk/site.htm
==

For ConTeXt, I have implemented

1) Syntax highlighting. There are six kinds:

a) \start-stops
b) TeX primitives
c) setups
d) comments
e) sectioning
f) general ConTeXt commands
g) operator arguments
h) numbers

2) Folding

a) Since discovering folding, my efficiency in writing long documents has  
really increased. All \start-stops are foldable, and you can easily add  
your own in the User-Defined-Language dialog; just select ConTeXt and  
you can edit all entries.

Fellow gangster Wolfgang Schuster has provided a small module,  
t-startstops, which converts section headings like
\chapter into \startchapter-\stopchapter, etc. You can add more. Look at  
the files t-startstop.tex and startstop.tex.

NOTE: Hans will eventually implement official support for startstops, and  
the syntax will in all likelihood be different than the one used here  
(\startpart[title=,ref=]).

3) Auto completion. There is a notepad++ api file context.api, which has a  
list of perhaps all english ConTeXt commands. From the scite properties  
files you can find more keyword for your your own language and roll your  
own version. The nice thing is that Npp has a sorting utility so you can  
easily add your keywords and alphabetically sort them into your own api  
list.

4) ConTeXt utilities.

a) The Run menu mimics the one in Hans's distribution of Scite, and mostly  
uses the same shortcuts. You can add more by pressing F5 and saving your  
command, which will allow you to define a shortcut.

I deleted a few utilities that come with the default Npp setup but which  
did not seem relevant to context. If you want them back just look at the  
original shortcuts.xml file and copy the ones you want.

A few nice tricks are there. For example,

\input file.tex

After selecting file.tex you can run open file and Npp will open  
file.tex for you. From selected text, you can also do a Google search ,  
wiki search. Perhaps we could add a ConTeXt wiki search next version  
perhaps.

b) Npp comes with a Console plugin, NppExec, which allows you to run  
scripts. Most of the Run commands have been implemented as scripts in  
NppExec. Here you can play around with the commands, test different  
options etc.

5. Integrated Explorer plugin. This is one of favorite tools. I have just  
added some tex-related filters

Both NppExec and the Explorer are dockable. They can also be docked into  
one another outside of the main editor, separately outside, or separately  
inside. You'll have lots of fun with these two.

6. Color. I have implemented a color theme that is easier on the eyes than  
the default pure white background. It makes use of four shades of DADADA.  
For non-TeX languages you may need to tweak the settings a bit in Settings
 Styler Configurator.

7. I have removed most of the languages from the Language menu, but you  
can bring back any language you need from
Settings  Preferences  Language Menu.

8) The Shortcut Mapper has been slightly changed: Ctrl-Shift-Z does undo  
now. shortcut.xml controls this.

9) Added four functions to the context menu (right-click that is):

Split lines,
Join Lines,
Text Direction RTL
Text Direction LTR

=
Nearly everything above is easily configurable. I could not implement  
support for non-startstop folding with sectioning like \chapter etc.  
because that would mean compiling the scintilla lexer, something I'm not  
interested in doing. If anyone knows how to do lexer programming and is  
interested, feel free;-)
=

This package depends on Npp 4.2, so if you already have 

Re: [NTG-context] ConTeXt Support Package for Notepad++.

2007-08-12 Thread Idris Samawi Hamid
On Sun, 12 Aug 2007 23:01:37 -0600, Idris Samawi Hamid  
[EMAIL PROTECTED] wrote:

 It also has global utf-8 support (as opposed to local utf-8 support  
 which scintilla does not support).

It also has global bidirectional support (as opposed to local  
bidirectional support which scintilla does not support).

I

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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