[NTG-context] Using PSTricks

2014-09-28 Thread Herbert Voss
This example from m-pstricks.mkiv doesn't work, there is a missing
file extension in m-pstricks.mkii:

line 46 (macro \doifelse)is:
   \loadpstrickscolors{colo-rgb}}

should be
   \loadpstrickscolors{colo-rgb.mkii}}

otherwise it searches for colo-rgb.mkiv which doesn't exist.

I do not understand why it searches for mkiv because in the
background runs context mkii (started by by m-pstricks.lua).

If I use the extension the follwing example works fine with
current minimal:

\usemodule[pstricks]
\usePSTRICKSmodule[pst-barcode]

\starttext
\startPSTRICKS
\pspicture(-4mm,-1mm)(38mm,26mm)
  \psbarcode[linecolor=red]{9781860742712}{includetext
guardwhitespace}{ean13}%
\endpspicture
\stopPSTRICKS

\stoptext


Herbert
___
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] Influencing the vertical spacing of the table of contents? No possible?

2014-09-28 Thread Gerben Wierda
I asked this on the list a while back. Is there no answer on this one? I use 
\startpacked\stoppacked with some effect, but I'd like to have more finegrained 
control.

Original question:

I'm using mkii.

I've got a table of contents that just places one item on the next page, which 
is ugly. I'd like to tweak the spacing between lines, but which parameter do I 
have to adjust? It wasn't clear to me from the docs.

Thanks,

G

___
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] about Noto Sans CJK font problem

2014-09-28 Thread Jeong Dal
I updated ConTeXt standalone again and test it.
The result is same as before.

In the log file, it located the font but it issues the luatex error.
The font version is 1.001.

The only difference of the luatex  which I can see is that (mine: Standalone, 
rev 4972) and (Luigi’s: TeXLive 2014, rev 5041). 

Does it matter?

I may test it under TeXLive 2014 which I need to install it.

Thank you.

Best regards,

Dalyoung

Test code:

\definefont[test][file:NotoSansCJKkr-Thin.otf at 14pt]
\starttext
\test
TeX uses different fonts for text and math, but it possible to replace certain
characters in the math font with glyphs from a text font.
한글이 잘 되는지 모르겠네요.
\stoptext

Log file:
mtx-context | run 1: luatex 
—fmt=“/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en”
 —jobname="test" 
--lua="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" 
--c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972)
\write18 enabled.
open source > 1 > 1 > 
/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.09.27 14:46 MKIV beta fmt: 2014.9.28 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > 
/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
close source > 2 > 2 > 
/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system > files > jobname 'test', input './test', result 'test'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /Users/graph/Documents/TeXfiles/test.tex
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
fonts > otf loading > loading 
'/Users/graph/Library/Fonts/NotoSansCJKkr-Thin.otf', hash 'notosanscjkkr-thin'
fonts > otf loading > loading done
fonts > otf loading > file size: 15177740
fonts > otf loading > fixing kernclass table of lookup 'pp_l_1_k_1'
fonts > otf loading > 7 kern overloads ignored
fonts > encoding > loading (extended) adobe glyph list
fonts > otf loading > saving 
'/Users/graph/Library/Fonts/NotoSansCJKkr-Thin.otf' in cache
system > lua > compiling 
'/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tma'
 into 
'/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tmc'
system > lua > dumping 
'/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tma'
 into 
'/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tmc'
 stripped
fonts > otf loading > preprocessing and caching time 13.783, packtime 0.980
backend > xmp > using file 
'/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
close source > 2 > 3 > /Users/graph/Documents/TeXfiles/test.tex
close source > 1 > 3 > 
/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv
mtx-context | fatal error: no return code, message: luatex: execution 
interrupted
___
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
___