Re: [NTG-context] Section title customization

2010-05-12 Thread Vladimir Lomov
** Wolfgang Schuster [2010-05-12 15:02:19 +0200]: >>Q1. >>I want to add the word 'Branch' before a number in section title. May >>be there is another way to accomplish this. I looked through manual >>(cont-eni.pdf) but didn't find another solution. >\setuplabeltext[][section=Branch ] >>Q2. >>The t

Re: [NTG-context] Context 2010.05.08 - pdfboolean problem

2010-05-12 Thread Michail Vidiassov
Dear All, You could try the mailing list, but a better approach to bug reporting is to simultaneously create a tracker item at this url: http://tracker.luatex.org/search.php?project_id=2 done that http://tracker.luatex.org/view.php?id=393 it seems pdfboolean function akways returns true if d

Re: [NTG-context] Fonts in context minimals

2010-05-12 Thread Aditya Mahajan
On Wed, 12 May 2010, John Culleton wrote: I want to identify and use a very basic kind of font, Times Roman. I have been plowing though all the fonts in context-minimal but I don't find a tfm file to meet my need, not ptm, not utm, not nimbus. ConTeXt minimals come with TeX Gyre fonts that pro

[NTG-context] Fonts in context minimals

2010-05-12 Thread John Culleton
I want to identify and use a very basic kind of font, Times Roman. I have been plowing though all the fonts in context-minimal but I don't find a tfm file to meet my need, not ptm, not utm, not nimbus. The 8r-base.map lists several good candidates but they are not in the minimals distro AFAIC

Re: [NTG-context] problem with def

2010-05-12 Thread John Culleton
On Wednesday 12 May 2010 10:52:03 Taco Hoekwater wrote: > John Culleton wrote: > > In plain pdftex I can define a string thus: > > \def\booktitle{My Book Title} > > > > and then reuse it later as > > \rightline{\bf\booktitle} > > But in Context when I use > > \rightaligned{\bf\booktitle} > > > > i

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-12 Thread Mojca Miklavec
2010/5/4 Jan Pohanka : > Minimal example is here and support files are attached. Original support can > be downloaded here: http://modules.contextgarden.net/stormfontsupport > > $$ 2 \times 2 $$ % error Dear Jan, About the first problem that you are reporting: I don't understand what the "st" in

Re: [NTG-context] problem with def

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 6:52 PM, Otared Kavian wrote: > > On 12 mai 2010, at 16:52, luigi scarso wrote: > > no problem here with last current > > \def\booktitle{My Book Title} > \showframe > \starttext > then reuse it later as > \rightline{\bf\booktitle} > But in Context when I use > \rightaligned

Re: [NTG-context] problem with def

2010-05-12 Thread Wolfgang Schuster
Am 12.05.10 16:46, schrieb John Culleton: In plain pdftex I can define a string thus: \def\booktitle{My Book Title} and then reuse it later as \rightline{\bf\booktitle} But in Context when I use \rightaligned{\bf\booktitle} it errors on the tag \booktitle I tried \the\booktitle but that didn

[NTG-context] does expandaparameters work

2010-05-12 Thread Erik Margraf
Hello, I use "\expandparameters" in a macro definition. -- \expandparameters\setupbackgrounds[page][background={\currentvalue,#1}] -- This works in MkII (texexec), but doesn't work in MkIV (context). If I define all layers in a single declaration, the results with MkII and MkIV are identical. Sho

[NTG-context] processaction inside MP graphic

2010-05-12 Thread Vianney le Clément
Hello, I'm having some trouble with a macro using \processaction inside a metapost graphic. Here is a minimal example. \def\Shape#1% {\processaction[#1] [square=>unitsquare, circle=>unitcircle]} \starttext \startuseMPgraphic{test} fill \Shape{square} scaled 1cm; \stopuseMPgraphic \us

Re: [NTG-context] problem with def

2010-05-12 Thread Otared Kavian
On 12 mai 2010, at 16:52, luigi scarso wrote: > no problem here with last current > > \def\booktitle{My Book Title} > \showframe > \starttext > then reuse it later as > \rightline{\bf\booktitle} > But in Context when I use > \rightaligned{\bf\booktitle} > \stoptext > Hi Luigi, Are you sure? I

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Aditya Mahajan wrote: On Wed, 12 May 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac{\le

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Aditya Mahajan
On Wed, 12 May 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac{\left(x_j-μ_i\right)^2}{2σ

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac{\left(x_j-μ_i\right)^2}{2σ_i^2}\biggr), \NC for $i\in\left\{1,2\right\

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Aditya Mahajan
On Wed, 12 May 2010, Mojca Miklavec wrote: 7.) I know that there's a longstanding left vs. right bug, but flushleft is no solution in the following case (compare MKII and MKIV again): \definedescription [latexdesc] [headstyle={\ss\bf},style=normal,align=left,location=hanging,width=fit,margin

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Hans Hagen
Hi, 1.) Minimal example: \usetypescript[iwona] \setupbodyfont[iwona] \starttext $a+b$ \stoptext Output: !define font: font with name Iwona-Math-Letters-Regular is not found !define font: unknown font Iwona-Math-Letters-Regular, loading aborted !define font: unable to define Iwona-

Re: [NTG-context] problem with def

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 4:46 PM, John Culleton wrote: > In plain pdftex I can define a string thus: > \def\booktitle{My Book Title} > > and then reuse it later as > \rightline{\bf\booktitle} >  But in Context when I use > \rightaligned{\bf\booktitle} > > it errors on the tag \booktitle > > I tried

Re: [NTG-context] problem with def

2010-05-12 Thread Taco Hoekwater
John Culleton wrote: In plain pdftex I can define a string thus: \def\booktitle{My Book Title} and then reuse it later as \rightline{\bf\booktitle} But in Context when I use \rightaligned{\bf\booktitle} it errors on the tag \booktitle This definitely should work, so you should post a minimal

[NTG-context] problem with def

2010-05-12 Thread John Culleton
In plain pdftex I can define a string thus: \def\booktitle{My Book Title} and then reuse it later as \rightline{\bf\booktitle} But in Context when I use \rightaligned{\bf\booktitle} it errors on the tag \booktitle I tried \the\booktitle but that didn't work either. -- John Culleton Wexford Pre

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Mojca Miklavec wrote: 5.) Weird formula number placement when long equations are used in MKIV \def\oklepaj#1{\left(#1\right)} \starttext \placeformula \startformula {\dot N}(t)= A\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{fast}+ B\oklepaj

[NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Mojca Miklavec
Dear Hans, since you have promissed another hotfix release for TL 2010, here's a list of issues that I had with my thesis and MKIV (some have already been fixed in the due time, but many remained). I probably wouldn't have had those "problems" if I was designing my document in MKIV from scratch, b

Re: [NTG-context] MKIV guide or tutorial.

2010-05-12 Thread Taco Hoekwater
John Culleton wrote: The MKIV reference guide runs over 300 pages. I am looking for something briefer that gives the basics of using MKIV, how to call it, how to use fonts and so on. Is there such a document? Right now, the wiki pages are the best resource, I think. Hans and I have plans for

Re: [NTG-context] Run context from Perl script

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 2:57 PM, John Culleton wrote: > I have texlive 2009 installed. I get the same error messages: > > bash-3.1$ context book.tex > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' > > Do I have to install context-minimals to use mkiv or is this just a > path problem?

Re: [NTG-context] Section title customization

2010-05-12 Thread Wolfgang Schuster
Am 12.05.10 09:29, schrieb Vladimir Lomov: Q1. I want to add the word 'Branch' before a number in section title. May be there is another way to accomplish this. I looked through manual (cont-eni.pdf) but didn't find another solution. \setuplabeltext[][section=Branch ] Q2. The text of second

Re: [NTG-context] Run context from Perl script

2010-05-12 Thread John Culleton
On Wednesday 12 May 2010 05:08:02 luigi scarso wrote: > On Wed, May 12, 2010 at 11:03 AM, Vnpenguin wrote: > > Hi all, > > I would like to run context from a Perl script. Within this script I > > defined environment variables (TEXMFOS, TEXMFCAHE & PATH). > > The command to run is : > > > > exec

Re: [NTG-context] Colision stoppers? Distinction MKII vs MKIV

2010-05-12 Thread Wolfgang Schuster
Am 10.05.10 21:08, schrieb Jaroslav Hajtmar: Hello. When I compile next example by MKII and MKIV I get diferent results. Is there any way to set diferent stoppers (stopper in caption and stopper in list) in MKIV? Thanx Jaroslav \setupcaption[figure][stopper={*}] \setuplist[figure][stopper={

Re: [NTG-context] Run context from Perl script

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 2:28 PM, Vnpenguin wrote: > On Wed, May 12, 2010 at 11:08, luigi scarso wrote: >>> >>> Any idea for help ? >> What about >> qx{source /opt/luatex/minimals-beta/tex/setuptex; context --silent >> --batch myfile.tex}; > > Hi luigi, > It works ! Super :) unfortunately I'm, a

Re: [NTG-context] Run context from Perl script

2010-05-12 Thread Vnpenguin
On Wed, May 12, 2010 at 11:08, luigi scarso wrote: >> >> Any idea for help ? > What about > qx{source /opt/luatex/minimals-beta/tex/setuptex; context --silent > --batch myfile.tex}; Hi luigi, It works ! Super :) Thank you, Regards _

[NTG-context] MKIV guide or tutorial.

2010-05-12 Thread John Culleton
The MKIV reference guide runs over 300 pages. I am looking for something briefer that gives the basics of using MKIV, how to call it, how to use fonts and so on. Is there such a document? -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.

Re: [NTG-context] Spot colors in mkiv

2010-05-12 Thread Hans Hagen
On 12-5-2010 12:55, Taco Hoekwater wrote: Hi Hans, Is there a nice way to get spot color names into the PDF in mkiv? I now have: {\catcode`\#=12 \gdef\hash{#}} \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79] \definespotcolor[dark][PANTONE\hash 4625][p=1] but that does not really deserve

Re: [NTG-context] Spot colors in mkiv

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 12:55 PM, Taco Hoekwater wrote: > Hi Hans, > > Is there a nice way to get spot color names into the PDF in mkiv? > > I now have: > >  {\catcode`\#=12 \gdef\hash{#}} >  \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79] >  \definespotcolor[dark][PANTONE\hash 4625][p=1] >

[NTG-context] Spot colors in mkiv

2010-05-12 Thread Taco Hoekwater
Hi Hans, Is there a nice way to get spot color names into the PDF in mkiv? I now have: {\catcode`\#=12 \gdef\hash{#}} \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79] \definespotcolor[dark][PANTONE\hash 4625][p=1] but that does not really deserve a price for elegance. Best wishes,

Re: [NTG-context] Run context from Perl script

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 11:03 AM, Vnpenguin wrote: > Hi all, > I would like to run context from a Perl script. Within this script I > defined environment variables (TEXMFOS, TEXMFCAHE & PATH). > The command to run is : > > exec("/path/to/context myfile.tex"); > > But context can not start. I have

[NTG-context] Run context from Perl script

2010-05-12 Thread Vnpenguin
Hi all, I would like to run context from a Perl script. Within this script I defined environment variables (TEXMFOS, TEXMFCAHE & PATH). The command to run is : exec("/path/to/context myfile.tex"); But context can not start. I have following error: MTXrun | unknown script 'context.lua' or 'mtx-co

[NTG-context] Open Font Garden wiki

2010-05-12 Thread Taco Hoekwater
Hi, Yesterday I installed a wiki for Open Type font information: http://www.openfontgarden.net The goal of this wiki is to collect as much (meta-)information about freely available OpenType fonts as possible: * status of the font (project) * supported character set / features * known bugs /

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-12 Thread Hans Hagen
On 12-5-2010 10:40, Honza Pohanka wrote: Dne Thu, 06 May 2010 22:13:57 +0200 Hans Hagen napsal(a): On 3-5-2010 10:09, Honza Pohanka wrote: Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have t

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-12 Thread Honza Pohanka
Dne Thu, 06 May 2010 22:13:57 +0200 Hans Hagen napsal(a): On 3-5-2010 10:09, Honza Pohanka wrote: Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that ren

Re: [NTG-context] Suppressing page number on chapter's last page

2010-05-12 Thread Piotr Kopszak
This works, but not in my case, as I absolutely need \setuppagenumbering[alternative=doublesided,location=margin] Best Piotr \definepagebreak [mychapterpagebreak] [yes,header,right] %[yes,header,left]

[NTG-context] Section title customization

2010-05-12 Thread Vladimir Lomov
Hi. Consider the following example: \setuphead[section][stopper={.}, numbercommand=\Branch, style=bold] \def\Branch#1{Branch #1} \setupcolumns[2] \starttext \startcolumns \section{This is a short title} \input knuth \section{This is not a short title either, this is a long, very very long t

Re: [NTG-context] Changing separator in BIBliography

2010-05-12 Thread Taco Hoekwater
Jaroslav Hajtmar wrote: Hello, I am using Taco's bib module in mkiv and I use only note field in misc layout. Now I have problem with setting separator of keys. I want use it in czech language and therefore I want modify separator, but I dont know relevant option. When I use in source \cite