[NTG-context] Bug in latest beta: behavior of \text in StepCharts

2015-04-16 Thread Otared Kavian
Hi Hans, It seems that with the latest beta there is a bug in the way how the command \text is handled in step charts (plesae see the attached PDF). This bug is absent from mkii, and absent from previous versions of mkiv (up to a weak ago, I believe). This is a minimal example which shows that

Re: [NTG-context] Index items

2015-04-16 Thread Robert Blackstone
Hi, Same subject as in my previous post but a new question: On the ConTeXt wiki-page Command\index one finds: \index[...][...][…] […] text […] text […] text What is the first argument for? Could it somehow be used to provide a key? Another point, just for the sake of completeness: the example

Re: [NTG-context] Bug in latest beta: behavior of \text in StepCharts

2015-04-16 Thread Alan BRASLAU
On Thu, 16 Apr 2015 09:04:46 +0200 Otared Kavian ota...@gmail.com wrote: It seems that with the latest beta there is a bug in the way how the command \text is handled in step charts (plesae see the attached PDF). This bug is absent from mkii, and absent from previous versions of mkiv (up to a

Re: [NTG-context] \setupinterlinespace not working in style

2015-04-16 Thread Hans Hagen
On 4/15/2015 7:50 PM, Pablo Rodriguez wrote: Dear list, the following sample: \definetyping [tycode] [option=TEX, style={\tt\setupinterlinespace[line=5em]}] \starttext \section{\input zapf} \starttycode legibilidad, {\en legibility},

Re: [NTG-context] next beta

2015-04-16 Thread Hans Hagen
On 4/15/2015 7:08 PM, Aditya Mahajan wrote: On Tue, 19 Mar 2013, Hans Hagen wrote: \starttext \starttabulate[||CL{darkred}|CM{darkgreen}CT{white}|CR{darkblue}||] \NC first \NC left \NC middle \NC right \NC last \NC \NR \NC first \NC \color[white]{left} \NC

Re: [NTG-context] Index items

2015-04-16 Thread Alan BRASLAU
On Thu, 16 Apr 2015 09:50:23 +0200 Robert Blackstone blackstone.rob...@gmail.com wrote: Hi, Same subject as in my previous post but a new question: On the ConTeXt wiki-page Command\index one finds: \index[...][...][…] […] text […] text […] text What is the first argument for? Could it

Re: [NTG-context] Index items

2015-04-16 Thread Hans Hagen
On 4/15/2015 11:41 PM, Robert Blackstone wrote: On 15 Apr 2015, at 19:51 , Alan BRASLAU alan.bras...@cea.fr wrote Hans Hagen pra...@wxs.nl wrote: On 4/14/2015 1:48 PM, Robert Blackstone wrote: Dear all, The book I am typesetting contains a very extensive and detailed index. The number of

[NTG-context] beta / mp

2015-04-16 Thread Hans Hagen
Hi, I uploaded a beta with some fixes. Indeed as Alan mentioned some of the tex-mp interface has changed deep down (more efficient). Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Wed, 15 Apr 2015, Thangalin wrote: Pandoc uses thinrule (probably because it spans the page by default) when generating ConTeXt documents. Using only thinrule, how would you go about making a totally sweet (ornamental) horizontal rule, such as those shown at:

[NTG-context] how to set figure label ?

2015-04-16 Thread Harald Koenig
Hi, how can I set a label for a figure without \placefigure[][fig:...]{} for some figures I use strange macros -- and at those places I get errors when calling \placefigure BUT I'd like to check the page numbers of those places using \doifreferencefoundelse{fig:bild\the\bildnr}%

Re: [NTG-context] \setupinterlinespace not working in style

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 02:36 PM, Hans Hagen wrote: On 4/15/2015 7:50 PM, Pablo Rodriguez wrote: [...] shows simple (wrong) interline spacing with latest beta and it has right interline spacing with stable from TeX Live 2014. Is this a bug or am I missing something? hm, i made it so that option

Re: [NTG-context] how to set figure label ?

2015-04-16 Thread Alan BRASLAU
On Thu, 16 Apr 2015 17:27:17 +0200 Harald Koenig koe...@tat.physik.uni-tuebingen.de wrote: how can I set a label for a figure without \placefigure[][fig:...]{} for some figures I use strange macros -- and at those places I get errors when calling \placefigure BUT I'd like to check

[NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled with latest beta, line numbers are partly off the page:

[NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, this sample: \showgrid \setupbodyfont[30pt] \starttext {\tfa\setupinterlinespace \ConTeXt\par}\\ {\tfxx\setupinterlinespace Author\par}\\ {\tfxx\setupinterlinespace\currentdate\par}\\ {\tf\setupinterlinespace url\par} \stoptext With either latest beta or

Re: [NTG-context] Handling line numbers in frontmatter.

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 09:19 PM, John Culleton wrote: In the sample shown below I get correct (roman) line numbers but the very first page, imported from plug.tex has an unwanted page number. If I surround that page with: \startstandardmakeup[doublesided=no,page=yes] and \stopstandardmakeup the

Re: [NTG-context] How to exclude certain figures from list of figures in ConTeXt?

2015-04-16 Thread Wolfgang Schuster
Am 15.04.2015 um 22:12 schrieb Geert Verhaag verhaagg...@ziggo.nl: Hi Wolfgang, Thank you very much for your suggestion! Can you explain a bit the trick behind this mechanism? I created only a new float environment which copies all values from the figure environment but it saves all

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 10:38 PM, Hans Hagen wrote: On 4/16/2015 10:20 PM, Pablo Rodriguez wrote: On 04/16/2015 09:51 PM, Hans Hagen wrote: [...] I have seen strut in the past, but I’m afraid that I don’t know what it may be or what I can use it for (besides your sample). tex has no built-in concept

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
Hi Hans sorry to ask again. But the different color handling between context-version before 2015.04.14 00:54 and context-version 2015.04.14 00:54 is remarkable and annoying. See attached pdf-documents. Both have exactly the same source: \usemodule[tikz] \setupbodyfont[40pt] \starttext

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Thank you. Here is an example that changes the \thinrule to something fancier: \usemodule[fancybreak] \setupfancybreak[symbol=star] \define\thinrule\fancybreak ___ If your question is of interest to others as well,

[NTG-context] Handling line numbers in frontmatter.

2015-04-16 Thread John Culleton
In the sample shown below I get correct (roman) line numbers but the very first page, imported from plug.tex has an unwanted page number. If I surround that page with: \startstandardmakeup[doublesided=no,page=yes] and \stopstandardmakeup the page number disappears but the page count is wrong by

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
On 4/16/2015 6:50 PM, Pablo Rodriguez wrote: Hans, this sample: \showgrid \setupbodyfont[30pt] \starttext {\tfa\setupinterlinespace \ConTeXt\par}\\ {\tfxx\setupinterlinespace Author\par}\\ {\tfxx\setupinterlinespace\currentdate\par}\\ {\tf\setupinterlinespace

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Hans Hagen
On 4/16/2015 10:20 PM, Pablo Rodriguez wrote: On 04/16/2015 09:51 PM, Hans Hagen wrote: On 4/16/2015 6:50 PM, Pablo Rodriguez wrote: [...] I’m afraid it might be a bug. hm, more likely a fix (prevdepth or so) \startbuffer[a] \ruledvbox{x\tfa \setupinterlinespace \strut \ConTeXt

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled with

Re: [NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 10:50 PM, Hans Hagen wrote: On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: [...] Compiled with latest beta, line numbers are partly off the page: http://www.ousia.tk/latestbeta-linenumbers.png. Compiled with beta from 2014.03.07 11:42, they fit in the page:

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
Hi Hans is it correct, that with the new beta one can just use rgb-colors using tikz or is there a bug preventing the usage of cmyk-colors as it used to work before? Thanks! Christian PS.: See mail below for MWE showing false cmyk colors in tikz. 2015-04-14 11:54 GMT+02:00 Christian Prim

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
On 4/16/2015 9:34 PM, Christian Prim wrote: Hi Hans is it correct, that with the new beta one can just use rgb-colors using tikz or is there a bug preventing the usage of cmyk-colors as it used to work before? cmyk should work ok but afaik tikz assumes rgb in some cases so that prohibits

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Wikified. http://wiki.contextgarden.net/Command/setupfancybreak http://wiki.contextgarden.net/Modules/fancybreak Might need some corrections and additions. ___ If your question is of interest to others as well,

Re: [NTG-context] wrong vertical spacing in latest beta

2015-04-16 Thread Pablo Rodriguez
On 04/16/2015 09:51 PM, Hans Hagen wrote: On 4/16/2015 6:50 PM, Pablo Rodriguez wrote: [...] I’m afraid it might be a bug. hm, more likely a fix (prevdepth or so) \startbuffer[a] \ruledvbox{x\tfa \setupinterlinespace \strut \ConTeXt \par \strut x\par}\blank

[NTG-context] imposition not working in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, I’m afraid that imposition is not working with latest beta. Either the command (it crashes): context --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape a.pdf Or the following sample has no text in output: \setuppapersize [A5][A4,landscape] \setuparranging [2UP]

Re: [NTG-context] imposition not working in latest beta

2015-04-16 Thread Hans Hagen
On 4/16/2015 11:21 PM, Pablo Rodriguez wrote: Hans, I’m afraid that imposition is not working with latest beta. indeed, also side effect of the mp upgrade .. fixed in next beta - Hans

[NTG-context] Change counter of chapters (sections, subsections...)

2015-04-16 Thread Jaroslav Hajtmar
Hello ConTeXistI need to start writing any text from 53 page and such from the 5th chapter (or section). It is possible in a similar way as I set the start page number set also the counter of chapters (sections)? Here is my minimal example: \starttext \chapter{Fictive chapter} \chapter{Fictive

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
On 4/16/2015 11:32 PM, Pablo Rodriguez wrote: On 04/16/2015 10:50 PM, Hans Hagen wrote: On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: [...] Compiled with latest beta, line numbers are partly off the page: http://www.ousia.tk/latestbeta-linenumbers.png. Compiled with beta from 2014.03.07 11:42,

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Thu, 16 Apr 2015, Thangalin wrote: \define\thinrule\fancybreak Or \definefancybreak[thinrule][symbol=star] I wish there was a custom context-writer for pandoc, where markdown elements were mapped to semantic commands rather than visual commands (pandoc maps **text** to {\bf text},

[NTG-context] Caption location with vertical \startplacefigure

2015-04-16 Thread Rik Kabel
How can I get the caption for the vertical figures (figures 2 and 4 in the example) aligned below the figures with the caption width limited to the figure width? Sorry for the noise -- I am sure I am missing something simple, but I cannot find it at this point. (Running current beta and

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
On 4/16/2015 11:29 PM, Christian Prim wrote: Hi Hans sorry to ask again. But the different color handling between context-version before 2015.04.14 00:54 and context-version 2015.04.14 00:54 is remarkable and annoying. See attached pdf-documents. Both have exactly the same source:

Re: [NTG-context] Index items

2015-04-16 Thread Robert Blackstone
On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl wrote To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] Index items Message-ID: 552fbb35.9050...@wxs.nl Content-Type: text/plain; charset=utf-8; format=flowed On 4/15/2015 11:41 PM, Robert Blackstone wrote: