[NTG-context] xtable cell centering?

2012-05-17 Thread Meer, H. van der
Sorry for the previous post, but accidentely the mail flew away far too soon! Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] xtable question backgroundcolor

2012-05-17 Thread Meer, H. van der
I have the following xmlsetup for a table and tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:table \startembeddedxtable[background=color,backgroundcolor=\xmlatt{#1}{bgcolor}] .. \startxmlsetups xmlcommon:td \startxcell[backgroundcolor=\xmlatt{#1}{bgcolor},] ..

[NTG-context] xtable question

2012-05-17 Thread Meer, H. van der
I have the following xmlsetup for a tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:td \startxcell[\doifnot{\xmlatt{#1}{width}}{\empty}{width={\xmlatt{#1}{width}}},] \xmlflush{#1} \stopxcell \stopxmlsetups and the following table: table tr td

[NTG-context] xtable spaceinbetweent?

2012-05-17 Thread Meer, H. van der
\startxtable[spaceinbetween=0cm] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \stopxcell \startxcell beta \stopxcell \stopxrow \stopxtable I cannot follow the behaviour of spaceinbetween. When absent the rows are

[NTG-context] full page images on fixed pages

2012-05-17 Thread Henning Hraban Ramm
In my current book project, I need to set images on fixed pages (because only a few pages get printed in color), and full-page, i.e. bleeding 3mm. What’s the best way to achieve each? The only way for full-page images that I know of, is via layer/ background, but I find it difficult to

Re: [NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Am 2012-05-16 um 22:41 schrieb Henning Hraban Ramm: Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper.

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: Dear ConTeXt users, TeX Live 2012 is going to be released soon. After the first successful year of ConTeXt in TeX Live, it would be great to get enough testers before the release (to make sure that it works flawlessly) and to get rid of

[NTG-context] Adjust the tracking

2012-05-17 Thread Marco
Hi everybody, how does one adjust the tracking of a font? The command \definecharacterkerning does almost what I need. However, it breaks the ligatures. \definecharacterkerning [track] [factor=.01] \starttext \showboxes \switchtobodyfont [72pt] final suffocating flange % all ligatures lost

[NTG-context] xtable cellcentering?

2012-05-17 Thread Meer, H. van der
Why does this one centers the contents in the cells? \startxtable[offset=1cm]% By the way: coloring does nothing here. why? \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell[foregroundcolor=blue] alpha \stopxcell

[NTG-context] tables

2012-05-17 Thread Meer, H. van der
I started using starttable..\stoptable. Question: How can I force the table cells to fixed dimensions, for example squares of 1cmx1cm? I can see \setuptables[height= width= depth=] but that does not take dimensions (error Illegal unit). What it does with the numbers given is not clear to me,

Re: [NTG-context] Problem calling system

2012-05-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Finally, I use the following to avoid ' in arguments and to keep to os.execute(): \bgroup \catcode`\%=11 \ctxlua{os.execute(([[echo lua -e print 'EXECUTE']]):gsub('(.-)', [[%1]]))} \egroup % Or: \startluacode os.execute(([[echo lua -e print 'EXECUTE']]):gsub('(.-)', [[%1]]))

[NTG-context] [OT] An idea to promote context

2012-05-17 Thread luigi scarso
http://video.repubblica.it/divertimento/un-pulsante-rosso-in-mezzo-alla-citta-scatenate-il-dramma/92479/90873 Warning: keep the volume low. -- luigi ___ If your question is of interest to others as well, please add

[NTG-context] \setupbodyfont restricted to pt as unit

2012-05-17 Thread Marco
Hi! Is it by design, that \setupbodyfont only accepts “pt” as unit? %\setupbodyfont [18pt] % pt works \setupbodyfont [18bp]% bp fails \definefont [testbp] [Serif at 18bp] % bp works \setupinterlinespace [line=24bp] % bp works \starttext Foo\testbp Bar

Re: [NTG-context] imposition 2UP = empty pages

2012-05-17 Thread Henning Hraban Ramm
Am 2012-04-23 um 20:10 schrieb Henning Hraban Ramm: Am 2012-04-20 um 17:58 schrieb Henning Hraban Ramm: Hi there, like in January (see mail by Mari), the latest beta produces only empty pages with 2UP imposition schema; others work (tested 2SIDE and 2DOWN). e.g. \setuppapersize

[NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper. The level key is gone in MkIV, and part,chapter in the

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Aditya Mahajan
On Wed, 16 May 2012, luigi scarso wrote: On Wed, May 16, 2012 at 6:12 PM, Aditya Mahajan adit...@umich.edu wrote: Hi, The following causes luatex to crash (it is harmless, but still...) echo '\\endinput \\end' | context --pipe gives: *** glibc detected *** luatex: double free or corruption

[NTG-context] itemze: alignment breaks spacing

2012-05-17 Thread Henning Hraban Ramm
Hi ho, as soon as I use the align key on an itemization, the effect of packed, joinedup is void. \starttext \input tufte \startitemize[packed,joinedup] %,align=right] \item bla \item fasel \item foo \item bar \stopitemize \input tufte \stoptext Greetlings, Hraban ---

Re: [NTG-context] full page images on fixed pages

2012-05-17 Thread Philipp Gesang
Hi Henning, On 2012-05-16 22:30, Henning Hraban Ramm wrote: In my current book project, I need to set images on fixed pages (because only a few pages get printed in color), I assume with “fixed pages” you mean “always on the page with a certain number”. This, at least, might be solved with the

Re: [NTG-context] Adjust the tracking

2012-05-17 Thread Hans Hagen
On 16-5-2012 20:52, Marco wrote: Hi everybody, how does one adjust the tracking of a font? The command \definecharacterkerning does almost what I need. However, it breaks the ligatures. sure, because as soon as one starts adding extra space between characters ligatures make no sense any

Re: [NTG-context] \setupbodyfont restricted to pt as unit

2012-05-17 Thread Wolfgang Schuster
Am 16.05.2012 um 21:24 schrieb Marco: Hi! Is it by design, that \setupbodyfont only accepts “pt” as unit? %\setupbodyfont [18pt] % pt works \setupbodyfont [18bp]% bp fails \definefont [testbp] [Serif at 18bp] % bp works \setupinterlinespace [line=24bp]

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Hans Hagen
On 16-5-2012 21:02, Marco Pessotto wrote: mtx-context | fatal error: no return code, message: luatex: execution interrupted[21:00] looks like a crashing luatex - Hans Hagen |

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 16-5-2012 21:02, Marco Pessotto wrote: mtx-context | fatal error: no return code, message: luatex: execution interrupted[21:00] looks like a crashing luatex I forgot to report the architecture and the platform, which is Gnu/Linux i386, Debian stable. If

Re: [NTG-context] Adjust the tracking

2012-05-17 Thread Marco
On 2012-05-17 Hans Hagen pra...@wxs.nl wrote: how does one adjust the tracking of a font? The command \definecharacterkerning does almost what I need. However, it breaks the ligatures. sure, because as soon as one starts adding extra space between characters ligatures make no sense any

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 1:06 AM, Aditya Mahajan adit...@umich.edu wrote: Hmm... I am using (I also tested on  2012.04.26 22:27 MKIV) mtx-context     | entering scrollmode, end job with \endThis is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)  \write18 enabled. ConTeXt  ver:

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 2:00 PM, Hans Hagen wrote: On 16-5-2012 21:02, Marco Pessotto wrote: mtx-context     | fatal error: no return code, message: luatex: execution interrupted[21:00] looks like a crashing luatex The weird part is that it works the first time and only the second run

[NTG-context] Local modules not found

2012-05-17 Thread Rogers, Michael K
Hi, I upgraded to the latest beta from the 2011 stable version for the first time. Now my local modules are not found. Having searched the wiki and the mailing list, I can find no help. Any ideas? Error messages: \usemodule[homework-fmt] -- resolversmodules not found:

Re: [NTG-context] Local modules not found

2012-05-17 Thread Marco Pessotto
Rogers, Michael K mrog...@emory.edu writes: Hi, I upgraded to the latest beta from the 2011 stable version for the first time. Now my local modules are not found. Having searched the wiki and the mailing list, I can find no help. Any ideas? Try to put the modules in

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Taco Hoekwater
On 05/17/2012 02:24 PM, luigi scarso wrote: # echo '\\endinput \\end' | context --pipe mtx-context | entering scrollmode, end job with \endThis is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. I get the same results as luigi, except: This is LuaTeX, Version

Re: [NTG-context] Local modules not found

2012-05-17 Thread Rogers, Michael K
On May 17, 2012, at 9:09 AM, Marco Pessotto wrote: Rogers, Michael K mrog...@emory.edu writes: Hi, I upgraded to the latest beta from the 2011 stable version for the first time. Now my local modules are not found. Having searched the wiki and the mailing list, I can find no help. Any

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 2:37 PM, Marco Pessotto wrote: Hans Hagen pra...@wxs.nl writes: On 16-5-2012 21:02, Marco Pessotto wrote: mtx-context | fatal error: no return code, message: luatex: execution interrupted[21:00] looks like a crashing luatex I forgot to report the architecture and

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Aditya Mahajan
On Thu, 17 May 2012, Taco Hoekwater wrote: On 05/17/2012 02:24 PM, luigi scarso wrote: # echo '\\endinput \\end' | context --pipe mtx-context | entering scrollmode, end job with \endThis is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. I get the same results as

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Thu, May 17, 2012 at 2:37 PM, Marco Pessotto wrote: Hans Hagen pra...@wxs.nl writes: On 16-5-2012 21:02, Marco Pessotto wrote: mtx-context | fatal error: no return code, message: luatex: execution interrupted[21:00] looks like a

[NTG-context] thinrules

2012-05-17 Thread Meer, H. van der
Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that. Usage is: \par\thinrules[..]\par Howto? H van der Meer ___ If

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 17:46 schrieb Meer, H. van der: Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that. Usage is: \par\thinrules[..]\par Howto? \starttext a \hrule b \strut a \hrule \strut b

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
same problem here with latest tl2012-pretest # context test mtx-context | run 1: luatex --fmt=/media/LaCie/opt/luatex/texlive/2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en

Re: [NTG-context] Local modules not found

2012-05-17 Thread Mojca Miklavec
On Thu, May 17, 2012 at 3:05 PM, Rogers, Michael K wrote:  First I got TeXLive 2012 pre-release, but TeXShop still used last year's ConTeXt. If you update TeX Live pre-release now, you'll get the latest ConTeXt. (If you installed MacTeX, you might need to edit

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: (But that luatex is probably stripped.) So the next question is: how can I build luatex from those sources with the debug symbols? -- Marco ___ If your

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote: Mojca Miklavec mojca.miklavec.li...@gmail.com writes: (But that luatex is probably stripped.) So the next question is: how can I build luatex from those sources with the debug symbols? Try build.sh --nostrip BTW

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 18:09 schrieb Meer, H. van der: Thanks, From your answer I understand that collapsing the preceding vertical space is impossible with \thinrules. \thinrule adds \strut at the begin of the rule which results in vertical space above and below. Wolfgang

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
Mojca Miklavec mojca.miklavec.li...@gmail.com writes: On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote: The following message is a courtesy copy of an article that has been posted to gmane.comp.tex.context as well. Gmane today hates me... Mojca Miklavec

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread luigi scarso
On Thu, May 17, 2012 at 7:01 PM, luigi scarso luigi.sca...@gmail.com wrote: On Thu, May 17, 2012 at 6:25 PM, Marco Pessotto melmo...@gmail.com wrote: Mojca Miklavec mojca.miklavec.li...@gmail.com writes: (But that luatex is probably stripped.) So the next question is: how can I build luatex

[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example: \definelist [MyList] \define[3]\MyListEntry{:#1:#2:#3:} \setuplist [MyList]

Re: [NTG-context] Lists and alternative=command

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 20:29 schrieb Rogers, Michael K: I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example: \definelist [MyList]

Re: [NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
On May 17, 2012, at 2:34 PM, Wolfgang Schuster wrote: Am 17.05.2012 um 20:29 schrieb Rogers, Michael K: I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the

Re: [NTG-context] Most portable font name

2012-05-17 Thread Hans Hagen
On 17-5-2012 16:11, Philipp Gesang wrote: So I judged that my preferred choice might not be as good as I think. I got cold feet and am about to remove the slide where I recommend the PS name (I can do that later anyways). Is there -- apart from personal opinions -- some valid reason to prefer

Re: [NTG-context] Most portable font name

2012-05-17 Thread Bill Meahan
It *appears* things like hyphens and underscores are also ignored in addition to ignoring spaces. Is that correct? When I do : [wwm@Linden]$ mtxrun --script fonts --list --info --all pattern=MyFont* and compare against some existing typescripts I see the filename in the typescript is

Re: [NTG-context] Most portable font name

2012-05-17 Thread Hans Hagen
On 18-5-2012 00:16, Bill Meahan wrote: It *appears* things like hyphens and underscores are also ignored in addition to ignoring spaces. Is that correct? indeed typescript is something like: file:myfontname whereas the system filename is /path/to/font/My_Font-Name.otf indeed Hans

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-17 Thread Vladimir Lomov
Hello, ** Aditya Mahajan [2012-05-17 10:30:53 -0400]: On Thu, 17 May 2012, Taco Hoekwater wrote: On 05/17/2012 02:24 PM, luigi scarso wrote: # echo '\\endinput \\end' | context --pipe mtx-context | entering scrollmode, end job with \endThis is LuaTeX, Version beta-0.70.1-2011051923 (rev