Re: [NTG-context] Multipage xtables starts at the wrong page
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 --jituse 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 ___ 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 xtables starts at the wrong page
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 ___ tabletest.pdf Description: Adobe PDF document ___ 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 xtables starts at the wrong page
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 ___ ___ 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 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 ___ 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] Table in header, or multicolumn header
Wolfgang, Your solution seems to work perfectly: I get exactly what I want (I only have to remove frames around cells). I don't understand the possible problems: are you saying that if I use xtables in the body of the document (other than in the header), and those tables split across pages it could give unexpected behaviours? What if I don't use xtables in the body, but other tabular environments that allow splitting, such as TABLE or Linetable (I'm reading from the wiki, I never used that)? Thank you very much! Bye, Marco Pallante You can try to use a table but there is a possibility for problems when you use xtables in your document which are split across pages. \startsetups[header:table] \startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.25\paperwidth,nr=4] %\externalfigure[logo] \stopxcell \startxcell[width=0.40\paperwidth,nr=4] Document title \stopxcell \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Doc No. \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Revision \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Data \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \unknown \stopxcell \stopxcellgroup \stopxrow \startxrow \startxcellgroup[height=0.25\headerheight,foregroundstyle=small] \startxcell[width=0.10\paperwidth,align={flushright,lohi}] Pagina \stopxcell \startxcell[width=0.15\paperwidth,align={flushleft,lohi}] \pagenumber/\lastpagenumber \stopxcell \stopxcellgroup \stopxrow \stopembeddedxtable \stopsetups \setupheadertexts[\texsetup{header:table}] \starttext \dorecurse{30}{\input knuth\par} \stoptext 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 ___
[NTG-context] System font searching suddenly stopped
Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, 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 ___
Re: [NTG-context] System font searching suddenly stopped
This solves partially the problem: now it takes the delicious font, but as default it uses the heavy weight and not the roman; the \bf command switches to bold and \it to italic. If I use \setmainfont[Delicious-Roman], it always uses the roman, and the \bf and \it commands doesn't change anything. Moreover, even if it pickups Delicious, if I run the query $ mtxrun --script fonts --list --all --pattern=Delicious* it gives an empty result. Marco 2012/6/1 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 01.06.2012 um 10:10 schrieb Marco Pallante: Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database 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 ___ ___ 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 ___