Re: [NTG-context] new beta

2012-07-27 Thread Hans Hagen

On 27-7-2012 04:22, Li Yanrui (李延瑞) wrote:

2012/7/27 Hans Hagen pra...@wxs.nl:

The memory footprint should be somewhat smaller for non cjk usage. (format
generation as well as runtime) and the format file is some 10-15% smaller
now.


The fonts fallback can not work.

This is a minmal example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[hereos][name:texgyreherosregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=hereos]
\definefont[newsong][fbsong]
\starttext
\newsong 夹杂 English 的中文文本
\stoptext

When I compile it, i get an error:

error: ...text/tex/texmf-context/tex/context/base/font-col.lua:213:
Invalid field id font for node type hlist (3)


line 212 should be:

 for n in traverse_id(glyph_code,head) do

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] Math operators broken in current beta

2012-07-27 Thread Janne Junnila
Hi,

Unless I have managed to somehow mess up my installation, math
operators don't seem to render in the latest beta. The following code
produces only $x$ for me. Any ideas?

\starttext
\startformula
\log x
\stopformula
\stoptext

Best regards,
Janne Junnila
___
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] how to avoid CID Identity-H encoding?

2012-07-27 Thread Steffen Wolfrum

Am 26.07.2012 um 19:35 schrieb Hans Hagen:

 On 26-7-2012 17:59, Steffen Wolfrum wrote:
 Hi Hans, hi friends,
 
 while the PDF that are produced by MkIV show no problems, some applications 
 that use these PDF files for post-processing have big problems with 
 CID/Encoding Identity-H.
 
 For example (as far as I have understood) german umlauts eg. ä are not 
 recognized anymore but split in eg. a and diaeresis (with a space 
 between?).
 
 I was told, that other PDF creators have an option to avoid using this kind 
 of encoding.
 
 Is this also possible with MkIV?
 
 afaik context output the right tounicode info so i have no clue what goes 
 wrong there

me neither.

the pdf produced with MkII never ran into this post-processing trouble.
they had this font info, eg.:

Type: Type 1
Encoding: Custom

while all fonts I have tested with MkIV result in this:

Type: Type 1 (CID)
Encoding: Identity-H

and this double-byte encoding confuses the pdf-post-processing machines (I was 
told).
therefore we are asked to change it.

is there a chance to do so?


Thanks, Steffen
___
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] how to avoid CID Identity-H encoding?

2012-07-27 Thread Hans Hagen

On 27-7-2012 11:36, Steffen Wolfrum wrote:


Am 26.07.2012 um 19:35 schrieb Hans Hagen:


On 26-7-2012 17:59, Steffen Wolfrum wrote:

Hi Hans, hi friends,

while the PDF that are produced by MkIV show no problems, some applications 
that use these PDF files for post-processing have big problems with 
CID/Encoding Identity-H.

For example (as far as I have understood) german umlauts eg. ä are not recognized 
anymore but split in eg. a and diaeresis (with a space between?).

I was told, that other PDF creators have an option to avoid using this kind of 
encoding.

Is this also possible with MkIV?


afaik context output the right tounicode info so i have no clue what goes wrong 
there


me neither.

the pdf produced with MkII never ran into this post-processing trouble.
they had this font info, eg.:

Type: Type 1
Encoding: Custom


probably not always, i.e. when ttf fonts were used it would use those 
and related embedding methods but hardly anyone uses ttf in pdftex



while all fonts I have tested with MkIV result in this:

Type: Type 1 (CID)
Encoding: Identity-H

and this double-byte encoding confuses the pdf-post-processing machines (I was 
told).
therefore we are asked to change it.


you can try to send them ps (pdftops)


is there a chance to do so?


they should update their machines (read: there is no way that luatex 
will provide split into type1 functionality)


(Luigi and Martin probably can explain it better)

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
___


Re: [NTG-context] new beta

2012-07-27 Thread Hans Hagen

On 26-7-2012 20:36, Pablo Rodríguez wrote:


I'm not sure whether this is important, but
http://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=3 contains the
date July z, 2012


fixed in next

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


Re: [NTG-context] how to avoid CID Identity-H encoding?

2012-07-27 Thread Steffen Wolfrum

Am 27.07.2012 um 11:50 schrieb Hans Hagen:

 On 27-7-2012 11:36, Steffen Wolfrum wrote:
 
 Am 26.07.2012 um 19:35 schrieb Hans Hagen:
 
 On 26-7-2012 17:59, Steffen Wolfrum wrote:
 Hi Hans, hi friends,
 
 while the PDF that are produced by MkIV show no problems, some 
 applications that use these PDF files for post-processing have big 
 problems with CID/Encoding Identity-H.
 
 For example (as far as I have understood) german umlauts eg. ä are not 
 recognized anymore but split in eg. a and diaeresis (with a space 
 between?).
 
 I was told, that other PDF creators have an option to avoid using this 
 kind of encoding.
 
 Is this also possible with MkIV?
 
 afaik context output the right tounicode info so i have no clue what goes 
 wrong there
 
 me neither.
 
 the pdf produced with MkII never ran into this post-processing trouble.
 they had this font info, eg.:
 
 Type: Type 1
 Encoding: Custom
 
 probably not always, i.e. when ttf fonts were used it would use those and 
 related embedding methods but hardly anyone uses ttf in pdftex
 
 while all fonts I have tested with MkIV result in this:
 
 Type: Type 1 (CID)
 Encoding: Identity-H
 
 and this double-byte encoding confuses the pdf-post-processing machines (I 
 was told).
 therefore we are asked to change it.
 
 you can try to send them ps (pdftops)
 
 is there a chance to do so?
 
 they should update their machines (read: there is no way that luatex will 
 provide split into type1 functionality)
 
 (Luigi and Martin probably can explain it better)


yes, please! I am very interested in more information on this, as I expect hard 
talks.

the problem is that more and more our context PDF files are not used as print 
files, nor as classical PDF files.
there main use tends to be as feed material for Flash and other applications 
that reprocess our PDF file for on-line environments, subscribers.

Steffen
___
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] t-degrade.tex

2012-07-27 Thread Peter Münster
Hi,

Does it make sense, to port http://modules.contextgarden.net/t-degrade
to mkiv, or is there already an existing solution in ConTeXt to
downsample jpeg-images on the fly?

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