Re: [NTG-context] Tikz

2009-10-01 Thread David Arnold

In the minmals directory:

david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
find: tikz: No such file or directory

On Sep 30, 2009, at 10:58 PM, luigi scarso wrote:




On Thu, Oct 1, 2009 at 7:42 AM, David Arnold dwarnol...@suddenlink.net 
 wrote:

All,

After installing context minimals, this no longer compiles with MKII:

\usemodule[tikz]

\starttext

\starttikzpicture
\draw[gray] (-5,-5) grid (5,5);
\stoptikzpicture

\stoptext


system  : module tikz loaded
(./tikz.tex
system  : module tikz (line 2) already loaded
publications: file tikz.bbl not found, waiting for bibtex
systems : begin file tikz at line 3
! Undefined control sequence.
l.5 \starttikzpicture

Can be.
If I rememeber well, by default ./first-run.sh
setup a new and fresh minimals:
others files are deleted.
Are there tikz* files still in your minimals ?


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

2009-10-01 Thread luigi scarso
On Thu, Oct 1, 2009 at 8:10 AM, David Arnold dwarnol...@suddenlink.netwrote:

 In the minmals directory:
 david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
 find: tikz: No such file or directory

 So , it seems to me that you don't have tikz in your minimals anymore.
Can you try to re-install?

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

2009-10-01 Thread David Arnold

Ran:

first-setup.sh

Then:

david-arnolds-macbook-pro:context darnold$
find: tikz: No such file or directory

No tikz files.

D.

On Sep 30, 2009, at 11:17 PM, luigi scarso wrote:




On Thu, Oct 1, 2009 at 8:10 AM, David Arnold dwarnol...@suddenlink.net 
 wrote:

In the minmals directory:

david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
find: tikz: No such file or directory

So , it seems to me that you don't have tikz in your minimals anymore.
Can you try to re-install?

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

2009-10-01 Thread luigi scarso
On Thu, Oct 1, 2009 at 8:22 AM, David Arnold dwarnol...@suddenlink.netwrote:

 Ran:
 first-setup.sh

 Then:

 david-arnolds-macbook-pro:context darnold$
 find: tikz: No such file or directory

 No tikz files.

 D.


So , it seems to me that you don't have tikz in your minimals anymore.
 Can you try to re-install?

 Ah -- sorry, bad english.
As Thomas wrote, pgf is not part of minimals .
Try to reinstall pgf from ctan;
if you can, it's better to make a symbolic link this time.
Or you can try to see if there are some options of rsync to preserve your
files,
but eventually you can end in messy and unusable minimals.

The idea of minimals is : the minimum complete for a project
and is good to have multiple minimals.
Actually I have
*) current -- reinstalled 2~3 times at year
*) beta -- can be reinstalled 2~3 time at week
*) beta-lunatic -- my project, frozen
*) beta-pdflualatex -- another experiment, not frozen
and a couple of current in production.
In you situation should say to make  a beta-pgf
To update
1) make a new minimals called beta-pfg-new
2) copy into it rilevant files and setup from beta-pgf
3) test beta-pdf-new
4) When tests are ok, store beta-pgf in another location and rename
beta-pgf-new in beta-pgf

-- 
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] virtual fonts in luatex?

2009-10-01 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 Hi all,
 
 I'm running into a problem, but maybe not all hope is lost. For my Greek
 stuff, I will sometimes need a dotbelowcomb accent. Only very few
 fonts have that, but no problem, in mkiv, I can simply take that from a
 follback font:
 
 \definefontfallback [GreekFallback] [name:texgyretermesregular] [0x0323]
 [force=no,check=no]
 
 Now I would like to remap the exclam character to this dotbelowcom.

If it was me, I would go for an active character, as that seems the most
straightforward solution.

 Again, no problem: with a fea file, I can write a sub rule
 
 sub exclam by dotbelowcomb

It is better to forget about fea files alltogether. Even when they
actually work, the interface is ugly.

 but I can't combine both approaches: if the font doesn't have the
 character, I get an error about invalid glyph index. In good old
 pdftex, it was possible to define a virtual font for such occasions, and
 I seem to remember that there's something similar in mkiv, but I'm
 unsure how it can be done. Any pointers?

Mkiv has an interface for virtual math, but I am not sure whether that
also works for text fonts (not do I know how, if so). If it does not
yet but could be made to do so, then that would be a very useful
extension to the font fallbacks...

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] framedtext in naturaltables

2009-10-01 Thread luigi scarso
2009/9/30 Xan dxpubl...@telefonica.net

 Hi,

 If I put
 \startframedtext[frame=off,background=screen,width=broad]\stopframedtext
 in naturaltable, then I get that framed text passes table and that it aligns
 at top.

 Can you say me please how to get a right behaviour?

 no solution, sorry-- I will try it it this weekend.
-- 
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] Math symbols rigt floor and left floor

2009-10-01 Thread luigi scarso
On Thu, Oct 1, 2009 at 5:17 AM, Aditya Mahajan adit...@umich.edu wrote:

 On Wed, 30 Sep 2009, Thomas A. Schmitz wrote:


 On Sep 30, 2009, at 4:03 PM, Thomas A. Schmitz wrote:

  Hi all,

 quick question: does anyone know of a free font that contains the symbols
 left floor (uni230A) and right floor (uni120B)? I have a commercial font
 that does have them, but I need a portable and free version for the next
 release of my Greek module.

  err, that should have been 230A and 230B, sorry.


 I don't know if can help you.
http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.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
___


Re: [NTG-context] Math symbols rigt floor and left floor

2009-10-01 Thread Thomas A. Schmitz


On Oct 1, 2009, at 10:21 AM, luigi scarso wrote:


I don't know if can help you.
http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.zip


Well, if I were 20 years younger, I would definitely hope for the Stix  
fonts. But alas, I think I will be dead and gone before they are  
released...


Thanks luigi

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] Math symbols rigt floor and left floor

2009-10-01 Thread luigi scarso
On Thu, Oct 1, 2009 at 10:25 AM, Thomas A. Schmitz 
thomas.schm...@uni-bonn.de wrote:


 On Oct 1, 2009, at 10:21 AM, luigi scarso wrote:

  I don't know if can help you.
 http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.zip


 Well, if I were 20 years younger, I would definitely hope for the Stix
 fonts. But alas, I think I will be dead and gone before they are released...

 Thanks luigi

 I don't think so, because:
1) http://www.stixfonts.org/
Release Version Available in about 30 Days
2) you are immortal -- like everyone involved in ConTeXt

-- 
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] Math symbols rigt floor and left floor

2009-10-01 Thread Taco Hoekwater


luigi scarso wrote:
 I don't think so, because:
 1) http://www.stixfonts.org/
 Release Version Available in about 30 Days

From past experience, that probably means the first version (Type1
only, 50+ fonts, 8-bit fontspecific encodings, no tex support at all,
buggy metrics) will be just in time for Christmas *this year* !

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
___


[NTG-context] activating font specific ligatures

2009-10-01 Thread Peter Rolf

Hi,

I'm currently adding some otf-fonts (MinionPro,MyriadPro from 
Designer8.2) to ConTeXt.

I use the following font feature for MinionPro:
\definefontfeature[minion][script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes]

Most ligature work with this setting, but

ch ck ct ij IJ sp ss st

do not. Also the ligatures for small caps (some are defined) do not work 
at all.


Is there a way to manually select the ligatures of a font? I like to 
activate the ch-,ch-ligatures (c_h E085, c_k  E086), but not the too 
playful ct-,sp-,st-ligatures. I can live without all this, but it would 
be nice to use the possibilities of the font. Any hint is welcome.



Greetings, Peter


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

2009-10-01 Thread Peter Münster
On Wed, 30 Sep 2009, David Arnold wrote:

 In the minmals directory:
 david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
 find: tikz: No such file or directory

Did you really run this command find . grep 'tikz' ?
This means, you will find all files in the current directory and in the
sub-directories grep and tikz, and these 2 sub-directories probably
don't exist.

You want probably something like this:
find . -name tikz
or
find . -name *tikz*

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] activating font specific ligatures

2009-10-01 Thread Arthur Reutenauer
 Most ligature work with this setting, but

 ch ck ct ij IJ sp ss st

  Those ligatures are usually not part of the liga feature that only activates
the most common f-ligatures; try dlig (discretionary ligatures), or maybe hlig
(historical ligatures), although it's more probably the former.

 Is there a way to manually select the ligatures of a font?

  You can use a feature file to define your own OpenType features that would
only activates the ligatures of your choice and associate it with a name, say
plig for Peter's ligatures (rlig is already used for required ligatures in
scripts like Arabic, better not to overwrite it).  See
fonts/fea/context/texhistoric.fea in the ConTeXt distribution for how it's done
for tlig (which is not a standard OpenType feature either).  Send it to Hans
when you're over, so that he can use it too because he's been traumatised by
the st and ct ligatures :-)

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] activating font specific ligatures

2009-10-01 Thread Peter Rolf

Arthur Reutenauer schrieb:

Most ligature work with this setting, but

ch ck ct ij IJ sp ss st



  Those ligatures are usually not part of the liga feature that only activates
the most common f-ligatures; try dlig (discretionary ligatures), or maybe hlig
(historical ligatures), although it's more probably the former.

  

Is there a way to manually select the ligatures of a font?



  You can use a feature file to define your own OpenType features that would
only activates the ligatures of your choice and associate it with a name, say
plig for Peter's ligatures (rlig is already used for required ligatures in
scripts like Arabic, better not to overwrite it).  See
fonts/fea/context/texhistoric.fea in the ConTeXt distribution for how it's done
for tlig (which is not a standard OpenType feature either).  Send it to Hans
when you're over, so that he can use it too because he's been traumatised by
the st and ct ligatures :-)

  

:))

will do so

I have found the 'dlig'-feature in the font, but activating this feature 
doesn't work here.


Thanks Arthur and Thomas!

Best wishes,  Peter


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
___

  


___
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] activating font specific ligatures

2009-10-01 Thread Thomas A. Schmitz


On Oct 1, 2009, at 2:22 PM, Peter Rolf wrote:

I have found the 'dlig'-feature in the font, but activating this  
feature doesn't work here.


Hmm, it does work here:

\definefontfeature
  [pete]
   
[mode 
= 
node 
,script 
= 
latn 
,language 
=dflt,liga=yes,dlig=yes,onum=yes,pnum=yes,kern=yes,tlig=yes,trep=yes]


\starttypescript [serif] [minion]
  \definefontsynonym [Minion-Roman]  [name:MinionPro- 
Regular]  [features=pete]
  \definefontsynonym [Minion-Bold]   [name:MinionPro-Bold]   
[features=pete]
  \definefontsynonym [Minion-Italic] [name:MinionPro-It]   
[features=pete]
  \definefontsynonym [Minion-Bold-Italic][name:MinionPro-BoldIt]  
[features=pete]

 \stoptypescript

\starttypescript [serif] [minion] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]   [Minion-Roman]  [features=pete]
  \definefontsynonym [SerifItalic] [Minion-Italic]  [features=pete]
  \definefontsynonym [SerifBold]   [Minion-Bold]  [features=pete]
  \definefontsynonym [SerifBoldItalic] [Minion-Bold-Italic]   
[features=pete]
  \definefontsynonym [SerifCaps]   [Minion-Roman]   
[features=smallcaps]

\stoptypescript

\starttypescript [Minion]
  \definetypeface [MyMinion] [rm] [serif] [minion] [default]
\stoptypescript

\usetypescript[Minion]
\setupbodyfont[MyMinion,12pt]

\starttext

The official construction files flash and hiss IJ ij ack ock.

{\it The official construction files flash and hiss IJ ij ack ock.}

\stoptext

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] activating font specific ligatures

2009-10-01 Thread Peter Rolf

Thomas A. Schmitz schrieb:


On Oct 1, 2009, at 2:22 PM, Peter Rolf wrote:

I have found the 'dlig'-feature in the font, but activating this 
feature doesn't work here.


Hmm, it does work here:
Yep, your example works here too... *but* now I'm also traumatized by 
the ugly ligatures. My lawyer will contact you ;)



___
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] activating font specific ligatures

2009-10-01 Thread Thomas A. Schmitz


On Oct 1, 2009, at 2:54 PM, Peter Rolf wrote:

Yep, your example works here too... *but* now I'm also traumatized  
by the ugly ligatures. My lawyer will contact you ;)


YOU made me look at those ligatures in the first place, so my lawyer  
will contact your lawyer :-) But seriously, it really depends: the  
French Pléiade editions have these st and ct ligatures, and for  
poetry, e.g., I don't find them ugly at all. But of course, you  
wouldn't want to use them for a technical manual.

___
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 future of context conference pdf?

2009-10-01 Thread Xan



Xan wrote:

/ I'm interested of the conference of Hans The Future of ConTeXt 
// [http://www.ntg.nl/EuroTeX2009/programme.html]. Is it in some place for 
// downloading the presentation?

/
not that one
  


It's a pain.
anyhow, much is published in user group magazines or documents on our 
website;

In what documents?
 if you want to be kept informed but cannot visit user group 
meetings it might make sense to become a member (e.g of the ntg) so that 
you get things on paper (apart from the fact that by sponsoring user 
groups you also secure the future of tex support as user groups are 
taking care of mailing lists, journals, distributions, and sponsoring 
(font etc) projects)
  
What are the benefits to become a member of ntg?. In the english page 
only there is only the registration form, I think.

Hans
  





Xan.
___
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 future of context conference pdf?

2009-10-01 Thread luigi scarso
On Thu, Oct 1, 2009 at 4:22 PM, Xan dxpubl...@telefonica.net wrote:




 What are the benefits to become a member of ntg?. In the english page only
 there is only the registration form, I think.

MAPS magazines are great.
-- 
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] Filenames for fonts

2009-10-01 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 28.09.2009 um 17:30 schrieb Matthijs Kooijman:

I've been struggling a bit with linlibertine as well, I've found that 
there
seems to be an issue with some characters in the font filenames 
(probably the
_ or ., I haven't figured out which ones exactly). I've got the files 
named

like this:


ConTeXt has a problem with the dots in the filename, underscores are
no problem and you let it remain, to use the fonts on my system I removed
only the version number but this is not a real solution and this bug was
mentioned AFAIK long ago.

You should make a entry in the bug tracker and hope Hans will solve it.


if the problem is outlined well, i.e. i can replicate it, it shoul dnot 
be that hard to solve


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] activating font specific ligatures

2009-10-01 Thread Hans Hagen

Arthur Reutenauer wrote:


for tlig (which is not a standard OpenType feature either).  Send it to Hans
when you're over, so that he can use it too because he's been traumatised by
the st and ct ligatures :-)


right now i'm traumatized by the fact that after our main communication 
server crashed (mail, ftp, svn, vpn) i had to spend this week figuring 
out a new setup


so, hence my lack of response this week

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] virtual fonts in luatex?

2009-10-01 Thread Hans Hagen

Taco Hoekwater wrote:


Mkiv has an interface for virtual math, but I am not sure whether that
also works for text fonts (not do I know how, if so). If it does not
yet but could be made to do so, then that would be a very useful
extension to the font fallbacks...


the general font fallbacks mechanism (definefontfallback cum suis) can 
be used as one can remap ranges as well as individual characters


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] Math symbols rigt floor and left floor

2009-10-01 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Oct 1, 2009, at 10:21 AM, luigi scarso wrote:


I don't know if can help you.
http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.zip


Well, if I were 20 years younger, I would definitely hope for the Stix 
fonts. But alas, I think I will be dead and gone before they are 
released...


well, but then you've crossed the styx, 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] utf-8 math and xetex

2009-10-01 Thread Hans Hagen

Aditya Mahajan wrote:

Hi,

Utf-8 math input that works with pdftex (α, β, etc) does not work with 
xetex. Is this by design, or a recent bug?


Minimal example

\enableregime[utf-8]
\starttext $α β$ \stoptext


i have no plans of adding unicode math support to mkii for xetex , al 
least not on the short term; if it happens at all the relevant files 
will be generated by scripts


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] virtual fonts in luatex?

2009-10-01 Thread Thomas A. Schmitz


On Oct 1, 2009, at 7:55 PM, Hans Hagen wrote:

Mkiv has an interface for virtual math, but I am not sure whether  
that

also works for text fonts (not do I know how, if so). If it does not
yet but could be made to do so, then that would be a very useful
extension to the font fallbacks...


the general font fallbacks mechanism (definefontfallback cum suis)  
can be used as one can remap ranges as well as individual characters


Hans


Well, my problem is: want to remap ! to dotbelowcomb, AND I want this  
taken from a fallback font when the font doesn't have it. This doesn't  
work; I get errors about invalid glyph index.


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] expansion problem with \getbuffer again (mkiv)

2009-10-01 Thread Hans Hagen

Peter Rolf wrote:

Hi,

the attached example works with mkii, but breaks with mkiv. Here is the 
error message I get (beta 28.09.2009):


systems : begin file test at line 1
! Missing \endgroup inserted.
inserted text
   \endgroup
to be read again
  \vskip
\stopblankhandling ...ional \someblankdone \vskip
 \blankskip \fi \endgroup
l.3 \stopblankhandling
\dovspacing ...argument #1\else \s!default \fi )}
to be read again
  \leavevmode

l.20 \setlayer[FOO]{\getbuffer[FOO]}
  ?
! Emergency stop.
inserted text
   \endgroup
to be read again
  \vskip
\stopblankhandling ...ional \someblankdone \vskip
 \blankskip \fi \endgroup
l.3 \stopblankhandling
\dovspacing ...argument #1\else \s!default \fi )}
to be read again
  \leavevmode

l.20 \setlayer[FOO]{\getbuffer[FOO]}
  !  == Fatal error occurred, no output 
PDF file produced!MTXrun | run 1: luatex 
--fmt=r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en 
--lua=r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en.lui 
--backend=pdf ./test

MTXrun | fatal error, return code: 1


here is a patch (can't update right now, in the middle of something else)

\def\startblankhandling
  {\par
   \ifvmode
 \expandafter\dostartblankhandling
   \else
 \expandafter\nostartblankhandling
   \fi}

\def\nostartblankhandling#1\stopblankhandling
  {}

\def\dostartblankhandling
  {\begingroup
   \setfalse\someblankdone
   \the\everybeforeblankhandling}


-
  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] virtual fonts in luatex?

2009-10-01 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Oct 1, 2009, at 7:55 PM, Hans Hagen wrote:


Mkiv has an interface for virtual math, but I am not sure whether that
also works for text fonts (not do I know how, if so). If it does not
yet but could be made to do so, then that would be a very useful
extension to the font fallbacks...


the general font fallbacks mechanism (definefontfallback cum suis) can 
be used as one can remap ranges as well as individual characters


Hans


Well, my problem is: want to remap ! to dotbelowcomb, AND I want this 
taken from a fallback font when the font doesn't have it. This doesn't 
work; I get errors about invalid glyph index.


hm, weird ... example ...


-
  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] expansion problem with \getbuffer again (mkiv)

2009-10-01 Thread Peter Rolf

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

the attached example works with mkii, but breaks with mkiv. Here is 
the error message I get (beta 28.09.2009):


systems : begin file test at line 1
! Missing \endgroup inserted.
inserted text
   \endgroup
to be read again
  \vskip
\stopblankhandling ...ional \someblankdone \vskip
 \blankskip \fi 
\endgroup

l.3 \stopblankhandling
\dovspacing ...argument #1\else \s!default \fi )}
to be read again
  \leavevmode

l.20 \setlayer[FOO]{\getbuffer[FOO]}
  ?
! Emergency stop.
inserted text
   \endgroup
to be read again
  \vskip
\stopblankhandling ...ional \someblankdone \vskip
 \blankskip \fi 
\endgroup

l.3 \stopblankhandling
\dovspacing ...argument #1\else \s!default \fi )}
to be read again
  \leavevmode

l.20 \setlayer[FOO]{\getbuffer[FOO]}
  !  == Fatal error occurred, no 
output PDF file produced!MTXrun | run 1: luatex 
--fmt=r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en 
--lua=r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en.lui 
--backend=pdf ./test

MTXrun | fatal error, return code: 1


here is a patch (can't update right now, in the middle of something else)


Thanks Hans! As a nice side effect my other problem

http://archive.contextgarden.net/message/20090924.150300.aabab18c.en.html

is also history now. All colors are at the right places again.



\def\startblankhandling
  {\par
   \ifvmode
 \expandafter\dostartblankhandling
   \else
 \expandafter\nostartblankhandling
   \fi}

\def\nostartblankhandling#1\stopblankhandling
  {}

\def\dostartblankhandling
  {\begingroup
   \setfalse\someblankdone
   \the\everybeforeblankhandling}


-
  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] activating font specific ligatures

2009-10-01 Thread Peter Rolf

Hans Hagen schrieb:

Arthur Reutenauer wrote:

for tlig (which is not a standard OpenType feature either).  Send it 
to Hans
when you're over, so that he can use it too because he's been 
traumatised by

the st and ct ligatures :-)



No easy way to do this anymore!?

\installfeature[otf][xlig]
\definefontfeature[minion][mode=node,script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes,
 xlig=yes,featurefile=minionpro.fea]

[font-ini.mkiv]
[..]
\def\doinstallfontfeature[#1][#2]%
 {\writestatus\m!fonts{installing font features was experimental}} % 
\ctxlua{fonts.install_feature(#1,#2)}}

-

I can send you the *.fea file, but I doubt that the two ligatures 
(c_h,c_k) are worth all the trouble...


right now i'm traumatized by the fact that after our main 
communication server crashed (mail, ftp, svn, vpn) i had to spend this 
week figuring out a new setup


so, hence my lack of response this week

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
___ 





___
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] framedtext in naturaltables

2009-10-01 Thread Wolfgang Schuster


Am 30.09.2009 um 21:22 schrieb Xan:


Hi,

If I put \startframedtext 
[frame=off,background=screen,width=broad]\stopframedtext in  
naturaltable, then I get that framed text passes table and that it  
aligns at top.


Can you say me please how to get a right behaviour?


\startframedtext[location=top,frame=off,background=screen,width= 
\dimexpr\hsize-\itemgrouplistwidth\relax]


or better

\defineframedtext
  [tableframed]
  [location=top,
   frame=off,
   background=color, % screen works only with mkii but color with  
mkii and mkiv

   backgroundcolor=gray
   width=\dimexpr\hsize-\itemgrouplistwidth\relax]

\bTD\starttableframed ... \stoptableframed\eTD

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
___