Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Alessandro Perucchi
On 15 sept. 2012, at 00:12, luigi scarso luigi.sca...@gmail.com wrote: On Fri, Sep 14, 2012 at 11:50 PM, Alessandro Perucchi alessan...@perucchi.org wrote: On 14 Sep 2012, at 13:26, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: There is a vertical skip missing in the MkIV

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Wolfgang Schuster
Am 14.09.2012 um 23:50 schrieb Alessandro Perucchi alessan...@perucchi.org: And apparently the command \starttextrule ... \stoptextrule doesn't work (this was explain in the cont-entp.pdf page 204) in either mkii mliv. This does work for me: \starttext blah blah blah

Re: [NTG-context] Strange bug with reversed itemize

2012-09-15 Thread Wolfgang Schuster
Am 15.09.2012 um 00:06 schrieb Aditya Mahajan adit...@umich.edu: Thanks for the diagnosis. What will be a good way to fix this? I think that \expanded{\setupcounter[#1][\c!start=\ifx\p_start\empty0\else\number\p_start\fi.,...]} should work (but I haven't tested it yet). I would do the

[NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section number from a certain number (inserted into an existing

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Alessandro Perucchi
On 15 sept. 2012, at 09:28, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Remove [top] from \starttextrule. All possible combinations are: (...) Hello Wolfgang, Thanks, now I understand how this command works. So probably it would be good to correct the documentation accordingly (

Re: [NTG-context] MKII MKIV difference between \textrule

2012-09-15 Thread Sietse Brouwer
Hi Alessandro, On Sat, Sep 15, 2012 at 12:00 PM, Alessandro Perucchi alessan...@perucchi.org wrote: So probably it would be good to correct the documentation accordingly ( even if all coders hate that part :-D ) Or maybe update the wiki... Is anybody able to modify the wiki? if yes then I

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Wolfgang Schuster
Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Thanx Wolfgang. Thank you. Everything works. While I was looking, I could not find it. I wanted to put your example into the wiki, but the wiki shows the numbers and hidden sections, so I did not there yet. Thanks again Jaroslav Dne 15.9.2012 12:37, Wolfgang Schuster napsal(a): Am

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Rogers, Michael K
On Sep 15, 2012, at 1:36 AM, luigi scarso luigi.sca...@gmail.commailto:luigi.sca...@gmail.com wrote: On Sat, Sep 15, 2012 at 1:23 AM, Troy Henderson thend...@gmail.commailto:thend...@gmail.com wrote: and which uses Cairo and Poppler for its conversion. Now in order for my simplistic filter

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Sietse Brouwer
Hi Jaroslav, While I was looking, I could not find it. I wanted to put your example into the wiki, but the wiki shows the numbers and hidden sections, so I did not there yet. That might be because the wiki uses mkii by default; to use mkiv write context mode=mkiv If you can't get an example

Re: [NTG-context] Change color of EPS file.

2012-09-15 Thread Troy Henderson
Whether the filter is simple or simplistic, it is odd that such a filter has not been abundantly available before. I often wondered years ago when I first started to understand the difference between raster and vector graphics why something so simple (or simplistic) could not be easily done. It

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Thanx Sietse. I wikified it! (http://wiki.contextgarden.net/Command/setuphead). This is my first attempt :-). I finally get to it. It's very simple. I'll try over there now and give good advice. Jaroslav Hajtmar Dne 15.9.2012 14:48, Sietse Brouwer napsal(a): Hi Jaroslav, While I was

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect. Thanx Jaroslav Dne 15.9.2012 16:36, Jaroslav Hajtmar napsal(a): Thanx Sietse. I wikified

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Aditya Mahajan
Try \setuphead[...][placehead=empty] Aditya On Sat, 15 Sep 2012, Jaroslav Hajtmar wrote: Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect.

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Aditya, thankx, BUT here is correction of my previous statement: Wolfgang's solution: \setuphead [section, subsection] [placehead = hidden] works correctly and does not insert any vertical space!!! Unfortunately, it works in my minimal example only, but in my real application, this option does

Re: [NTG-context] Strange bug with reversed itemize

2012-09-15 Thread Aditya Mahajan
On Sat, 15 Sep 2012, Wolfgang Schuster wrote: Am 15.09.2012 um 00:06 schrieb Aditya Mahajan adit...@umich.edu: Thanks for the diagnosis. What will be a good way to fix this? I think that \expanded{\setupcounter[#1][\c!start=\ifx\p_start\empty0\else\number\p_start\fi.,...]} should work (but

Re: [NTG-context] \items is buggy in mkiv

2012-09-15 Thread Aditya Mahajan
On Wed, 12 Sep 2012, Otared Kavian wrote: Dear Hans, I noticed that with the latest version of mkiv (ConTeXt ver: 2012.09.10 00:57) the command \items[location=bottom] does not behave as usual (in mkii the bejaviour is correct) Minimal example: \starttext

Re: [NTG-context] \items is buggy in mkiv

2012-09-15 Thread Otared Kavian
Thanks Aditya: I added the new syntax to the wiki. http://wiki.contextgarden.net/Command/items Best regards: OK On 15 sept. 2012, at 20:10, Aditya Mahajan adit...@umich.edu wrote: On Wed, 12 Sep 2012, Otared Kavian wrote: Dear Hans, I noticed that with the latest version of mkiv

[NTG-context] \everymath

2012-09-15 Thread Rogers, Michael K
I often want every math mode (between single $) be \displaystyle. In Plain TeX, you do something like \everymath={\displaystyle} Is the best ConTeXt way to do something like this? \appendtoks\displaystyle\to\everymathematics Or is there a key in \setupmathematics? Thanks, Michael