Multipage xtables starts at the wrong page
Hello everyone, I'm using ConTeXt to write a technical manual and I'm facing with some strange behavior I don't know how to overcome. I need a multipage table and I'm using the xtables. This is a (stripped down) version of a part of my document: \mainlanguage [en] \setupxtable [externaldocs] [split=repeat, header=repeat, bodyfont=8pt, foregroundstyle=\ss, option=stretch, align=middle, frame=off, bottomframe=on, framecolor=elitalblue] \setupxtable [externaldocsheader] [background=color, backgroundcolor=black, foregroundcolor=white, foregroundstyle=\ss\bf] \starttext \chapter{Introduction} \startxtable [externaldocs] \startxtablehead \startxrow [externaldocsheader] \startxcell AD No. \stopxcell \startxcell Title \stopxcell \startxcell Doc No. \stopxcell \startxcell Issue \stopxcell \startxcell Date \stopxcell \startxcell Applicability \stopxcell \stopxrow \stopxtablehead \startxtablebody \dorecurse{60}{ \startxrow \startxcell AD No. \stopxcell \startxcell Title \stopxcell \startxcell Doc No. \stopxcell \startxcell Issue \stopxcell \startxcell Date \stopxcell \startxcell Applicability \stopxcell \stopxrow } \stopxtablebody \stopxtable \stoptext What I get, however, is a table that starts at page 2 and not just after the chapter head. If the number of rows is smaller and the table fit the first page, then it starts at the right place. What I'm doing wrong? Thank you very much, Marco
Hello Marco, First log line reports: ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.7.29 $ context --version reports: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /usr/local/texlive/2013/texmf-dist/tex/context/base/context.mkiv mtx-context | current version: 2013.05.28 00:36 ConTeXt is installed from TL2013 distribution. I've attached the generated PDF. Thank you, Marco Il giorno gio, 09/01/2014 alle 13.08 +0100, Marco Patzer ha scritto:
On 2014–01–07 Marco Pallante wrote:
[…]
What I get, however, is a table that starts at page 2 and not just after the chapter head.
The table starts on page one here. Which version are you using?
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 ___________________________________________________________________________________
On 2014–01–09 Marco Pallante wrote: Hello Marco, I have no clue where the issue is, but I can confirm that the table starts on page two using version 2013.05.28. It works with a current beta. If want to keep using TeXLive, instead of ConTeXt standalone, one possible workaround would be to use LuajitTeX. Surprisingly LuajitTeX in TeXlive uses context ver: 2014.01.08, whereas LuaTeX uses ver: 2013.05.28. The newer context version might break your document, though. Marco
Il giorno gio, 09/01/2014 alle 15.49 +0100, Marco Patzer ha scritto:
On 2014–01–09 Marco Pallante wrote:
Hello Marco,
I have no clue where the issue is, but I can confirm that the table starts on page two using version 2013.05.28. It works with a current beta.
If want to keep using TeXLive, instead of ConTeXt standalone, one possible workaround would be to use LuajitTeX. Surprisingly LuajitTeX in TeXlive uses context ver: 2014.01.08, whereas LuaTeX uses ver: 2013.05.28. The newer context version might break your document, though.
Marco
Thank you for your answer :) How do I use LuajitTeX? I've seen the two options --jit and --jiton which seem to be the right way. Am I right? Let's see if it breaks anything :) 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 ___________________________________________________________________________________
On 2014–01–09 Marco Pallante wrote:
How do I use LuajitTeX?
context --jit <file>
I've seen the two options --jit and --jiton which seem to be the right way. Am I right?
context --help | grep jit --jit use luajittex with jit turned off (only use the faster virtual machine) --jiton use luajittex with jit turned on (in most cases not faster, even slower) I've never come across a real world document where --jiton was faster than --jit, so just stick with --jit. Marco
On 1/9/2014 4:30 PM, Marco Patzer wrote:
On 2014–01–09 Marco Pallante wrote:
How do I use LuajitTeX?
context --jit <file>
I've seen the two options --jit and --jiton which seem to be the right way. Am I right?
context --help | grep jit
--jit use luajittex with jit turned off (only use the faster virtual machine) --jiton use luajittex with jit turned on (in most cases not faster, even slower)
I've never come across a real world document where --jiton was faster than --jit, so just stick with --jit.
in fact we found that --jiton is slower ... just use --jit and benefit from the faster virtual machine (the fact that jitting can slow down gets obscured by the fact that the vm is twice as fast); i guess that the context lua codebase is too large to benefit from jit and also hardly uses jitabble built-in functions (much if that is hardcoded in jit) and the amount of calls is too low to trade off jitting and using (we don't do number crunching or have applications running for more than a few seconds) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Il giorno gio, 09/01/2014 alle 16.30 +0100, Marco Patzer ha scritto:
On 2014–01–09 Marco Pallante wrote:
How do I use LuajitTeX?
context --jit <file>
I've seen the two options --jit and --jiton which seem to be the right way. Am I right?
context --help | grep jit
--jit use luajittex with jit turned off (only use the faster virtual machine) --jiton use luajittex with jit turned on (in most cases not faster, even slower)
I've never come across a real world document where --jiton was faster than --jit, so just stick with --jit.
Marco
It seems my TL2013 installation is missing LuajitTeX. Do you know what package has it? Thank you again :) Marco
On Fri, Jan 10, 2014 at 10:51 AM, Marco Pallante wrote:
It seems my TL2013 installation is missing LuajitTeX. Do you know what package has it?
Only the ConTeXt distribution (http://distribution.contextgarden.net/setup/), but if TL serves you well, you can also simply fetch the binary (http://distribution.contextgarden.net/current/bin/luajittex/) provided that one exists for you architecture, make sure it's executable and place it in the same folder where other TeX Live binaries are. Mojca
On 2014–01–10 Marco Pallante wrote:
It seems my TL2013 installation is missing LuajitTeX. Do you know what package has it?
You're right, TeXLive apparently doesn't ship LuajitTeX. I don't use TeXLive myself, but have an installation for testing. Having set up the PATH for TeXLive "context <file>" invokes TeXLive's version on my system. However, "context --jit <file>" invokes context standalone's LuajitTeX since it can't be found in TeXLive's path and I didn't remove context standalone from my PATH. I should have noticed that before due to the version mismatch. Sorry for the misinformation. Marco
participants (4)
-
Hans Hagen
-
Marco Pallante
-
Marco Patzer
-
Mojca Miklavec