Re: [NTG-context] Problem creating a typescript for Adobe Avenir

2009-03-26 Thread Thomas A. Schmitz

Hi Markus,

you're on the right track; just two or three small corrections, and  
you should be in business:



On Mar 25, 2009, at 8:21 PM, Markus Hubig wrote:



My map file looks like this (texnansi-adobe-avenir.map):

texnansi-AVENI17 Avenir-Heavy 4  AVENI17.ttf texnansi.enc
texnansi-AVENI18 Avenir-HeavyOblique 4  AVENI18.ttf texnansi.enc
texnansi-AVENI23 Avenir-Oblique 4AVENI23.ttf texnansi.enc
texnansi-AVENI24 Avenir-Roman 4 AVENI24.ttf texnansi.enc


I'm not sure if you can have a space after the 


\starttypescript [map] [avenir] [textansi]
 \loadmapfile [texnansi-adobe-avenir.map]
\stoptypescript

\starttypescript [sans] [avenir] [texnansi]
  \definefontsynonym [Avenir-Heavy] [texnansi-AVENI17]
[encoding=texnansi]
  \definefontsynonym [Avenir-HeavyOblique] [texnansi-AVENI18]
[encoding=texnansi]
  \definefontsynonym [Avenir-Oblique]   [texnansi-AVENI23]
[encoding=texnansi]
  \definefontsynonym [Avenir-Roman][texnansi-AVENI24]
[encoding=texnansi]
\stoptypescript

\starttypescript [sans] [avenir] [name]
  \definefontsynonym [Sans]   [Avenir-Roman]
  \definefontsynonym [SansItalic][Avenir-Oblique]
  \definefontsynonym [SansBold][Avenir-Heavy]
  \definefontsynonym [SansBoldItalic] [Avenir-HeavyOblique]
\stoptypescript

\starttypescript [Avenir]
  \definetypeface [Avenir] [rm] [sans] [avenir] [default]
\stoptypescript



Two things here: you're defining a sans font, so change [rm] into  
[ss]. And for mkii (old-fashioned pdftex), I think you'll need to add  
the encoding to the typescript:


\starttypescript [Avenir] [texnansi]
  \definetypeface [Avenir] [ss] [sans] [avenir] [default]  
[encoding=texnansi]

\stoptypescript


When I try to use my typescript in my environment file like this:

\usetypescriptfile[type-adobe-avenir]
\usetypescript[Avenir]
\setupbodyfont[Avenir,10pt]


Yes, you have defined a sans font, but you're not setting sans as your  
bodyfont. ConTeXt defaults to serif (i.e. rm), and since your  
typescript doesn't define a rm font, it defaults to latin modern. So  
simply write:


\setupbodyfont[Avenir,ss,10pt]

HTH

Thomas
___
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] Updating minimals

2009-03-26 Thread Willi Egger

Hi,

While running the first-setup.sh script I get the following error:

receiving file list ... done

sent 37 bytes  received 132 bytes  112.67 bytes/sec
total size is 5749572  speedup is 34021.14
dyld: Symbol not found: _close$UNIX2003
  Referenced from: /Applications/lua36/bin/texlua
  Expected in: /usr/lib/libSystem.B.dylib

./first-setup.sh: line 69:   394 Trace/BPT trap  mtxrun -- 
verbose --script ./bin/mtx-update.lua --update --make --force -- 
engine=all --context=beta --texroot=$PWD/tex $@



I am working on a Mac OSX 10.4 and Intel hardware

Kind regards

Willi


___
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] Forward of moderated message

2009-03-26 Thread Taco Hoekwater
Hi Michael,

ntg-context-bounces wrote:
 
 Subject: Fwd: Bibliography question with example
 From: Michael Bynum mdby...@gmail.com
 Date:Tue, 24 Mar 2009 22:29:22 -0400
 
 I think I've figure out how to format the individual items of the
 bibliography entries by editing the bibl-xxx.tex files (by the way, if
 I try to create a new file, say bibl-aiaa.tex in the same directory
 as the other bibl files, context always claims it cannot locate the
 file and I can't figure out why), 

You have to run mktexlsr (or a similar menu command, if you are using
miktex) after putting files in that spot.

 but I can't find a way to edit the
 alignment or numbering format for each entry.  I attached (tried to) a
 png file showing the format I need to produce and a sample file of
 what I have so far.  The first line of each entry should be indented
 and the numbering should be a superscript as shown in the png file.
 Can anyone tell me how I can do this?  Thanks.

Your attached files were a bit too large for the mailing list,
so I blocked your message. Something like this will do the trick.

  \define[1]\myNumber{\hbox to 20pt{\hfill \high{#1}}}
  \setuppublications[numbercommand=\myNumber]

Best wishes,
Taco
___
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] The very last macro

2009-03-26 Thread Hans Hagen

luigi scarso wrote:

You said that you wanted \LuigisWhateverShouldHappen macro to be executed,
which in turn means that \immediate\write18 is executed, the text Something
 reason is written to the pdf, and the macro \imediate\write18 is
executed.

If you do not want the text to be written to the pdf, do not add it to
\LuigisWhat... macro :-)

true, but not so robust.

\def\LuigisWhateverShouldHappen{..what ever...}
\appendtoks\LuigisWhateverShouldHappen \to \everylastshipout


\everystoptext
\everygoodbye
\everylastgoodbye

-
  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] Stable broken, beta works

2009-03-26 Thread Hans Hagen

Mojca Miklavec wrote:

On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:

On Mar 25, 2009, at 9:43 AM, Henning Hraban Ramm wrote:


Sorry, I tested only on my Intel Mac at home this morning.
texlua on OSX-PPC is still broken.

It works with my self-compiled LuaTeX 0.36.0
Should I send my luatex/texlua binary to anyone?

Greetlings, Hraban

Hmm, it's broken on your computer, but it's working (with one exception) on
mine. You're still using 10.4, right? Maybe we should use binaries compiled
on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?


Dear Macies,

The answer to the first question: yes, I'm almost sure that current is
broken since it needs an older version of LuaTeX, but it's kind of
hard to keep up with Hans, esp. because the scripts need to be
rewritten if we want to support multiple LuaTeX versions, but then
there's still a problem: what LuaTeX version with what version of
ConTeXt? (I do plan to fix it, but I'm in chronical lack of time until
summer if I want to finish 33 15-pages reports and thesis in TeX
without getting distracted by the issues encountered while writing
them. But I'll do my best to fix the most urgent issues.)


supporting multiple luatex versions will happen once luatex is kind of 
stable, which is 1.0 and later


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] typescript repository

2009-03-26 Thread Hans Hagen

Marcin Borkowski wrote:


And note that the distinction is *not* between free and
professional, but rather free and commercial.  Aren't LM or TeX
Gyre professional;)?

You're right that my word choice was wrong. OTOH, I think LM looks like crap ;-)


that's personal; what fonts you use and like somehow relates to the 
content and nature of the book


anyhow, this repos / table ... can we also add info about features and 
to what extend they are supported? i.e. the quality of the feature 
support in a font an dmaybe the defaults?


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] Columnset fails after update

2009-03-26 Thread Hans Hagen

Diego Depaoli wrote:


\*modern12ptrmtfrm* a-rate the sheep from
! Missing \endcsname inserted.


ok, will be fixed in next beta (probably sometime today)

-
  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] Stable broken, beta works

2009-03-26 Thread Henning Hraban Ramm

Am 2009-03-25 um 20:04 schrieb Mojca Miklavec:


On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:


Maybe we should use binaries compiled
on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?


Right, but we need to find someone on 10.4 that's willing to
contribute. The binaries used to be compiled on 10.4 until now, so
obviously they are forward-compatible.


I can offer to build these binaries at work on OSX PPC 10.4
For I'm half-time self-employed now, I can do that only about every  
two weeks.


But my version didn't work, neither with current nor with beta.
(see my posting as of 2009-03-25 10:03 GMT+1)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PGP.sig
Description: Signierter Teil der Nachricht
___
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] typescript repository

2009-03-26 Thread Arthur Reutenauer
 anyhow, this repos / table ... can we also add info about features and to 
 what extend they are supported? i.e. the quality of the feature support in 
 a font an dmaybe the defaults?

  Oh yes, that would be great.  Seeing the output of otfinfo -f, or
anything equivalent, would be immensively helpful in the choice of a
font.

Arthur
___
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] Updating minimals

2009-03-26 Thread Thomas A. Schmitz

Hi Willi,

On Mar 26, 2009, at 9:23 AM, Willi Egger wrote:


Hi,

While running the first-setup.sh script I get the following error:

receiving file list ... done

sent 37 bytes  received 132 bytes  112.67 bytes/sec
total size is 5749572  speedup is 34021.14
dyld: Symbol not found: _close$UNIX2003
 Referenced from: /Applications/lua36/bin/texlua
 Expected in: /usr/lib/libSystem.B.dylib

./first-setup.sh: line 69:   394 Trace/BPT trap  mtxrun -- 
verbose --script ./bin/mtx-update.lua --update --make --force -- 
engine=all --context=beta --texroot=$PWD/tex $@



I am working on a Mac OSX 10.4 and Intel hardware


See this thread: 
http://archive.contextgarden.net/message/20090324.103928.f8ed7a7f.en.html

So now we know it's a problem with 10.4, regardless of the  
architecture. We need someone on 10.4 to compile and commit the  
binaries for the minimals. So Willi, Hraban, you should try and look  
at this page on the wiki: http://wiki.contextgarden.net/ConTeXt_Minimals/Implementation 
 You'll need svn access in order to commit the binaries, but I'm sure  
Patrick will be happy to grant that (if you hand him a sufficient  
bribe...). Most of us are running 10.5, so we can't reproduce the  
problem.


Thomas
___
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] The very last macro

2009-03-26 Thread luigi scarso
 \everystoptext
 \everygoodbye
 \everylastgoodbye
I will never stop to learn  (and to make silly questions too, unfortunatly )

Many thanks
-- 
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
___


Re: [NTG-context] typescript repository

2009-03-26 Thread luigi scarso
On Thu, Mar 26, 2009 at 10:13 AM, Arthur Reutenauer
arthur.reutena...@normalesup.org wrote:
 anyhow, this repos / table ... can we also add info about features and to
 what extend they are supported? i.e. the quality of the feature support in
 a font an dmaybe the defaults?

  Oh yes, that would be great.  Seeing the output of otfinfo -f, or
 anything equivalent, would be immensively helpful in the choice of a
 font.
May I suggest ttx ?
http://www.letterror.com/code/ttx/


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


Re: [NTG-context] Stable broken, beta works

2009-03-26 Thread Henning Hraban Ramm

Am 2009-03-26 um 10:12 schrieb Henning Hraban Ramm:

Right, but we need to find someone on 10.4 that's willing to
contribute. The binaries used to be compiled on 10.4 until now, so
obviously they are forward-compatible.


I can offer to build these binaries at work on OSX PPC 10.4
For I'm half-time self-employed now, I can do that only about every  
two weeks.


Sorry, I'm overhasty again: I forgot about my trusty old iBook G4.

Just checked out the source tree.

Where should I send my binaries to? Can I check them in myself?
I'd like to automate the whole checkout-build-checkin process.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] The very last macro

2009-03-26 Thread Hans Hagen

luigi scarso wrote:

\everylastgoodbye

Not found.
Maybe \everylastshipout ?


\newtoks \everystoptext
\newtoks \everybye
\newtoks \everygoodbye
\newtoks \everynotabene   % this one is for collected error messages and so


-
  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] typescript repository

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 10:13 schrieb Arthur Reutenauer:

anyhow, this repos / table ... can we also add info about features  
and to
what extend they are supported? i.e. the quality of the feature  
support in

a font an dmaybe the defaults?


 Oh yes, that would be great.  Seeing the output of otfinfo -f, or
anything equivalent, would be immensively helpful in the choice of a
font.


This is what I want to do with my fontbook project, a book with samples
of free fonts (left side all style plus features, right side example  
text).


Adobe provides a font with a few symbols of opentype features

The document is in a earyl state and I try to automate large parts  
(save font
related information like name, feature, typescript etc. in a lua table  
or xml
file) and to find a better example text (english, continued text, the  
gutenberg

project offers nice texts).

[1] http://bitbucket.org/wolfs/fontbook/
[2] http://www.fontspace.com/adobe/otf-icons (can't find the original  
link from Adobe)


Wolfgang

___
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] typescript repository

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 10:35 schrieb Henning Hraban Ramm:


I'd suggest to agree on a unified naming system, like
type-VENDOR-FONT.tex
or organize the typescript in directories like the fonts themselves.


Feel free to change my files.


I guess I should update my old public typescripts to LuaTeX soon...
WRTT: Can we agree to only provide MkIV typescripts? (I hope their  
format is stable now?)


My typescripts should work with XeTeX and LuaTeX.

Look into type-mac.(tex|mkii|mkiv) (shipped with ConTeXt) how to give  
each of

them their preferred font names.

Can we agree on some versioning? (If we keep the files in some git/ 
svn repository that should be no problem, we can just checkout the  
latest version.)


http://bitbucket.org/wolfs/typescripts/

Wolfgang

___
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] Stable broken, beta works

2009-03-26 Thread Arthur Reutenauer
 Where should I send my binaries to? Can I check them in myself?

  Yes, you only need an SVN account on contextgarden.net.  Just tell me
by private mail what user name and password you would like, I'll create
it.

 I'd like to automate the whole checkout-build-checkin process.

  Generally speaking,

svn co http://svn.contextgarden.net/minimals-src/build-binaries
./build-binaries.sh  

should be enough.  The script builds the binaries if necessary, and
uploads them to the server.  SVN will prompt you for user name and
password the first time.

Arthur
___
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] The very last macro

2009-03-26 Thread luigi scarso
 \newtoks \everynotabene   % this one is for collected error messages and so
not in minimals,
only minimals-beta

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


Re: [NTG-context] The very last macro

2009-03-26 Thread luigi scarso
 \everylastgoodbye
Not found.
Maybe \everylastshipout ?


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


Re: [NTG-context] Updating minimals

2009-03-26 Thread Henning Hraban Ramm

Am 2009-03-26 um 10:17 schrieb Thomas A. Schmitz:

So now we know it's a problem with 10.4, regardless of the  
architecture. We need someone on 10.4 to compile and commit the  
binaries for the minimals. So Willi, Hraban, you should try and look  
at this page on the wiki: http://wiki.contextgarden.net/ConTeXt_Minimals/Implementation 
 You'll need svn access in order to commit the binaries, but I'm  
sure Patrick will be happy to grant that (if you hand him a  
sufficient bribe...). Most of us are running 10.5, so we can't  
reproduce the problem.


Arthur will provide me with a svn account, I'll check in my binaries  
later today (using my old iBook G4, OSX 10.4).



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PGP.sig
Description: Signierter Teil der Nachricht
___
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] The very last macro

2009-03-26 Thread Hans Hagen

luigi scarso wrote:

\newtoks \everynotabene   % this one is for collected error messages and so

not in minimals,
only minimals-beta


sure, and mostly meant for mkiv

-
  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] m-educat

2009-03-26 Thread Carlos Breton Besnier
Hi there.
There is any documentation for m-educat?
Thanks.
___
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] m-educat

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 13:07 schrieb Carlos Breton Besnier:


Hi there.
There is any documentation for m-educat?


At the end of the module, 'texexec --mode=demo m-edcuat'

Wolfgang

___
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] The very last macro

2009-03-26 Thread luigi scarso
On Thu, Mar 26, 2009 at 11:50 AM, Hans Hagen pra...@wxs.nl wrote:
 luigi scarso wrote:

 \newtoks \everynotabene   % this one is for collected error messages and
 so

 not in minimals,
 only minimals-beta

 sure, and mostly meant for mkiv
hmm,
maybe I  can make a bit of hacking to luatex.web,
maybe
final_cleanup; {prepare for death}




@ Now this is really it: \TeX\ starts and ends here.

The initial test involving |ready_already| should be deleted if the
\PASCAL\ runtime system is smart enough to detect such a ``mistake.''
@^system dependencies@

@p begin @!{|start_here|}
history:=fatal_error_stop; {in case we quit during initialization}
t_open_out; {open the terminal for output}
if ready_already=314159 then goto start_of_TEX;
@Check the ``constant'' values...@@;
if bad0 then
  begin wterm_ln('Ouch---my internal constants have been clobbered!',
'---case ',bad:1);
@.Ouch...clobbered@
  goto final_end;
  end;
initialize; {set global variables to their starting values}
@!init if not get_strings_started then goto final_end;
init_prim; {call |primitive| for each primitive}
init_str_ptr:=str_ptr; init_pool_ptr:=pool_ptr; fix_date_and_time;
tini@/
ready_already:=314159;
start_of_TEX: @Initialize the output routines@;
@Get the first line of input and prepare to start@;
history:=spotless; {ready to go!}
@Initialize synctex primitive@
main_control; {come to life}
final_cleanup; {prepare for death}
end_of_TEX: close_files_and_terminate;
final_end: ready_already:=0;
end.


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


[NTG-context] Font size in MKII vs. MKIV

2009-03-26 Thread curiouslearn

Hello,

If I compile the following code with MKII, the font size I get for the chapter
title is smaller than that I get with MKIV?

\starttext
   \chapter{This is bigger in MKIV than in MKII}

 The regular text is the same size.

\stoptext


Was this a deliberate change made from MKII to MKIV? 

___
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] The very last macro

2009-03-26 Thread Hans Hagen

luigi scarso wrote:

On Thu, Mar 26, 2009 at 11:50 AM, Hans Hagen pra...@wxs.nl wrote:

luigi scarso wrote:

\newtoks \everynotabene   % this one is for collected error messages and
so

not in minimals,
only minimals-beta

sure, and mostly meant for mkiv

hmm,
maybe I  can make a bit of hacking to luatex.web,
maybe
final_cleanup; {prepare for death}


why, what do you want to achieve; there are already such hooks

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] m-educat

2009-03-26 Thread Hans Hagen

Carlos Breton Besnier wrote:

Hi there.
There is any documentation for m-educat?


no, it was just a small spin-off of a way bigger thing

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] math symbols missing?

2009-03-26 Thread Jesse Alama
I just tried recompiling an old document with the latest minimals (mkiv)
and found that some of my old math commands don't seem to work:

  \ulcorner
  \urcorner
  \cap

Probably there are others, too.  (Also, \showmathcharacters seems to be
undefined.)  Any idea what might be going on?

Thanks,

Jesse

-- 
Jesse Alama (al...@stanford.edu)

___
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] The very last macro

2009-03-26 Thread luigi scarso
 why, what do you want to achieve; there are already such hooks
The original request was
sorry for the noise :
is there in mkiv a very last macro ?
I mean something like
\IamCallAtTheReallyEnd{..}
which does absolutly nothing to the pdf , and  after  which mkiv ends
without calls any other macro

Peter suggest to use \everylastshipout;
but this

\def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something
Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}}

\appendtoks\LuigisWhateverShouldHappen \to \everylastshipout
\starttext
hello
\stoptext

write
Something Luigi want to do for some unknown reason.

near the bottom of pdf (and I don't want it)
and BOOM! on log (which is a way to say that this macro was called)


Aditya suggests to put nothing to print in
\LuigisWhateverShouldHappen
and I said that it's no a robust solution .


BTW, for a specific document, this is actually a solution -- just need a bit
of test --

I'm almost sure that there is no solutions much differents from this one.
From luatex.web , around line 22423 :

@ We don't want to leave |main_control| immediately when a |stop| command
is sensed, because it may be necessary to invoke an \.{\\output} routine
several times before things really grind to a halt. (The output routine
might even say `\.{\\gdef\\end\{...\}}', to prolong the life of the job.)
Therefore |its_all_over| is |true| only when the current page
and contribution list are empty, and when the last output was not a
``dead cycle.''


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


Re: [NTG-context] The very last macro

2009-03-26 Thread Hans Hagen

luigi scarso wrote:

why, what do you want to achieve; there are already such hooks

The original request was
sorry for the noise :
is there in mkiv a very last macro ?
I mean something like
\IamCallAtTheReallyEnd{..}
which does absolutly nothing to the pdf , and  after  which mkiv ends
without calls any other macro

Peter suggest to use \everylastshipout;
but this

\def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something
Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}}

\appendtoks\LuigisWhateverShouldHappen \to \everylastshipout
\starttext
hello
\stoptext

write
Something Luigi want to do for some unknown reason.

near the bottom of pdf (and I don't want it)
and BOOM! on log (which is a way to say that this macro was called)


the problem is in your definition of 'end' and 'bottom'

the real final thing is \end and \everygoodbye happens just before that 
(the only calls after it are postponed error messages, which have no 
consequence for any pdf and the primitive \end which is really needed)


of course there can be pending conditional branches that needs to be 
finished; just try \appendtoks\tracingall\to\everygoodbye


You can also do something

\startluacode
table.insert(input.stop_actions, function()
texio.write_nl(I still have no clue why you need it.)
end)
\stopluacode

any other hook in itself will introduce a new situation of 'something 
done before the real \end'


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] The very last macro

2009-03-26 Thread luigi scarso

 the problem is in your definition of 'end' and 'bottom'

??
end := end of run
bottom := bottom of last page, in this case




 the real final thing is \end and \everygoodbye happens just before that
 (the only calls after it are postponed error messages, which have no
 consequence for any pdf and the primitive \end which is really needed)

yes, as I seen  in \def\stoptext


 of course there can be pending conditional branches that needs to be
 finished; just try \appendtoks\tracingall\to\everygoodbye

true



 You can also do something

 \startluacode
table.insert(input.stop_actions, function()
texio.write_nl(I still have no clue why you need it.)
end)
 \stopluacode


 ok thank you -- I like lua code  --



 any other hook in itself will introduce a new situation of 'something done
 before the real \end'


exactly what I mean:
any other hook in itself will introduce a new situation of 'something done
before the real \end'
that potentially can modify current page .




Consider this:
between
final_cleanup; {prepare for death}

and
end_of_TEX: close_files_and_terminate;

insert
{* MY HACK }
almost_death ;{I see state, but it's  'frozen' so any modification  will
never influence  pdf or dvi , only to log or terminal or external files}
{***}

in   almost_death you can do what ever you want -- you will never modify
(relevant part of ) state
that can influence final pdf or dvi .

==
@ Now this is really it: \TeX\ starts and ends here.

The initial test involving |ready_already| should be deleted if the
\PASCAL\ runtime system is smart enough to detect such a ``mistake.''
@^system dependencies@

@p begin @!{|start_here|}
history:=fatal_error_stop; {in case we quit during initialization}
t_open_out; {open the terminal for output}
if ready_already=314159 then goto start_of_TEX;
@Check the ``constant'' values...@@;
if bad0 then
  begin wterm_ln('Ouch---my internal constants have been clobbered!',
'---case ',bad:1);
@.Ouch...clobbered@
  goto final_end;
  end;
initialize; {set global variables to their starting values}
@!init if not get_strings_started then goto final_end;
init_prim; {call |primitive| for each primitive}
init_str_ptr:=str_ptr; init_pool_ptr:=pool_ptr; fix_date_and_time;
tini@/
ready_already:=314159;
start_of_TEX: @Initialize the output routines@;
@Get the first line of input and prepare to start@;
history:=spotless; {ready to go!}
@Initialize synctex primitive@
main_control; {come to life}
final_cleanup; {prepare for death}
{* MY HACK }
almost_death ;{I see state, but it's  'frozen' so any modification  will
never influence  pdf or dvi , only to log or terminal or external files}
{***}
end_of_TEX: close_files_and_terminate;
final_end: ready_already:=0;
end.

===


anyway,  as I wrote , this is not bad:

\def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something
Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}}

\appendtoks\LuigisWhateverShouldHappen \to \everylastshipout
\starttext
hello
\stoptext

\LuigisWhateverShouldHappen
can be made more robust -- for example you can find a way to nullify
Something...reason. so it doesn't appear on final pdf , and so on --



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


[NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have more  
than one line is set almost solid and is often too close to the next  
row.


So how can I adjust/control the vertical spacing both between and  
within rows?


\setuptables[bodyfont=9pt,\setupinterlinespace[line=2.4ex]]
gets:
! Missing \endcsname inserted.
to be read again
   \def
\doifnextoptionalelse #1#2-\def
 \nextoptionalcommandyes {#1}\def  
\nextoptio...

argument \setupinterlinespace
[line
\dosetvalue #1#2-\...@ea \def \csname #1#2
\endcsname
\p!doassign ...r \else \...@eaeaea #1\fi \fi {#2}{#3}
  {#4}
\xprocesscommaitem @relax@ #1==\empty \...@relax@
  \...@eaeaea  
\xprocesscommaite...

...
l.397 ...font=9pt,\setupinterlinespace[line=2.8ex]
  ]

I apologize if this is a FAQ: my review of the wiki and of core- 
tab.tex has been most instructive, but not on this issue.


Alan___
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] \cap is not defined

2009-03-26 Thread Hans Hagen

Eythan Weg wrote:


Hi, 

Today I found that  
$A \cap $B results in:


! Undefined control sequence.
\normalcap -\dohandlemathtoken 
{cap}

l.3 $$A\cap
B$$


solved in next beta

-
  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] The very last macro

2009-03-26 Thread luigi scarso
On Thu, Mar 26, 2009 at 4:39 PM, luigi scarso luigi.sca...@gmail.comwrote:

 the problem is in your definition of 'end' and 'bottom'

 ??
 end := end of run
 bottom := bottom of last page, in this case




 the real final thing is \end and \everygoodbye happens just before that
 (the only calls after it are postponed error messages, which have no
 consequence for any pdf and the primitive \end which is really needed)

 yes, as I seen  in \def\stoptext


 of course there can be pending conditional branches that needs to be
 finished; just try \appendtoks\tracingall\to\everygoodbye

 true



 You can also do something

 \startluacode
table.insert(input.stop_actions, function()
texio.write_nl(I still have no clue why you need it.)
end)
 \stopluacode


  ok thank you -- I like lua code  --



 any other hook in itself will introduce a new situation of 'something done
 before the real \end'


 exactly what I mean:
 any other hook in itself will introduce a new situation of 'something done
 before the real \end'
 that potentially can modify current page .




 Consider this:
 between
 final_cleanup; {prepare for death}

 and
 end_of_TEX: close_files_and_terminate;

 insert
 {* MY HACK }
 almost_death ;{I see state, but it's  'frozen' so any modification  will
 never influence  pdf or dvi , only to log or terminal or external files}
 {***}

 in   almost_death you can do what ever you want -- you will never modify
 (relevant part of ) state
 that can influence final pdf or dvi .

 ==

 @ Now this is really it: \TeX\ starts and ends here.

 The initial test involving |ready_already| should be deleted if the
 \PASCAL\ runtime system is smart enough to detect such a ``mistake.''
 @^system dependencies@

 @p begin @!{|start_here|}
 history:=fatal_error_stop; {in case we quit during initialization}
 t_open_out; {open the terminal for output}
 if ready_already=314159 then goto start_of_TEX;
 @Check the ``constant'' values...@@;
 if bad0 then
   begin wterm_ln('Ouch---my internal constants have been clobbered!',
 '---case ',bad:1);
 @.Ouch...clobbered@
   goto final_end;
   end;
 initialize; {set global variables to their starting values}
 @!init if not get_strings_started then goto final_end;
 init_prim; {call |primitive| for each primitive}
 init_str_ptr:=str_ptr; init_pool_ptr:=pool_ptr; fix_date_and_time;
 tini@/
 ready_already:=314159;
 start_of_TEX: @Initialize the output routines@;
 @Get the first line of input and prepare to start@;
 history:=spotless; {ready to go!}
 @Initialize synctex primitive@
 main_control; {come to life}
 final_cleanup; {prepare for death}
 {* MY HACK }
 almost_death ;{I see state, but it's  'frozen' so any modification  will
 never influence  pdf or dvi , only to log or terminal or external files}
 {***}
 end_of_TEX: close_files_and_terminate;
 final_end: ready_already:=0;
 end.

 ===


 anyway,  as I wrote , this is not bad:

 \def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something
 Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}}


For example, this looks a bit better -- no
Something Luigi want to do for some unknown reason.

\def\LuigisWhateverShouldHappen{%
\vbox to 0pt{\vss\hbox to 0pt{\hss \immediate\write16{BOOOM!}Something Luigi
want to do for some unknown reason.
\immediate\write16{BOOOM!


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


Re: [NTG-context] Updating minimals

2009-03-26 Thread Mojca Miklavec
On Thu, Mar 26, 2009 at 09:23, Willi Egger wrote:
 Hi,

 While running the first-setup.sh script I get the following error:

 receiving file list ... done

 sent 37 bytes  received 132 bytes  112.67 bytes/sec
 total size is 5749572  speedup is 34021.14
 dyld: Symbol not found: _close$UNIX2003
  Referenced from: /Applications/lua36/bin/texlua
  Expected in: /usr/lib/libSystem.B.dylib

 ./first-setup.sh: line 69:   394 Trace/BPT trap          mtxrun --verbose
 --script ./bin/mtx-update.lua --update --make --force --engine=all
 --context=beta --texroot=$PWD/tex $@


 I am working on a Mac OSX 10.4 and Intel hardware

 Kind regards

 Willi

I rolled back the luatex binary to 0.35, also because otherwise the
new binaries would not be regenerated. So we're now only waiting for
someone to commit the new binaries.

Mojca
___
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] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:


I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have  
more than one line is set almost solid and is often too close to the  
next row.


EXAMPLE!

Wolfgang

___
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] xhtml form to pdf form?

2009-03-26 Thread Andy
Hello,

 

I want to know if ConTeXt can convert xhtml form to pdf form? I learned some
examples in Garden wiki about typesetting html files using ConTeXt. But they
just translate the form tag to empty. Is there any ConTeXt way to handle
forms just like the \form commands in latex package hyperref?  Thanks.

 

Andy.

___
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] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

This sample will show the crowding within a cell and between rows.

Alan

\starttext
\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]
\NC A\NC read \quote{provided} for \quote{providing}\NC\AR
\NC B\NC Aliquam aliquet, est a ullamcorper condimentum, tellus nulla  
fringilla elit, a iaculis nulla turpis sed wisi. Fusce volutpat. Etiam  
sodales ante id nunc. Proin ornare dignissim lacus. Nunc porttitor  
nunc a sem. Sed sollicitudin velit eu magna. Aliquam erat volutpat.  
Vivamus ornare est non wisi. Proin vel quam. Vivamus egestas. Nunc  
tempor diam vehicula mauris. Nullam sapien eros, facilisis vel,  
eleifend non, auctor dapibus, pede.\NC\AR

\NC C\NC read 2002 for 2003 \NC\AR
\NC 9.1.13.2\NC read \quote{provided} for \quote{providing} \NC\AR
\NC 18.2.7.5\NC read Ictinus for Icinus architect of the Parthenon	\NC 
\AR

\NC 83.3.9.13\NC read 2002 for 2003 \NC\AR
\NC 97.4.8.4\NC delete \quote{used} \NC\AR

\stoptables
\stoptext

On Mar 26, 2009, at 12;55,56 , Wolfgang Schuster wrote:



Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:


I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have  
more than one line is set almost solid and is often too close to  
the next row.


EXAMPLE!

Wolfgang

___
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] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 18:51 schrieb Bowen Alan C.:


This sample will show the crowding within a cell and between rows.

Alan

\starttext
\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]



You could use this for the time being but I hope myself Hans
can fix the spacing.

\starttable[|l|b{\setupinterlinespace[line=2.8ex]}p(.6\textwidth)|]

Wolfgang

___
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] typescript repository

2009-03-26 Thread Mohamed Bana

does anyone use Asana Math?

Wolfgang Schuster wrote:

Hi,

the repository [1] has now a few typescripts from me but it would
be nice if other people can contribute more files for other fonts.

Another thing I need is a license for the files because I need
one for CTAN submission and TeXLive inclusion.

[1] http://bitbucket.org/wolfs/typescripts/

Wolfgang

___ 

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] typescript repository

2009-03-26 Thread Aditya Mahajan

On Thu, 26 Mar 2009, Mohamed Bana wrote:


does anyone use Asana Math?


I do. Right now, mostly for testing purposes.

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] Tables query (MKII, latest beta)

2009-03-26 Thread Hans Hagen

Bowen Alan C. wrote:

Thanks, Wolfgang!

This is a great improvement---here is no crowding any cell now. There  
remain , however, a few (many fewer) crowded rows.
So here’s hoping that Hans can get to this and make the required 
adjustments.


i'll upload a fix

(wolfgang: at some point we can clean up this table module, merge 
everything into one file erc etc; then i can also redo the coloring of 
cells)


-
  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] Font size in MKII vs. MKIV

2009-03-26 Thread curiouslearn
Hans Hagen pragma at wxs.nl writes:


  \starttext
 \chapter{This is bigger in MKIV than in MKII}
  
   The regular text is the same size.
  
  \stoptext
  
  
  Was this a deliberate change made from MKII to MKIV? 
 
 no, just a bug

Thank you, Hans. I suppose the MKIV version is with the bug because the font
size seems much too large with it. Thanks for letting me know.

___
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] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

Many thanks as ever, Hans.
Best, Alan
On Mar 26, 2009, at 17;10,38 , Hans Hagen wrote:


Bowen Alan C. wrote:

Thanks, Wolfgang!
This is a great improvement---here is no crowding any cell now.  
There  remain , however, a few (many fewer) crowded rows.
So here’s hoping that Hans can get to this and make the required  
adjustments.


i'll upload a fix

(wolfgang: at some point we can clean up this table module, merge  
everything into one file erc etc; then i can also redo the coloring  
of cells)


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


___
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] MetaPost graphics with TRT direction

2009-03-26 Thread Hans Hagen

Khaled Hosny wrote:

MPost graphics inside TRT direction are placed incorrectly overlapping
the text on the right, similar to what we had with \pdfximage (see the
attached PDF).

This seems to be unrelated to images issue since MPost graphics are
inserted as \pdfliteral. I'm not sure if this an engine or macro issue,
but I'm guessing the later.

Changing the \startMPLIBtoPDF so that the \hbox where the graphics is
placed is fixed to TLT direction fixes this, but I'm not sure if it is
safe to do so. 


for the moment i did

\def\startMPLIBtoPDF#1#2#3#4% watch the transparency reset
  {\naturalhbox\bgroup

(as \naturalhbox is the official way)

this keeps the internal direction (in textext) the same as the outer one

idris: we need to discuss what aspects of r-l stay r-l and in what cases 
we revert to lr (as here) or even to lr inside constructs


it depends a bit on general rules for arabic typesetting

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] new beta

2009-03-26 Thread Hans Hagen

new beta with some of todays patches
--

-
  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] Severe bug - tabl-tsp.tex missed

2009-03-26 Thread Vyatcheslav Yatskovsky

There is severe bug in the latest beta, when making mkiv format file:

! I can't find file `tabl-tsp.tex'.
to be read again
   \relax
l.243 \loadcorefile{tabl-tsp.tex}
(Press Enter to retry, or Control-Z to exit)

Vyatcheslav
___
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] Severe bug - tabl-tsp.tex missed

2009-03-26 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

There is severe bug in the latest beta, when making mkiv format file:

! I can't find file `tabl-tsp.tex'.
to be read again
   \relax
l.243 \loadcorefile{tabl-tsp.tex}
(Press Enter to retry, or Control-Z to exit)


mkiv: luatools --generate
mkii: mktexlsr

first

-
  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] both bold and capital

2009-03-26 Thread Vyatcheslav Yatskovsky

Hello,

I need bold and capital heads.The following gives me caps only, not bold:

\setuphead [headname][
 incrementnumber=list,  number=no, align=right, style=cap,bold]

What's wrong? How to mix cap, bold (and, probably, small) into head setup?

Vyatcheslav

___
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] new beta

2009-03-26 Thread Diego Depaoli
2009/3/26 Hans Hagen pra...@wxs.nl:
 new beta with some of todays patches
Many thanks, columnset issue was fixed.
Which luatex version I need to run xp?

context --make xp gives

! Undefined control sequence.
l.23 \catcode`B=\@@begingroup

This is LuaTeX, Version snapshot-0.36.0-2009032423

Cheers
-- 
Diego Depaoli
___
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 switch in 'style' stopped working

2009-03-26 Thread Vyatcheslav Yatskovsky

Thank you, Hans.  luatools --generate eliminated the error.

But, font switch in 'style' stopped working.
For example,

\definehead[faculty][chapter]
\setuphead [faculty][
  incrementnumber=list, page=yes, number=no, align=middle, style=\bfb]

produces bold but normal size font. \tfa also gives normal font.

Help!

Vyatcheslav



___
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] font switch in 'style' stopped working

2009-03-26 Thread Wolfgang Schuster


Am 27.03.2009 um 00:25 schrieb Vyatcheslav Yatskovsky:


Thank you, Hans.  luatools --generate eliminated the error.

But, font switch in 'style' stopped working.
For example,

\definehead[faculty][chapter]
\setuphead [faculty][
 incrementnumber=list, page=yes, number=no, align=middle, style=\bfb]

produces bold but normal size font. \tfa also gives normal font.

Help!


Looks correct to me.

\definehead[faculty][chapter]
\setuphead [faculty] 
[incrementnumber=list,page=yes,number=no,align=middle,style=\bfb]


\starttext

\faculty{faculty}

{\tf text \tfa text \tfb text \tfc text}

{\bf text \bfa text \bfb text \bfc text}

\stoptext

Wolfgang

___
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] both bold and capital

2009-03-26 Thread Wolfgang Schuster


Am 27.03.2009 um 00:09 schrieb Vyatcheslav Yatskovsky:


Hello,

I need bold and capital heads.The following gives me caps only, not  
bold:


\setuphead [headname][
incrementnumber=list,  number=no, align=right, style=cap,bold]

What's wrong? How to mix cap, bold (and, probably, small) into head  
setup?


'style={cap,bold}' but this did not work, for all capitals use 'style= 
\WORD\bf'

and for small capitals font features (smcp/c2sc)

Wolfgang
___
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] xhtml form to pdf form?

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 18:14 schrieb Andy:


Hello,

I want to know if ConTeXt can convert xhtml form to pdf form? I  
learned some examples in Garden wiki about typesetting html files  
using ConTeXt. But they just translate the form tag to empty. Is  
there any ConTeXt way to handle forms just like the \form commands  
in latex package hyperref?  Thanks.


http://articles.contextgarden.net/article/111

Wolfgang

___
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] new beta

2009-03-26 Thread Yanrui Li
2009/3/27 Hans Hagen pra...@wxs.nl:
 new beta with some of todays patches
 --

Hi,

Now if I use Chinese fonts with this beta, sizes of character is all
same. The test example is as shown in attachment.



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


-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.03.26 23:36)


test.tar.gz
Description: GNU Zip compressed data
___
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] medium constant is missed

2009-03-26 Thread Wolfgang Schuster


Am 25.03.2009 um 18:54 schrieb Vyatcheslav Yatskovsky:


I'm using latest beta, mkiv.

\setupinterlinespace[medium] fails, but \setupinterlinespace[1.25]  
works. Bug?


Yes, hans optimized \assignvalue is not expandable but the old version  
works.


\let\nopv!none \v!none
\let\posv!big  \v!big
\let\posv!middle   \v!medium
\let\posv!small\v!small
\edef\negv!big   {-\v!big}
\edef\negv!middle{-\v!medium}
\edef\negv!small {-\v!small}

\def\assignvalue#1#2#3#4#5%
  {\edef\!!stringa{#1}%
   \edef#2{\ifx\!!stringa\posv!big   #5\else
   \ifx\!!stringa\posv!middle#4\else
   \ifx\!!stringa\posv!small #3\else
 #1\fi\fi\fi}}

Wolfgang

___
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] new beta

2009-03-26 Thread Yanrui Li
2009/3/27 Yanrui Li liyanrui...@gmail.com:
 2009/3/27 Hans Hagen pra...@wxs.nl:
 new beta with some of todays patches
 --

 Hi,

 Now if I use Chinese fonts with this beta, sizes of character is all
 same. The test example is as shown in attachment.


Sorry, I forgot to put up My test file:

\usetypescriptfile[zhfonts]
\usetypescript[serif][times]
\usetypescript[sans][helvetica]
\usetypescript[mono][courier]
\usetypescript[myfont]
\setupbodyfont[myfont,rm,11pt]

\setuphead[chapter][style=\tfc]

\starttext

\chapter{中文 Test}

{\tf 中文 test \tfa 中文 test \tfb 中文 test \tfc 中文 test \tfd 中文 test}

\stoptext



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


 --
 Best wishes,
 Li Yanrui

 * Gentoo Linux (~x86)
 * ConTeXt Minimals Beta (2009.03.26 23:36)




-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.03.26 23:36)
___
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
___