Re: [NTG-context] [wiki] fake account spam

2013-04-05 Thread Leo Arnold

On 04/05/2013 04:09 PM, Arthur Reutenauer wrote:

   Adding an actual captcha seems like the way to go; it may not prevent
all automated account creations, but it clearly filters much better than
a static list of questions with plain-text answers.


... or have them write a letter of motivation and require three letters 
of recommendation from already renowned ConTeXt users ;-)

___
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] Running heads, American style.

2013-04-05 Thread Mica Semrick
Hi John,

Perhaps http://wiki.contextgarden.net/Command/setupheadertexts will be of
some help? Though, the wiki page does not list the [text] argument in your
second command. I'm not sure that ConTeXt sees recto and verso, as the wiki
page talks of even and odd pages.

HTH,
Mica


On Fri, Apr 5, 2013 at 3:16 PM, john Culleton  wrote:

> Since I spent the better part of two days puzzling over this
> simple task I thought I would share. The American style for
> running heads for non-fiction books is to have the current chapter on the
> left (verso) page and the current section on the right (recto)
> page. The text for each is near the spine and the page number near the
> outside edge. The layout must be set doublesided in context. Two
> commands are pertinent:
>
> \setupheader[leftstyle=bold,rightstyle=bold]
> \setupheadertexts[text][section][pagenumber][pagenumber][chapter]
>
> On the actual page spread the chapter title wll be on the laft of
> the spread and the section title on the right. But the
> \setupheadertexts command has them reversed. The recto gets
> described first and then the verso. The manual describes them
> otherwise. left then right, but it is really right, then left.
> Also the location parameter (first bracket pair) is mandatory for this
> kind of header setup. And just putting [] won't work. You have to
> specify a location.
>
> Now old hands will have memorized all these peculiarities long
> ago. I write this for beginners at the context game, like me.
>
> --
> John Culleton
> Wexford Press
> Free list of books for self-publishers:
> http://wexfordpress.net/shortlist.html
> PDF e-book: "Create Book Covers with Scribus"
> available at http://www.booklocker.com/books/4055.html
>
> ___
> 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
___

[NTG-context] Running heads, American style.

2013-04-05 Thread john Culleton
Since I spent the better part of two days puzzling over this
simple task I thought I would share. The American style for
running heads for non-fiction books is to have the current chapter on the
left (verso) page and the current section on the right (recto)
page. The text for each is near the spine and the page number near the
outside edge. The layout must be set doublesided in context. Two
commands are pertinent: 

\setupheader[leftstyle=bold,rightstyle=bold]
\setupheadertexts[text][section][pagenumber][pagenumber][chapter]

On the actual page spread the chapter title wll be on the laft of
the spread and the section title on the right. But the
\setupheadertexts command has them reversed. The recto gets
described first and then the verso. The manual describes them
otherwise. left then right, but it is really right, then left.
Also the location parameter (first bracket pair) is mandatory for this
kind of header setup. And just putting [] won't work. You have to
specify a location. 

Now old hands will have memorized all these peculiarities long
ago. I write this for beginners at the context game, like me. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___
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] \setcharacterspacing[frenchpunctuation] not working

2013-04-05 Thread Hans Hagen

On 4/5/2013 6:21 PM, Peter Münster wrote:

Hi,

With the latest beta, \setcharacterspacing[frenchpunctuation] is no more
working.


ah, side effect of optimization with an undefined var ... fixed in next 
upload


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] \setcharacterspacing[frenchpunctuation] not working

2013-04-05 Thread Peter Münster
Hi,

With the latest beta, \setcharacterspacing[frenchpunctuation] is no more
working.

Example:
--8<---cut here---start->8---
\setcharacterspacing[frenchpunctuation]
\starttext
bla: bla
\stoptext
--8<---cut here---end--->8---

How could I get back the desired spacing please?

TIA for any help,
-- 
   Peter
___
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] [wiki] fake account spam

2013-04-05 Thread Alan BRASLAU
On Fri, 5 Apr 2013 15:59:47 +0200
Mojca Miklavec  wrote:

> some context-specific question (honestly: if
> users don't know how to answer some slightly more tricky question,
> they shouldn't be able to get the account). We could use questions
> like "Last name of president of ConTeXt User Group."

Uh... ?

Why not some *really* tricky question like: "what keyword is to be used to 
right-justify?" :)

Alan
___
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] Resetting enumeration numbers

2013-04-05 Thread Willi Egger
Great! It works now as expected. Thank you Hans for the fix!

Willi
On Apr 5, 2013, at 4:08 PM, Willi Egger wrote:

> Thank you folks!
> 
> about the synchronization I did not write, but in my case there was also 
> something with interference when using subsubject paragraphs inside a 
> section, then the counter was reset although I had set the "way=bysection"...
> 
> 
> I will now donwload the latest beta and see 
> 
> Thanks!
> 
> Willi
> On Apr 4, 2013, at 11:13 PM, Hans Hagen wrote:
> 
>> On 4/4/2013 10:45 PM, Matthias Weber wrote:
>>> This might not be the best way to do it, but when I need it, I use
>>> 
>>> \resetnumber[problem]
>>> 
>>> for my
>>> 
>>> \startproblem
>>> 
>>> \stopproblem
>>> 
>>> enumeration.
>> 
>> \defineenumeration[test]
>> 
>> \setupenumeration[test][way=bysection]
>> 
>> \starttext
>>   \startsection[title=one]
>>   \starttest alpha \stoptest
>>   \starttest beta  \stoptest
>>   \stopsection
>>   \startsection[title=two]
>>   \starttest alpha \stoptest
>>   \starttest beta  \stoptest
>>   \stopsection
>> \stoptext
>> 
>> -
>> Hans Hagen | PRAGMA ADE
>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>   tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>>| www.pragma-pod.nl
>> -
>> ___
>> 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
> ___

___
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] [wiki] fake account spam

2013-04-05 Thread Arthur Reutenauer
> 3.) Install something like
> http://www.mediawiki.org/wiki/Extension:ConfirmAccount and/or maybe
> use both captcha and some context-specific question

  Adding an actual captcha seems like the way to go; it may not prevent
all automated account creations, but it clearly filters much better than
a static list of questions with plain-text answers.

Arthur
___
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] Resetting enumeration numbers

2013-04-05 Thread Willi Egger
Thank you folks!

about the synchronization I did not write, but in my case there was also 
something with interference when using subsubject paragraphs inside a section, 
then the counter was reset although I had set the "way=bysection"...


I will now donwload the latest beta and see 

Thanks!

Willi
On Apr 4, 2013, at 11:13 PM, Hans Hagen wrote:

> On 4/4/2013 10:45 PM, Matthias Weber wrote:
>> This might not be the best way to do it, but when I need it, I use
>> 
>> \resetnumber[problem]
>> 
>> for my
>> 
>> \startproblem
>> 
>> \stopproblem
>> 
>> enumeration.
> 
> \defineenumeration[test]
> 
> \setupenumeration[test][way=bysection]
> 
> \starttext
>\startsection[title=one]
>\starttest alpha \stoptest
>\starttest beta  \stoptest
>\stopsection
>\startsection[title=two]
>\starttest alpha \stoptest
>\starttest beta  \stoptest
>\stopsection
> \stoptext
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
> ___
> 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
___


Re: [NTG-context] [wiki] fake account spam

2013-04-05 Thread Mojca Miklavec
On Fri, Apr 5, 2013 at 3:43 PM, Philipp Gesang  wrote:
> Hi all,
>
> I’d like to draw your attention to the wiki. The spammers appear
> to know the solution to the current entry barrier “What is
> usually the last command in a ConTeXt source file (without the
> backslash)?”, and the number of fake accounts is growing fast:
>
>   http://wiki.contextgarden.net/Special:Log/newusers
>
> They don’t, however, seem to vandalize yet, so I guess the postal
> code of Hasselt is unbreakable with today’s technology ;-)
> Nevertheless the account spam is messing up the recent changes
> feed:
>
>   http://wiki.contextgarden.net/index.php?title=Special:RecentChanges&feed=rss
>
> Even if it’s not urgent, may I suggest we collect possible
> replacements for the current question? I can’t image the damage
> those accounts would do once they figure out how to post links.

It would probably be best to:

1.) Remove all those account (attention: some users are actually
legitimate and contributed valid content).

2.) Find out if there is any problematic IP and block those IPs.

3.) Install something like
http://www.mediawiki.org/wiki/Extension:ConfirmAccount and/or maybe
use both captcha and some context-specific question (honestly: if
users don't know how to answer some slightly more tricky question,
they shouldn't be able to get the account). We could use questions
like "Last name of president of ConTeXt User Group."

I haven't been on wiki for a while and received a warning about the
issue yesterday.

Mojca
___
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] math: ± and ∓ are shifted

2013-04-05 Thread Hans Hagen

On 4/5/2013 9:32 AM, Hans Hagen wrote:

On 4/5/2013 2:16 AM, Khaled Hosny wrote:

On Fri, Apr 05, 2013 at 12:55:40AM +0200, Hans Hagen wrote:

On 4/5/2013 12:13 AM, Aditya Mahajan wrote:

On Fri, 5 Apr 2013, Hans Hagen wrote:


On 4/4/2013 11:44 PM, Aditya Mahajan wrote:

On Thu, 4 Apr 2013, Xenia wrote:


Hi context list,

I noticed that the ∓ sign is a little higher than the ± sign, so
that
the + signs are at the same height. But this looks strange and
should be
changed.


Indeed. These look very odd. I tested this with cambria and the
outcome
is similar, so this is not a font bug, but something wrong in
ConTeXt's
math handling.


I'm not sure if I understand the issue

- lm has + and - touching with the + in the same position as the
regular +

- cambria has a gap between + and - and moves the + up and down

Afaik context isn't doing any magic here as these are precomposed
glyphs that directly map.

$a \ruledhbox{$+$} b \ruledhbox{$-$} c$

$a \ruledhbox{$±$} b \ruledhbox{$∓$} c$

they are 'binary' in math mode, just like + and -


The question is not about the shape of the glyph, but their location.
But after looking at the output of latex for CM and Cambria, I am no
longer sure what the correct output should be. For Cambria, ConTeXt and
LaTeX give similar outputs. For CM/LM they give different outputs.


it looks like the open type version has a fitting boundingbox while
the type 1 variants have a bit of the + sticking out:


CFF fonts do not store bounding box info anywhere, the engine just
calculates it based on glyph outlines. For TFM fonts the metrics can be
adjusted to achieve specific alignment.


Sure, but one can 'cheat' with the boundingboxes as they're not cropboxes.

It's no big deal to adapt some metrics in mkiv, but best have the font
do the job.


Experimental in beta:

\definefontfeature [lm-math] [mathdimensions=signs]

\starttext

\startTEXpage[offset=10pt]
$x \ruledhbox{$\pm$} x \ruledhbox{$\mp$} x$
\stopTEXpage

\stoptext

(explanation in font manual, not yet uploaded)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] [wiki] fake account spam

2013-04-05 Thread Philipp Gesang
Hi all,

I’d like to draw your attention to the wiki. The spammers appear
to know the solution to the current entry barrier “What is
usually the last command in a ConTeXt source file (without the
backslash)?”, and the number of fake accounts is growing fast:

  http://wiki.contextgarden.net/Special:Log/newusers

They don’t, however, seem to vandalize yet, so I guess the postal
code of Hasselt is unbreakable with today’s technology ;-)
Nevertheless the account spam is messing up the recent changes
feed:

  http://wiki.contextgarden.net/index.php?title=Special:RecentChanges&feed=rss

Even if it’s not urgent, may I suggest we collect possible
replacements for the current question? I can’t image the damage
those accounts would do once they figure out how to post links.

Best
Philipp




pgp65HhUyQTK7.pgp
Description: PGP signature
___
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] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Hans Hagen

On 4/5/2013 2:57 PM, Sietse Brouwer wrote:


I didn't get around to working on the man pages these past 2 weeks.
Now, I just saw this timing plan on the TeX Live website:
http://www.tug.org/texlive/


No hurry with that ... it's not like context users are using those pages 
frequently. Lets's stick with what we have not for texlive 2013 and let 
improvements go into versions after current.




March 27: sources committed, builds begin.
April 8: tlnet (and TL'12) frozen, tlpretest starts, CTAN updates
continue there.
May 20: complete freeze for final build, no more updates, final doc
tweaks, always more testing.

Does this mean any improvements to the man pages should be in on April
8; or that you want them May 20; or has the deadline already passed
and are any improvements due next year? Mojca, perhaps you know this?


Unless something is badly broken we'll freeze, won't we? At some point I 
want to go ahead,


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian

On 5 avr. 2013, at 14:48, Wolfgang Schuster  wrote:

> 
> Am 05.04.2013 um 11:31 schrieb Otared Kavian :
> 
>> 
>> On 4 avr. 2013, at 23:13, Hans Hagen  wrote:
>>> […]
>>> \defineenumeration[test]
>>> 
>>> \setupenumeration[test][way=bysection]
>>^
>> This should rather be
>>  \setupenumerations[test][way=bysection]
> 
> No, \setupenumeration is the correct command for MkIV, the plural form
> \setupenumerations is only a synonym and was added for backwards 
> compatibility.

Thanks Wolfgang, of course you are right and somehow I overlooked this change…
However on the Garden, there is a description for \setupenumerations
http://wiki.contextgarden.net/Command/setupenumerations
but nothing about \ setupenumeration. Later today I'll add a few words on the 
latter to the wiki.

Best regards: OK___
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] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Mojca Miklavec
On Fri, Apr 5, 2013 at 2:57 PM, Sietse Brouwer wrote:
> Hello all,
>
> I didn't get around to working on the man pages these past 2 weeks.
> Now, I just saw this timing plan on the TeX Live website:
> http://www.tug.org/texlive/
>
> March 27: sources committed, builds begin.
> April 8: tlnet (and TL'12) frozen, tlpretest starts, CTAN updates
> continue there.
> May 20: complete freeze for final build, no more updates, final doc
> tweaks, always more testing.
>
> Does this mean any improvements to the man pages should be in on April
> 8; or that you want them May 20; or has the deadline already passed
> and are any improvements due next year? Mojca, perhaps you know this?

The first import of a recent ConTeXt into TeX Live should happen
around 8th April, but there will be time for updates and to fix
problems after that.

I believe that 20th May should be fine (but the date is not set in
stone yet, so it may vary a bit depending on feedback and problems).

Mojca
___
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] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Arthur Reutenauer
> Does this mean any improvements to the man pages should be in on April
> 8; or that you want them May 20; or has the deadline already passed
> and are any improvements due next year? Mojca, perhaps you know this?

  The tlnet freeze means that there won't be any updates to TeX Live
2012 from that point, i. e., existing installations of TeX Live 2012
won't get any package updates using tlmgr. The relevant date for you is
20 May.

Arthur
___
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] TeX Live 2013 --- until when can we work on the man pages?

2013-04-05 Thread Sietse Brouwer
Hello all,

I didn't get around to working on the man pages these past 2 weeks.
Now, I just saw this timing plan on the TeX Live website:
http://www.tug.org/texlive/

March 27: sources committed, builds begin.
April 8: tlnet (and TL'12) frozen, tlpretest starts, CTAN updates
continue there.
May 20: complete freeze for final build, no more updates, final doc
tweaks, always more testing.

Does this mean any improvements to the man pages should be in on April
8; or that you want them May 20; or has the deadline already passed
and are any improvements due next year? Mojca, perhaps you know this?

Cheers,
Sietse
___
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] Resetting enumeration numbers

2013-04-05 Thread Wolfgang Schuster

Am 05.04.2013 um 11:31 schrieb Otared Kavian :

> 
> On 4 avr. 2013, at 23:13, Hans Hagen  wrote:
>> […]
>> \defineenumeration[test]
>> 
>> \setupenumeration[test][way=bysection]
>^
> This should rather be
>   \setupenumerations[test][way=bysection]

No, \setupenumeration is the correct command for MkIV, the plural form
\setupenumerations is only a synonym and was added for backwards compatibility.

Wolfgang

___
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] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian

On 4 avr. 2013, at 23:13, Hans Hagen  wrote:
> […]
> \defineenumeration[test]
> 
> \setupenumeration[test][way=bysection]
   ^
This should rather be
\setupenumerations[test][way=bysection]

Best regards: OK

> 
> \starttext
>\startsection[title=one]
>\starttest alpha \stoptest
>\starttest beta  \stoptest
>\stopsection
>\startsection[title=two]
>\starttest alpha \stoptest
>\starttest beta  \stoptest
>\stopsection
> \stoptext
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
> ___
> 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
___

Re: [NTG-context] Setupparagraphnumbering

2013-04-05 Thread Diego Depaoli
2013/4/4 Wolfgang Schuster :
>
> Am 04.04.2013 um 13:48 schrieb Diego Depaoli :
>
[...]
> It works with the current betty in the context suite but I can’t speak about 
> texlive.
I confirm, it works in current, it doesn't in texlive

Many thanks

-- 
Diego Depaoli
___
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] mathcases look different in mathalign and formula

2013-04-05 Thread Hans Hagen

On 4/5/2013 8:46 AM, Tobias Columbus wrote:

Hi Hans,

A few days ago, I started a similar thread on the Lucida mailing list at
TUG. Karl Berry said that they'd discuss and look for a method to
achieve a consistent look of braces in Lucida.

Thanks for telling about the strut=no option. I'll try it this weekend,
but I think it will solve my problem for now. I'll try to remind you of
the mathcases macros... We'll see ;)


beware: strut=yes is now the default

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] math: ± and ∓ are shifted

2013-04-05 Thread Hans Hagen

On 4/5/2013 2:16 AM, Khaled Hosny wrote:

On Fri, Apr 05, 2013 at 12:55:40AM +0200, Hans Hagen wrote:

On 4/5/2013 12:13 AM, Aditya Mahajan wrote:

On Fri, 5 Apr 2013, Hans Hagen wrote:


On 4/4/2013 11:44 PM, Aditya Mahajan wrote:

On Thu, 4 Apr 2013, Xenia wrote:


Hi context list,

I noticed that the ∓ sign is a little higher than the ± sign, so that
the + signs are at the same height. But this looks strange and
should be
changed.


Indeed. These look very odd. I tested this with cambria and the outcome
is similar, so this is not a font bug, but something wrong in ConTeXt's
math handling.


I'm not sure if I understand the issue

- lm has + and - touching with the + in the same position as the
regular +

- cambria has a gap between + and - and moves the + up and down

Afaik context isn't doing any magic here as these are precomposed
glyphs that directly map.

$a \ruledhbox{$+$} b \ruledhbox{$-$} c$

$a \ruledhbox{$±$} b \ruledhbox{$∓$} c$

they are 'binary' in math mode, just like + and -


The question is not about the shape of the glyph, but their location.
But after looking at the output of latex for CM and Cambria, I am no
longer sure what the correct output should be. For Cambria, ConTeXt and
LaTeX give similar outputs. For CM/LM they give different outputs.


it looks like the open type version has a fitting boundingbox while
the type 1 variants have a bit of the + sticking out:


CFF fonts do not store bounding box info anywhere, the engine just
calculates it based on glyph outlines. For TFM fonts the metrics can be
adjusted to achieve specific alignment.


Sure, but one can 'cheat' with the boundingboxes as they're not cropboxes.

It's no big deal to adapt some metrics in mkiv, but best have the font 
do the job.


Hans


--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___