Re: [NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Hans Hagen

On 5/10/2019 8:22 PM, Felipe de Jesús Molina Bravo wrote:

Hi!

I have a table with 39 columns (the file is attached). With the context 
version:

     ConTeXt Process Management 1.01
     current version: 2017.05.15 21:48

I don't have any problem; but with the newer version:
     ConTeXt Process Management 1.02
     current version: 2019.04.29 08:52

show the next error:

tex error   > tex error on line 114 in file 
/home/fmolina/tempo/latex/context/pbas/ts.tex: ! Dimension too large


\tabl_ntb_table_get_max_width ...<\wd \scratchbox
   \relax \scratchdimen 
\wd \...

\tabl_ntb_table_stop ...l_ntb_table_get_max_width
   \ifautoTBLspread 
\tabl_ntb...

\eTABLE ...oveunwantedspaces \tabl_ntb_table_stop
   \stopTBLprocessing 
\fi \po...

l.114 \eTABLE


My table is:

\setupTABLE[header][each][background=color,backgroundcolor=white, 
width=broad]

\bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]
   \bTABLEhead[align=flushright]
     \bTR
    \bTH [offset=none, align={flushleft}, nc=39]
     .
    \eTH
    ...
       \bTR[strut=no]
        \bTD[align={flushleft,lohi}, nr=1]
   {
     \bTABLE[option={stretch},offset=0pt, frame=off]
  ...
      \eTABLE % fin de tabla interna en columna matriz
   }
    \eTD
    \bTD[ width=broad, nr=1 ] banco 1\eTD
    \bTD[ width=broad, nr=1 ] banco 1\eTD
        ... % to complet 39 columns

When i remove "width=broad" from  the "\bTD...banco 1\eTD" i can 
generate my pdf with it new version


How wan resolve this problem? please guide me!!
broad effectively uses hsize so 39 times the hsize is larger than tex 
likes dealing with ... can't you use fit instead?


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
Hi!

I have a table with 39 columns (the file is attached). With the context
version:
ConTeXt Process Management 1.01
current version: 2017.05.15 21:48

I don't have any problem; but with the newer version:
ConTeXt Process Management 1.02
current version: 2019.04.29 08:52

show the next error:

tex error   > tex error on line 114 in file
/home/fmolina/tempo/latex/context/pbas/ts.tex: ! Dimension too large

\tabl_ntb_table_get_max_width ...<\wd \scratchbox
  \relax \scratchdimen \wd
\...
\tabl_ntb_table_stop ...l_ntb_table_get_max_width
  \ifautoTBLspread
\tabl_ntb...
\eTABLE ...oveunwantedspaces \tabl_ntb_table_stop
  \stopTBLprocessing \fi
\po...
l.114 \eTABLE


My table is:

\setupTABLE[header][each][background=color,backgroundcolor=white,
width=broad]
\bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]
  \bTABLEhead[align=flushright]
\bTR
   \bTH [offset=none, align={flushleft}, nc=39]
.
   \eTH
   ...
  \bTR[strut=no]
   \bTD[align={flushleft,lohi}, nr=1]
  {
\bTABLE[option={stretch},offset=0pt, frame=off]
 ...
 \eTABLE % fin de tabla interna en columna matriz
  }
   \eTD
   \bTD[ width=broad, nr=1 ] banco 1\eTD
   \bTD[ width=broad, nr=1 ] banco 1\eTD
   ... % to complet 39 columns

When i remove "width=broad" from  the "\bTD...banco 1\eTD" i can generate
my pdf with it new version

How wan resolve this problem? please guide me!!

Thank's in advance!

See you
\starttext
% Hoja legal horizontal
\definepapersize[LH][legal,landscape][legal,landscape]
\setuppapersize[LH]
%
\setuplayout
  [backspace=0.8cm,
   topspace=1.6cm,
   bottomspace=0cm,
   leftmargin=0cm,
   rightmargin=0cm,
   bottomspace=0cm,
   header=0cm,
   footer=0.5cm,
%  paperwidth=34.7cm
%  width=33.9cm,
%  height=39.2cm
   ]

\usetypescript[heros]
\setupbodyfont[heros,8pt]
\testpage[15]
% Calculamos el tamaño de la columna matriz. \textwidth tiene el ancho de la
% linea en puntos (en la documentación indica que es el ancho del contexto en el
% que se encuentra). Dividimos entre el total de columnas menos las columnas que
% son llamadas y las que son separadoras de columna
\definemeasure[tam][1.5\dimexpr (\textwidth/39)\relax]

\setupTABLE[column][1][width=1.5\dimexpr (\textwidth/39)]
\setupTABLE[header][each][background=color,backgroundcolor=white, width=broad]
\setupTABLE[r][odd][background=color,backgroundcolor=gray]
\setupTABLE[r][even][background=color,backgroundcolor=white]

\bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]
  \bTABLEhead[align=flushright]
\bTR
   \bTH [offset=none, align={flushleft}, nc=39]
   {
 \bTABLE[option=tight, align={flushright}, frame=off]
   \bTR
 \bTD[ align={flushleft}, width=.8\textwidth ]
   Sucursales de la banca múltiple por demarcación territorial según institución
 \eTD
 \bTD[ align={flushright}, width=.2\textwidth ]
   Cuadro 23.1
 \eTD
   \eTR
 \eTABLE
   }
   \eTH
\eTR
\bTR[strut=no]
   \bTH[align={flushleft}, nc=39]
 Al 31 de diciembre de 2017   \eTH
\eTR

%  Linea horizontal de encabezados ***
\bTR[strut=no]
   \bTH[rulethickness=2pt,topframe=on, nc=39] \eTH
\eTR
\bTR[strut=no]
  \bTD[align={flushleft,lohi}, nr=1] 
  {
\bTABLE[option={stretch},offset=0pt, frame=off]
  \bTR
  \bTD[loffset= 0ex]
  Demarcación territorial
  \eTD
  \eTR
\eTABLE % fin de tabla interna en columna matriz
  }
   \eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
   \bTD[ width=broad, nr=1 ] banco 1\eTD  
%  \bTD[ width=broad, nr=1 ] banco 1\eTD  
%  \bTD[ width=broad, nr=1 ] banco 

Re: [NTG-context] font selection in LMTX

2019-05-10 Thread Pablo Rodriguez
On 5/9/19 10:50 PM, Wolfgang Schuster wrote:
> [...]
> What are the results for the following two calls:
>
> mtxrun --find-file GIL_.TTF
>
> mtxrun --script fonts --list --all gill*

Many thanks for your reply, Wolfgang.

Both commands find the font files.

You have the output below.

Many thanks for your help,

Pablo


> mtxrun --find-file GIL_.TTF && mtxrun --script
fonts --list --all gill* && mtxrun --find-file ARIALN.TTF && mtxrun
--script fonts --list --all arialn*

c:/windows/fonts/GIL_.TTF
system  | lua | compiling
'C:/utilidades/context/tex/texmf-cache/luatex-
cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma'
into 'C:/ut
ilidades/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb15
56f32e/fonts/data/names.tmc'
system  | lua | dumping
'C:/utilidades/context/tex/texmf-cache/luatex-ca
che/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' into
'C:/util
idades/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556
f32e/fonts/data/names.tmc' stripped

identifier  familyname   fontname
filenamesubfont   instances

gillsansmt  gillsansmt   gillsansmt
c:/windows/fonts/GIL_.TTF
gillsansmtbold  gillsansmt
gillsansmtbold
c:/windows/fonts/GILB.TTF
gillsansmtbolditalicgillsansmt
gillsansmtboldi
talic   c:/windows/fonts/GILBI___.TTF
gillsansmtcondensed gillsansmtcondensed
gillsansmtconde
nsedc:/windows/fonts/GILC.TTF
gillsansmtcondensednormal   gillsansmtcondensed
gillsansmtconde
nsedc:/windows/fonts/GILC.TTF
gillsansmtcondensedregular  gillsansmtcondensed
gillsansmtconde
nsedc:/windows/fonts/GILC.TTF
gillsansmtextcondensedbold  gillsansmtextcondensedbold
gillsansmtextra
condensedbold   c:/windows/fonts/GLSNECB.TTF
gillsansmtextcondensedboldnormalgillsansmtextcondensedbold
gillsansmtextra
condensedbold   c:/windows/fonts/GLSNECB.TTF
gillsansmtextcondensedboldregular   gillsansmtextcondensedbold
gillsansmtextra
condensedbold   c:/windows/fonts/GLSNECB.TTF
gillsansmtextracondensedboldgillsansmtextcondensedbold
gillsansmtextra
condensedbold   c:/windows/fonts/GLSNECB.TTF
gillsansmtitalicgillsansmt
gillsansmtitali
c   c:/windows/fonts/GILI.TTF
gillsansmtnormalgillsansmt   gillsansmt
c:/windows/fonts/GIL_.TTF
gillsansmtregular   gillsansmt   gillsansmt
c:/windows/fonts/GIL_.TTF
gillsansultrabold   gillsansultrabold
gillsansultrabo
ld  c:/windows/fonts/GILSANUB.TTF
gillsansultraboldcondensed  gillsansultraboldcondensed
gillsansultrabo
ldcondensed c:/windows/fonts/GILLUBCD.TTF
gillsansultraboldcondensednormalgillsansultraboldcondensed
gillsansultrabo
ldcondensed c:/windows/fonts/GILLUBCD.TTF
gillsansultraboldcondensedregular   gillsansultraboldcondensed
gillsansultrabo
ldcondensed c:/windows/fonts/GILLUBCD.TTF
gillsansultraboldnormal gillsansultrabold
gillsansultrabo
ld  c:/windows/fonts/GILSANUB.TTF
gillsansultraboldregulargillsansultrabold
gillsansultrabo
ld  c:/windows/fonts/GILSANUB.TTF

c:/windows/fonts/ARIALN.TTF

identifier  familyname   fontname
filenam
esubfont   instances

arial   arialarialmt
c:/wind
ows/fonts/arial.ttf
arialblack  arialarialblack
c:/wind
ows/fonts/ariblk.ttf
arialbold   arialarialboldmt
c:/wind
ows/fonts/arialbd.ttf
arialbolditalic arialarialbolditalicmt
c:/wind
ows/fonts/arialbi.ttf
arialbolditalicmt   arialarialbolditalicmt
c:/wind
ows/fonts/arialbi.ttf
arialboldmt arialarialboldmt
c:/wind
ows/fonts/arialbd.ttf
arialitalic arialarialitalicmt
c:/wind
ows/fonts/ariali.ttf
arialitalicmt   arialarialitalicmt
c:/wind
ows/fonts/ariali.ttf
arialmt arialarialmt
c:/wind
ows/fonts/arial.ttf
arialnarrow arialarialnarrow
c:/wind
ows/fonts/ARIALN.TTF
arialnarrowbold arialarialnarrowbold
c:/wind
ows/fonts/ARIALNB.TTF
arialnarrowbolditalic   arialarialnarrowbolditalic
c:/wind
ows/fonts/ARIALNBI.TTF
arialnarrowitalic   arialarialnarrowitalic
c:/wind
ows/fonts/ARIALNI.TTF
arialnormal arialarialitalicmt
c:/wind
ows/fonts/ariali.ttf
arialregulararialarialblack
c:/wind
ows/fonts/ariblk.ttf
arialroundedmtbold