Re: [NTG-context] MacOsX Mavericks and Luatex

2013-10-25 Thread Meer, H. van der
On 25 okt. 2013, at 00:13, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl 
wrote:

anyway, in a next beta you can set this in texmf.cnf.lua:

return {
   content = {
   directives = {
   [fonts.usesystemfonts] = false,
   },
   },
}

Best do that in texmf-local as a next update will overwrite the main cnf file. 
Entries in the he local file overload main ones.


(1) Where resides above mentioned main cnf file? Useful as template for local 
changes.

(2) I presume that the main cnf file is read in first and the local one after 
that. Thus changing only that what is done in the local file. Correct?

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

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

Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Alan BRASLAU
On Fri, 25 Oct 2013 07:23:43 +0900
Hans Hagen pra...@wxs.nl wrote:

 it looks like a font issue to me .. i could hack a solution but prefer 
 not to do that (the less exceptions we have the better)
 
 Hans

So, who can fix the font issue?
(tex/texmf/fonts/opentype/public/xits/xits-math.otf)

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


Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Wolfgang Schuster

Am 25.10.2013 um 10:08 schrieb Alan BRASLAU alan.bras...@cea.fr:

 On Fri, 25 Oct 2013 07:23:43 +0900
 Hans Hagen pra...@wxs.nl wrote:
 
 it looks like a font issue to me .. i could hack a solution but prefer 
 not to do that (the less exceptions we have the better)
 
 Hans
 
 So, who can fix the font issue?
 (tex/texmf/fonts/opentype/public/xits/xits-math.otf)

https://github.com/khaledhosny/xits-math/issues

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] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Alan BRASLAU
On Fri, 25 Oct 2013 10:14:45 +0200
Wolfgang Schuster wolfgang.schus...@gmail.com wrote:

  So, who can fix the font issue?
  (tex/texmf/fonts/opentype/public/xits/xits-math.otf)
 
 https://github.com/khaledhosny/xits-math/issues

OK, reported to Khaled.
Thanks

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


Re: [NTG-context] MacOsX Mavericks and Luatex

2013-10-25 Thread Taco Hoekwater

On 10/24/2013 10:00 AM, Wolfgang Schuster wrote:


Am 24.10.2013 um 09:45 schrieb Pierre Bovet pierr...@me.com:


OK, that was not a good example…
But the the message above is coming with any other otf fonts:

fontsnames  globbing path '/Library/Fonts/**.ttf'

mtx-context | fatal error: no return code, message: luatex: execution 
interrupted


Can you remove the Skia.ttf (copy it to another directory) font from 
/Library/Fonts,
this helped on my system to get rid of the error message.


It is definitely Skia.ttf itself, and not its permissions. After my
upgrade to Mavericks, I got a fresh Skia.ttf (491796 bytes), and even
though the permissions were fine (644), it crashes luatex, standalone
fontforge, and ttx.

Actually, changing the file permissions to 000 (not readable by anyone)
fixed context's use of system fonts.

ttx says: TT instructions error: 'illegal opcode: 0x91'; texlua and
fontforge just crash on an undefined glyph in the internals of the font.

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


Re: [NTG-context] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Khaled Hosny
On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote:
 On 10/24/2013 2:46 PM, H. Özoguz wrote:
 \setupbodyfont [dejavu,12pt]
 \starttext
 $a/b$
 
 $1/2$
 
 $π/3$
 \stoptext
 
 Is this indeed the desired spacing? What do others think?
 
 Thanks.
 
 I think you are right, I don't know if this is really desired, but I
 don't think so. Escpecially one gets problems with 2 in the denominator.
 
 \setupbodyfont [dejavu,12pt]
 \starttext
 $1/2$
 
 $1\,/\,2$
 \stoptext
 
 The second hand-tuned example is obviously nicer.
 
 it looks like a font issue to me .. i could hack a solution but prefer not
 to do that (the less exceptions we have the better)

Not a font issue. ConTeXt is using the fraction slash (which is intended
to be used with vulgar fractions) not the regular slash.

Regards,
Khaled
___
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] \startstructurelevel

2013-10-25 Thread Wolfgang Schuster

Am 25.10.2013 um 11:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 is there a default structure (if so, what is its name?) which would yield 
 \subsection when used inside \section, so:
 
 \starttext
  \section{Sec}
\startstructurelevel[title={SSec}] % This should give \subsection, but 
 gives \section (or higher)
   aaa
\stopstructurelevel
 
\startstructurelevel[a-name-of-default][title={SSec2}] % This should give 
 \subsection, but gives \section (or higher)
   aaa
\stopstructurelevel
 \stoptext

You can’t mix sectionlevels and normal section command. When you want a \section
for the first level change the level settings with

\definesectionlevels
  [default]
  [section,
   subsection,
   subsubsection,
   subsubsubsection,
   subsubsubsubsection]

and use

\starttext

\startsectionlevel[title=Section]

\startsectionlevel[title=Subsection]

\startsectionlevel[title=Subsubsection]

\stopsectionlevel

\stopsectionlevel

\stopsectionlevel

\stoptext

in your document.

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] MacOsX Mavericks and Luatex

2013-10-25 Thread Otared Kavian
Hi everyone,

I installed MacOS X 10.9 « Mavericks » on top of the latest MacOS X 10.8, and 
could run my installation of ConTeXt stand alone without any problem, despite 
having Skia.ttf on my system:

Version 8.0d1e1
Location/Library/Fonts/Skia.ttf
Unique name Skia Regular; 8.0d1e1; 2012-09-05
Copyright   © 1993-2002 Apple Inc.
Enabled Yes
Duplicate   No
Copy protected  No
Glyph count 591

The rights for this font are:

-rw-r--r--  1 root  wheel   480K 25 oct 04:56 Skia.ttf

(these rights are the same as other fonts, and clearly I never changed these…).
I also made anew the formats after having installed Mavericks, and did not 
notice any problem with a dozen tests I did.
So it seems that the cases in which problems have shown up are quite various.
The version of ConTeXt I have now is ConTeXt  ver: 2013.10.15 13:52 MKIV beta  
fmt: 2013.10.25

(By the way, even after running first-setup.sh, I get always the same version… 
This may be due to the fact that I am in China right now?).

A last word regarding the requests for changing the defaults for system fonts.
The present situation has the advantage that people who are far from being 
geeks (for instance like me and the secretaries to whom I have shown how to use 
ConTeXt) can use whatever fonts they have on their system without tweaking the 
.cnf file, and without knowing how to write a typescript (thanks to the 
features added recently by Wolfgang). 
People who have the  technical knowledge and don’t want to use their system 
fonts because of waste of typesetting time, can indeed change this default 
behaviour.
So PLEASE don’t change the present default!

Best regards: OK


On 25 oct. 2013, at 16:49, Taco Hoekwater t...@elvenkind.com wrote:

 On 10/24/2013 10:00 AM, Wolfgang Schuster wrote:
 
 Am 24.10.2013 um 09:45 schrieb Pierre Bovet pierr...@me.com:
 
 OK, that was not a good example…
 But the the message above is coming with any other otf fonts:
 
 fontsnames  globbing path '/Library/Fonts/**.ttf'
 
 mtx-context | fatal error: no return code, message: luatex: execution 
 interrupted
 
 Can you remove the Skia.ttf (copy it to another directory) font from 
 /Library/Fonts,
 this helped on my system to get rid of the error message.
 
 It is definitely Skia.ttf itself, and not its permissions. After my
 upgrade to Mavericks, I got a fresh Skia.ttf (491796 bytes), and even
 though the permissions were fine (644), it crashes luatex, standalone
 fontforge, and ttx.
 
 Actually, changing the file permissions to 000 (not readable by anyone)
 fixed context's use of system fonts.
 
 ttx says: TT instructions error: 'illegal opcode: 0x91'; texlua and
 fontforge just crash on an undefined glyph in the internals of the font.
 
 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  : 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
___


[NTG-context] Using CMYK for print jobs

2013-10-25 Thread hwitloc


A printer I want to use only handles files which use CMYK colorspace/model..

I tried building my mkiv file using  cmyk=yes, as shown below:

\setupcolors[state=start, rgb=no, cmyk=yes, overprint=yes]


Using ImageMagick's identify program to check the resulting file it show the 
following:
 Resolution: 72x72
  Print size: 3.58333x2.16667
  Units: Undefined
  Type: PaletteMatte
  Endianess: Undefined
  Colorspace: RGBde delegate for this image format `/home/user_a' @ 
error/constitut  Depth: 16/8-bit.
  Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
alpha: 1-bit

GIMP also shows an RGB model for the resulting pdf file. 
Also is this mention of pixel resultion of 72x72 correct or useful?
 I tried to get a 300 dpi resolution for output.

Any ideas and advice would be appreciated.
___
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] Using CMYK for print jobs

2013-10-25 Thread William Adams
On Oct 25, 2013, at 9:09 AM, hwit...@gmail.com wrote:

 GIMP also shows an RGB model for the resulting pdf file. 
 Also is this mention of pixel resultion of 72x72 correct or useful?
 I tried to get a 300 dpi resolution for output.

ConTeXt just typesets text, places graphics and runs graphic creation routines 
which have been grafted in to TeX as libraries.

The only things which should result in pixel information are:

 - graphics --- you're in control of their settings when they're created
 - internal graphic creation --- at one point in time there were issues w/ 
transparency, but these were resolved AFAIR

So, check your settings for any graphics you're placing, and for those which 
you are creating w/in ConTeXt.

Neither of the tools you mentioned are suited for checking pre-press-readiness 
of a file. 

Multivalent has some facilities for validating a file: 
http://multivalent.sourceforge.net/
as does qpdf: http://qpdf.sourceforge.net/

There are free on-line tools: 
http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx

Lots of commercial options such as Adobe Acrobat, Enfocus PitStop, 
http://www.fixmyprintfile.com/, c. List here: 
http://www.pdfxreport.com/doku.php?id=en:tools

If you can make a valid PDF/X file, you may find a useful tool here: 
http://www.pdfxreport.com/doku.php?id=en:faq

William

-- 
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.

___
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] dejavu: inline math fraction spacing too tight?

2013-10-25 Thread Hans Hagen

On 10/25/2013 5:57 PM, Khaled Hosny wrote:

On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote:

On 10/24/2013 2:46 PM, H. Özoguz wrote:

\setupbodyfont [dejavu,12pt]
\starttext
$a/b$

$1/2$

$π/3$
\stoptext

Is this indeed the desired spacing? What do others think?

Thanks.


I think you are right, I don't know if this is really desired, but I
don't think so. Escpecially one gets problems with 2 in the denominator.

\setupbodyfont [dejavu,12pt]
\starttext
$1/2$

$1\,/\,2$
\stoptext

The second hand-tuned example is obviously nicer.


it looks like a font issue to me .. i could hack a solution but prefer not
to do that (the less exceptions we have the better)


Not a font issue. ConTeXt is using the fraction slash (which is intended
to be used with vulgar fractions) not the regular slash.


the problem is that (last time i looked into this) all math fonts had it 
differently so i (for the moment) setteld on it


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___