Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
Am 07.10.2011 um 06:27 schrieb Aditya Mahajan: I want to obtain the total number of sections at a particular depth, and thought that I could get that using \laststructurecounter{}. But, I cannot find the name of the counter associated with sections. Is there a macro or a lua function

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Wolfgang Schuster
Am 06.10.2011 um 22:25 schrieb Alexandre Leray: Hi and thanks for your help. it works except that when the sidenote is too long it overflows the page. Is there a way to make the note continuing on the next page if it doesn't fit? No, margin texts are unbreakable blocks. When you many

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Alexandre Leray
Hello Wolfgang, Thanks for your reply. I will adjust my text flow manually if necessary as I only have a couple of pages to deal with. While I was searching for an answer in the mailing list archive I found this email: [NTG-context] Flowfram-like behavior?

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, nice example - I put it to the wiki - http://wiki.contextgarden.net/Reference/en/definesorting. But the result doesn't appear with error message internal error: pdfcrop failed, although the compilation on a computer is OK. Any idea what causes wiki compilation failure? Best regards,

Re: [NTG-context] interaction colors and page break

2011-10-07 Thread luigi scarso
On Thu, Oct 6, 2011 at 4:08 PM, Stefan Müller warrence@gmx.de wrote: Hi, I think I found a small bug.  The interaction colors interact strangely with page breaks in certain cases.  See the following example.  I'm using ConTeXt 201110003 12:59 MkIV.

[NTG-context] New STIX font version

2011-10-07 Thread Tobias Burnus
Hi all, you might be interested in hearing that there is a new there is a new version of the STIX fonts (since 1h ago) - or rather a beta version: 1.1.0-beta1. See: http://sourceforge.net/projects/stixfonts/files/STIXv1.1.0-beta1.zip/download The beta period will remain open until December

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Vyatcheslav Yatskovsky
Fantastic snippet, thank you Wolfgang! My original code is a bit more complicated, it often (but not always) involves artist, tempo and tonality data, like this \define[1]\artist{{\itx #1}} \define[1]\bpm{{\tfx #1 bpm}}} ... \item Sway \artist{Pussycat Dolls} \bpm{136-138}

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Wolfgang Schuster
Am 07.10.2011 um 16:16 schrieb Vyatcheslav Yatskovsky: Fantastic snippet, thank you Wolfgang! My original code is a bit more complicated, it often (but not always) involves artist, tempo and tonality data, like this \define[1]\artist{{\itx #1}} \define[1]\bpm{{\tfx #1 bpm}}} ...

[NTG-context] transparent text in \framed

2011-10-07 Thread Peter Rolf
Hi, I found a problem with transparency in \framed. If the foreground color is transparent, the attribute is active all the time. Same is true if you use a transparent foreground color in the content. Small test file is attached. Tested with beta from 2011.10.05 23:53, LuaTeX, Version

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Hans Hagen
On 7-10-2011 10:37, Alexandre Leray wrote: Hello Wolfgang, Thanks for your reply. I will adjust my text flow manually if necessary as I only have a couple of pages to deal with. While I was searching for an answer in the mailing list archive I found this email: [NTG-context] Flowfram-like

Re: [NTG-context] Inits without space in bibliography

2011-10-07 Thread Charles
On a quick reading, it looks to me as though changing the line s nameptr {f} format.name$ add.period$ 't := to s nameptr {f{}} format.name$ add.period$ 't := should remove the spacing, but I haven't tested it. I don't think it would work as every field is separated by a space

[NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Charles
Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Is it be possible to automatically stop the previous section

Re: [NTG-context] New STIX font version

2011-10-07 Thread Hans Hagen
On 7-10-2011 15:53, Tobias Burnus wrote: you might be interested in hearing that there is a new there is a new version of the STIX fonts (since 1h ago) - or rather a beta version: 1.1.0-beta1. See: http://sourceforge.net/projects/stixfonts/files/STIXv1.1.0-beta1.zip/download The beta period

Re: [NTG-context] New STIX font version

2011-10-07 Thread Hans Hagen
On 7-10-2011 15:53, Tobias Burnus wrote: Hi all, you might be interested in hearing that there is a new there is a new version of the STIX fonts (since 1h ago) - or rather a beta version: 1.1.0-beta1. See: http://sourceforge.net/projects/stixfonts/files/STIXv1.1.0-beta1.zip/download The beta

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Aditya Mahajan
On Fri, 7 Oct 2011, Wolfgang Schuster wrote: Am 07.10.2011 um 06:27 schrieb Aditya Mahajan: I want to obtain the total number of sections at a particular depth, and thought that I could get that using \laststructurecounter{}. But, I cannot find the name of the counter associated with

Re: [NTG-context] New STIX font version

2011-10-07 Thread Khaled Hosny
On Fri, Oct 07, 2011 at 07:24:19PM +0200, Hans Hagen wrote: In addition, an update was made to address compatibility issues between the font set and the Windows PostScript driver. hm Was some faulty OS/2 (the font table not the other thing) code pages setting that affects printing from MS

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
Am 07.10.2011 um 19:29 schrieb Aditya Mahajan: On Fri, 7 Oct 2011, Wolfgang Schuster wrote: Am 07.10.2011 um 06:27 schrieb Aditya Mahajan: I want to obtain the total number of sections at a particular depth, and thought that I could get that using \laststructurecounter{}. But, I

Re: [NTG-context] New STIX font version

2011-10-07 Thread Khaled Hosny
On Fri, Oct 07, 2011 at 07:24:24PM +0200, Hans Hagen wrote: so Khaled might be tempted to add the few new shapes to xits I'm working on an update already, at least to get glyph fixes in. Regards, Khaled -- Khaled Hosny Egyptian Arab

Re: [NTG-context] New STIX font version

2011-10-07 Thread Hans Hagen
On 7-10-2011 19:56, Khaled Hosny wrote: On Fri, Oct 07, 2011 at 07:24:24PM +0200, Hans Hagen wrote: so Khaled might be tempted to add the few new shapes to xits I'm working on an update already, at least to get glyph fixes in. don't forget to add a feature: 'stix' = 'xits' (ss10 contextual

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Hans Hagen
On 7-10-2011 18:24, Charles wrote: Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Is it be possible to

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Mojca Miklavec
On Fri, Oct 7, 2011 at 18:24, Charles wrote: Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Configure your text

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Aditya Mahajan
On Fri, 7 Oct 2011, Wolfgang Schuster wrote: \setuphead[section][textstyle=\tt,page=yes] \starttext \dorecurse{2} {\section{[[#1]]} \dorecurse{\numexpr#1+2\relax} {\subsection{[[#1-##1]]} \starttabulate \NC First \EQ \somenamedheadnumber{subsection}{first} \NC\NR \NC

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Steffen Wolfrum
Am 07.10.2011 um 20:24 schrieb Mojca Miklavec: On Fri, Oct 7, 2011 at 18:24, Charles wrote: Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I

Re: [NTG-context] References to annotations

2011-10-07 Thread Michael Green
Thank you again! You need the following mode setting: \usemodule[letter] \startletter \startnotmode[*trialtypesetting] \placetable[here][]{title} \starttable[|l|] \NC That?s all \NC\MR \stoptable \stopnotmode \stopletter

Re: [NTG-context] New STIX font version

2011-10-07 Thread Khaled Hosny
On Fri, Oct 07, 2011 at 08:14:34PM +0200, Hans Hagen wrote: On 7-10-2011 19:56, Khaled Hosny wrote: On Fri, Oct 07, 2011 at 07:24:24PM +0200, Hans Hagen wrote: so Khaled might be tempted to add the few new shapes to xits I'm working on an update already, at least to get glyph fixes in.