Re: [NTG-context] multipage tables - vertical space
On 12/6/10 1:18 PM, Hans Hagen wrote: On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \dorecurse{100}{\VL first \VL second \VL\MR} \stoptables \stop} \stoptext On each page, I get a vertical space above the footer. see: http://syrinx.knorrie.org/~pvk/tableproblem/tableproblem.pdf there is some hard codes tolerance: \def\tsplitminimumfreelines{2}% that could be made configurable (not sure what key to use) Thanks, but I'm still struggling with this. I don't understand what to do with your suggestion. Should I use other table macro's? best, Peter van Kranenburg - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | 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 ___ ___ 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] multipage tables - vertical space
On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \dorecurse{100}{\VL first \VL second \VL\MR} \stoptables \stop} \stoptext On each page, I get a vertical space above the footer. see: http://syrinx.knorrie.org/~pvk/tableproblem/tableproblem.pdf there is some hard codes tolerance: \def\tsplitminimumfreelines{2}% that could be made configurable (not sure what key to use) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | 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 ___
[NTG-context] multipage tables - vertical space
Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \dorecurse{100}{\VL first \VL second \VL\MR} \stoptables \stop} \stoptext On each page, I get a vertical space above the footer. see: http://syrinx.knorrie.org/~pvk/tableproblem/tableproblem.pdf Using TeX Live 2009 for Mac OS X: This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (/usr/local/texlive/2009/texmf/web2c/natural.tcx) entering extended mode (./tableproblem.tex ConTeXt ver: 2009.08.19 17:10 MKII fmt: 2010.6.15 int: english/english Thanks in advance! Best, Peter van Kranenburg ___ 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] Multipage tables - repeating header
All - I have created a table similar to the example in the wiki \starttext \setuptables[split=repeat] \starttablehead \HL \VL {\bf Head1} \VL {\bf Head2} \VL \AR \HL \stoptablehead \starttables[|l|l|] \dorecurse{50}{% \VL SomeText \VL SomeText \VL \AR \HL} \stoptables Problem: top margin on first page is bigger. \stoptext The header repeats as expected, and the table extends properly across multiple pages. The problem is, the last row on each page is missing the bottom horizontal line, except for the very last row in the table. I have tried numerous variations of \starttabletail ... \stoptabletail, and none seem to have the desired effect. Is there an easy way to get the bottom \HL on the last row of each page to appear? I have tried this both on my system and on the live area of the wiki with the same result; my install is TeXExec | current distribution: web2c TeXExec | context source date: 2007.04.17 12:51 TeXExec | format path: . /home/markea/.texmf-config/web2c /home/markea/.texmf-var/web2c /home/markea/texmf/web2c /usr/local/teTeX/share/texmf-config/web2c /usr/local/teTeX/share/texmf-var/web2c /usr/local/teTeX/share/texmf/web2c /usr/local/teTeX/share/texmf-local/web2c /usr/local/teTeX/share/texmf-dist/web2c TeXExec | start of analysis TeXExec | processing document 'texexec' TeXExec | tex processing method: context TeXExec | writing option file texexec.top TeXExec | using randomseed 1319 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) (/usr/local/teTeX/share/texmf-local/web2c/natural.tcx) entering extended mode (./texexec.tex ConTeXt ver: 2007.04.17 12:51 MKII fmt: 2007.5.3 int: english/english Output written on texexec.pdf (1 page, 21611 bytes). Transcript written on texexec.log. TeXExec | runtime: 0.638854 TeXExec | end of analysis TeXExec | TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD TeXExec | TeXExec | testing interface en TeXExec | pdfTeX Version 3.141592-1.40.3 (Web2C 7.5.6) TeXExec | ConTeXt ver: 2007.04.17 12:51 MKII fmt: 2007.5.3 int: english/english TeXExec | TeXExec | testing interface nl TeXExec | pdfTeX Version 3.141592-1.40.3 (Web2C 7.5.6) TeXExec | ConTeXt ver: 2007.04.17 12:51 MKII fmt: 2007.5.3 int: dutch/dutch Mark Almeida ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] multipage tables
On Wed, Oct 18, 2006 at 10:14:58PM +0200, Hans Hagen wrote: \scripts\context\stubs\unix|mswin They are there. Now I have tried to install locally as written in wiki.contextgarden.net/Debian_installation But at the end my system finds only the old version. /etc/texmf/texmf.d/45TeXinputs.cnf is edited update-texmf is executed. I am a little helpless. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Thanks Hans, in the point of installing upon a given distribution I am a DAU. On Mon, Oct 16, 2006 at 10:02:40PM +0200, Hans Hagen wrote: updating context is not that much related to debian; - make sure that you have the latest latin modern fonts installed (can be fetched from ctan) I have downloaded a complete directory of lm with ec-lmb10.tfm etc from tug.ctan.org. - then unzip the context zip in some local tree I have downloaded cont-tmf.zip and unzipped it to dirs from bibtex to web2c. - make sure that the stubs are ok (there are stubs in the zip) I don't know stubs. Now, where can I install to with which script? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Gerhard Kugler wrote: I don't know stubs. Now, where can I install to with which script? \scripts\context\stubs\unix|mswin -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Wed, Oct 11, 2006 at 10:47:45AM +0200, Wolfgang Schuster wrote: You should download the latest stable version from pragma. In my private system I now have apgraded to Debian Etch. I hope it is sufficient. I'm hesitating to upgrade in my office because Debian Etch is in an unstable stage. I am not used to upgrade single packages besides the system. If you want a repeated header on every page try to put \setuptables[split=repeat] into your document. With new versions from ConTeXt you do no longer the \starttables ... \stoptables command. Where are the definitions of the columns and their width in this case? Is there a brief docu and an example of this version of tables? Hans changed it to control table splitting completely with split-option in \setuptables and makes to let the normal \starttable-environment split when neccessary. Is there no longer a starttables but simply a starttable initialisation? And a last question: Why is there a \start - \stop in the example at the Wiki side? Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Gerhard Kugler wrote: On Wed, Oct 11, 2006 at 10:47:45AM +0200, Wolfgang Schuster wrote: You should download the latest stable version from pragma. In my private system I now have apgraded to Debian Etch. I hope it is sufficient. I'm hesitating to upgrade in my office because Debian Etch is in an unstable stage. I am not used to upgrade single packages besides the system. updating context is not that much related to debian; - make sure that you have the latest latin modern fonts installed (can be fetched from ctan) - then unzip the context zip in some local tree - make sure that the stubs are ok (there are stubs in the zip) the only debian specific thing (i guess) is the pdftex binary and context should adapt to that automatically If you want a repeated header on every page try to put \setuptables[split=repeat] into your document. With new versions from ConTeXt you do no longer the \starttables ... \stoptables command. Where are the definitions of the columns and their width in this case? Is there a brief docu and an example of this version of tables? often in the file (in this case core-tab) ; you can still use the plural commands, but splitting is no longer dependent on them Hans changed it to control table splitting completely with split-option in \setuptables and makes to let the normal \starttable-environment split when neccessary. Is there no longer a starttables but simply a starttable initialisation? similar key/val's in setuptables|setuptabulate|setupTABLE And a last question: Why is there a \start - \stop in the example at the Wiki side? because someone needs to edit it -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Tue, Oct 10, 2006 at 07:21:54PM +0100, Sanjoy Mahajan wrote: I ran it here (ver: 2006.10.05). With just \placetable[here], it doesn't split. With \placetable[here,split], it splits it into two parts with Table 1.a on one page and Table 1.b on the other page. With my version (of Debian sarge) this option (split) has no influence. I get one page. I guess I must install a new version of ConteXt (texexec). Till now I install all my software with apt-get. Do I have to install texexec directly now? The Obertext zum Ganzen is only on the first page, which is what the .tex code should do (but maybe you wanted it repeated at the top of each split page?). It is not necessary to repeat this row on each page. But here it is repeated automatically at the buttom margin (see appendix). My dvi-file is created with the split option. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de tables2.dvi Description: TeX dvi file ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
2006/10/11, Gerhard Kugler [EMAIL PROTECTED]: On Tue, Oct 10, 2006 at 07:21:54PM +0100, Sanjoy Mahajan wrote: I ran it here (ver: 2006.10.05 ).With just \placetable[here], it doesn't split.With \placetable[here,split], it splits it into two parts with Table 1.a on one page and Table 1.b on the other page.With my version (of Debian sarge) this option (split) has no influence. I get one page.I guess I must install a new version of ConteXt (texexec). Till now Iinstall all my software with apt-get. Do I have to install texexecdirectly now? The Obertext zum Ganzen is only on the first page, which is what the .tex code should do (but maybe you wanted it repeated at the top of each split page?).It is not necessary to repeat this row on each page. But here it isrepeated automatically at the buttom margin (see appendix). My dvi-file is created with the split option.Gerhard--Gerhard KuglerPsychotherapeutBensheim (Germany)http://www.psychotherapie-kugler.de Hi Gerhard, I looked into your log file and it shows ConTeXt ver: 2003.1.31 fmt: 2006.1.23 int: english mes: english It's an ancient ConTeXt version, you need to uprade your ConTeXt version first to get a splittet table. You should download the latest stable version from pragma. If you want a repeated header on every page try to put \setuptables[split=repeat] into your document. With new versions from ConTeXt you do no longer the \starttables ... \stoptables command. Hans changed it to control table splitting completely with split-option in\setuptables and makes to let the normal \starttable-environment split when neccessary. You should look at the wiki how to upgrade your TeX-distribution. http://wiki.contextgarden.net/Debian_installation Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
Another try: If I expand the example of tables in wiki.contextgarden.net/Tables beyond one page, there is no pagebreak, but the table continues at the bottom. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
2006/10/10, Gerhard Kugler [EMAIL PROTECTED]: Another try:If I expand the example of tables in wiki.contextgarden.net/Tables beyond one page, there is no pagebreak, but the table continues at thebottom.Gerhard Hi Gerhard, can you post a minimum example of your problem, because I can't find a solution only with your current describtion. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
On Tue, Oct 10, 2006 at 04:58:33PM +0200, Wolfgang Schuster wrote: can you post a minimum example of your problem, because I can't find a solution only with your current describtion. Hi Wolfgang, I have modified the wiki-example only slightly in appendix 1. Appendix 2 is the log-file. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de \starttext \placetable[here][tab:sample]{sample table}{\start \starttablehead \HL \NC \TWO Obertext zum Ganzen \NC\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|p(0.2\textwidth)|p(0.75\textwidth)|] \NC Text1 \NC Text1a \NC\FR \NC \tex{HL} \NC horizontal line \NC\MR \NC \tex{VL} \NC vertical line \NC\MR \NC \tex{NR} \NC next row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \NC \tex{SR} \NC single row \NC\FR \NC \tex{FR} \NC first row \NC\MR \NC \tex{MR} \NC middle row \NC\MR \NC \tex{LR} \NC last row \NC\LR \HL \stoptables \stop} \stoptext This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2006.1.23) 10 OCT 2006 18:03 entering extended mode **cont-en tables2.tex (./tables2.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.1.31 fmt: 2006.1.23 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! system (E-TEX) : [line 726] \ifcsname ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded \openout2 = `tables2.tui'. system : tables2.top loaded (./tables2.top) \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. \openout0 = `mpgraph.mp'. \openout0 = `mprun.mp'. pdftex : needs map file: original-context-symbol.map pdftex : needs map file: pl0-ams-cmr.map pdftex : needs map file: original-vogel-symbol.map (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) (./tables2.tuo) systems: begin file tables2 at line 1 TABLE : skipping \HL TABLE : \MR changed into \LR TABLE : change \MR into \LR/\SR TABLE : change \LR into \FR/\SR TABLE : skipping \HL floatblocks: 1 limited floatblocks: 1 placed [1.1] systems: end file tables2 at line 86 ) Here is how much of TeX's memory you used: 347 strings out of 68101 4871 string characters out of 753943 4388269 words of memory out of 5504175 30091 multiletter control sequences out of 1+5 10453 words of font info for 35 fonts, out of 50 for 1000 54 hyphenation exceptions out of 1000 44i,17n,48p,125b,632s stack positions out of 1500i,500n,5000p,20b,5000s 0 PDF objects out of 30 0 named destinations out of 131072 0 words of extra memory for PDF output out of 65536 Output written on
Re: [NTG-context] multipage tables
2006/10/10, Gerhard Kugler [EMAIL PROTECTED]: On Tue, Oct 10, 2006 at 04:58:33PM +0200, Wolfgang Schuster wrote: can you post a minimum example of your problem, because I can't find a solution only with your current describtion.Hi Wolfgang,I have modified the wiki-example only slightly in appendix 1.Appendix 2 is the log-file.Gerhard--Gerhard Kugler PsychotherapeutBensheim (Germany)http://www.psychotherapie-kugler.de Hi Gerhard, I have at the moment no ConTeXt where I can test your example file but you should try to change the first line of your float from \placetable[here]... to \placetable[here,split]... I hope it works for you and I also try to run your file till tomorrow. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] multipage tables
I have at the moment no ConTeXt where I can test your example file but you should try to change the first line of your float from \placetable[here]... to \placetable[here,split]... I hope it works for you and I also try to run your file till tomorrow. I ran it here (ver: 2006.10.05). With just \placetable[here], it doesn't split. With \placetable[here,split], it splits it into two parts with Table 1.a on one page and Table 1.b on the other page. The Obertext zum Ganzen is only on the first page, which is what the .tex code should do (but maybe you wanted it repeated at the top of each split page?). -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] multipage tables
Hi, I must set two-page tables. The top row contains headings for the columns 2 to 4. The left column contains the hours of the day (01:00, 02:00 ... 24:00). The overall width is textwidth. Which sort of tables is siutable for this purpose? So far my endeavours deliver many errors. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context