Re: [NTG-context] issue with break point

2016-02-03 Thread Hans Hagen

On 2/1/2016 7:39 PM, Pablo Rodriguez wrote:

Dear list,

I have the following code:

 \definebreakpoint[compound][—]
 \setbreakpoints[compound]
 \starttext
 \hsize\zeropoint
 Adobe—named

 {\em Adobe}—named
 \stoptext

The second line doesn’t get the em-dash as a breakpoint. It seems to
be related to the grouping.

I’m afraid it may be a bug. Could anyone confirm this?


this is somewhat tricky as it has to do with italic correction being 
added (you can use \it instead)


i fixed it but it will become available when we update the luatex engine 
(0.89, probably this weekend)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] (bug?) wrong hyphenation with external fonts

2016-02-03 Thread Hans Hagen

On 2/2/2016 12:28 PM, Pablo Rodriguez wrote:

Dear list,

just accidentally I discovered the following issue:

 \definefontfamily[mainface][rm][MinionPro]
 \definefontfamily[anotherface][rm][TeX Gyre Pagella]
 % wrong hyphenation too with TeX Gyre Pagella Math
 \setupbodyfont[mainface]

 \starttext
 \startTEXpage[offset=1em]
 \hyphenatedword{LibreOffice libre office}

 \es\hyphenatedword{LibreOffice libre office}
 \stopTEXpage
 \startTEXpage[offset=1em]
 \setupbodyfont[anotherface]%
 \hyphenatedword{LibreOffice libre office}

 \es\hyphenatedword{LibreOffice libre office}
 \stopTEXpage
 \stoptext

Hyphenation is wrong with fonts that don’t come with the ConTeXt
distribution. TeX Gyre Pagella is hyphenated right, but MinionPro or
even TeX Gyre Pagella Math are wrong hyphenated.

I’m afraid it may be a bug. Could anyone confirm it?


to what extend hyphenation is supported depends on the interaction 
between ligature building / kerning / trickery and possible hyohenation 
points; the font handler tries to do its best


math: don't use math fonts for text

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] not able to change paper sizes

2016-02-03 Thread Hans Hagen

On 2/1/2016 7:38 PM, Pablo Rodriguez wrote:

Dear list,

in this sample adapted from the documented code:

\definepapersize[main] [A4]  [A4]
\definepapersize[extra][A4,landscape][A4,landscape]

\starttext
 \setuppapersize[main]
 Page 1. \page
 Page 2. \page
 \setuppapersize[extra]
 Page 2 \page
 \setuppapersize[main]
 Page 3. \page
 Page 4. \page
 \adaptpapersize[extra]
 Page 5. \page
 Page 6. \page
 \startTEXpage[height=210mm, width=297mm]
 Page 6.
 \stopTEXpage
\stoptext

It isn’t possible to change the paper size. Only TEXpage does
change the paper size.

Could anyone confirm the bug?


more a side effect (synchronizing all related settings can result in 
recursive calls)


i'll add a poor mans sync but normally one will use

\setuplayout (with or without arguments) because simply changing the 
papersize only has no use


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] anglestriped shifts path

2016-02-03 Thread John Kitzmiller
I expect anglestriped to work more like fill, but it shifts the path. Is it 
intended behavior?

\startMPpage[offset=2mm]
 path p;
 p = unitsquare scaled 4cm ;
 filldraw p withcolor blue;
 draw p;
 draw p anglestriped(0,0,0) withcolor blue;
\stopMPpage

Thanks,
John
___
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] interactive reference

2016-02-03 Thread Henman

Go eat your dead great-grandmother's cunt.

On 02/03/2016 10:10 AM, Meer, Hans van der wrote:
In the ConTeXt reference manual in section 12.5 Cross references I 
find the following explanation:



I would like to set (interactive) references as the black triangles 
pointing forward and backward, as displayed here. Although I tried 
along the lines in the first example, as mentioned at the end of the 
text, I could not manage to get these triangles.


How to?

Hans van der Meer






___
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] interactive reference

2016-02-03 Thread Meer, Hans van der
Please, will the moderator of this group consider to remove from the list the 
sender of the reply below?
It is really offensive and the TeX-community unworthy.

Hans van der Meer




On 04 Feb 2016, at 00:42, Henman > 
wrote:

Go eat your dead great-grandmother's cunt.




On 02/03/2016 10:10 AM, Meer, Hans van der wrote:
In the ConTeXt reference manual in section 12.5 Cross references I find the 
following explanation:



I would like to set (interactive) references as the black triangles pointing 
forward and backward, as displayed here. Although I tried along the lines in 
the first example, as mentioned at the end of the text, I could not manage to 
get these triangles.

How to?

Hans van der Meer


___
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] interactive reference

2016-02-03 Thread Meer, Hans van der
In the ConTeXt reference manual in section 12.5 Cross references I find the 
following explanation:

[cid:DD84C63C-7615-45C8-8BC0-DA1B83459B42@dynamic.ziggo.nl]

I would like to set (interactive) references as the black triangles pointing 
forward and backward, as displayed here. Although I tried along the lines in 
the first example, as mentioned at the end of the text, I could not manage to 
get these triangles.

How to?

Hans van der Meer




___
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?) interactive link areas and \scale

2016-02-03 Thread Hans Hagen

On 2/1/2016 7:37 PM, Pablo Rodriguez wrote:

Dear list,

[Sorry for sending many bug reports at once, but I’m not at home. I
have my laptop and I’m working with it. Internet access is extremely
limited here. I work offline and prepare all messages to be sent later
when I can get some internet connection.]

I have the following sample:

 \setupinteraction[state=start]

 \enabledirectives[references.border]

 \def\mypersonalurl#1{\bgroup%
 \tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}%
 \unexpanded\def\href#1#2{\goto{#2} [url(#1)]}

 \starttext
 \mypersonalurl{wiki.contextgarden.net}

 \scale[width=.5\textwidth]
 {\mypersonalurl{wiki.contextgarden.net}}
 \stoptext

The link area in latest beta is wrong when \scale is used (second
link).

Link area is fine with latest stable and beta from 2015.11.19 19:13. I
don’t have all betas, but it appears in beta from 2015.12.20 00:29.


bug in luatex engine ... so you have to wait for an update

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___