[NTG-context] How can I put the chapter head and chapter number in a line

2011-06-01 Thread m00nlight
Hi, every one. I am currently write a paper and want to place the chapter and the chapter number in a line with no break line but the example followed \setuphead[chapter][alternative=middle] \starttext \chapter{One} \input knuth \chapter{Two} \input knuth \chapter {Three} \input knuth

Re: [NTG-context] Moving module installation from first-setup.sh to ctxtools

2011-06-01 Thread Mojca Miklavec
On Wed, Jun 1, 2011 at 01:15, Bruce bdarcus.li...@gmail.com wrote: Mojca Miklavec mojca.miklavec.lists at gmail.com writes: [snip] One more thing: are you talking about TL 2010 or TL 2011? I had installed 2010, but am now upgrading. In case that you are talking about TL 2011, you can

[NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
Hello, How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext TIA for any hints! -- Peter

Re: [NTG-context] checking mainlanguage setup

2011-06-01 Thread Jeong Dalyoung
Dear Aditya, context([[\def\noexpand\Lang{...}]]) not working or context([[\def\string\Lang{...}]]) working I don't understand why context([[\def\\Lang{...}]]) working, too You are right. [[\def\\Lang{English}]] method works. I summerize it as a test file. The first 5

[NTG-context] Incomplete \iffalse ?

2011-06-01 Thread Steffen Wolfrum
Hi, today with vers. 2011.05.14 I got an unexpected error: ! Incomplete \iffalse; all text was ignored after line 9. The code was like this: \starttext \midaligned{\framedtext[frame=on]{Test}} \stoptext What's wrong with this? Steffen

Re: [NTG-context] How can I put the chapter head and chapter number in a line

2011-06-01 Thread Marco
\setuphead[chapter][alternative=middle] \setuphead[chapter][align=middle] Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Incomplete \iffalse ?

2011-06-01 Thread luigi scarso
On Wed, Jun 1, 2011 at 9:47 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, today with vers. 2011.05.14 I got an unexpected error: ! Incomplete \iffalse; all text was ignored after line 9. The code was like this: \starttext \midaligned{\framedtext[frame=on]{Test}} \stoptext

Re: [NTG-context] Incomplete \iffalse ?

2011-06-01 Thread Hans Hagen
On 1-6-2011 9:47, Steffen Wolfrum wrote: Hi, today with vers. 2011.05.14 I got an unexpected error: ! Incomplete \iffalse; all text was ignored after line 9. The code was like this: \starttext \midaligned{\framedtext[frame=on]{Test}} \stoptext What's wrong with this?

Re: [NTG-context] Incomplete \iffalse ?

2011-06-01 Thread luigi scarso
On Wed, Jun 1, 2011 at 10:02 AM, Hans Hagen pra...@wxs.nl wrote: On 1-6-2011 9:47, Steffen Wolfrum wrote: Hi, today with vers. 2011.05.14 I got an unexpected error: ! Incomplete \iffalse; all text was ignored after line 9. The code was like this: \starttext

Re: [NTG-context] Incomplete \iffalse ?

2011-06-01 Thread Hans Hagen
On 1-6-2011 10:06, luigi scarso wrote: On Wed, Jun 1, 2011 at 10:02 AM, Hans Hagenpra...@wxs.nl wrote: On 1-6-2011 9:47, Steffen Wolfrum wrote: Hi, today with vers. 2011.05.14 I got an unexpected error: ! Incomplete \iffalse; all text was ignored after line 9. The code was like this:

Re: [NTG-context] checking mainlanguage setup

2011-06-01 Thread Hans Hagen
On 31-5-2011 4:33, Procházka Lukáš Ing. - Pontex s. r. o. wrote: On Tue, 31 May 2011 12:45:00 +0200, Jeong Dalyoung hak...@me.com wrote: Dear Lucas, Shouldn't it be (untested): context(\\def\\lang{English}) It is working. context([[\def\lang{English}]]) It is not working. It

Re: [NTG-context] checking mainlanguage setup

2011-06-01 Thread Hans Hagen
On 1-6-2011 10:14, Hans Hagen wrote: [[ ]] vs is a lua thing ... but when you pass things from within tex, expansions happens the same in both; you can try context(\detokenize{...}) Sorry, that should have been \ctxlua{\detokenize{...}} which takes care of things at the tex end. When at

Re: [NTG-context] checking mainlanguage setup

2011-06-01 Thread Wolfgang Schuster
Am 01.06.2011 um 09:45 schrieb Jeong Dalyoung: I summerize it as a test file. The first 5 methods are working well, but the last one using \noexpand cause the error. What exactly do you plan to do with the language check, for simple texts your method is overkill and labeltexts are better

Re: [NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Wolfgang Schuster
Am 01.06.2011 um 09:03 schrieb Peter Münster: Hello, How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext TIA for any hints! It would help when you give

[NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Mojca Miklavec
Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this code fails to work? (A workaround is to move \newif on top which I'm willing to do, but I'm still curious.) \starttext \ifx\hbox\undefined

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Wolfgang Schuster
Am 01.06.2011 um 15:26 schrieb Mojca Miklavec: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this code fails to work? (A workaround is to move \newif on top which I'm willing to do, but I'm

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread luigi scarso
On Wed, Jun 1, 2011 at 3:26 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this code fails to work? (A workaround is to move \newif on top

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Mojca Miklavec
On Wed, Jun 1, 2011 at 15:36, Wolfgang Schuster wrote: Am 01.06.2011 um 15:26 schrieb Mojca Miklavec: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this code fails to work? (A workaround is to

Re: [NTG-context] \startitemize: intro ignored with columns

2011-06-01 Thread Peter Münster
On Wed, Jun 01 2011, Wolfgang Schuster wrote: How can I avoid a page break here: \setuplayout[height=2cm] \starttext \startsection[title=test] \startitemize[columns, intro] \item bla \stopitemize \stopsection \stoptext It would help when you give ConTeXt space for the text, Of

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Hans Hagen
On 1-6-2011 3:46, luigi scarso wrote: On Wed, Jun 1, 2011 at 3:26 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this code fails to work? (A

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread luigi scarso
On Wed, Jun 1, 2011 at 3:56 PM, Hans Hagen pra...@wxs.nl wrote: On 1-6-2011 3:46, luigi scarso wrote: On Wed, Jun 1, 2011 at 3:26 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com  wrote: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Hans Hagen
On 1-6-2011 3:52, Mojca Miklavec wrote: On Wed, Jun 1, 2011 at 15:36, Wolfgang Schuster wrote: Am 01.06.2011 um 15:26 schrieb Mojca Miklavec: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves differently). Can somebody please explain me why this

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread luigi scarso
On Wed, Jun 1, 2011 at 3:52 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Wed, Jun 1, 2011 at 15:36, Wolfgang Schuster wrote: Am 01.06.2011 um 15:26 schrieb Mojca Miklavec: Dear magitians, I discovered this in LaTeX, but ConTeXt behaves the same (plain TeX behaves

Re: [NTG-context] unusual behaviour of \if(x)

2011-06-01 Thread Wolfgang Schuster
Am 01.06.2011 um 16:01 schrieb luigi scarso: no, --- infact I've said this works, not it's the only solution or it's the perfect solution. \ifcsname... looks a bit strange if I'm working with \newif . And he’s cheating because he tests only the existence of the \ifabc command. It’s easier

[NTG-context] ctx conference 2011

2011-06-01 Thread Hans Hagen
Hi, Taco and I are discussing the program of the upcoming context conference. So far we've come up with the following categories: - graphics: metapost tricks, metapost decimal / scientific numbers, basic graphs (maybe I'll upgrade the graph package to the new mp machinery), graphic

[NTG-context] [register] setup detailed formatting

2011-06-01 Thread Philipp Gesang
Hi all, according to the manual (current draft p. 238f.) the following should work: ···8 \setupinteraction[state=start] \defineregister[myreg][myreg] \setupregister[myreg][textstyle=italic,pagestyle=slanted] %% That’s what it’s about:

Re: [NTG-context] ctx conference 2011

2011-06-01 Thread Steffen Wolfrum
Hi Hans, hi Taco, these categories sound very rich and interesting! Apropos accesibility and registers, I would be very interested in different ways of formatting and freely designing registers, too. Looking forward for Poquerolles, Steffen Am 01.06.2011 um 17:18 schrieb Hans Hagen: Hi,

Re: [NTG-context] ntg-context Digest, Vol 84, Issue 5

2011-06-01 Thread Jeong Dalyoung
Dear Hans and Wolfgang, Thank you for the comments and samples. What exactly do you plan to do with the language check, for simple texts your method is overkill and labeltexts are better suited, even a command which prints a text can be written in TeX without problems: Yes, you are

[NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Aditya Mahajan
Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three How to achieve that? I tried \setuphead[section][prefixset=none] but to no affect. Aditya

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Wolfgang Schuster
Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three How to achieve that? I tried