Re: [NTG-context] Linetables

2014-09-26 Thread Willi Egger
Hi Herbert,

Thanks for your answer! Indeed it works….

Kind regards

Willi
On 23 sep. 2014, at 19:54, Herbert Voss herbert.v...@fu-berlin.de wrote:

 Am 23.09.2014 um 10:59 schrieb Willi Egger:
 
 I would like to use the line table environment. - In order to get started I 
 copied the code from the wiki. After it did not work with the dorecurse 
 commands I simplified the code to
 
 \starttext
 \setuplinetable[n=6,lines=40]
 
 \setuplinetable[c][1]   [width=2cm,background=color,backgroundcolor=red]
 \setuplinetable[c][4]   [width=3cm,background=color,backgroundcolor=yellow]
 \setuplinetable[c][6]   [width=3cm,background=color,backgroundcolor=magenta]
 \setuplinetable[r][odd] [background=color,backgroundcolor=gray]
 \setuplinetable[r][even][background=color,backgroundcolor=green]
 
 it is a problem with reading the parameter [c]. Use l or r instead and
 it will work:
 
 
 
 \starttext
 \setuplinetable[n=6,lines=40]
 
 \setuplinetable[l][1]   [width=2cm,background=color,backgroundcolor=red]
 \setuplinetable[l][4]   [width=3cm,background=color,backgroundcolor=yellow]
 \setuplinetable[l][6]   [width=3cm,background=color,backgroundcolor=magenta]
 \setuplinetable[r][odd] [background=color,backgroundcolor=gray]
 \setuplinetable[r][even][background=color,backgroundcolor=green]
 \showframe \showstruts
 
 \setupcolors[state=start]
 
 \startlinetable
 \NC aaa\crlf aaa \NC bb \NC c \NC d \NC  \NC ff \NC \NR
 \dorecurse{100}{\NC aaa \NC bb \NC c \NC d \NC  \NC ff \NC \NR}
 \stoplinetable
 
 \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
 ___

___
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] Latest beta stops loading some ttc fonts

2014-09-26 Thread Hans Hagen

On 9/26/2014 4:06 AM, Hongwen Qiu wrote:


Don't know which one changed that caused the above example to fail. I
havn't used nsimsun for months, and indeed the above code used to run
properly. Just heard from someone that it works in the current but not
in the beta.


It has to do with the fact that the loader reports an issue. For this 
font that report can be ignored. I extended the code that deals with the 
report with additional checking so it should work ok with the nexct 
beta. We still report the warning, just to be sure.


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
___


[NTG-context] Metafun error

2014-09-26 Thread Willi Egger
Hello!

Today I wanted to use an older tex file…. I get the same error as in the 
following test.

\startuniqueMPgraphic{test}

path p;
p := fullcircle scaled 5cm;
draw p;
label.bot(textext(Centre), center p);

\stopuniqueMPgraphic

\starttext
\startTEXpage
\useMPgraphic{test} 
\stopTEXpage
\stoptext


The error message is:

Argument of \meta_start_environment has an extra }

inserted text 
\par 
to be read again 
}
\meta_handle_unique_graphic ...ocess_graphic {#3}}
  \setxvalue {\??mpgraphic \...
\meta_use_graphic ...]}\getvalue {\??mpgraphic #1}
  \empty \meta_end_graphic_g...
to be read again 
 
l.288 \useMPgraphic{test}

This error occurs as well with version ConTeXt  ver: 2014.08.29 20:57 as with 
the latest beta ConTeXt  ver: 2014.09.26 11:42.


Am I missing something?

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


Re: [NTG-context] Metafun error

2014-09-26 Thread Otared Kavian
Hi Willi,

I tested your example file: it works fine here with
ConTeXt  ver: 2014.09.25 18:58 MKIV beta  fmt: 2014.9.25  int: 
english/english
Which version are using?

Best regards: OK

On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote:

 Hello!
 
 Today I wanted to use an older tex file…. I get the same error as in the 
 following test.
 
 \startuniqueMPgraphic{test}
 
   path p;
   p := fullcircle scaled 5cm;
   draw p;
   label.bot(textext(Centre), center p);
   
 \stopuniqueMPgraphic
 
 \starttext
 \startTEXpage
\useMPgraphic{test} 
 \stopTEXpage
 \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] Metafun error

2014-09-26 Thread Willi Egger
Hi Otared,

As mentioned in my first post I tested on  
ConTeXt  ver: 2014.08.29 20:57
ConTeXt  ver: 2014.09.26 11:42.

strange!

Willi
On 26 sep. 2014, at 15:23, Otared Kavian ota...@gmail.com wrote:

 Hi Willi,
 
 I tested your example file: it works fine here with
   ConTeXt  ver: 2014.09.25 18:58 MKIV beta  fmt: 2014.9.25  int: 
 english/english
 Which version are using?
 
 Best regards: OK
 
 On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote:
 
 Hello!
 
 Today I wanted to use an older tex file…. I get the same error as in the 
 following test.
 
 \startuniqueMPgraphic{test}
 
  path p;
  p := fullcircle scaled 5cm;
  draw p;
  label.bot(textext(Centre), center p);
  
 \stopuniqueMPgraphic
 
 \starttext
 \startTEXpage
   \useMPgraphic{test} 
 \stopTEXpage
 \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
 ___

___
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] Metafun error

2014-09-26 Thread Otared Kavian
Hi Willi,

I just updated to
ConTeXt  ver: 2014.09.26 11:42 MKIV beta  fmt: 2014.9.26  int: 
english/english
and tested again your example: everything works as expected here…

So probably there is something strange happening on your side.

Best regards: OK

On 26 Sep 2014, at 16:22, Willi Egger cont...@boede.nl wrote:

 Hi Otared,
 
 As mentioned in my first post I tested on  
   ConTeXt  ver: 2014.08.29 20:57
ConTeXt  ver: 2014.09.26 11:42.
 
 strange!
 
 Willi
 On 26 sep. 2014, at 15:23, Otared Kavian ota...@gmail.com wrote:
 
 Hi Willi,
 
 I tested your example file: it works fine here with
  ConTeXt  ver: 2014.09.25 18:58 MKIV beta  fmt: 2014.9.25  int: 
 english/english
 Which version are using?
 
 Best regards: OK
 
 On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote:
 
 Hello!
 
 Today I wanted to use an older tex file…. I get the same error as in the 
 following test.
 
 \startuniqueMPgraphic{test}
 
 path p;
 p := fullcircle scaled 5cm;
 draw p;
 label.bot(textext(Centre), center p);
 
 \stopuniqueMPgraphic
 
 \starttext
 \startTEXpage
  \useMPgraphic{test} 
 \stopTEXpage
 \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
 ___
 
 ___
 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] about Noto Sans CJK font problem

2014-09-26 Thread Jeong Dal
Dear all,

Recently, I installed “Noto Sans CJK” font which is developed by Adobe and 
Google.
After “mtxrun —generate”, luatex locates the font.

For test, I run the following code and got “fatal error:no return code” 
message. 
Even though I didn’t include Korea test, it says the same error message.

However, I can use the font in the text editor without problem.

What is wrong in this case? 

Thank you.

Best regards,

Dalyoung


%\definefontfamily[mainface] [rm] [Noto Sans CJKkr]
%\setupbodyfont[mainface]

\definefont[test][NotoSansCJKkr-Regular 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.07.30 10:31 MKIV beta fmt: 2014.8.6 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
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
___

[NTG-context] about Noto Sans CJK font problem

2014-09-26 Thread Akira Kakuto

Recently, I installed “Noto Sans CJK” font which is developed by Adobe and 
Google.
After “mtxrun —generate”, luatex locates the font.

For test, I run the following code and got “fatal error:no return code” message. Even though I didn’t include Korea test, it 
says the same error message.


In the case of NotoSansCJKjp-Regular, context ends
without errors  (mtx-context | current version: 2014.09.26 11:42).
However the resulting PDF shows incorrect
characters. I attach nototest.tar.gz:
source = u.tex
result = u.pdf
Compare with the correct XeTeX case:
source = u1.tex
result = u1.pdf

Best,
Akira


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

Re: [NTG-context] about Noto Sans CJK font problem

2014-09-26 Thread Jeong Dal
Dear Akira,

Thank you for your test.

I updated to ConTeXt ver: 2014.09.26 11:42 MKIV beta and test it again.
But I got the same error.

There may be another problem which I don’t know.

Thank you again.

Best regards,

Dalyoung

 --
 
 Message: 6
 Date: Sat, 27 Sep 2014 10:30:51 +0900
 From: Akira Kakuto kak...@fuk.kindai.ac.jp
 To: ntg-context@ntg.nl
 Subject: [NTG-context]  about Noto Sans CJK font problem
 Message-ID: 2136E6CBAF67499789D6C08EDA3FE859@CJ3001517A
 Content-Type: text/plain; charset=utf-8; Format=flowed
 
 Recently, I installed ?Noto Sans CJK? font which is developed by Adobe and 
 Google.
 After ?mtxrun ?generate?, luatex locates the font.
 
 For test, I run the following code and got ?fatal error:no return code? 
 message. Even though I didn?t include Korea test, it 
 says the same error message.
 
 In the case of NotoSansCJKjp-Regular, context ends
 without errors  (mtx-context | current version: 2014.09.26 11:42).
 However the resulting PDF shows incorrect
 characters. I attach nototest.tar.gz:
 source = u.tex
 result = u.pdf
 Compare with the correct XeTeX case:
 source = u1.tex
 result = u1.pdf
 
 Best,
 Akira
 -- next part --
 A non-text attachment was scrubbed...
 Name: nototest.tar.gz
 Type: application/x-gzip
 Size: 9937 bytes
 Desc: not available
 URL: 
 http://www.ntg.nl/pipermail/ntg-context/attachments/20140927/a0769181/attachment.bin
 
 --
 
 ___
 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
 ___
 
 End of ntg-context Digest, Vol 123, Issue 40
 

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