Re: [NTG-context] 8th ConTeXt Meeting, Bassenge-Boirs, Belgium

2014-05-09 Thread Henning Hraban Ramm
Am 2014-05-08 um 17:56 schrieb Taco Hoekwater t...@docwolves.nl:

ConTeXt Cookery
 
 which means that we are planning for talks and tutorials on both
 culinary and programming recipes and / or cookbooks.

Oh, that reminds me:
http://wiki.contextgarden.net/File:Kochloewe_c.jpg ;-)

Sorry, can’t take part, though.


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 8th ConTeXt Meeting, Bassenge-Boirs, Belgium

2014-05-09 Thread Taco Hoekwater

On 05/09/2014 09:57 AM, Henning Hraban Ramm wrote:

Am 2014-05-08 um 17:56 schrieb Taco Hoekwater t...@docwolves.nl:


ConTeXt Cookery

which means that we are planning for talks and tutorials on both
culinary and programming recipes and / or cookbooks.


Oh, that reminds me:
http://wiki.contextgarden.net/File:Kochloewe_c.jpg ;-)


And that, again, reminds me.  Would it be ok if we send your image,
along with the logo from 2011, to Duane Bibby to create this year's
logo image?

Best wishes,
Taco


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 8th ConTeXt Meeting, Bassenge-Boirs, Belgium

2014-05-09 Thread Henning Hraban Ramm

Am 2014-05-09 um 14:16 schrieb Taco Hoekwater t...@docwolves.nl:

 On 05/09/2014 09:57 AM, Henning Hraban Ramm wrote:
 Am 2014-05-08 um 17:56 schrieb Taco Hoekwater t...@docwolves.nl:
 
ConTeXt Cookery
 
 which means that we are planning for talks and tutorials on both
 culinary and programming recipes and / or cookbooks.
 
 Oh, that reminds me:
 http://wiki.contextgarden.net/File:Kochloewe_c.jpg ;-)
 
 And that, again, reminds me.  Would it be ok if we send your image,
 along with the logo from 2011, to Duane Bibby to create this year's
 logo image?

Of course!



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Two coexisting number conversions (in headers and in texts)

2014-05-09 Thread Maggyero
Hello,


How can I achieve this chapter numbering?

— page 1:

I My chapter (header)
-
First My chapter (text)

— page 2:

II My chapter (header)
--
II My chapter (text)


That is to say having every chapter number in roman numeral except the
first one but only in the text (not in the header).

For the moment I can achieve only the chapter numbering for the text but
not for the header:

\define[1]{\myconversion}{\ifcase #1\relax \or First\else
\convertnumber{Romannumerals}{#1}\fi}
\defineconversion[myconversion][\myconversion]
\setuphead[chapter][conversion=myconversion]
\setupheadertexts[{\getmarking[chapternumber]\quad\getmarking[chapter]}]

\starttext
\startchapter[title=My chapter]
\stopchapter
\startchapter[title=My chapter]
\stopchapter
\stoptext


Best regards.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \installprettytype gets me undefined control sequence

2014-05-09 Thread Xan
Hi,

With the code in http://wiki.contextgarden.net/Verbatim_with_line_breaks, I get

open source  2  3  
/home/xan/NO-SERVIDOR/Serviedre/context3/tasques.context
open source  3  4  
/home/xan/NO-SERVIDOR/Serviedre/context3/plantilles/entorn-minimal.tex
fontstypescripts  unknown library 'cmr'
fontspreloading latin modern fonts (third stage)
fonts'fallback modern-designsize rm 11pt' is loaded
colors   'rgb' color space is supported
colors   'cmyk' color space is supported

tex errorerror on line 76 in file 
/home/xan/NO-SERVIDOR/Serviedre/context3/plantilles/entorn-minimal.tex: ! 
Undefined control sequence

l.76 \installprettytype
 [BREAK][BREAK]

66\divide\BREAKmaxcharcount \wd\scratchbox
67\def\flushrestofverbatimline{\BREAKcharcounter=0 }%
68\BREAKcharcounter=0 }
69 
70 \gdef\setupprettyBREAKtype%
71   {\def\prettyidentifier{BREAK}%
72\BREAKsetcounters
73\BREAKsethandlers
74\BREAKsetspecials}
75 
76   \installprettytype[BREAK][BREAK]
77 
78 
\setuptyping[location=inmargin,option=color,numbering=line,bodyfont=small,option=BREAK,lines=hyphenated]
79 % lines=hyphenated?
80 
81 
%\defineframedtext[framedcode][strut=yes,offset=2mm,width=fit,align=right,framecorner=round]
82 %\definetyping[code][numbering=line,bodyfont=small]
83 %before={\startframedcode},after={\stopframedcode}]
84 %\setuptyping[TEX][escape=yes,numbering=line,method=type]
85 
86 %= Mòduls


? 


I have version 2014.05.08 11:18

Thanks in advance,
Xan.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \installprettytype gets me undefined control sequence

2014-05-09 Thread Rik Kabel

On 2014-05-09 09:38, Xan wrote:

Hi,

With the code in http://wiki.contextgarden.net/Verbatim_with_line_breaks, I get

open source  2  3  
/home/xan/NO-SERVIDOR/Serviedre/context3/tasques.context
open source  3  4  
/home/xan/NO-SERVIDOR/Serviedre/context3/plantilles/entorn-minimal.tex
fontstypescripts  unknown library 'cmr'
fontspreloading latin modern fonts (third stage)
fonts'fallback modern-designsize rm 11pt' is loaded
colors   'rgb' color space is supported
colors   'cmyk' color space is supported

tex errorerror on line 76 in file 
/home/xan/NO-SERVIDOR/Serviedre/context3/plantilles/entorn-minimal.tex: ! 
Undefined control sequence

l.76 \installprettytype
  [BREAK][BREAK]

66\divide\BREAKmaxcharcount \wd\scratchbox
67\def\flushrestofverbatimline{\BREAKcharcounter=0 }%
68\BREAKcharcounter=0 }
69
70 \gdef\setupprettyBREAKtype%
71   {\def\prettyidentifier{BREAK}%
72\BREAKsetcounters
73\BREAKsethandlers
74\BREAKsetspecials}
75
76   \installprettytype[BREAK][BREAK]
77
78 
\setuptyping[location=inmargin,option=color,numbering=line,bodyfont=small,option=BREAK,lines=hyphenated]
79 % lines=hyphenated?
80
81 
%\defineframedtext[framedcode][strut=yes,offset=2mm,width=fit,align=right,framecorner=round]
82 %\definetyping[code][numbering=line,bodyfont=small]
83 %before={\startframedcode},after={\stopframedcode}]
84 %\setuptyping[TEX][escape=yes,numbering=line,method=type]
85
86 %= Mòduls


?


I have version 2014.05.08 11:18


Comments found in the list archive suggest that \installprettytype was 
removed from MKIV a while back. See, for instance, 
http://www.mail-archive.com/ntg-context%40ntg.nl/msg56414.html and 
http://www.mail-archive.com/ntg-context%40ntg.nl/msg61160.html.


--
rik
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \installprettytype gets me undefined control sequence

2014-05-09 Thread Pablo Rodriguez
On 05/09/2014 03:38 PM, Xan wrote:
 Hi,
 
 With the code in http://wiki.contextgarden.net/Verbatim_with_line_breaks, I 
 get
 [...]
 76   \installprettytype[BREAK][BREAK]

Hi Xan,

I think that \setuptyping[align={right,broad}] might be what you need.

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Sanjoy Mahajan
Here's another math symbol that I think is too low: the vertical bar in
Palatino/Pagella.  Here's an almost-minimal example.  I've left in the
surrounding text, to show how it's used (in probability, as P(H|E)).

I think the bottom of the bar is correct, but the tip of the bar doesn't
reach to the top of the H or E.

\setupbodyfont[palatino]
\starttext
\placeformula\startformula
\text{P}(
H\,|\, E
)
\stopformula
\stoptext

Again, I don't think it's a ConTeXt problem, but rather a Pagella
problem.  But is there a recommended ConTeXt workaround?  Maybe a
metafun symbol?

-Sanjoy

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Otared Kavian
Hi Sanjoy,

I think that this a font related problem since in Plain TeX and mkii the 
following
$${\rm P}(H\, | \, E)$$
gives the same result as in mkiv when using the default LM fonts, and the top 
(resp. the bottom) of the bar | is aligned with the top (resp. the bottom) of 
the parentheses, while in Palatino (Pagella) this does not seem to be the case.

Best regards: OK

On 9 mai 2014, at 23:06, Sanjoy Mahajan san...@mit.edu wrote:

 Here's another math symbol that I think is too low: the vertical bar in
 Palatino/Pagella.  Here's an almost-minimal example.  I've left in the
 surrounding text, to show how it's used (in probability, as P(H|E)).
 
 I think the bottom of the bar is correct, but the tip of the bar doesn't
 reach to the top of the H or E.
 
 \setupbodyfont[palatino]
 \starttext
 \placeformula\startformula
 \text{P}(
 H\,|\, E
 )
 \stopformula
 \stoptext
 
 Again, I don't think it's a ConTeXt problem, but rather a Pagella
 problem.  But is there a recommended ConTeXt workaround?  Maybe a
 metafun symbol?
 
 -Sanjoy
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___