Re: [NTG-context] Rebuilding the font cache: segmentation fault 11

2013-12-25 Thread Keith J. Schultz
Hi All,

Actually, it is false permissions!! I change it so that all have read 
permission and all went well!

regards
Keith

Am 22.12.2013 um 11:52 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com:

 
 Am 21.12.2013 um 23:02 schrieb Willi Egger cont...@boede.nl:
 
 Hello all,
 
 did anyone else experience this:
 
 fonts   | names | globbing path '/Users/willi/Library/Fonts/**.ttf'
 fonts   | names | globbing path '/Library/Fonts/**.ttf'Segmentation 
 fault: 11
 
 I struggle with this issue since I stepped over to a new Mac book Air. Is 
 there something tricky in the Library/Fonts directory? May be a subfolder 
 could cause this?
 
 The Skia font in Library/Font causes the LuaTeX error, when you remove it 
 from the folder ConTeXt builds the cache without errors.
 
 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \quotation with yfrak-font?

2013-12-25 Thread Rudolf Bahr
On Sun, Dec 22, 2013 at 12:38:58PM +0100, Wolfgang Schuster wrote:
 
 Am 22.12.2013 um 11:26 schrieb Rudolf Bahr qu...@quasi.de:
 
  
  In the following minimal example I'd like to get quotation 
  marks around the Nein!, but I don't:
  
  
  \starttext
  
  \language[de]
  \pdfmapline{yfrak yfrak.pfb}
  \definefont[YfrakFont][yfrak at 11pt]
  
  \YfrakFont
  Zu meinem Vorschlag sagte das: M*adchen: \quotation{Nein!}
  
  \stoptext
  ---
  
  Please, what is wrong?
 
 The font is wrong, I compared the afm and pub files of the font and the 
 information
 about the position of the quotation marks in the afm file and pub file don’t 
 match.
 
 I suggest to use a font in TrueType or OpenType [1] format which works with 
 less problems.
 
 [1] http://unifraktur.sourceforge.net
 
Hello Wolfgang,

thank you for your hints!
I looked up unifraktur and many, many others and could learn what you meant 
with 
less problems.
Nearly all of the hundreds of fraktur-fonts in the world have problems, as 
reported by the
program fontforge. But even worse, mostly there is a lack of umlauts, 2 of 3 
needed 
different s and a lack of ligatures. And only very, very few of them have in 
addition to 
the normal umlauts written with double points umlauts with a small e above 
instead.

So, I returned to yfrak.pfb and ysmfrak.pfb and built my own \glqq and 
\grqq, out
of apostrophs, doubling, mirroring and lowering them.
Sometimes there is a need to do so, but generally, of course, I prefere to use 
\quotation{...}!

Greetings, Rudolf

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Request for metapost

2013-12-25 Thread Peter Rolf
Also thanks from my side. Just what I needed for further tests (graphics
with multiple paths).

Peter


Am 22.12.2013 19:10, schrieb Hans Hagen:
 \starttext
 
 % \enabletrackers[metapost.variables]
 
 \startMPcode
 numeric n[]   ; for i=1 upto 10: n[i] := 1/i ; endfor ;
 pathp[]   ; for i=1 upto 10: p[i] := fullcircle xyscaled
 (cm*i,cm/i) ; endfor ;
 numeric r[][] ; for i=1 upto 4 : for j=1 upto 3 : r[i][j] :=
 uniformdeviate(1) ; endfor ; endfor ;
 pairu[][] ; for i=1 step 0.5 until 4 : for j=1 step 0.1 until 2
 : u[i][j] := (i,j) ; endfor ; endfor ;
 
 passvariable(x,12345) ;
 passarrayvariable(n-array,n,1,7,1) ;
 passarrayvariable(p-array,p,1,7,1) ;
 passvariable(p,(1,1) .. (2,2)) ;
 
 startpassingvariable(b)
 startarray
 for i=1 upto 4 :
 startarray
 for j=1 upto 3 :
 value(r[i][j])
 endfor
 stoparray
 endfor
 stoparray
 stoppassingvariable ;
 
 startpassingvariable(a)
 starthash
 key(test 1)
 startarray
 value(123)
 value(456)
 stoparray
 key(test 2)
 startarray
 index(0)
 value(123)
 value(456)
 value(789)
 slot(999,987)
 stoparray
 key(test 3)
 starthash
 key(first) value(789)
 entry(second,987)
 stophash
 stophash
 stoppassingvariable ;
 
 startpassingvariable(c)
 startarray
 for i=1 step 0.5 until 4 :
 index(i)
 startarray
 for j=1 step 0.1 until 2 :
 slot(j,u[i][j])
 endfor
 stoparray
 endfor
 stoparray
 stoppassingvariable ;
 
 draw fullcircle scaled 1cm ;
 \stopMPcode
 
 \ctxluacode{inspect(metapost.variables)}
 
 \ctxcommand{mprunvar(x)}
 
 \stoptext

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Rebuilding the font cache: segmentation fault 11

2013-12-25 Thread Wolfgang Schuster

Am 25.12.2013 um 11:16 schrieb Keith J. Schultz schul...@uni-trier.de:

 Hi All,
 
 Actually, it is false permissions!! I change it so that all have read 
 permission and all went well!

http://www.ntg.nl/pipermail/ntg-context/2013/075732.html

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] doublestroke

2013-12-25 Thread Elspeth McGullicuddy
Hi,
I hopped you all had a merry Christmas :-)

In the very first working example:

\definefontfamily [mainface] [rm] [Latin Modern Roman]
\definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math]
[range={uppercasedoublestruck}]  %%%,letterlikesymbols}]
\definefontfamily [mainface] [mm] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
\startformula
ABC \quad {\blackboard AB[C]DEFG[H]IJKLM[N]O[PQR]STUVWXY[Z]}
\stopformula
\stoptext

letters here in brackets weren't rendered as expected... Because there
are holes
in the uft table as can be seen there:
http://www.w3.org/TR/MathML2/double-struck.html

Adding the bloks letterlikesymbols was, to an extent solving the problem.
Now in my document I am also using calligraphic letters which I want
to remain in modern.

1- WHAT DIDN'T WORK:
First idea that comes to me is modifying the file: math-act.lua

I have added all the lines that are commented out here.

blocks[uppercasedoublestruck]   = { first = 0x1D538,
last = 0x1D550 } %0x1D551 is not attributed
%blocks[uppercasedoublestruckc]   = { first = 0x02102,
last = 0x02102 } %
%blocks[uppercasedoublestruckh]   = { first = 0x0210D,
last = 0x0210D } %
%blocks[uppercasedoublestruckn]   = { first = 0x02115,
last = 0x02115 } %
%blocks[uppercasedoublestruckp]   = { first = 0x02119,
last = 0x02119 } %
%blocks[uppercasedoublestruckq]   = { first = 0x0211A,
last = 0x0211A } %
%blocks[uppercasedoublestruckr]   = { first = 0x0211D,
last = 0x0211D } %
%blocks[uppercasedoublestruckz]   = { first = 0x02124,
last = 0x02124 } %

It just didn't work. Compiled but fail to provided expected result:
Everything was in modern.

2- WHAT WORKED

\definefontfamily [mainface] [rm] [Latin Modern Roman]
\definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math]

[range={uppercasedoublestruck,0x02102,0x0210D,0x02115,0x02119,0x0211A,0x0211D,0x02124}]
\definefontfamily [mainface] [mm] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
\startformula
\int_a^b \quad ABC \quad {\blackboard AB[C]DEFG[H]IJKLM[N]O[PQR]STUVWXY[Z]}
\stopformula
\stoptext

3-QUESTION

Unless I'm completely wrong, the modification I've made to the file:
math-act.lua
haven't been taken into account at all:
even if I modify the line uppercasedoublestruck such as to reduce the range:

blocks[uppercasedoublestruck]   = { first = 0x1D538,
last = 0x1D540 }

my \blackboard UVXY keep to be rendered with term...

So why?

Regards,
Chris
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___