Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Thomas A. Schmitz schrieb:
> On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote:
> 
>> Hi,
>>
>> I desperately need runtime defined colors (state dependent) for my
>> macros. The macros are used with different graphic styles, which is  
>> the
>> reason why I want to avoid any style dependent part inside them.
>>
>> To give you an example. I need something like this
>>
>> \color 
>> [{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}]
>>
>> If flag 'stateA' is true at runtime, then color 'green' is used (and  
>> so
>> on; order is significant).
>>
>> I have written such a macro, but sadly it crashes when used inside
>> \color or \definecolor. Tried to debug it, but this is my first
>> experience with the trace commands (probably not the best example to
>> start with). Sigh, still so much to learn.. :)
>>
>> Any hints are welcome.
> 
> I'm not quite sure I understand what you're trying to do, so this is a  
> shot in the dark: instead of low-level trickery, you could use ConTeXt  
> modes:
>
> \startmode[A]
> \definecolor [mycolor] [g=1]
> \stopmode
> 
> \startmode[B]
> \definecolor [mycolor] [r=1]
> \stopmode
> 
> You can then set \enablemode[A] in your file or pass the mode on the  
> commandline: texexec --mode=A
>
Thanks Thomas for your help.

I can do this without low-level trickery, but this would mean one or two
(fore|backgroundcolor) additional macro(s) per building block (>20) for
every graphic style (currently 2; more to come). This makes about 60
stupid little macros. nope.
I think that in some special cases I must do this anyway (where the
color is choosen from a combination of states), but most times a general
macro will do.

I will try to get it run this weekend (have to learn TeX debugging
first). But I wouldn't be surprised if this is the easier part of the
problem. We will see :)


Greetings, Peter

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

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


Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Thomas A. Schmitz

On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote:

> Hi,
>
> I desperately need runtime defined colors (state dependent) for my
> macros. The macros are used with different graphic styles, which is  
> the
> reason why I want to avoid any style dependent part inside them.
>
> To give you an example. I need something like this
>
> \color 
> [{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}]
>
> If flag 'stateA' is true at runtime, then color 'green' is used (and  
> so
> on; order is significant).
>
> I have written such a macro, but sadly it crashes when used inside
> \color or \definecolor. Tried to debug it, but this is my first
> experience with the trace commands (probably not the best example to
> start with). Sigh, still so much to learn.. :)
>
> Any hints are welcome.

I'm not quite sure I understand what you're trying to do, so this is a  
shot in the dark: instead of low-level trickery, you could use ConTeXt  
modes:

\startmode[A]
\definecolor [mycolor] [g=1]
\stopmode

\startmode[B]
\definecolor [mycolor] [r=1]
\stopmode

You can then set \enablemode[A] in your file or pass the mode on the  
commandline: texexec --mode=A

HTH

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


Re: [NTG-context] Flowed text around figures in columns

2007-12-14 Thread Zeus Gómez Marmolejo




I've read this manual about columns, but I don't see how this example
in that page can be applied to my case. 

I don't want to define a column set area, and even with that, in this
example text doesn't flow around this defined area...

Zeus.

Thomas A. Schmitz escribió:

  On Dec 14, 2007, at 4:29 PM, Zeus Gómez Marmolejo wrote:

  
  
Hi,

I have this code:

\definecolumnset[example][n=3]

\starttext

\startcolumnset[example]

\input knuth
\placefigure{}{\externalfigure[placeholder][width=170pt]}
\input knuth
\input knuth

\stopcolumnset
\stoptext


I can't manage to tell context to flow the text around the picture in
the second column. Is it possible?


Thanks,

Zeus.

  
  
Did you look at the columnsets manual? There's an example at p. 36

http://www.pragma-ade.com/general/manuals/columns.pdf

HTH

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

  




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


Re: [NTG-context] new context still hangs on this

2007-12-14 Thread Peter Münster
On Fri, Dec 14, 2007 at 01:18:57PM +0100, zs wrote:
> 
> Context/luatex hangs on my linux box during compilation of this:
> 
> \starttext
> 
> \starttable[|c|c|]
> \NC  \NC  \NC\AR
> \DC\DL\DR
> \NC  \NC  \NC\AR
> \stoptable
> 
> \stoptext

You need the trunk-version of luatex, or the next snapshot/beta version.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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
___


[NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Hi,

I desperately need runtime defined colors (state dependent) for my
macros. The macros are used with different graphic styles, which is the
reason why I want to avoid any style dependent part inside them.

To give you an example. I need something like this

\color[{\StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...]}]

If flag 'stateA' is true at runtime, then color 'green' is used (and so
on; order is significant).

I have written such a macro, but sadly it crashes when used inside
\color or \definecolor. Tried to debug it, but this is my first
experience with the trace commands (probably not the best example to
start with). Sigh, still so much to learn.. :)

Any hints are welcome.

Regards, Peter

\setuppagenumber[state=stop]
\setupcolors[state=start]

\definecolor[colorA] [red]
\definecolor[colorB] [green]
\definecolor[colorC] [blue]

\newconditional\CondA
\newconditional\CondB
\newconditional\CondC


\unprotect

\def\GetStateDependentColor[#1]%
  {\bgroup
   [EMAIL PROTECTED],B=,C=,#1]%
   \def\MYdocommand##1%
 {\doifdefined{Cond##1} % conditional is known..
{\expandafter\ifconditional\csname Cond##1\endcsname % ..AND true..
   \edef\CurrentColor{\csname [EMAIL PROTECTED]
   \def\CurrentColor{}\fi
 \doifelsenothing\CurrentColor % ..AND a color is assigned
   \donefalse\donetrue}%
  \ifdone\CurrentColor\expandafter\quitcommalist\fi}%
   \processcommacommand[A,B,C]\MYdocommand % raw version does not work! why?
   \egroup}

\protect


\starttext

\setfalse\CondA
\settrue\CondB
\settrue\CondC

\tracingonline=1
%\tracingall=1
%\tracingmacros=1
%\tracingcommands=2
color is -\GetStateDependentColor[A=colorA,C=colorC]- % works so far
%\tracingmacros=0
%\tracingall=0

% crashes

%\tracingall=1
%\tracingmacros=1
%\tracingcommands=2
%\definecolor[testcolor][{\GetStateDependentColor[A=colorA,C=colorC]}]
%\color[testcolor]
%\color[{\GetStateDependentColor[A=colorA,C=colorC]}]
%\expandafter\color\expandafter[\expandafter{\GetStateDependentColor[A=colorA,C=colorC]}]
%\tracingall=0
TEST

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


Re: [NTG-context] Flowed text around figures in columns

2007-12-14 Thread Thomas A. Schmitz

On Dec 14, 2007, at 4:29 PM, Zeus Gómez Marmolejo wrote:

> Hi,
>
> I have this code:
>
> \definecolumnset[example][n=3]
>
> \starttext
>
> \startcolumnset[example]
>
> \input knuth
> \placefigure{}{\externalfigure[placeholder][width=170pt]}
> \input knuth
> \input knuth
>
> \stopcolumnset
> \stoptext
>
>
> I can't manage to tell context to flow the text around the picture in
> the second column. Is it possible?
>
>
> Thanks,
>
> Zeus.

Did you look at the columnsets manual? There's an example at p. 36

http://www.pragma-ade.com/general/manuals/columns.pdf

HTH

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


[NTG-context] Flowed text around figures in columns

2007-12-14 Thread Zeus Gómez Marmolejo
Hi,

I have this code:

\definecolumnset[example][n=3]

\starttext

\startcolumnset[example]

\input knuth
\placefigure{}{\externalfigure[placeholder][width=170pt]}
\input knuth
\input knuth

\stopcolumnset
\stoptext


I can't manage to tell context to flow the text around the picture in 
the second column. Is it possible?


Thanks,

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


[NTG-context] TeX Live 2008: LuaTeX?

2007-12-14 Thread Tobias Burnus
Hi all,

does anyone know whether LuaTeX will be part of TeX Live 2008?

If I browse the SVN correctly, it currently contains a 1 year old
ConTeXt, checked in by Taco, and no LuaTeX.

It would be great if at least an up-to-date ConTeXt and possible LuaTeX
could be included. (Esp. since several Linux distributions have their
TeX based on TeX Live and are reluctant to create extra packages.)

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


Re: [NTG-context] MkIV on Ubuntu

2007-12-14 Thread Aditya Mahajan
On Fri, 14 Dec 2007, Hans Hagen wrote:

> Aditya Mahajan wrote:
>
>> It looks like mtxrun is scanning the correct directories, but cannot find
>> the font files. On the other hand,
>
> mtxrun --script font --reload
>
> will create the font name database that mkiv will use

Nothing seems to happen with reload.

$mtxrun --scripts fonts --list --pattern=bonum

MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT

MtxRun | loading configuration for /usr/share/texmf/web2c from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/e027248d6557d124c703335e8a95ecd5
MtxRun | locating list of /home/adityam/.texmf-config
MtxRun | locating list of /home/adityam/.texmf-var
MtxRun | locating list of /home/adityam/texmf
MtxRun | locating list of /etc/texmf
MtxRun | locating list of /var/lib/texmf
MtxRun | locating list of /usr/local/share/texmf
MtxRun | locating list of /usr/share/texmf
MtxRun | locating list of /usr/share/texmf-texlive
MtxRun | loading files for /var/lib/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c99fbb6307ce58c4c8d3687f791de5f6
MtxRun | loading files for /usr/local/share/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/b8a1cf189bc82d8722e834ba72af3440
MtxRun | loading files for /usr/share/texmf from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/9ea5cec901854e6fa728c2ba01c0bb52
MtxRun | loading files for /usr/share/texmf-texlive from 
///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c136f4d84c0b9fde8e19a42543a2e07d

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


Re: [NTG-context] MkIV on Ubuntu

2007-12-14 Thread Aditya Mahajan
On Fri, 14 Dec 2007, Aditya Mahajan wrote:

> On Fri, 14 Dec 2007, Hans Hagen wrote:
>
>> Aditya Mahajan wrote:
>>
>>> It looks like mtxrun is scanning the correct directories, but cannot find
>>> the font files. On the other hand,
>>
>> mtxrun --script font --reload
>>
>> will create the font name database that mkiv will use
>
> Nothing seems to happen with reload.
>
> $mtxrun --scripts fonts --list --pattern=bonum

Sorry, this is the output of

mtxrun --scripts fonts --verbose --reload (actually this is what I get 
with both --list and --reload, so this is the output of --verbose)

> MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>
> MtxRun | loading configuration for /usr/share/texmf/web2c from
> ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/e027248d6557d124c703335e8a95ecd5
> MtxRun | locating list of /home/adityam/.texmf-config
> MtxRun | locating list of /home/adityam/.texmf-var
> MtxRun | locating list of /home/adityam/texmf
> MtxRun | locating list of /etc/texmf
> MtxRun | locating list of /var/lib/texmf
> MtxRun | locating list of /usr/local/share/texmf
> MtxRun | locating list of /usr/share/texmf
> MtxRun | locating list of /usr/share/texmf-texlive
> MtxRun | loading files for /var/lib/texmf from
> ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c99fbb6307ce58c4c8d3687f791de5f6
> MtxRun | loading files for /usr/local/share/texmf from
> ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/b8a1cf189bc82d8722e834ba72af3440
> MtxRun | loading files for /usr/share/texmf from
> ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/9ea5cec901854e6fa728c2ba01c0bb52
> MtxRun | loading files for /usr/share/texmf-texlive from
> ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c136f4d84c0b9fde8e19a42543a2e07d
>
> Adutya
> ___
> 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
> ___
>
>
>
___
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
___


[NTG-context] Hyphenation with apostrophes

2007-12-14 Thread Zeus Gómez Marmolejo
Hi,

I'm writing a text in catalan language. Hyphenation patterns are loaded 
correctly, however when I want to write an apostrophed word, hyphenation 
doesn't work.

For example, the word "instructions" is written "instruccions". When I 
want to say "of instructions" is "d'instruccions". Hyphenation rules in 
catalan work normally in this case, that is: "d'ins-truc-cions" but I 
see in context the whole word at the end of a column line surpassing the 
margin limits without hyphenation. I see that this is happening in all 
words beginning with contracted articles or prepositions like d' l' etc...

How can I solve this,

Thanks to all,
Zeus.
___
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
___


[NTG-context] new context still hangs on this

2007-12-14 Thread zs
Hi all.

Context/luatex hangs on my linux box during compilation of this:

\starttext

\starttable[|c|c|]
\NC  \NC  \NC\AR
\DC\DL\DR
\NC  \NC  \NC\AR
\stoptable

\stoptext


Versions:

This is LuaTeX, Version snapshot-0.20.1-2007120800 (Web2C 7.5.6)
ConTeXt  ver: 2007.12.14 08:57 MKIV  fmt: 2007.12.14  int: english/english
This is MetaPost, Version 1.002 (Web2C 7.5.5) (INIMP)



Should I recompile  I recompile LuaTeX and MetaPost after ConTeXt upgrade?

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


Re: [NTG-context] beta

2007-12-14 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Dec 14, 2007, at 10:06 AM, Hans Hagen wrote:
> 
>> only mkiv?
>>
>> btw, you can use
>>
>> \setbreakpoints[compound]
>>
>> so that blabla-blabla is handled automatically
>>
>> Hans
> 
> Yes, only mkiv.

ok, i need to check if this is a mkiv or luatex problem

(eventually i will reimplement || using the new compund mechanism)

> I'll have to play with \setbreakpoints[compound]. It's a mkiv feature,  
> right?

in core-spa.mkiv you will find some definitions; we can add more; 
currently only + - . ( ) are handled

Hans

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


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-14 Thread Wolfgang Schuster
2007/12/14, Hans Hagen <[EMAIL PROTECTED]>:
> Zhichu Chen wrote:
> > Hi Wolfgang,
> >
> > On Dec 13, 2007 7:17 PM, Wolfgang Schuster <[EMAIL PROTECTED]>
> > wrote:
> >
> >> 2007/12/13, Zhichu Chen <[EMAIL PROTECTED]>:
> >>> Hi guys,
> >>>
> >>> Maybe this post has gone too far, and I've tried a bunch of methods to
> >> get
> >>> my map work. Anyway, I can't. And there's something I must say, why
> >> pdftex
> >>> must embed the whole otf file? It's about 15M for my only-one-character
> >> test
> >>> file and about 20M for my another only-two-characters test file,
> >> besides,
> >>> embedding otf files are so so slow. I don't think I'm ready for otf yet.
> >> I tried the Song font from Adobe a few days ago with XeTeX and a older
> >> chinese example text from you and the file size with 37 pages of output
> >> was a little bit over 1 MB, the same result with luaTeX but I got more
> >> pages.
> >
> > Then XeTeX can treat otf fonts correctly? I never tried that. I convert the
> > otf file into multiple type1 fonts (which compiles much more faster on my
> > PC) and I got 1.7M with 60 pages with pdftex embed the subsets. And I got
> > 440.9K with the same document and the same tfm files except I specify Adobe
> > Reader to use SimSun and not embed any fonts. I like the later.
>
> xetex just pipes data into dvipdfmx, and dvipdfmx can subset (this was
> accomplished by Chof, who lives in Korea and uses huge fonts)

But you don't have to care about this normally because this is done automatic,
it is harder to prevent this ConTeXt and produce only xdv files.

The file size with XeTeX should be the same as in the pdfTeX way but I found no
way to prevent xdvipdfmx to embedd the fonts, I know there is a "-e"
flag but I don't
if this should only lead to embedd the complete font or to disable
font embedding
but I can't test this because my xdvipdfmx has no "-e" flag.

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


Re: [NTG-context] beta

2007-12-14 Thread Thomas A. Schmitz

On Dec 14, 2007, at 10:06 AM, Hans Hagen wrote:

> only mkiv?
>
> btw, you can use
>
> \setbreakpoints[compound]
>
> so that blabla-blabla is handled automatically
>
> Hans

Yes, only mkiv.

I'll have to play with \setbreakpoints[compound]. It's a mkiv feature,  
right?

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


Re: [NTG-context] beta

2007-12-14 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Dec 14, 2007, at 9:24 AM, Hans Hagen wrote:
> 
>> Hi,
>>
>> I uploaded a new (mkiv) beta. The biggest change is that there are  
>> some
>> optimizations in the cached mkiv font tables which should lead to (1)
>> faster loading and (2) a smaller memory footprint. I may have messed
>> some things in the process, so testing is appreciated.
>>
>> Hans
>>
> 
> Hi Hans,
> 
> one problem that I saw in a very brief test: |-| doesn't produce a  
> hyphen in this beta; it works with version: 2007.12.07 19:14 (I can't  
> test the beta before this one, haven't kept the zip file).

only mkiv?

btw, you can use

\setbreakpoints[compound]

so that blabla-blabla is handled automatically

Hans

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


Re: [NTG-context] beta

2007-12-14 Thread Thomas A. Schmitz

On Dec 14, 2007, at 9:24 AM, Hans Hagen wrote:

> Hi,
>
> I uploaded a new (mkiv) beta. The biggest change is that there are  
> some
> optimizations in the cached mkiv font tables which should lead to (1)
> faster loading and (2) a smaller memory footprint. I may have messed
> some things in the process, so testing is appreciated.
>
> Hans
>

Hi Hans,

one problem that I saw in a very brief test: |-| doesn't produce a  
hyphen in this beta; it works with version: 2007.12.07 19:14 (I can't  
test the beta before this one, haven't kept the zip file).

All best

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


[NTG-context] beta

2007-12-14 Thread Hans Hagen
Hi,

I uploaded a new (mkiv) beta. The biggest change is that there are some 
optimizations in the cached mkiv font tables which should lead to (1) 
faster loading and (2) a smaller memory footprint. I may have messed 
some things in the process, so testing is appreciated.

Hans


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


Re: [NTG-context] MkIV on Ubuntu

2007-12-14 Thread Hans Hagen
Aditya Mahajan wrote:

> It looks like mtxrun is scanning the correct directories, but cannot find 
> the font files. On the other hand,

mtxrun --script font --reload

will create the font name database that mkiv will use

Hans


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


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-14 Thread Hans Hagen
Zhichu Chen wrote:
> Hi Wolfgang,
> 
> On Dec 13, 2007 7:17 PM, Wolfgang Schuster <[EMAIL PROTECTED]>
> wrote:
> 
>> 2007/12/13, Zhichu Chen <[EMAIL PROTECTED]>:
>>> Hi guys,
>>>
>>> Maybe this post has gone too far, and I've tried a bunch of methods to
>> get
>>> my map work. Anyway, I can't. And there's something I must say, why
>> pdftex
>>> must embed the whole otf file? It's about 15M for my only-one-character
>> test
>>> file and about 20M for my another only-two-characters test file,
>> besides,
>>> embedding otf files are so so slow. I don't think I'm ready for otf yet.
>> I tried the Song font from Adobe a few days ago with XeTeX and a older
>> chinese example text from you and the file size with 37 pages of output
>> was a little bit over 1 MB, the same result with luaTeX but I got more
>> pages.
> 
> Then XeTeX can treat otf fonts correctly? I never tried that. I convert the
> otf file into multiple type1 fonts (which compiles much more faster on my
> PC) and I got 1.7M with 60 pages with pdftex embed the subsets. And I got
> 440.9K with the same document and the same tfm files except I specify Adobe
> Reader to use SimSun and not embed any fonts. I like the later.

xetex just pipes data into dvipdfmx, and dvipdfmx can subset (this was 
accomplished by Chof, who lives in Korea and uses huge fonts)

Hans

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


Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-14 Thread Hans Hagen
Zhichu Chen wrote:
> Thanks Hans. Do you have any comments about how to now embed the standard
> Adobe CJK fonts?

you can split up the ttf file in smaller pfb files matching the tfm's



Hans

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