[NTG-context] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Jannik Voges
Hello everbody,


the following minimal example results in two lines with the centered word 
'test'.

\starttext

\startalignment[middle]
Test
\stopalignment

Test

\stoptext


Jannik


___
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] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Alan BRASLAU
On Tue, 9 Apr 2013 18:07:19 +0200
Jannik Voges jannik.vo...@icloud.com wrote:

 \stopalignment

Yes, I noticed a bug with \stopalignment.

In fact \startalignment\stopalignment now gives errors in certain situations,
for example, within a \startfootnote \stopfootnote pair.

Alan
___
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] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:

I corrected your example above:

\starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
\stoptypescript

\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]

\starttext
\input tufte
\stoptext

Wolfgang

Hi Wolfgang,

thank you. But your correction does not work, too. With your code the 
font AGaramondPro is not used, and no hanging either (even not with the 
then used Standard-Font). If I remove


[features=default]

then again Garamond is used, but still without hanging. It seems very 
tricky to define these things correctly, at least for me... :)


Thanks.
Huseyin




___
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] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:00 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:
 I corrected your example above:
 
 \starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 \stoptypescript
 
 \definefontfeature[default][default][protrusion=quality,expansion=quality]
 
 \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 \setupalign[hz,hanging]
 
 \starttext
 \input tufte
 \stoptext
 
 Wolfgang
 Hi Wolfgang,
 
 thank you. But your correction does not work, too. With your code the font 
 AGaramondPro is not used, and no hanging either (even not with the then used 
 Standard-Font). If I remove
 
 [features=default]
 
 then again Garamond is used, but still without hanging. It seems very tricky 
 to define these things correctly, at least for me... :)


I missed a parameter for \definetypeface, replace the defintion above with this 
one:

\definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]

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] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:

Or with the marvelous simplefonts module:

\usemodule[simplefonts]
\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
   italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
   protrusion=quality, expansion=quality]
\setupalign[hz, hanging]
\starttext
\input tufte
\stoptext


Thank your very much Peter, that works! I tried many times to get it 
work with SimpleFont, but did not know, that it is possible with 
SimpleFont to define regular, italic, bold separately.


By the way: I still do not understand, why it is not possible in ConTeXt 
(in Simplefont) just to say


\setmainfont[AGaramondPro]

and nothing more! It should identify regular, bold, italic 
automatically, like all other programms here do without problems. Or do 
I miss an important point here?


Thanks for your help.
Huseyin
___
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] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:07 schrieb H. Özoguz h.oezo...@mmnetz.de:

 By the way: I still do not understand, why it is not possible in ConTeXt (in 
 Simplefont) just to say
 
 \setmainfont[AGaramondPro]
 
 and nothing more! It should identify regular, bold, italic automatically, 
 like all other programms here do without problems. Or do I miss an important 
 point here?

What do you get when you type this on the command  line?

mtxrun --script font --list --all --pattern=*garamond*

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] float combinations

2013-04-10 Thread Robert Blackstone
Dear all,

I would like to have in my document floats, i.c. musical examples, that 
basically have the same  number, for example, Ex. 3a and Ex. 3b, with text in 
between and possibly not even on the same page. 

It seems that it can be done (Wiki-page Command/setupfloatsplitting) but I have 
no idea how to to accomplish it for figures.

Alternatively can one create a combination of two figures but separate the two 
elements spatially? And if so, how?
Thanks in advance for any advice.

Best regards,

Robert Blackstone
___
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] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Hans Hagen

On 4/10/2013 9:49 AM, Alan BRASLAU wrote:

On Tue, 9 Apr 2013 18:07:19 +0200
Jannik Voges jannik.vo...@icloud.com wrote:


\stopalignment


Yes, I noticed a bug with \stopalignment.

In fact \startalignment\stopalignment now gives errors in certain situations,
for example, within a \startfootnote \stopfootnote pair.


should be fixed ... in fact \startalign and \startalignment are now 
(supposed to be) aware of text/mathmode, so they are equivalents (i 
found myself mixing them up)


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] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 10:29, schrieb ntg-context-requ...@ntg.nl:

mtxrun --script font --list --all --pattern=*garamond*

I got this:
+++
adobegaramondpro  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
adobegaramondprobold  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
adobegaramondproitalicagaramondprobolditalic 
c:/windows/fonts/AGaramondPro-BoldItalic.otf
adobegaramondpronormalagaramondproitalic 
c:/windows/fonts/AGaramondPro-Italic.otf
adobegaramondproregular   agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
agaramondprobold  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
agaramondprobolditalicagaramondprobolditalic 
c:/windows/fonts/AGaramondPro-BoldItalic.otf
agaramondproitalicagaramondproitalic 
c:/windows/fonts/AGaramondPro-Italic.otf
agaramondproregular   agaramondproregular 
c:/windows/fonts/AGaramondPro-Regular.otf
ebgaramondebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramond08regular   ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramond08regularsmallcaps  ebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf
ebgaramond08scebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf
ebgaramond12allsc ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12allscnormal   ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12italicebgaramond12italic 
c:/windows/fonts/EBGaramond12-Italic.otf
ebgaramond12regular   ebgaramond12regular 
c:/windows/fonts/EBGaramond12-Regular.otf
ebgaramond12regularallsmallcaps   ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12regularsmallcaps  ebgaramond12sc 
c:/windows/fonts/EBGaramond12-SC.otf
ebgaramond12scebgaramond12sc 
c:/windows/fonts/EBGaramond12-SC.otf
ebgaramondinitialsebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramondinitialsf1  ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsf2  ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill1   ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill1normal ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill1regularebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill2   ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill2normal ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill2regularebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsnormal  ebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramondinitialsregular ebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramonditalic  ebgaramond12italic 
c:/windows/fonts/EBGaramond12-Italic.otf
ebgaramondnormal  ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramondregular ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramondsc  ebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf

garamond  garamond c:/windows/fonts/GARA.TTF
garamondantiqua   garamondantiqua c:/windows/fonts/91545.ttf
garamondbold  garamondbold c:/windows/fonts/GARABD.TTF
garamondhalbfett  garamondhalbfett 
c:/windows/fonts/91547.ttf

garamonditalicgaramonditalic c:/windows/fonts/GARAIT.TTF
garamondkursivgaramondkursiv c:/windows/fonts/91546.ttf
garamondkursivhalbfettgaramondkursivhalbfett 
c:/windows/fonts/91548.ttf

garamondnormalgaramondantiqua c:/windows/fonts/91545.ttf
stempelgaramondbold   stempelgaramondbold 
c:/windows/fonts/11547.ttf
stempelgaramondbolditalic stempelgaramondbolditalic 
c:/windows/fonts/11548.ttf
stempelgaramonditalic stempelgaramonditalic 
c:/windows/fonts/11546.ttf
stempelgaramondroman  stempelgaramondroman 
c:/windows/fonts/11545.ttf
stempelgaramondromanbold  stempelgaramondbold 
c:/windows/fonts/11547.ttf
stempelgaramondromanbolditalicstempelgaramondbolditalic 
c:/windows/fonts/11548.ttf
stempelgaramondromanitalicstempelgaramonditalic 
c:/windows/fonts/11546.ttf
stempelgaramondromannormalstempelgaramondroman 
c:/windows/fonts/11545.ttf

++

Maybe too many different garamonds?

Another interesting question: I compared the results using the 
Simplefont solution and your Typescript solution, both with hanging. 
Both works, but it is not the same 

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:46 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 10:29, schrieb ntg-context-requ...@ntg.nl:
 mtxrun --script font --list --all --pattern=*garamond*
 I got this:
 +++
 adobegaramondpro  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 adobegaramondprobold  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 adobegaramondproitalicagaramondprobolditalic  
 c:/windows/fonts/AGaramondPro-BoldItalic.otf
 adobegaramondpronormalagaramondproitalic  
 c:/windows/fonts/AGaramondPro-Italic.otf
 adobegaramondproregular   agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 agaramondprobold  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 agaramondprobolditalicagaramondprobolditalic  
 c:/windows/fonts/AGaramondPro-BoldItalic.otf
 agaramondproitalicagaramondproitalic  
 c:/windows/fonts/AGaramondPro-Italic.otf
 agaramondproregular   agaramondproregular 
 c:/windows/fonts/AGaramondPro-Regular.otf
 ebgaramondebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramond08regular   ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramond08regularsmallcaps  ebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 ebgaramond08scebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 ebgaramond12allsc ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12allscnormal   ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12italicebgaramond12italic  
 c:/windows/fonts/EBGaramond12-Italic.otf
 ebgaramond12regular   ebgaramond12regular 
 c:/windows/fonts/EBGaramond12-Regular.otf
 ebgaramond12regularallsmallcaps   ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12regularsmallcaps  ebgaramond12sc  
 c:/windows/fonts/EBGaramond12-SC.otf
 ebgaramond12scebgaramond12sc  
 c:/windows/fonts/EBGaramond12-SC.otf
 ebgaramondinitialsebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramondinitialsf1  ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsf2  ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill1   ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill1normal ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill1regularebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill2   ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill2normal ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill2regularebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsnormal  ebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramondinitialsregular ebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramonditalic  ebgaramond12italic  
 c:/windows/fonts/EBGaramond12-Italic.otf
 ebgaramondnormal  ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramondregular ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramondsc  ebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 garamond  garamond
 c:/windows/fonts/GARA.TTF
 garamondantiqua   garamondantiqua 
 c:/windows/fonts/91545.ttf
 garamondbold  garamondbold
 c:/windows/fonts/GARABD.TTF
 garamondhalbfett  garamondhalbfett
 c:/windows/fonts/91547.ttf
 garamonditalicgaramonditalic  
 c:/windows/fonts/GARAIT.TTF
 garamondkursivgaramondkursiv  
 c:/windows/fonts/91546.ttf
 garamondkursivhalbfettgaramondkursivhalbfett  
 c:/windows/fonts/91548.ttf
 garamondnormalgaramondantiqua 
 c:/windows/fonts/91545.ttf
 stempelgaramondbold   stempelgaramondbold 
 c:/windows/fonts/11547.ttf
 stempelgaramondbolditalic stempelgaramondbolditalic   
 c:/windows/fonts/11548.ttf
 stempelgaramonditalic stempelgaramonditalic   
 c:/windows/fonts/11546.ttf
 stempelgaramondroman  stempelgaramondroman  

Re: [NTG-context] hyperlink bug in \cite

2013-04-10 Thread Hans Hagen

On 4/9/2013 10:25 AM, Alan BRASLAU wrote:

Hello,

\cite[A] can yield a hyperlink to the bibliography. However,
\cite[A,B] does not (and should).

I suppose that this could be a bit complicated when using numbered references 
(rather than Author, year), in the particular case where one collapses the list 
of numbers, in which case the hyperlink could naturally point to the first 
numbered reference of the list.


can probably be solved (by rewriting some low level bin code ... but as 
there is no sample attached ...)


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] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 11:27, schrieb ntg-context-requ...@ntg.nl:

This is no problem because they have different names, you can try the following 
example:

\usemodule[simplefonts]

\setmainfont[Garamond]
%\setmainfont[Adobe Garamond Pro]
%\setmainfont[AGaramondPro]
%\setmainfont[EBGaramond]
%\setmainfont[Stempel Garamond]

\starttext
Regular, \it Italic, \bf Bold and \bi Bolditalic.
\stoptext

With

\setmainfont[AGaramondPro]

it works! The first and second does not work.




Another interesting question: I compared the results using the Simplefont solution and your Typescript solution, both 
with hanging. Both works, but it is not the same output. It seems, that with Simplefont it is nicer, in the 
following sence: The distance between a capital of a beginning word to the next letter it better typed, f.e. in Hans 
Meier the distance of H to ans could be too much in the typescript example, but is perfect 
with Simplefont.

Where does this difference in typography between Typescript and Simplefont 
comes from?

Maybe a kerning issue, you can add \showfontkerns at the begin of your document 
to visualize the kerning.

Wolfgang


\showfontkerns works with Simplefont, but not with Typescript. More 
precisely:


This shows kerning:
+
\showfontkerns

\usemodule[simplefonts]

\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,

italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,

protrusion=quality, expansion=quality]

\setupalign[hz, hanging]


\starttext

\input tufte

\stoptext

++


But this one not:

+

\showfontkerns

\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript


\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]


\starttext

\input tufte

\stoptext



Where the mistake?

And independent from that: That the kerning is different, is for sure 
(by visual inspection). How can the showing in numbers (showkerning) 
help to understand the reason for this difference? (Just interested to 
learn more about ConTeXt, of course I am not able to fix anything or 
understand it by myself).


Huseyin





___
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] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 11:56 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 11:27, schrieb ntg-context-requ...@ntg.nl:
 This is no problem because they have different names, you can try the 
 following example:
 
 \usemodule[simplefonts]
 
 \setmainfont[Garamond]
 %\setmainfont[Adobe Garamond Pro]
 %\setmainfont[AGaramondPro]
 %\setmainfont[EBGaramond]
 %\setmainfont[Stempel Garamond]
 
 \starttext
 Regular, \it Italic, \bf Bold and \bi Bolditalic.
 \stoptext
 With
 
 \setmainfont[AGaramondPro]
 
 it works! The first and second does not work.
 
 
 Another interesting question: I compared the results using the Simplefont 
 solution and your Typescript solution, both with hanging. Both works, but 
 it is not the same output. It seems, that with Simplefont it is nicer, 
 in the following sence: The distance between a capital of a beginning word 
 to the next letter it better typed, f.e. in Hans Meier the distance of 
 H to ans could be too much in the typescript example, but is perfect 
 with Simplefont.
 
 Where does this difference in typography between Typescript and Simplefont 
 comes from?
 Maybe a kerning issue, you can add \showfontkerns at the begin of your 
 document to visualize the kerning.
 
 Wolfgang
 
 \showfontkerns works with Simplefont, but not with Typescript. More precisely:
 
 This shows kerning:
 +
 \showfontkerns
 
 \usemodule[simplefonts]
 
 \setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
 
 italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
 
 protrusion=quality, expansion=quality]
 
 \setupalign[hz, hanging]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 ++
 
 
 But this one not:
 
 +
 
 \showfontkerns
 
 \starttypescript [serif] [nimbus]
 
 \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
 
 \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
 
 \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
 
 \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 
 \stoptypescript
 
 
 \definefontfeature[default][default][protrusion=quality,expansion=quality]
 
 \definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 \setupalign[hz,hanging]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 
 
 Where the mistake?
 
 And independent from that: That the kerning is different, is for sure (by 
 visual inspection). How can the showing in numbers (showkerning) help to 
 understand the reason for this difference? (Just interested to learn more 
 about ConTeXt, of course I am not able to fix anything or understand it by 
 myself).

Can you add “mode=node” to \definefontfeature in the typescript based solution.

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] Blanks instead of indented paragraphs

2013-04-10 Thread H. Özoguz

Hi there,

I have here an book, where I want to have empty lines between 
paragraphs, not only indenting.


Of course I could write always

Para 1 \blank

Para 2


but it would be easiest, if empty lines in the editors would be 
automatically interpreted as \blank – and then without indenting of 
course. How to get that?


Regards.
Huseyin
___
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] Blanks instead of indented paragraphs

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 12:20 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Hi there,
 
 I have here an book, where I want to have empty lines between paragraphs, not 
 only indenting.
 
 Of course I could write always
 
 Para 1 \blank
 
 Para 2
 
 
 but it would be easiest, if empty lines in the editors would be automatically 
 interpreted as \blank – and then without indenting of course. How to get 
 that?

\setupwhitespace[line]

\starttext

First paragraph

Second paragraph

\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] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz



Can you add “mode=node” to \definefontfeature in the typescript based solution.


Ok, now the kerning is exactly the same, what does mode=node do?

Huseyin

___
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] markdown: referencing tables

2013-04-10 Thread Xenia
On 10.04.2013 01:02, Hans Hagen wrote:
 On 4/9/2013 9:29 PM, Xenia wrote:
 Dear context list,

 I love simple tables in markdown like this one

 \startmarkdown
Right Left Center Default
 --- -- --   ---
   12 121212
  123 123   123  123
1 1  1 1

 Table:  Demonstration of simple table syntax.
 \stopmarkdown

 Is there a way to reference this table?
 With \starttabulate (\stoptabulate) tables can be referenced with
 \placetable, but \placetable just creates another (empty) table in case
 of a markdown table.
 
 Also if you put {} around the code? or use
 
 \startplacetable{xx}
 ...
 \stopplacetable

No this creates no caption and a second (empty) table with the right
caption.

___
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] markdown: referencing tables

2013-04-10 Thread Hans Hagen

On 4/10/2013 2:44 PM, Xenia wrote:

On 10.04.2013 01:02, Hans Hagen wrote:

On 4/9/2013 9:29 PM, Xenia wrote:

Dear context list,

I love simple tables in markdown like this one

\startmarkdown
Right Left Center Default
--- -- --   ---
   12 121212
  123 123   123  123
1 1  1 1

Table:  Demonstration of simple table syntax.
\stopmarkdown

Is there a way to reference this table?
With \starttabulate (\stoptabulate) tables can be referenced with
\placetable, but \placetable just creates another (empty) table in case
of a markdown table.


Also if you put {} around the code? or use

\startplacetable{xx}
...
\stopplacetable


No this creates no caption and a second (empty) table with the right
caption.


and what about:

\startbuffer
\startmarkdown
...
\stopmarkdown
\stopbuffer

\placetable{whatever}{\getbuffer}

-
  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] New user of ConTeXt

2013-04-10 Thread Tristan Lorino
Hi,

I'm beginning with ConTeXt.
With the code below, the outpout pdf file shows space symbols between the three 
words of the title (cf. attached file):

 
\setupbodyfont[11pt]
\enableregime[utf-8]
\mainlanguage[fr]
\starttext

\setMPtext {1} {C'est le titre}
\startMPcode
pickup pencircle scaled .5mm ;
pair a; a :=(0.2cm,.5cm);
label.rt(\MPtext {1},a);
  draw (0cm,0cm)--(8cm,0cm); 
  draw (8cm,0cm)..(8.15cm,0.08cm)..(8.2cm,0.18cm); 
  draw (8.2cm,0.18cm)--(8.7cm,1.7cm); 
 \stopMPcode
 
\stoptext
 

How can I avoid these symbols?

Thanks for your help,
Tristan lorino


-- 
Ifsttar - Nantes
Département « Aménagement, mobilités et environnement »
Laboratoire « Environnement, acoustique, sécurité et éco-conception »
Route de Bouaye CS4
44344 BOUGUENAIS Cedex
Tél. +33 (0)2 40 84 56 18
Fax  +33 (0)2 40 84 59 92



essai.pdf
Description: Adobe PDF document
___
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 user of ConTeXt

2013-04-10 Thread H. Özoguz

Am 10.04.2013 15:29, schrieb ntg-context-requ...@ntg.nl:

\setupbodyfont[11pt]
\enableregime[utf-8]
\mainlanguage[fr]
\starttext

\setMPtext {1} {C'est le titre}
\startMPcode
pickup pencircle scaled .5mm ;
pair a; a :=(0.2cm,.5cm);
label.rt(\MPtext {1},a);
   draw (0cm,0cm)--(8cm,0cm);
   draw (8cm,0cm)..(8.15cm,0.08cm)..(8.2cm,0.18cm);
   draw (8.2cm,0.18cm)--(8.7cm,1.7cm);
  \stopMPcode
  
\stoptext



How can I avoid these symbols?

Thanks for your help,
Tristan lorino


Here your code does not generate these space-symbols, maybe an editor-issue?

Huseyin
___
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] markdown: referencing tables

2013-04-10 Thread Marco Patzer
On 2013–04–09 Xenia wrote:

 \startmarkdown
   Right Left Center Default
 --- -- --   ---
  12 121212
 123 123   123  123
   1 1  1 1
 
 Table:  Demonstration of simple table syntax.
 \stopmarkdown
 
 Is there a way to reference this table?

I might get you wrong here, but I think this is a markdown/pandoc
issue. Look at the ConTeXt code generated for section references:

  %%% section.markdown 
  Whatever
  

  See [section](#whatever)
  %

  %%% section.tex %
  \section[whatever]{Whatever}

  See \in{section}{}[whatever]
  %

Now compare this with the code generated for tables on the other
hand:

  %%% table.markdown %%
Right Left Center Default
  --- -- --   ---
   12 121212
  123 123   123  123
1 1  1 1

  Table: Caption

  See [table](#caption)
  %

  %%% table.tex %%%
  \placetable[here]{Caption}
  \starttable[|r|l|c|l|]
  \HL
  \NC Right
  \NC Left
  \NC Center
  \NC Default
  \NC\AR
  \HL
  \NC 12
  \NC 12
  \NC 12
  \NC 12
  \NC\AR
  \NC 123
  \NC 123
  \NC 123
  \NC 123
  \NC\AR
  \NC 1
  \NC 1
  \NC 1
  \NC 1
  \NC\AR
  \HL
  \stoptable

  See \in{table}{}[caption]
  %

As you can see, no reference is created. I don't even know if
references are supported in markdown in the same way section
references are. If this is actually supposed to work, then I assume
a bug in the pandoc context output filter.

Marco


signature.asc
Description: Digital signature
___
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 user of ConTeXt

2013-04-10 Thread Marco Patzer
On 2013–04–10 Tristan Lorino wrote:

 I'm beginning with ConTeXt.

You probably compiled your document with texexec. That means you are
using an old, but still supported, version of ConTeXt called MkII.
You can make you life easier if you use the newer version MkIV
instead. Just compile with

  context somefile.tex

instead of texexec. And you can skip the \enableregime line.

  
 […]
  
 
 How can I avoid these symbols?

If you use MkIV, those symbols don't show up. I don't know why they
are visible with MkII.

Marco


signature.asc
Description: Digital signature
___
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 user of ConTeXt

2013-04-10 Thread Hans Hagen

On 4/10/2013 3:50 PM, Marco Patzer wrote:


If you use MkIV, those symbols don't show up. I don't know why they
are visible with MkII.


because in the old fonts there's a visual space in slot 32

-
  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] Number of pages by Lua of a figure to be inserted?

2013-04-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I need to identify number of pages by Lua of an image which is to be inserted.

The image can be of all various types supported by Ctx - e.g. .png, .pdf.

I've been using the following code so far (based on a mailing thread in the 
past):


function nOfPages(fn)
  local fig = figures.push{name = fn}
local info = figures.identify()

figures.check()

local n = fig.used.pages
  figures.pop()

  return n
end


But the code above break Ctx in the case that the image doesn't exist.

I'd need to modify the solution somehow so to return 'nil' or 'false' (or a 
error message) in the case the file was not found.

How to do it?

TIA.

Best regards,

Lukas

(NB: Still ConTeXt  ver: 2012.11.26 13:31 MKIV  fmt: 2012.11.27  int: 
english/english.)


--
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] New user of ConTeXt

2013-04-10 Thread Tristan Lorino
Thanks.
I'm on Mac (10.8.3), with TeXLive (MacTeX 2012).
I compile with Context through TeXShop: the log is

This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012)
...
ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30

I don't know how to get MKIV instead of MKII.
Thanks again for your help.

Tristan

- Mail original -
 De: Hans Hagen pra...@wxs.nl
 À: ntg-context@ntg.nl
 Envoyé: Mercredi 10 Avril 2013 16:15:46
 Objet: Re: [NTG-context] New user of ConTeXt
 
 because in the old fonts there's a visual space in slot 32
 

-- 
Ifsttar - Nantes
Département « Aménagement, mobilités et environnement »
Laboratoire « Environnement, acoustique, sécurité et éco-conception »
Route de Bouaye CS4
44344 BOUGUENAIS Cedex
Tél. +33 (0)2 40 84 56 18
Fax  +33 (0)2 40 84 59 92

___
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 user of ConTeXt

2013-04-10 Thread hwitloc

  You already have MKIV (probably)
  As already mentioned, just type   context instead of texexec as the 
command.
 
  $  context   name-of-your-tex-file.tex

  I to had to learn that texexec is the script invoking MKII and that 
context is
  the script that invokes MKIV.  But both are usually included in a 
distribution I believe.



Tristan Lorino tristan.lor...@ifsttar.fr wrote:
 Thanks.
 I'm on Mac (10.8.3), with TeXLive (MacTeX 2012).
 I compile with Context through TeXShop: the log is
 
 This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 ...
 ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30
 
 I don't know how to get MKIV instead of MKII.
 Thanks again for your help.
 
 Tristan
 
___
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 user of ConTeXt

2013-04-10 Thread Otared Kavian
Hi Tristan,

If you ar eusing TeXLive and TeXShop on a Mac, when typesetting you should use 
a different engine than the one you use now.
To do so, pay attention to menu on the top of you source file, to th eright of 
the « Typeset » button: there it is indicated which engine you are going to use 
when you typeset. Try the engine « ConTeXt (LuaTeX) ».

Another solution is to install the stand alone version of ConTeXt.

Best regards: OK

On 10 avr. 2013, at 16:29, Tristan Lorino tristan.lor...@ifsttar.fr wrote:

 Thanks.
 I'm on Mac (10.8.3), with TeXLive (MacTeX 2012).
 I compile with Context through TeXShop: the log is
 
 This is pdfTeX, version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 ...
 ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.6.30
 
 I don't know how to get MKIV instead of MKII.
 Thanks again for your help.
 
 Tristan
 
 - Mail original -
 De: Hans Hagen pra...@wxs.nl
 À: ntg-context@ntg.nl
 Envoyé: Mercredi 10 Avril 2013 16:15:46
 Objet: Re: [NTG-context] New user of ConTeXt
 
 because in the old fonts there's a visual space in slot 32
 
 
 -- 
 Ifsttar - Nantes
 Département « Aménagement, mobilités et environnement »
 Laboratoire « Environnement, acoustique, sécurité et éco-conception »
 Route de Bouaye CS4
 44344 BOUGUENAIS Cedex
 Tél. +33 (0)2 40 84 56 18
 Fax  +33 (0)2 40 84 59 92
 
 ___
 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] Number of pages by Lua of a figure to be inserted?

2013-04-10 Thread Hans Hagen

On 4/10/2013 4:22 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

I need to identify number of pages by Lua of an image which is to be
inserted.

The image can be of all various types supported by Ctx - e.g. .png, .pdf.

I've been using the following code so far (based on a mailing thread in
the past):


function nOfPages(fn)
   local fig = figures.push{name = fn}
 local info = figures.identify()

 figures.check()

 local n = fig.used.pages


inspect(fig)


   figures.pop()

   return n
end


But the code above break Ctx in the case that the image doesn't exist.

I'd need to modify the solution somehow so to return 'nil' or 'false'
(or a error message) in the case the file was not found.

How to do it?


there's a status table in fig

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] markdown: referencing tables

2013-04-10 Thread Xenia
On 10.04.2013 15:10, Hans Hagen wrote:
 On 4/10/2013 2:44 PM, Xenia wrote:
 On 10.04.2013 01:02, Hans Hagen wrote:
 On 4/9/2013 9:29 PM, Xenia wrote:
 Dear context list,

 I love simple tables in markdown like this one

 \startmarkdown
 Right Left Center Default
 --- -- --   ---
12 121212
   123 123   123  123
 1 1  1 1

 Table:  Demonstration of simple table syntax.
 \stopmarkdown

 Is there a way to reference this table?
 With \starttabulate (\stoptabulate) tables can be referenced with
 \placetable, but \placetable just creates another (empty) table in case
 of a markdown table.

 Also if you put {} around the code? or use

 \startplacetable{xx}
 ...
 \stopplacetable

 No this creates no caption and a second (empty) table with the right
 caption.
 
 and what about:
 
 \startbuffer
 \startmarkdown
 ...
 \stopmarkdown
 \stopbuffer
 
 \placetable{whatever}{\getbuffer}

Unfortunately not. Marco might be right and this is a markdown issue …

___
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] new beta

2013-04-10 Thread Hans Hagen

Hi,

An extra chapter in:

http://www.pragma-ade.nl/general/manuals/about.pdf

explaining abit the updated math fractions (and math styles mechanism).

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] hyperlink bug in \cite

2013-04-10 Thread Alan BRASLAU
On Wed, 10 Apr 2013 11:47:21 +0200
Hans Hagen pra...@wxs.nl wrote:

 can probably be solved (by rewriting some low level bin code ... but
 as there is no sample attached ...)

Minimal example attached.

Alan\setupinteraction  [state=start]
\setupbibtex   [database=biblio,sort=author]
\setuppublications [refcommand=authoryear,sorttype=bbl,criterium=cite] % author (year)
\starttext

Cybernetics. \cite [Ashby1954] \cite[Wiener1961]

Cybernetics. \cite [Ashby1954,Wiener1961]

\starttitle [title=Bibliography]
  \placepublications [criterium=all]
\stoptitle

\stoptext
@BOOK{ Ashby1954,
	author = {Ashby, W. Ross},
	title = {Design for a Brain},
	year = {1954},
	publisher = {John Wiley {\} Sons Inc.},
	address = {New York}
}

@BOOK{ Wiener1961,
	author = {Wiener, N.},
	title = {Cybernetics or Control and Communication in the Animal and in the Machine},
	year = {1961},
	publisher = {M.I.T. Press and John Wiley {\} Sons},
	address = {New York}
}
___
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] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 12:59 schrieb H. Özoguz h.oezo...@mmnetz.de:

 
 Can you add “mode=node” to \definefontfeature in the typescript based 
 solution.
 
 Ok, now the kerning is exactly the same, what does mode=node do?

Read chapter 2 of Hans new font manual: http://www.pragma-ade.nl/show-man-54.htm

@Hans: In section 2.1 of the manual you wrote the “node” mode as “mode”.

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] Hanging and Protrusion with Typescript

2013-04-10 Thread Hans Hagen

On 4/10/2013 11:00 PM, Wolfgang Schuster wrote:


Am 10.04.2013 um 12:59 schrieb H. Özoguz h.oezo...@mmnetz.de:




Can you add “mode=node” to \definefontfeature in the typescript based solution.


Ok, now the kerning is exactly the same, what does mode=node do?


Read chapter 2 of Hans new font manual: http://www.pragma-ade.nl/show-man-54.htm

@Hans: In section 2.1 of the manual you wrote the “node” mode as “mode”.


ok, fixed but not upload yet

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