ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Normal tables error: Dimension too large. Context version: 2019.04.29 08:52
@ 2019-05-10 18:22 Felipe de Jesús Molina Bravo
  2019-05-10 20:29 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe de Jesús Molina Bravo @ 2019-05-10 18:22 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1694 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2699 bytes --]

[-- Attachment #2: ts.tex --]
[-- Type: text/x-tex, Size: 4068 bytes --]

\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 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  
    \eTR 

  \eTABLEhead
\eTABLE
\stoptext

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Normal tables error: Dimension too large. Context version: 2019.04.29 08:52
  2019-05-10 18:22 Normal tables error: Dimension too large. Context version: 2019.04.29 08:52 Felipe de Jesús Molina Bravo
@ 2019-05-10 20:29 ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2019-05-10 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Felipe de Jesús Molina Bravo

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Normal tables error: Dimension too large. Context version: 2019.04.29 08:52
  2019-05-16  6:56 ` Otared Kavian
@ 2019-05-16 13:37   ` Felipe de Jesús Molina Bravo
  0 siblings, 0 replies; 5+ messages in thread
From: Felipe de Jesús Molina Bravo @ 2019-05-16 13:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1110 bytes --]

Ok, thanks Otared....see you!

El jue., 16 may. 2019 a las 1:56, Otared Kavian (<otared@gmail.com>)
escribió:

>
>
> > On 15 May 2019, at 21:28, Felipe de Jesús Molina Bravo <
> fjmolinabravo@gmail.com> wrote:
> > OFF-TOPIC:
> > I have a problem with the mailing list; the posts that I start I do not
> receive them as well as the answers to these posts...why?
>
> This is a Gmail « feature »… but your message is actually sent to the list
> (as you may have observed) and in the subsequent thread your message
> appears as expected.
>
> Best regards: OK
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 1942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Normal tables error: Dimension too large. Context version: 2019.04.29 08:52
  2019-05-15 19:28 Felipe de Jesús Molina Bravo
@ 2019-05-16  6:56 ` Otared Kavian
  2019-05-16 13:37   ` Felipe de Jesús Molina Bravo
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2019-05-16  6:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 15 May 2019, at 21:28, Felipe de Jesús Molina Bravo <fjmolinabravo@gmail.com> wrote:
> OFF-TOPIC:
> I have a problem with the mailing list; the posts that I start I do not receive them as well as the answers to these posts...why?

This is a Gmail « feature »… but your message is actually sent to the list (as you may have observed) and in the subsequent thread your message appears as expected.

Best regards: OK
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Normal tables error: Dimension too large. Context version: 2019.04.29 08:52
@ 2019-05-15 19:28 Felipe de Jesús Molina Bravo
  2019-05-16  6:56 ` Otared Kavian
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe de Jesús Molina Bravo @ 2019-05-15 19:28 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]

>*> 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?

ok, i tried with it. Thanks! :)

OFF-TOPIC:

I have a problem with the mailing list; the posts that I start I do
not receive them as well as the answers to these posts...why?

thnks for all!!

[-- Attachment #1.2: Type: text/html, Size: 810 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-16 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 18:22 Normal tables error: Dimension too large. Context version: 2019.04.29 08:52 Felipe de Jesús Molina Bravo
2019-05-10 20:29 ` Hans Hagen
2019-05-15 19:28 Felipe de Jesús Molina Bravo
2019-05-16  6:56 ` Otared Kavian
2019-05-16 13:37   ` Felipe de Jesús Molina Bravo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).