[NTG-context] tabulate & \midaligned

2012-11-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

the \start/stop-tabulate doesn't work inside \midaligned:


\def\T{%
\starttabulate[|r|l|]
  \NC c \NC centered  \NC \AR
  \NC l \NC left aligned  \NC \AR
  \NC r \NC right aligned \NC \AR
\stoptabulate
}

\starttext
  \T % This is OK

  \midaligned{\T} % This fails
\stoptext


Why? - How to make it work?

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Unresolved third-party modules

2012-11-28 Thread Wolfgang Schuster

Am 28.11.2012 um 19:00 schrieb Vyatcheslav Y. :

> Hi,
> 
> Thanks everybody for the answers converning fonts list. Now I'd like
> to know why the 3rd party modules are not found.
> 
> I perfomed fresh install (with --extra option), then --make.
> 
> fullpage and simplefonts are not found, but they are physically
> present in the tree (e.g. t-fullpage.mkiv in
> D:\contextminimal\texmf-modules\tex\context\third\fullpage)
> 
> Please, what I have to do to 'install' them?

You need the “--modules=all” parameter for first-setup to install *all* modules.

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
___


[NTG-context] Unresolved third-party modules

2012-11-28 Thread Vyatcheslav Y.
Hi,

Thanks everybody for the answers converning fonts list. Now I'd like
to know why the 3rd party modules are not found.

I perfomed fresh install (with --extra option), then --make.

fullpage and simplefonts are not found, but they are physically
present in the tree (e.g. t-fullpage.mkiv in
D:\contextminimal\texmf-modules\tex\context\third\fullpage)

Please, what I have to do to 'install' them?

Regards, Vyatcheslav

mtx-context | warning: synctex is enabled
mtx-context | run 1: luatex
--fmt="d:/contextminimal/texmf-cache/luatex-cache/context/ef00b12fadadb54ecf5bedb6bdcb2558/formats/cont-en"
--jobname="player"
--lua="d:/contextminimal/texmf-cache/luatex-cache/context/ef00b12fadadb54ecf5bedb6bdcb2558/formats/cont-en.lui"
--no-parse-first-line --synctex=1 --c:currentrun=1
--c:fulljobname="./player.tex" --c:input="./player.tex"
--c:kindofrun=1 --c:synctex "cont-yes.mkiv"
This is LuaTeX, Version beta-0.70.2-201214 (TeX Live 2012/W32TeX)
\write18 enabled.
(d:/contextminimal/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.28 int: english/english
system > cont-new.mkiv loaded
(d:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > files > jobname: player, input: player, result: player
fonts > latin modern fonts are not preloaded
languages > language en is active
(player.tex
resolvers > modules > not found: 'fullpage'
resolvers > modules > not found: 'simplefonts'
___
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] simple question on kerning activation

2012-11-28 Thread Pablo Rodríguez
On 27/11/12 23:10, Hans Hagen wrote:
> 
> Normally context will automatically fall back on latn but does so by 
> looking at the feature list. These fonts support so many scripts that 
> it's not possible.
> 
> You (pablo) can report to the font designer that for features like 
> kerning a dflt,dflt pair makes sense.

Thank you very much, Hans, Wolfgang and Luigi for your help.

Sorry for the messages, but I used ConTeXt to check whether old
traditional kerning was enabled on FreeSerif fonts (not as OpenType
features). This is actually for an ereader.

As far as I know, I have to enable the Latin script in ConTeXt in all
the fonts I use with include OT features. That's fine for me.

What I couldn't understand before was that I was getting less kerns even
with the OpenType feature enabled. I took me a while to understand that
those kerns that weren't showing off in my file (my guess) were removed
in the latest version of FreeSerif.

BTW, I need to enable the Latin script even for features that belong to
other scripts, such as in Theano Didot (those contextual alternatives
and stylistic set 11 belong to the Greek script):

\usemodule[simplefonts]
\definefontfeature[default][default][script=latn,calt=yes,ss11=yes]
\setmainfont[Theano Didot]
\starttext
\startTEXpage[offset=10pt]
βάρβαροι θαυμασθεὶς
\stopTEXpage
\stoptext

Many thanks again for your help,


Pablo
-- 
http://www.ousia.tk
___
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] mkiv only installation

2012-11-28 Thread Hans Hagen

On 11/28/2012 11:36 AM, Jörg Hagmann wrote:

I was under the impression that

sh ./first-setup.sh --modules=all engine=luatex

should install a "minimal" minimal context (without mkii). But that doesn't 
seem to be true. Has something changed, or am I mistaken?



--engine

-
  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] mkiv only installation

2012-11-28 Thread Jörg Hagmann
I was under the impression that

sh ./first-setup.sh --modules=all engine=luatex

should install a "minimal" minimal context (without mkii). But that doesn't 
seem to be true. Has something changed, or am I mistaken?

Thanks, Jörg
___
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] italic smallcaps

2012-11-28 Thread Wolfgang Schuster

Am 28.11.2012 um 11:18 schrieb Sietse Brouwer :

> \setff{X} enables font feature X in the current scope --- do I
> understand this correctly?
> --Sietse


It enables a predefined set of features which need to define with 
\definefontfeature.

There is also a difference between \setff and \addff, with \setff you replace 
the active
feature set (in most cases “default”) with a new set, you can see it in the 
first line
because kerning etc. is disabled after \setff which I haven’t included in my 
list.

In the second line I used \adff which add my new list to the active list and 
because
of this kerning is still active after \addff.

\definefontfeature[smallcapitals] [smcp=yes]
\definefontfeature[oldstylenumber][onum=yes]

\setupbodyfont[pagella]

\starttext

{VA abc \setff{smallcapitals} VA abc}

{VA abc \addff{smallcapitals} VA abc}

{12345 \setff{oldstylenumber} 12345}

\stoptext

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] italic smallcaps

2012-11-28 Thread Sietse Brouwer
\setff{X} enables font feature X in the current scope --- do I
understand this correctly?
--Sietse


On Wed, Nov 28, 2012 at 10:06 AM, Wolfgang Schuster
 wrote:
>
> Am 28.11.2012 um 09:58 schrieb Andreas Mang :
>
>> Dear all,
>>
>> is there a simple way to convince context to put small caps in italic?
>>
>> Thanks.
>> Andreas
>>
>>
>> ConTeXt  ver: 2012.11.23 17:35 MKIV
>>
>>  minimal example 
>> \starttext
>>
>> % this is what I intended to do
>> \emph{\smallcaps Something} Something % not italic
>>
>> % this is what if tried:
>> {\it\sc Something} % not italic
>>
>> {\italic\smallcaps Something} % not italic
>>
>> {\slanted\smallcaps Something} % not italic
>>
>> {\smallcaps\italic Something} % no small caps
>>
>> \stoptext
>>  minimal example 
>
> Latin Modern uses a separate file for the small capitals but when you use a 
> font which has them in font you can enable them when for all styles when 
> available.
>
> \setupbodyfont[pagella]
>
> \starttext
> {\tf\setff{smallcaps}SmallCaps\par}
> {\it\setff{smallcaps}SmallCaps\par}
> {\bf\setff{smallcaps}SmallCaps\par}
> {\bi\setff{smallcaps}SmallCaps\par}
> \stoptext
>
> 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
> ___
___
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] Narrower paragraphs

2012-11-28 Thread Wolfgang Schuster

Am 23.11.2012 um 20:23 schrieb Aditya Mahajan :

>> ... I probably found it (how easy!):
>> 
>> 
>> \definestartstop
>> [Rek]
>> [before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
>> after={\stopnarrower\blank},
>> style=\em,
>> ]
>> 
> 
> (Untested, as I don't know if narrower accepts indent and style keys; if not 
> this should serve as a feature request :))
> 
> \definenarrower
>[Rek]
>[left=\parindent,
>right=\parindent,
>indenting=next,
>after={\blank},
>style=em]


Requires latest version of the module (left/right margins are reversed when you 
set “doublesided=yes”).

\usemodule[annotation]

\defineannotationalternative
  [narrow]
  [   alternative=vertical,
   renderingsetup=annotation:narrow]

\startsetups[annotation:narrow]

\signalrightpage

\doifelse{\annotationparameter{doublesided}}{yes}
{\doifrightpageelse\donetrue\donefalse}
 \donetrue

\ifdone
\doadaptleftskip {\annotationparameter {leftmargin}}
\doadaptrightskip{\annotationparameter{rightmargin}}
\else
\doadaptrightskip{\annotationparameter {leftmargin}}
\doadaptleftskip {\annotationparameter{rightmargin}}
\fi

  \placeannotationcontent

\stopsetups

\defineannotation
  [textoffset]
  [alternative=narrow,
  %doublesided=yes,
 color=red,
 style=italic,
leftmargin=1cm,
   rightmargin=4cm]

\setuppagenumbering[alternative=doublesided]

\starttext

\input knuth

\starttextoffset
\input ward
\stoptextoffset

\input knuth

\starttextoffset
\input ward
\stoptextoffset

\input knuth

\starttextoffset
\input ward
\stoptextoffset

\input knuth

\stoptext

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] simple question on kerning activation

2012-11-28 Thread Wolfgang Schuster

Am 28.11.2012 um 10:01 schrieb Hans Hagen :

> On 11/27/2012 6:11 PM, luigi scarso wrote:
> 
>> I see this and I believe that there are kerning -- or not ?
> 
> yes, lots of them

I tried your example with a few other fonts and none of them kerned so much and 
all of them had a good spacing for the text.

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] italic smallcaps

2012-11-28 Thread Wolfgang Schuster

Am 28.11.2012 um 09:58 schrieb Andreas Mang :

> Dear all,
> 
> is there a simple way to convince context to put small caps in italic?
> 
> Thanks.
> Andreas
> 
> 
> ConTeXt  ver: 2012.11.23 17:35 MKIV
> 
>  minimal example  
> \starttext
> 
> % this is what I intended to do
> \emph{\smallcaps Something} Something % not italic
> 
> % this is what if tried:
> {\it\sc Something} % not italic
> 
> {\italic\smallcaps Something} % not italic
> 
> {\slanted\smallcaps Something} % not italic
> 
> {\smallcaps\italic Something} % no small caps
> 
> \stoptext
>  minimal example  

Latin Modern uses a separate file for the small capitals but when you use a 
font which has them in font you can enable them when for all styles when 
available.

\setupbodyfont[pagella]

\starttext
{\tf\setff{smallcaps}SmallCaps\par}
{\it\setff{smallcaps}SmallCaps\par}
{\bf\setff{smallcaps}SmallCaps\par}
{\bi\setff{smallcaps}SmallCaps\par}
\stoptext

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] simple question on kerning activation

2012-11-28 Thread Hans Hagen

On 11/27/2012 6:11 PM, luigi scarso wrote:


I see this and I believe that there are kerning -- or not ?


yes, lots of them

-
  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] italic smallcaps

2012-11-28 Thread Hans Hagen

On 11/28/2012 9:58 AM, Andreas Mang wrote:

Dear all,

is there a simple way to convince context to put small caps in italic?

Thanks.
Andreas


ConTeXt  ver: 2012.11.23 17:35 MKIV

 minimal example 
\starttext

% this is what I intended to do
\emph{\smallcaps Something} Something % not italic

% this is what if tried:
{\it\sc Something} % not italic

{\italic\smallcaps Something} % not italic

{\slanted\smallcaps Something} % not italic

{\smallcaps\italic Something} % no small caps

\stoptext
 minimal example 


it all depends on the font providing them

-
  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] italic smallcaps

2012-11-28 Thread Andreas Mang
Dear all,

is there a simple way to convince context to put small caps in italic?

Thanks.
Andreas


ConTeXt  ver: 2012.11.23 17:35 MKIV

 minimal example  
\starttext

% this is what I intended to do
\emph{\smallcaps Something} Something % not italic

% this is what if tried:
{\it\sc Something} % not italic

{\italic\smallcaps Something} % not italic

{\slanted\smallcaps Something} % not italic

{\smallcaps\italic Something} % no small caps

\stoptext
 minimal example  

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