Re: [NTG-context] \externalfigure produces blank page

2016-02-04 Thread Procházka Lukáš Ing .

Hello,

nice to hear that.

So - when I renew Ctx tonight, will it work well tomorrow?

Lukas


On Thu, 04 Feb 2016 12:54:24 +0100, luigi scarso  wrote:


On Thu, Feb 4, 2016 at 12:44 PM, Procházka Lukáš Ing.  wrote:


Hello,

let's have a simple code:


\starttext
  \startTEXpage
\externalfigure[Tv32.pdf]%[scale=500]
  \stopTEXpage
\stoptext


It yields a blank (or empty) page (its size A1 is OK);
and the size of the resulting .pdf is very close to that of the inserted
image.

The inserted Tv32.pdf is displayed correctly in Adobe reader, so why it is
not processed by Ctx?

I'm adding link to Tv32.pdf as it has cca 235 kB:
http://leteckaposta.cz/616854330

I guess it used to work in the past...

Best regards,

Lukas




Tv32.pdf  has
Page size:  1684 x 2384 pts

It could be related to a 32vs 64 bit internal conversion, that we have just
fixed.
The pdf is correctly included in the last context with he upcoming 0.89.0 .



--
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 241 096 751
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] \externalfigure produces blank page

2016-02-04 Thread luigi scarso
On Thu, Feb 4, 2016 at 12:44 PM, Procházka Lukáš Ing.  wrote:

> Hello,
>
> let's have a simple code:
>
> 
> \starttext
>   \startTEXpage
> \externalfigure[Tv32.pdf]%[scale=500]
>   \stopTEXpage
> \stoptext
> 
>
> It yields a blank (or empty) page (its size A1 is OK);
> and the size of the resulting .pdf is very close to that of the inserted
> image.
>
> The inserted Tv32.pdf is displayed correctly in Adobe reader, so why it is
> not processed by Ctx?
>
> I'm adding link to Tv32.pdf as it has cca 235 kB:
> http://leteckaposta.cz/616854330
>
> I guess it used to work in the past...
>
> Best regards,
>
> Lukas
>
>

Tv32.pdf  has
Page size:  1684 x 2384 pts

It could be related to a 32vs 64 bit internal conversion, that we have just
fixed.
The pdf is correctly included in the last context with he upcoming 0.89.0 .


-- 
luigi
___
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] \externalfigure produces blank page

2016-02-04 Thread Procházka Lukáš Ing .

Hello,

let's have a simple code:


\starttext
  \startTEXpage
\externalfigure[Tv32.pdf]%[scale=500]
  \stopTEXpage
\stoptext


It yields a blank (or empty) page (its size A1 is OK);
and the size of the resulting .pdf is very close to that of the inserted image.

The inserted Tv32.pdf is displayed correctly in Adobe reader, so why it is not 
processed by Ctx?

I'm adding link to Tv32.pdf as it has cca 235 kB: 
http://leteckaposta.cz/616854330

I guess it used to work in the past...

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 241 096 751
Fax: +420 244 461 038

2.log
Description: Binary data


2.mkiv
Description: Binary data
___
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-04 Thread Hans Hagen

On 2/4/2016 9:27 PM, Pablo Rodriguez wrote:

On 02/03/2016 02:18 PM, Hans Hagen wrote:

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

Dear list,
[...]
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


Many thanks for your reply, Hans.

I reported the issue in the opposite way it happens:

 \definefontfamily[mainface][rm][MinionPro]
 \definefontfamily[anotherface][rm][TeX Gyre Pagella]
 \setupbodyfont[mainface]

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

 \setupbodyfont[anotherface]%
 \hyphenatedword{LibreOffice libre office}
 \stopTEXpage
 \stoptext

The ff-ligature prevents hyphenation with TeX Gyre Pagella, but not with
MinionPro. (This is the opposite of what I reported before.)


it depends on the complexity of the ligature .. ff is not so much an 
issue but you can have ff + i = ffi etc and we need to deal with kerning 
too (it depends a bit on how the opentype features are applied and we 
can handle quite some weird ligature implementations)


the latest mechanism in context can deal with quite some situations but 
at some point has to make decisions (in order not to loose for instance 
kerns; double chained ligatures would result in way more overhead and is 
not worth the trouble)


one might wonder if we never had these  f[fil] ligatures of if ancient 
technology had provides hundreds of them combining upto 4 characters etc 
etc.


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] (bug?) wrong hyphenation with external fonts

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 10:13 PM, Hans Hagen wrote:
> On 2/4/2016 9:27 PM, Pablo Rodriguez wrote:
>> [...]
>> The ff-ligature prevents hyphenation with TeX Gyre Pagella, but not with
>> MinionPro. (This is the opposite of what I reported before.)
> 
> it depends on the complexity of the ligature .. ff is not so much an 
> issue but you can have ff + i = ffi etc and we need to deal with kerning 
> too (it depends a bit on how the opentype features are applied and we 
> can handle quite some weird ligature implementations)
> 
> the latest mechanism in context can deal with quite some situations but 
> at some point has to make decisions (in order not to loose for instance 
> kerns; double chained ligatures would result in way more overhead and is 
> not worth the trouble)
> 
> one might wonder if we never had these  f[fil] ligatures of if ancient 
> technology had provides hundreds of them combining upto 4 characters etc 
> etc.

Many thanks for the explanation, Hans.

I see the decisions ConTeXt has to make may be compromises in some cases.

Many thanks for your help again,

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] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 07:54 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 4. Februar 2016 um 19:43
>>
>> But I get two test2 on page 2:
>>
>> \definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
>> \setlayer[test1]{page1}
> Set the layer content after \starttext or load a font before you set it,
> otherwise context uses a monospace font as fallback.

Many thanks for the tip. But I really use foregroundstyle with
\setlayerframed.

>> \definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]
> Remove "state=continue".
>> \startsetups[testlayer]
>> \setlayer[test2]{page2}
>> \stopsetups
> You have to include a check for the first page, possible are
> 
> \startsetups[testlayer]
> \doifnot{\rawcountervalue[userpage]}{1}{\setlayer[test2]{page2}}
> \stopsetups

Many thanks for the conditional. Now it works perfectly fine.

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] not able to change paper sizes

2016-02-04 Thread Wolfgang Schuster

Pablo Rodriguez 
4. Februar 2016 um 20:10
On 02/04/2016 07:54 PM, Wolfgang Schuster wrote:

Pablo Rodriguez 4. Februar 2016 um 19:43

But I get two test2 on page 2:

\definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
\setlayer[test1]{page1}

Set the layer content after \starttext or load a font before you set it,
otherwise context uses a monospace font as fallback.


Many thanks for the tip. But I really use foregroundstyle with
\setlayerframed.

This doesn’t matter.

Compare

 begin example
\definelayer[test]

\setupbackgrounds[page][background=test]

\setlayerframed[test][x=3cm,y=3cm][foregroundstyle=sans]{Layer}

\starttext
\page[empty]
\stoptext
 end example

with

 begin example
\definelayer[test]

\setupbackgrounds[page][background=test]

\setupbodyfont[modern]

\setlayerframed[test][x=3cm,y=3cm][foregroundstyle=sans]{Layer}

\starttext
\page[empty]
\stoptext
 end example

The foregroundstyle setting has no effect in the first example because 
no font was loaded at this point.


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] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 05:39 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 4. Februar 2016 um 17:19
>>
>> I’m afraid that dimensions seem not to be adapted:
> [...]
> \startsetups[testlayer]
> \setlayer[test]{abcde}
> \stopsetups
> 
> \setupbackgrounds[page][setups=testlayer,background=test]

Many thanks for your reply, Wolfgang.

My problem now is that I get layouts from the first page in the second page:

  \definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
  \definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]

  \startsetups[testlayer]
\setlayer[test1]{page1}
\setlayer[test2]{page2}
  \stopsetups

  \setupbackgrounds[page][setups=testlayer,background={test1, test2}]
  \starttext
 \setuppapersize[A4]
 Page 1. \page
 \setuppapersize[A4, landscape]\setuplayout
 Page 2 \page
  \stoptext

How can I avoid this?

Many thanks 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] which is the best/right element for elements in cover and title pages?

2016-02-04 Thread Pablo Rodriguez
On 01/26/2016 02:45 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 26. Januar 2016 um 09:42
>> [...]
>> I guess \definehead is what I should be using.
> No, the makeup environment is the right mechanism. You can combine this
> with the \setvariables command and create the title page when you set
> the values.

Many thanks for your reply. Wolfgang.

Once again (or as always), you are right: this is the way to do it.

Many thanks 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] not able to change paper sizes

2016-02-04 Thread Wolfgang Schuster

Pablo Rodriguez 
4. Februar 2016 um 18:08

Many thanks for your reply, Wolfgang.

My problem now is that I get layouts from the first page in the second 
page:
Do you want layer “test1” to appear on the second page, if not don’t put 
it in the setups environment.


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] not able to change paper sizes

2016-02-04 Thread Wolfgang Schuster

Pablo Rodriguez 
4. Februar 2016 um 17:19

Hans,

many thanks for your reply Pablo.

I’m afraid that dimensions seem not to be adapted:

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

\definelayer[test][x=.5\paperwidth, y=.5\paperheight,state=repeat]
\setlayer[test]{abcde}

\setupbackgrounds[page][background={test}]

You have to reset the layer on each page.

\definelayer[test][x=.5\paperwidth, y=.5\paperheight]

\startsetups[testlayer]
\setlayer[test]{abcde}
\stopsetups

\setupbackgrounds[page][setups=testlayer,background=test]

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] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
On 02/03/2016 02:57 PM, Hans Hagen wrote:
> On 2/1/2016 7:38 PM, Pablo Rodriguez wrote:
>> [...]
>> 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,

many thanks for your reply Pablo.

I’m afraid that dimensions seem not to be adapted:

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

\definelayer[test][x=.5\paperwidth, y=.5\paperheight,state=repeat]
\setlayer[test]{abcde}

\setupbackgrounds[page][background={test}]

\starttext
 \setuppapersize[main]
 Page 1. \page
 \setuppapersize[extra]\setuplayout
 Page 2 \page
\stoptext

Many thanks 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] extended printing options in ConTeXt

2016-02-04 Thread Hans Hagen

On 2/1/2016 8:22 AM, Pablo Rodriguez wrote:

Hans,

would it be possible to implement two extended printing options defined
in the PDF specification?


remind me in a few weeks as i have other priorities now


You have kindly implemented duplex printing and page scaling options.
At my workplace, we are it on a daily basis for mail merging (I had to
make an “extension” to distinguish between duplex printing and page
scaling [it isn’t an option for me]).

In the present implementation, page, portrait and landscape values sets
page scaling to none. In most of the documents we generate, we have to
fit page contents to printer margins. It is a must for us, since
corporate templates are the way they are (wrong designed).

Would it be possible to have the PDF printing options in different keys
than the one used for the the viewing options?

It would be also extremely useful to be able to specify the number of
copies and select page size from PDF document. These are the keys
/NumCopies and /PickTrayByPDFSize (described on page 365 from the PDF
specification).

The keys and their values would be:

 duplex  page portrait landscape (only a duplex key required)

 fixed   (no value is required)

 copies  number

 pdfsize yes no

This way, the user has only to press the OK button in the printing
dialog or enter (and forget about selecting which kind of document
requires which options).

I’m asking this for my own needs (it is essential for us at work,
where none knows what ConTeXt might be).

But this implementation benefits any ConTeXt user.

Many thanks for your help,

Pablo




--

-
  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-04 Thread Wolfgang Schuster

Pablo Rodriguez 
4. Februar 2016 um 19:43

But I get two test2 on page 2:

\definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
\setlayer[test1]{page1}

Set the layer content after \starttext or load a font before you set it,
otherwise context uses a monospace font as fallback.

\definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]

Remove "state=continue".

\startsetups[testlayer]
\setlayer[test2]{page2}
\stopsetups

You have to include a check for the first page, possible are

\startsetups[testlayer]
\ifnum\rawcountervalue[userpage]=1\else
\setlayer[test2]{page2}
\fi
\stopsetups

or

\startsetups[testlayer]
\doifnot{\rawcountervalue[userpage]}{1}{\setlayer[test2]{page2}}
\stopsetups

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] extended printing options in ConTeXt

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 07:51 PM, Hans Hagen wrote:
> On 2/1/2016 8:22 AM, Pablo Rodriguez wrote:
>> Hans,
>>
>> would it be possible to implement two extended printing options defined
>> in the PDF specification?
> 
> remind me in a few weeks as i have other priorities now

Many thanks for your reply, Hans.

I’ll remind you by the end of the month (if this is OK for you).

Pablo


>> You have kindly implemented duplex printing and page scaling options.
>> At my workplace, we are it on a daily basis for mail merging (I had to
>> make an “extension” to distinguish between duplex printing and page
>> scaling [it isn’t an option for me]).
>>
>> In the present implementation, page, portrait and landscape values sets
>> page scaling to none. In most of the documents we generate, we have to
>> fit page contents to printer margins. It is a must for us, since
>> corporate templates are the way they are (wrong designed).
>>
>> Would it be possible to have the PDF printing options in different keys
>> than the one used for the the viewing options?
>>
>> It would be also extremely useful to be able to specify the number of
>> copies and select page size from PDF document. These are the keys
>> /NumCopies and /PickTrayByPDFSize (described on page 365 from the PDF
>> specification).
>>
>> The keys and their values would be:
>>
>>  duplex  page portrait landscape (only a duplex key required)
>>
>>  fixed   (no value is required)
>>
>>  copies  number
>>
>>  pdfsize yes no
>>
>> This way, the user has only to press the OK button in the printing
>> dialog or enter (and forget about selecting which kind of document
>> requires which options).
>>
>> I’m asking this for my own needs (it is essential for us at work,
>> where none knows what ConTeXt might be).
>>
>> But this implementation benefits any ConTeXt user.
>>
>> Many thanks 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] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 07:03 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 
>> 4. Februar 2016 um 18:08
>>
>> Many thanks for your reply, Wolfgang.
>>
>> My problem now is that I get layouts from the first page in the second
>> page:
> Do you want layer “test1” to appear on the second page, if not don’t put
> it in the setups environment.

But I get two test2 on page 2:

  \definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
  \setlayer[test1]{page1}
  \definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]
  \startsetups[testlayer]
\setlayer[test2]{page2}
  \stopsetups

  \setupbackgrounds[page][setups=testlayer,background={test1, test2}]
  \starttext
 \setuppapersize[A4]
 Page 1. \page
 \setuppapersize[A4, landscape]\setuplayout
 Page 2 \page
  \stoptext

Many thanks 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] (bug?) wrong hyphenation with external fonts

2016-02-04 Thread Pablo Rodriguez
On 02/03/2016 02:18 PM, Hans Hagen wrote:
> On 2/2/2016 12:28 PM, Pablo Rodriguez wrote:
>> Dear list,
>> [...]
>> 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

Many thanks for your reply, Hans.

I reported the issue in the opposite way it happens:

\definefontfamily[mainface][rm][MinionPro]
\definefontfamily[anotherface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]

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

\setupbodyfont[anotherface]%
\hyphenatedword{LibreOffice libre office}
\stopTEXpage
\stoptext

The ff-ligature prevents hyphenation with TeX Gyre Pagella, but not with
MinionPro. (This is the opposite of what I reported before.)

> math: don't use math fonts for text

I never do it. Reported only for the record.

Sorry for the previous inaccurate report. Many thanks 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] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
On 02/04/2016 08:36 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 4. Februar 2016 um 20:10
>> On 02/04/2016 07:54 PM, Wolfgang Schuster wrote:
>>> Set the layer content after \starttext or load a font before you set it,
>>> otherwise context uses a monospace font as fallback.
>>
>> Many thanks for the tip. But I really use foregroundstyle with
>> \setlayerframed.
> This doesn’t matter.
> [...]
> The foregroundstyle setting has no effect in the first example because
> no font was loaded at this point.

You are right, Wolfgang.

The actual document has a \setupbodyfont defined.

Many thanks for your help again,


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

2016-02-04 Thread Henman

I did not send that mail.

On 02/03/2016 11:52 PM, Meer, Hans van der wrote:
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
___


___
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-04 Thread Taco Hoekwater

> On 04 Feb 2016, at 08:52, Meer, Hans van der  wrote:
> 
> Please, will the moderator of this group consider to remove from the list the 
> sender of the reply below?

Of course. Also ban-listed that e-mail address and altered the list archive.

For the future: it is better not to quote back messages like that to the list,
it just serves to give more attention to the post, and it makes removal from
the archives harder.

Best wishes,
Taco

___
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] anglestriped shifts path

2016-02-04 Thread Marco Patzer
On Wed, 3 Feb 2016 15:27:36 -0500
John Kitzmiller  wrote:

> 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 ;
   
   p = fullsquare scaled 4cm ;

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