Re: [NTG-context] spurious line break in \switchtobodyfont

2006-04-26 Thread Hans Hagen
Mojca Miklavec wrote: Hello, there is a misterious linebreak in the second example: abc\switchtobodyfont[ss]def abc\switchtobodyfont[,,ss]def Is this ConTeXt's fault or mine? lucky you: \def\dodosetfont#1#2% #1 = set/switch state / test added to make it mojca proof

Re: [NTG-context] Cranky booklet layout.

2006-04-26 Thread Willi Egger
Hi John, Coud it be that you simply forgot the = after width? Willi John R. Culleton wrote: First I built a letter-on-tabloid booklet like this: \definepapersize[tabloid][width=11in,height=17in] \setuppapersize[letter][tabloid] \setuparranging[2UP,rotated,doublesided]

Re: [NTG-context] Quick Metapost question

2006-04-26 Thread Olivier
Wouahhh! Great! I wasn't aware of these ones. Many thanks, Olivier Quoting Renaud AUBIN : -- was [EMAIL PROTECTED] on Apr 26, 2006 at 11:45:34 -- Did you try \scale ? (Dunno if it works)... http://texshow.contextgarden.net/ts.rb?lang=enwhat=descif=encmd=scale Olivier a écrit : Hi

Re: [NTG-context] Quick Metapost question

2006-04-26 Thread Hans Hagen
Olivier wrote: Hi all, I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing} \scale[width=1mm]{\reuseMPgraphic{my-mp-drawing}} There is always the way of tracking the generated file and including it

Re: [NTG-context] Quick Metapost question

2006-04-26 Thread Olivier
Quoting Hans Hagen : -- was [EMAIL PROTECTED] on Apr 26, 2006 at 12:34:38 -- Olivier wrote: Hi all, I'm looking for an equivalent of \externalfigure[width=1mm] but for \reuseMPgraphic. Something like \reuseMPgraphic[width=1mm]{my-mp-drawing}

Re: [NTG-context] itemize and vertical spacing

2006-04-26 Thread Taco Hoekwater
Olivier wrote: Is there a way to achieve this? There is probably a nicer solution, but this works: \startitemize[inbetween={\blank[30pt]\hrule height 0pt}] Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Cranky booklet layout.

2006-04-26 Thread John R. Culleton
On Wednesday 26 April 2006 04:42, Willi Egger wrote: Hi John, Coud it be that you simply forgot the = after width? Willi Of course. It was staring at me and I didn't see it. I missed two of them in fact. Thanks Willi. -- John Culleton ___

Re: [NTG-context] itemize and vertical spacing

2006-04-26 Thread Olivier
Hi Taco, Quoting Taco Hoekwater : -- was [EMAIL PROTECTED] on Apr 26, 2006 at 01:12:20 -- Olivier wrote: Is there a way to achieve this? There is probably a nicer solution, but this works: \startitemize[inbetween={\blank[30pt]\hrule height 0pt}] I forgot to emphasize that the

Re: [NTG-context] itemize and vertical spacing

2006-04-26 Thread Taco Hoekwater
Olivier wrote: Hi Taco, Quoting Taco Hoekwater : -- was [EMAIL PROTECTED] on Apr 26, 2006 at 01:12:20 -- Olivier wrote: Is there a way to achieve this? There is probably a nicer solution, but this works: \startitemize[inbetween={\blank[30pt]\hrule height 0pt}] indeed put

Re: [NTG-context] itemize and vertical spacing

2006-04-26 Thread Olivier
Olivier wrote: Hi Taco, Quoting Taco Hoekwater : -- was [EMAIL PROTECTED] on Apr 26, 2006 at 01:12:20 -- Olivier wrote: Is there a way to achieve this? There is probably a nicer solution, but this works: \startitemize[inbetween={\blank[30pt]\hrule height 0pt}]

[NTG-context] continued examples

2006-04-26 Thread Christopher Creutzig
Salvete, after a long time I got back to some ConTeXt file I had been working on and found that the following construct does not work (I assume it never did): \defineenumeration[example] [sectionnumber=chapter, text=Example,

[NTG-context] Typo in core-mat.tex

2006-04-26 Thread Christopher Creutzig
Salve Hans, \def\leqalignno#1% {\prepareleqaligno should be \preparealignno, with two n. Best regards, Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Register with numeric values

2006-04-26 Thread luigi scarso
I make an example here: %% BEGIN \setupinteraction[state=start] \setupcolors[state=start] \definecolor[BackBrand][black] \definecolor[Brand][white] \newcount\ICfdigit \newif\ifDoZero \DoZerotrue \newif\ifDoOne\DoOnetrue \newif\ifDoTwo\DoTwotrue

[NTG-context] verb-c and tabulator width

2006-04-26 Thread Peter Münster
Hello, thanks to Nikolai for the verb-c module! One (probably there will come more) question: How could I adjust the width of the tabulator? It seems to be always one space inside \startC...\stopC : \usemodule[verb-c] \chardef\spacespertab=4 \starttext \starttyping int main(){ int i; }

Re: [NTG-context] verb-c and tabulator width

2006-04-26 Thread nico
On Wed, 26 Apr 2006 19:43:48 +0200 (CEST), Peter Münster [EMAIL PROTECTED] wrote: Hello, thanks to Nikolai for the verb-c module! One (probably there will come more) question: How could I adjust the width of the tabulator? Use the tab option (not specific to C): \usemodule[verb-c]

Re: [NTG-context] Itemize head symbol

2006-04-26 Thread nico
On Wed, 26 Apr 2006 00:13:09 +0200, Hans Hagen [EMAIL PROTECTED] wrote: nico wrote: Hello, Is it possible to change the symbol of \head in an itemize list, like \sym does for \item? i'm not sure if i understand the question ... heads are like items so the same symbols apply (or do

[NTG-context] \to broken in figure captions

2006-04-26 Thread Sanjoy Mahajan
A workaround: \starttext \def\myto{\to} \placefigure[abc]{ABC $n\myto1$.}{} \input tufte \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] verb-c and tabulator width

2006-04-26 Thread Peter Münster
On Wed, 26 Apr 2006, nico wrote: On Wed, 26 Apr 2006 19:43:48 +0200 (CEST), Peter Münster [EMAIL PROTECTED] wrote: One (probably there will come more) question: How could I adjust the width of the tabulator? Use the tab option (not specific to C): Thanks! In fact I should have

Re: [NTG-context] \to broken in figure captions

2006-04-26 Thread Aditya Mahajan
On Wed, 26 Apr 2006, Sanjoy Mahajan wrote: In inline math, \to works fine (produces a right arrow), but in a figure caption all hell breaks loose. The culprit may be this redefinition of \to in enco-ini.tex: $ find texmf -name '*.tex' |xargs egrep -n '\\((e|g|)def|let)\\to\b'

Re: [NTG-context] verb-c and tabulator width

2006-04-26 Thread nico
On Wed, 26 Apr 2006 21:26:08 +0200 (CEST), Peter Münster [EMAIL PROTECTED] wrote: On Wed, 26 Apr 2006, nico wrote: On Wed, 26 Apr 2006 19:43:48 +0200 (CEST), Peter Münster [EMAIL PROTECTED] wrote: One (probably there will come more) question: How could I adjust the width of the

[NTG-context] \k in inline math

2006-04-26 Thread Sanjoy Mahajan
\starttext $\k T$ \stoptext The above test file, to my surprise, compiled fine. [In Plain TeX I usually define \k as \kappa, but I had forgotten to carry over that definition.] The pdf output showed a T with little hook as a subscript. I can redefine \k as \kappa, but that might overwrite an

Re: [NTG-context] \k in inline math

2006-04-26 Thread Taco Hoekwater
Sanjoy Mahajan wrote: \starttext $\k T$ \stoptext The above test file, to my surprise, compiled fine. [In Plain TeX I usually define \k as \kappa, but I had forgotten to carry over that definition.] The pdf output showed a T with little hook as a subscript. I can redefine \k as

Re: [NTG-context] \k in inline math

2006-04-26 Thread Sanjoy Mahajan
From:Taco Hoekwater [EMAIL PROTECTED] \definecommand k {\buildtextogonek} (but i knew what to look for) Now I do too. I'll add that alternative to future egrep regexps. \unexpanded\def\k{\mathortext\kappa{\dohandleaccent{k}}} Thanks, that works. -Sanjoy `Never underestimate the

Re: [NTG-context] \to broken in figure captions

2006-04-26 Thread Sanjoy Mahajan
From:Aditya Mahajan [EMAIL PROTECTED] Replacing $...$ with \mathematics{...} works without errors. Good suggestion -- also works here. Shouldn't $...$ be equivalent to \mathematics{...}? $$...$$ is deprecated relative to \startformula...\stopformula, so I wrote a Python script to convert

Re: [NTG-context] Cranky booklet layout.

2006-04-26 Thread Hans Hagen
John R. Culleton wrote: On Wednesday 26 April 2006 07:21, John R. Culleton wrote: On Wednesday 26 April 2006 04:42, Willi Egger wrote: Hi John, Coud it be that you simply forgot the = after width? Willi Of course. It was staring at me and I didn't see it. I missed two of