ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "tabulate" to full text width?
@ 2012-04-20 15:27 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-04-20 15:52 ` Marco
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-04-20 15:27 UTC (permalink / raw)
  To: ConTeXt

Hello,

is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth?

- I mean all columns to have the same width so in total to occupy the whole \textwidth...

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
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
___________________________________________________________________________________


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

* Re: "tabulate" to full text width?
  2012-04-20 15:27 "tabulate" to full text width? Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-04-20 15:52 ` Marco
  2012-04-20 16:16   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2012-04-21  6:28   ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Marco @ 2012-04-20 15:52 UTC (permalink / raw)
  To: ntg-context

On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:

> is it possible to specify \(start)tabulate or \setuptabulate to fit
> \textwidth?

How about linetables?

\setuplinetable [width=.5\textwidth]

\starttext
\showboxes

	\starttabulate
		\NC Foo \NC Bar \NC\NR
	\stoptabulate

	\startlinetable
		\NC Foo \NC Bar \NC\NR
	\stoplinetable

\stoptext

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
___________________________________________________________________________________

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

* Re: "tabulate" to full text width?
  2012-04-20 15:52 ` Marco
@ 2012-04-20 16:16   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2012-04-20 16:50     ` Marco
  2012-04-21  6:28   ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-04-20 16:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

Hello,

your code seems hopefully, but it doesn't compile (?!)...

Missing "[" and "]" somewhere?

See the test and log.

Best regards,

Lukas


On Fri, 20 Apr 2012 17:52:35 +0200, Marco <netuse@lavabit.com> wrote:

> On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:
>
>> is it possible to specify \(start)tabulate or \setuptabulate to fit
>> \textwidth?
>
> How about linetables?
>
> \setuplinetable [width=.5\textwidth]
>
> \starttext
> \showboxes
>
> 	\starttabulate
> 		\NC Foo \NC Bar \NC\NR
> 	\stoptabulate
>
> 	\startlinetable
> 		\NC Foo \NC Bar \NC\NR
> 	\stoplinetable
>
> \stoptext
>
> Marco


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: t-LT.log --]
[-- Type: application/octet-stream, Size: 23778 bytes --]

(C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv

ConTeXt  ver: 2012.04.07 14:42 MKIV  fmt: 2012.4.9  int: english/english

system          > cont-new.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > t-LT.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > \nonstopmode
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["FILE"]="t-LT.mkiv",
used options    >  ["halt-on-error"]=true,
used options    >  ["mode"]="t-LT",
used options    >  ["nonstopmode"]=true,
used options    > }
used options    > document.files={
used options    >  "C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv]
used options    > \setupsystem[\c!n=1,\c!m=1]
used options    > % modes
used options    > \enablemode[t-LT]
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(t-LT.top
)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
fonts           > typescripts > unknown: library 'loc'
{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
! Missing } inserted.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<inserted text> 
                }
<to be read again> 
                   \dostopattributes 
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<inserted text> 
                }
<to be read again> 
                   \dostopattributes 
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<inserted text> 
                }
<to be read again> 
                   \dostopattributes 
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<inserted text> 
                }
<to be read again> 
                   \dostopattributes 
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<inserted text> 
                }
<to be read again> 
                   \dostopattributes 
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Extra \endgroup.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Extra  ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<recently read> \dostopattributes 
                                  
\stoplinetablecell ...\endstrut \dostopattributes 
                                                  \ifcase \linetablemode \en...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
Things are pretty mixed up, but I think the worst is over.

! Too many }'s.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Too many }'s ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     


\stoplinetablecell ... \else \hss \fi \fi \egroup 
                                                  \hskip \linetablecparamete...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.

! Too many }'s.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Too many }'s ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     

<recently read> \egroup 
                        
\stoplinetablecell ...eter \c!rightoffset \egroup 
                                                  \iflinetablepreroll \box \...
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.

! Too many }'s.

system          > tex > error on line 11 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Too many }'s ...

 1     \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11 >>      \NC Foo \NC Bar \NC\NR
12       \stoplinetable
13     \stoptext
14     


\stoplinetablecell ...ox \scratchbox }\fi \egroup 
                                                  
\linetableEC ->\stoplinetablecell 
                                  \iflinetablepreroll \checklinecolumnwidth ...
\NC ...ablecolumn \linetableBR \else \linetableEC 
                                                  \fi \linetableBC 
l.11     \NC Foo \NC
                     Bar \NC\NR
You've closed more groups than you opened.
Such booboos are generally harmless, so keep going.

! Missing } inserted.

system          > tex > error on line 1 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1 >>  \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11         \NC Foo \NC Bar \NC\NR

<inserted text> 
                }
<to be read again> 
                   \normalend 
l.1 \dostoptext
               
\ctxcommand ...\directlua \zerocount {commands.#1}
                                                  
l.13 \stoptext
              
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

! Missing } inserted.

system          > tex > error on line 1 in file C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv: Missing  ...

 1 >>  \setuplinetable[width=.5\textwidth]
 2     
 3     \starttext
 4       \showboxes
 5     
 6       \starttabulate
 7         \NC Foo \NC Bar \NC\NR
 8       \stoptabulate
 9     
10       \startlinetable
11         \NC Foo \NC Bar \NC\NR

<inserted text> 
                }
<to be read again> 
                   \normalend 
l.1 \dostoptext
               
\ctxcommand ...\directlua \zerocount {commands.#1}
                                                  
l.13 \stoptext
              
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

backend         > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing page
 )<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>

system          > files > start used files

used files      >    1: filename=C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv | foundname=C:/Lukas/Jobs/D5-035.Zat/!Texts/DOSS/t-LT.mkiv | usedmethod=direct
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=otherwise
used files      >    3: filename=t-LT.top | foundname=t-LT.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=c:/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=otherwise
used files      >    5: filename=mkiv-base.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=otherwise
used files      >    6: filename=lm.lfg | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/fonts/lm.lfg | usedmethod=otherwise
used files      >    7: filename=lm-math.lfg | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=otherwise
used files      >    8: filename=lm-math.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=otherwise
used files      >    9: filename=lm-rm.map | filetype=map | format=map | foundname=c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=otherwise
used files      >   10: filename=lmroman12-regular | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=otherwise
used files      >   11: filename=lmroman7-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-regular.otf | usedmethod=otherwise
used files      >   12: filename=rm-lmr7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr7.tfm | usedmethod=otherwise
used files      >   13: filename=lmmi7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi7.tfm | usedmethod=otherwise
used files      >   14: filename=lmsy7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy7.tfm | usedmethod=otherwise
used files      >   15: filename=lmex10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmex10.tfm | usedmethod=otherwise
used files      >   16: filename=msam7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam7.tfm | usedmethod=otherwise
used files      >   17: filename=msbm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm7.tfm | usedmethod=otherwise
used files      >   18: filename=stmary10.afm | filetype=afm | format=afm | foundname=c:/ConTeXt/tex/texmf/fonts/afm/public/stmaryrd/stmary10.afm | usedmethod=otherwise
used files      >   19: filename=stmary10.pfb | filetype=pfb | format=pfb | foundname=c:/ConTeXt/tex/texmf/fonts/type1/public/stmaryrd/stmary10.pfb | usedmethod=otherwise
used files      >   20: filename=lmroman7-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman7-bold.otf | usedmethod=otherwise
used files      >   21: filename=lmmib7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib7.tfm | usedmethod=otherwise
used files      >   22: filename=lmsans8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans8-regular.otf | usedmethod=otherwise
used files      >   23: filename=lmmono8-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=otherwise
used files      >   24: filename=eufm7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm7.tfm | usedmethod=otherwise
used files      >   25: filename=eufb7.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb7.tfm | usedmethod=otherwise
used files      >   26: filename=lmroman9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-regular.otf | usedmethod=otherwise
used files      >   27: filename=rm-lmr9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr9.tfm | usedmethod=otherwise
used files      >   28: filename=lmmi9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi9.tfm | usedmethod=otherwise
used files      >   29: filename=lmsy9.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy9.tfm | usedmethod=otherwise
used files      >   30: filename=msam10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msam10.tfm | usedmethod=otherwise
used files      >   31: filename=msbm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | usedmethod=otherwise
used files      >   32: filename=lmroman9-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman9-bold.otf | usedmethod=otherwise
used files      >   33: filename=lmmib10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmib10.tfm | usedmethod=otherwise
used files      >   34: filename=lmsans9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans9-regular.otf | usedmethod=otherwise
used files      >   35: filename=lmmono9-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono9-regular.otf | usedmethod=otherwise
used files      >   36: filename=eufm10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufm10.tfm | usedmethod=otherwise
used files      >   37: filename=eufb10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/amsfonts/euler/eufb10.tfm | usedmethod=otherwise
used files      >   38: filename=lmroman12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=otherwise
used files      >   39: filename=rm-lmr12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/rm-lmr12.tfm | usedmethod=otherwise
used files      >   40: filename=lmmi12.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmmi12.tfm | usedmethod=otherwise
used files      >   41: filename=lmsy10.tfm | filetype=tfm | format=tfm | foundname=c:/ConTeXt/tex/texmf/fonts/tfm/public/lm/lmsy10.tfm | usedmethod=otherwise
used files      >   42: filename=lmroman12-bold.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf | usedmethod=otherwise
used files      >   43: filename=lmsans12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmsans12-regular.otf | usedmethod=otherwise
used files      >   44: filename=lmmono12-regular.otf | filetype=otf | format=otf | foundname=c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=otherwise
used files      >   45: filename=lpdf-pdx.xml | filetype=tex | foundname=c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=otherwise

system          > files > stop used files


system          > structure > start used structure

used structure  > text: t-LT

system          > structure > stop used structure


mkiv lua stats  > used config file          - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - c:/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > resource resolver         - loadtime 0.016 seconds, 2 scans with scantime 0.031 seconds, 0 shared scans, 45 found files, scanned paths: C:/Lukas/ConTeXt/Fonts c:/windows/fonts
mkiv lua stats  > stored bytecode data      - 302 modules, 65 tables, 367 chunks
mkiv lua stats  > cleaned up reserved nodes - 39 nodes, 10 lists of 436
mkiv lua stats  > node memory usage         - 1 glue, 1 penalty, 6 attribute, 29 glue_spec, 2 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 212 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks                 - 485 direct, 572 indirect, 1057 total
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - t-LT.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.484 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.1-2012032923 (tex live 2012)
mkiv lua stats  > control sequences         - 33334 of 65536 + 100000
mkiv lua stats  > current memory usage      - 34 MB (ctx: 35 MB)
mkiv lua stats  > runtime                   - 1.172 seconds, 1 processed pages, 1 shipped pages, 0.853 pages/second


[-- Attachment #3: t-LT.mkiv --]
[-- Type: application/octet-stream, Size: 208 bytes --]

\setuplinetable[width=.5\textwidth]

\starttext
  \showboxes

  \starttabulate
    \NC Foo \NC Bar \NC\NR
  \stoptabulate

  \startlinetable
    \NC Foo \NC Bar \NC\NR
  \stoplinetable
\stoptext

[-- Attachment #4: t-LT.pdf --]
[-- Type: application/pdf, Size: 7147 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: "tabulate" to full text width?
  2012-04-20 16:16   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-04-20 16:50     ` Marco
  0 siblings, 0 replies; 5+ messages in thread
From: Marco @ 2012-04-20 16:50 UTC (permalink / raw)
  To: ntg-context

On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:

> your code seems hopefully, but it doesn't compile (?!)...

Your file works here with 2012.04.17 and 2011.05.18.

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
___________________________________________________________________________________

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

* Re: "tabulate" to full text width?
  2012-04-20 15:52 ` Marco
  2012-04-20 16:16   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-04-21  6:28   ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-04-21  6:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 20.04.2012 um 17:52 schrieb Marco:

> On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote:
> 
>> is it possible to specify \(start)tabulate or \setuptabulate to fit
>> \textwidth?
> 
> How about linetables?
> 
> \setuplinetable [width=.5\textwidth]
> 
> \starttext
> \showboxes
> 
> 	\starttabulate
> 		\NC Foo \NC Bar \NC\NR
> 	\stoptabulate
> 
> 	\startlinetable
> 		\NC Foo \NC Bar \NC\NR
> 	\stoplinetable
> 
> \stoptext

The first column of tabulate is too narrow because you use a column which has only the width
of the longest test in this column, when you use other parameters for both (e.g. [|p|p|]) the use
enough space to take the width of the main text.

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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-04-21  6:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 15:27 "tabulate" to full text width? Procházka Lukáš Ing. - Pontex s. r. o.
2012-04-20 15:52 ` Marco
2012-04-20 16:16   ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-04-20 16:50     ` Marco
2012-04-21  6:28   ` Wolfgang Schuster

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).