[NTG-context] Different counters for titles

2013-09-02 Thread H. Özoguz
To solve my last asked question, I chose a somewhat easiert way and defined an own chapter-title, which is unnumbered. Here is my Minexample: \definehead[mychapter][chapter] \setuphead[mychapter][number=no] \setupcombinedlist[content] [list={mychapter, chapter, section}] \starttext \completeco

Re: [NTG-context] Image width in a two-column layout

2013-09-02 Thread Hans Hagen
On 9/2/2013 8:34 PM, Aditya Mahajan wrote: On Mon, 2 Sep 2013, Thangalin wrote: It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: Here is a smaller example: \starttext \startmixedcolumns \showthe\textwidth \stopmixedcolumns \stoptext

Re: [NTG-context] installing two ConTeXt trees

2013-09-02 Thread Hans Hagen
On 9/2/2013 6:14 PM, Alan Bowen wrote: (personnaly I add also rm -f *.tui *.log *.tuo *.xdv *.mp *.tmp *.top *-mpgraph.* *-mpgraph-temp.dvi *.tuc at the end of each of the files to remove auxiliary files, but you must be careful with removing such files as *.mp…).

Re: [NTG-context] Image width in a two-column layout

2013-09-02 Thread Aditya Mahajan
On Mon, 2 Sep 2013, Thangalin wrote: It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: Here is a smaller example: \starttext \startmixedcolumns \showthe\textwidth \stopmixedcolumns \stoptext Aditya _

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: % interface=en output=pdftex \definemixedcolumns[StyleColumns][ n=2, separator=rule, align=tolerant, before={\blank[big]},] \setupexternalfigures[ order={svg,pdf,png,jpg}, locatio

Re: [NTG-context] installing two ConTeXt trees

2013-09-02 Thread Alan Bowen
Thanks, Otared! That is very helpful indeed. I now have access to each of the ConTeXt trees via TeXShop—and a sensible way to explore why the ConTeXt betas since August 5 have not worked so well with my files. All best, Alan On Sun, Sep 1, 2013 at 1:54 PM, Otared Kavian wrote: > Hi Alan, > > U

Re: [NTG-context] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 17:00 schrieb hwit...@gmail.com: > I found the file, tabl-tbl.mkiv, here: > > /usr/local/texlive/2013/texmf-dist/tex/context/base/tabl-tbl.mkiv > > I insert the line you said that was missing at line #721. > > But, it did not change anything. Does this file need to be compi

Re: [NTG-context] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread hwitloc
I found the file, tabl-tbl.mkiv, here: /usr/local/texlive/2013/texmf-dist/tex/context/base/tabl-tbl.mkiv I insert the line you said that was missing at line #721. But, it did not change anything. Does this file need to be compiled or anything? I am not familiar with the deeper workings of

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
Thanks Wolfgang, nearly perfect, what I wanted. The problem left is here: \defineexpandable[1]\Previousnumber {\number\numexpr#1-1\relax} \defineconversion[previousnumber][\Previousnumber] \setuphead[section][conversion=previousnumber] \starttext \dorecurse{5}{\chapter{Chapter #1} \section{Sec

Re: [NTG-context] Numbering sections

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 15:21 schrieb "H. Özoguz" : >> You can the section number with \getmarking[sectionnumber], the chapter >> number with \getmarking[chapternumber] etc. > > Thanks Wolfgang! > > And another question about numbering: How can I let start the numbering of > chapters with the number

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
You can the section number with \getmarking[sectionnumber], the chapter number with \getmarking[chapternumber] etc. Thanks Wolfgang! And another question about numbering: How can I let start the numbering of chapters with the number n (not 1, as default)? E.g. with n=0 or n=2? Thanks. Husey

Re: [NTG-context] problem with \cldcontext{} and aligncharacter=yes

2013-09-02 Thread Peter Münster
On Sun, Sep 01 2013, Peter Münster wrote: > \starttext > \setupTABLE[c][1][alignmentcharacter=., aligncharacter=yes] > \bTABLE > \bTR \bTD 1.2 \eTD \eTR > \eTABLE > \bTABLE > \bTR \bTD \cldcontext{1.2} \eTD \eTR > \eTABLE > \stoptext Workaround: \expanded{\bTD \cldcontext{1.2} \eTD}

Re: [NTG-context] Numbering sections

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 14:45 schrieb "H. Özoguz" : > I have activated numbering sections by \setuphead[section][number=yes], and > now the numbers are in the toc, too, as they should. How to show the numbers > in the header, too? > > The header is: \setupheadertexts > [][{\grau{\tfx\getmarking[sec

Re: [NTG-context] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 05:34 schrieb hwit...@gmail.com: > > Using the texlive 2013 version > > ; > ; minimal example from context wiki > > \starttext > \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] >\NC test \NC test \NC test \NC test \NC \NR >\NC test \NC test \NC test \NC t

[NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
I have activated numbering sections by *\setuphead[section][number=yes]*, and now the numbers are in the toc, too, as they should. How to show the numbers in the header, too? The header is: *\setupheadertexts [][{\grau{\tfx\getmarking[section]}}][{\definedfont[name:myriadprosemibold at 10pt]\

[NTG-context] problem with \cldcontext{} and aligncharacter=yes

2013-09-02 Thread Peter Münster
Hi, How could I get with "\cldcontext{1.2}" the same result as with "1.2" in the following example please: \starttext \setupTABLE[c][1][alignmentcharacter=., aligncharacter=yes] \bTABLE \bTR \bTD 1.2 \eTD \eTR \eTABLE \bTABLE \bTR \bTD \cldcontext{1.2} \eTD \eTR \eTABLE \stoptext T

Re: [NTG-context] installing two ConTeXt trees

2013-09-02 Thread Otared Kavian
Hi Alan, Using TeXShop on MacOS X you can create two files named « mkiv-stable.engine » and « mkiv-testing.engine » and put them in the folder Library/TeXShop/Engines The first file « mkiv-stable.engine » contains the following: #!/bin/bash source [path-to-your-

[NTG-context] buffers.prepend() (was: letter module: File ended while scanning use of \buff_gobble)

2013-09-02 Thread Peter Münster
On Sun, Sep 01 2013, Wolfgang Schuster wrote: > \startrawsetups[letter:section:content] > > Text before the content of the letter. > > \getbuffer[MyLetter] > > Text after the content of the letter. > > \stoprawsetups Yes, thanks! (I forgot about this part, because in my setup it was hidden in ano

Re: [NTG-context] How to redefine \section temporaly?

2013-09-02 Thread Romain Diss
Hi, Le samedi 31 août 2013 23:55:31 Hans Hagen a écrit : > > I wrote some articles with context and they contain (of course) sections. > > Now I have to include all these articles in a book but each article > > should become a section of the book. So I wonder if there is a way to > > convert the \

[NTG-context] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread hwitloc
Using the texlive 2013 version ; ; minimal example from context wiki \starttext \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC test \NC test \NC test \NC test \NC \NR \NC