Re: [NTG-context] Table index is nil

2016-04-18 Thread Hans Hagen

On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote:

I'm getting (suddenly) an error:
...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table
index is nil


And I have a bunch of tables:


\placetable[here][tab01]{Kazanlak site numbers, aggregate area and
average area
through through time}{
\setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes]
\chardef\characteralignmentmode=2
\startCSV
Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9
Site Count,3,6,10,7,23,38,23,19,15,21,15
Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
\stopCSV
}

The odd thing is that no other chapters of the book (all of which use
the same environment, and many use the same table)

When I comment out the series of tables, the errors go away.
I've just rerun first-setup.sh just out of paranoia. mtx-context |
current version: 2016.04.17 11:56


i really need a small *working* example for this



-
  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] Vertical line in natural table

2016-04-18 Thread MANUEL GONZALEZ SUAREZ
Thanks very much, Wolfgang.



De: ntg-context  en nombre de Wolfgang Schuster 

Enviado: lunes, 18 de abril de 2016 9:33
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] Vertical line in natural table

MANUEL GONZALEZ SUAREZ
18. April 2016 um 11:06
Hello friends.
I send an attachment where a natural table appears with the PDF output. I can 
not get the second vertical line scroll the table up and down, like the first 
vertical line.
You can set the frame by hand for the faulty cells with \bTD[leftframe=on].

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] copy/paste text broken with certain ligatures

2016-04-18 Thread Brian R. Landy


On Sat, 16 Apr 2016, Hans Hagen wrote:


On 4/15/2016 1:31 PM, Ulrike Fischer wrote:

Am Fri, 15 Apr 2016 00:24:26 +0200 schrieb Hans Hagen:


On 4/14/2016 3:47 PM, Brian R. Landy wrote:
Hi, sometime between version 2015.08.05 and 2016.04.10 the handling 
of
certain ligatures changed (sorry, I don't have intermediate 
versions to

test with).  The issue is the ligatures no longer copy/paste as the
original two characters, which also breaks text searched of the 
pdf.

Instead they copy as a single glyph.

I'm seeing the problem with "ti" and "fj", while others like "ffi",
"fi", and "ff" are fine in both versions.





not all pdf viewers can do that well, unless it's broken, context
outputs the tounicode vectors needed for it


I can't copy the two ligatures either (in Adobe Reader DC), but with
the equivalent latex example (TL2016 pretest) it works fine. So imho
it is not a viewer problem.


i looked into it and it's two things combined ...

(1) when we explicitly pass tounicodes luatex mistakenly falls back to 
the index (a next release repairs this)


(2) this happens here because calibri lacks the information (no names 
to deduce ligature from) .. so, i now have some extra heuristics in 
the font loader that get them from the gsub features




Thank you Hans, this worked perfectly.  I appreciate your help with 
this!  (and thanks, too, for fixing the dash issue I raised recently).


Best regards,
Brian
___
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] Problem with Cambria (in Windows)

2016-04-18 Thread Wolfgang Schuster

Mari Voipio 
18. April 2016 um 13:46
Hi,

after I updated my ConTeXt from a pretty old version (+1 year), my
font system went bad. This used to work:


\usemodule simplefonts % Do I need this?
The simplefonts is frozen and the mechanism (although with different 
commands)

is now part of the core.

\starttypescript[Manuals]
\definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
\definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
\definetypeface[Manuals] [tt] [mono] [courier] [default] [rscale=0.85]
\stoptypescript

\usetypescript[Manuals]
\setupbodyfont[Manuals,10pt]



\starttext

\input tufte

\stoptext



However, now Cambria turns up as italic, not regular. As far as I
know, my laptop hasn't changed during this period (still running
Windows 7), so I suspect the problem arrived with my recent ConTeXt
update (last updated this morning). Is there an easy solution or a
workaround for this problem?

What output do you get when you write this on the commandline:

mtxrun --script font --list --all cambria*

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] Layer placement problem

2016-04-18 Thread Mari Voipio
On Mon, Apr 18, 2016 at 12:52 PM, Wolfgang Schuster
 wrote:
>
> \setupmakeup[page][top=,bottom=]

Ahh, yes, this elegantly sorted out the problem. Thank you, Wolfgang!


Mari
___
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] Problem with Cambria (in Windows)

2016-04-18 Thread Mari Voipio
Hi,

after I updated my ConTeXt from a pretty old version (+1 year), my
font system went bad. This used to work:


\usemodule simplefonts % Do I need this?


\starttypescript[Manuals]
\definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
\definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
 \definetypeface[Manuals] [tt] [mono] [courier] [default] [rscale=0.85]
\stoptypescript

\usetypescript[Manuals]
\setupbodyfont[Manuals,10pt]



\starttext

\input tufte

\stoptext



However, now Cambria turns up as italic, not regular. As far as I
know, my laptop hasn't changed during this period (still running
Windows 7), so I suspect the problem arrived with my recent ConTeXt
update (last updated this morning). Is there an easy solution or a
workaround for this problem?


Thank you,

Mari


manual_font.log
Description: Binary data


manual_font.pdf
Description: Adobe PDF document


manual_font.tex
Description: TeX 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] Layer placement problem

2016-04-18 Thread Wolfgang Schuster

Mari Voipio 
18. April 2016 um 11:25
Hi,

after I updated my ConTeXt a few weeks ago, my cover page suddenly
started looking funny. As far as I understand it, the page consists of
stuff piled on a layer and then the layer is placed on a page. Except
that now the top edge of the layer seems to be placed at the midpoint
of the page or something like that. The text that should be in the
middle of the page now ends up on the bottom edge of the page. How can
I align the top of the layer to the top of the page so that everything
on the page shows up again?

\setupmakeup[page][top=,bottom=]

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] Vertical line in natural table

2016-04-18 Thread Wolfgang Schuster

MANUEL GONZALEZ SUAREZ 
18. April 2016 um 11:06
Hello friends.
I send an attachment where a natural table appears with the PDF 
output. I can not get the second vertical line scroll the table up and 
down, like the first vertical line.

You can set the frame by hand for the faulty cells with \bTD[leftframe=on].

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] Layer placement problem

2016-04-18 Thread Mari Voipio
Hi,

after I updated my ConTeXt a few weeks ago, my cover page suddenly
started looking funny. As far as I understand it, the page consists of
stuff piled on a layer and then the layer is placed on a page. Except
that now the top edge of the layer seems to be placed at the midpoint
of the page or something like that. The text that should be in the
middle of the page now ends up on the bottom edge of the page. How can
I align the top of the layer to the top of the page so that everything
on the page shows up again?


Thank you,

Mari


pr23-cover_front_minimal.pdf
Description: Adobe PDF document


pr23-cover_front_minimal.tex
Description: TeX 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
___

[NTG-context] Vertical line in natural table

2016-04-18 Thread MANUEL GONZALEZ SUAREZ
Hello friends.
I send an attachment where a natural table appears with the PDF output. I can 
not get the second vertical line scroll the table up and down, like the first 
vertical line.


I would appreciate any suggestions.

Thank you



table.tex
Description: table.tex


table.pdf
Description: table.pdf
___
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] Table index is nil

2016-04-18 Thread Wolfgang Schuster

Brian Ballsun-Stanton 
18. April 2016 um 03:59
I'm getting (suddenly) an error: 
...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table 
index is nil



And I have a bunch of tables:


\placetable[here][tab01]{Kazanlak site numbers, aggregate area and 
average area

through through time}{
\setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes]
\chardef\characteralignmentmode=2
\startCSV
Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9
Site Count,3,6,10,7,23,38,23,19,15,21,15
Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
\stopCSV
}

The odd thing is that no other chapters of the book (all of which use 
the same environment, and many use the same table)



Create a minimal working example.

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
___