Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Taco Hoekwater

Alan BRASLAU wrote:


Furthermore, \setupfloats [indentnext=yes] is somewhat strange.
I suppose that it might make sense not to indent a new paragraph
following a section title, etc. but does it really make sense not
to indent a NEW paragraph following a break such as a displayed
figure, table, or formula, etc.?


Definitely so: almost all of the (non-science) layout specifications
I have seen in my professional work request exactly this behavior.

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
___


[NTG-context] automatic lettrine

2010-02-11 Thread Alan BRASLAU
I like the \usemodule [lettrine] package
(a quick and dirty conversion of the LaTeX package of the same name).

It would be nice to include this functionality (perhaps cleaned-up)
in the ConTeXt base macros. Then, it would also be nice to be able
to activate an automatic mechanism to begin a first paragraph
at some level (\chapter, \section, ... as defined, by default none)
with a lettrine without having to explicitly use:

\lettrine{O}{nce} upon a time...

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] What do you miss in ConTeXt?

2010-02-11 Thread Steffen Wolfrum

Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:

 Hi all,
 
 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?



I miss a command to force a manual line break at any point in a \hyphenatedurl 
string.

Like, e.g. * in 
\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}


Steffen
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Taco Hoekwater

Steffen Wolfrum wrote:

Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:


Hi all,

ConTeXt has many features but sometimes there is something missing, what 
feature or package do you miss which is already available in another TeX system 
or unavailable in any TeX system?




I miss a command to force a manual line break at any point in a \hyphenatedurl 
string.

Like, e.g. * in 
\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}


+1 for this idea.


___
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] What do you miss in ConTeXt?

2010-02-11 Thread Hans Hagen

On 11-2-2010 9:43, Steffen Wolfrum wrote:


Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:


Hi all,

ConTeXt has many features but sometimes there is something missing, what 
feature or package do you miss which is already available in another TeX system 
or unavailable in any TeX system?




I miss a command to force a manual line break at any point in a \hyphenatedurl 
string.

Like, e.g. * in 
\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}



is * never part of a url then?

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] What do you miss in ConTeXt?

2010-02-11 Thread Vedran Miletić

 is * never part of a url then?

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -


According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to
denote all newsgroups from specific category. It is never used for
specifiying a single URL.

Regards,

-- 
Vedran Miletić
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote:

 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?

Hello Wolfgang,

It would be nice, to specify a background-color for some text, but without
that the background of one line touches the background of the line below.

Illustration of what I'm looking for:

\setupinterlinespace[line=1cm] % just to make the example more obvious
\definetextbackground[myBG][background=color, backgroundcolor=green,
  % backgroundheight=1ex, % does not work
  % height=1ex,   % does not work
frame=off]
\starttext
bla bla \startmyBG \dorecurse{30}{bla }\stopmyBG bla bla
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Mon, Feb 08 2010, Wolfgang Schuster wrote:

 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?

Hello,

What about collecting these feature requests somewhere at a central point,
for example at http://tracker.luatex.org/ and keeping their status updated.

It would also be nice, to have milestones attached to each request, so that
users know how long to wait.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] What do you miss in ConTeXt?

2010-02-11 Thread Taco Hoekwater

Vedran Miletić wrote:

is * never part of a url then?


According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to
denote all newsgroups from specific category. It is never used for
specifiying a single URL.


Still, * can appear unencoded in any url, in either pathinfo or in
GET arguments, so * is not always the best thing to use. It is better
have it configurable (but default to *)

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] What do you miss in ConTeXt?

2010-02-11 Thread Sebastien Mengin
Le 10 févr. 2010 à 03:04, Wolfgang Schuster a écrit:
 Am 10.02.10 10:07, schrieb Sebastien Mengin:

 1. French quotation marks

 \quotation{...}

 There I should probably dive in the doc cause I'd be surprised nothing
 is set up for the following issue, but, in French, if we have a
 quotation in a quotation, the second pair of quotation marks shoud
 appear as `` and ''.

 \quotation{Citation \quotation{exemple}}

 If I do \quotation{Citation ``exemple''} the result is incorrect.

 \quotation{Citation \quote{exemple}}

Right, thanks.
I'd like to be able to do « Citation ``citation'' », though.
(Put clearly, I'm not sure I like the \quotaion{} mecanism.)

At the moment, the : `` actually prints literally, instead of printing
an english left double-quote.

-- 
Sébastien Mengin
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.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] What do you miss in ConTeXt?

2010-02-11 Thread Steffen Wolfrum

Am 11.02.2010 um 10:37 schrieb Hans Hagen:

 On 11-2-2010 9:43, Steffen Wolfrum wrote:
 
 Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
 
 Hi all,
 
 ConTeXt has many features but sometimes there is something missing, what 
 feature or package do you miss which is already available in another TeX 
 system or unavailable in any TeX system?
 
 
 
 I miss a command to force a manual line break at any point in a 
 \hyphenatedurl string.
 
 Like, e.g. * in 
 \hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
 
 
 is * never part of a url then?


This was just an example. Maybe | is a better glyph.

Is this the only problem to find a character that is not used as part of a 
valid URL?


Steffen
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Alan BRASLAU
On Thursday 11 February 2010 11:10:19 Sebastien Mengin wrote:
 Le 10 févr. 2010 à 03:04, Wolfgang Schuster a écrit:
  Am 10.02.10 10:07, schrieb Sebastien Mengin:
  1. French quotation marks
 
  \quotation{...}
 
  There I should probably dive in the doc cause I'd be surprised nothing
  is set up for the following issue, but, in French, if we have a
  quotation in a quotation, the second pair of quotation marks shoud
  appear as `` and ''.
 
  \quotation{Citation \quotation{exemple}}
 
  If I do \quotation{Citation ``exemple''} the result is incorrect.
 
  \quotation{Citation \quote{exemple}}
 
 Right, thanks.
 I'd like to be able to do « Citation ``citation'' », though.
 (Put clearly, I'm not sure I like the \quotaion{} mecanism.)
 
 At the moment, the : `` actually prints literally, instead of printing
 an english left double-quote.
 

In this case, use: « Citation “citation” »

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] What do you miss in ConTeXt?

2010-02-11 Thread Steffen Wolfrum

Am 11.02.2010 um 11:08 schrieb Taco Hoekwater:

 Vedran Miletić wrote:
 is * never part of a url then?
 According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to
 denote all newsgroups from specific category. It is never used for
 specifiying a single URL.
 
 Still, * can appear unencoded in any url, in either pathinfo or in
 GET arguments, so * is not always the best thing to use. It is better
 have it configurable (but default to *)


Yes. To have it configurable sounds great ;o)

Steffen
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Sebastien Mengin
Le 11 févr. 2010 à 11:12, Steffen Wolfrum a écrit:
  I miss a command to force a manual line break at any point in a 
  \hyphenatedurl string.
  
  Like, e.g. * in 
  \hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}

+1 also.

  is * never part of a url then?
 
 This was just an example. Maybe | is a better glyph.

What about ¶ ?

-- 
Sébastien Mengin
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.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] [translation] Context, an excursion

2010-02-11 Thread Sebastien Mengin
Hi,

More than a year ago, I started to participate to the translation
project of the context for the beginers guide: ConTeXt, an excursion.

For some reasons, I had to stop this.

Now, I'd like to try again. Is this doc still accurate?
I mean, does it worth to work on its translation or should I wait
for another version?

Thanks,
-- 
Sébastien Mengin
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.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] indent lost after \placefigure

2010-02-11 Thread Alan BRASLAU
On Thursday 11 February 2010 08:57:21 Alan BRASLAU wrote:
 On Thursday 11 February 2010 05:07:15 Wolfgang Schuster wrote:
  Am 11.02.10 02:14, schrieb Tom:
   When I place a figure at the bottom of a page, everything is fine if it
   splits a paragraph, but if it falls between paragraphs, indentation of
   at least one of the paragraphs, generally the one coming after the
   figure, is lost. It appears that this has been a problem for some
   people over the years.
 
  \setupfloats[indentnext=yes]
 

An opposite feature is also strange - minimal example:

\setupindenting [medium,yes]
\starttext
A paragraph, including an itemized list:
\startitemize [joinedup,packed]
\item first
\item second
\stopitemize
The following text is indented. It is not a new paragraph.
\stoptext

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] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Vedran Miletić wrote:

 According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to
 denote all newsgroups from specific category. It is never used for
 specifiying a single URL.

So, http://pmrb.free.fr/tmp/file*with*stars; is not allowed???
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] indent lost after \placefigure

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Alan BRASLAU wrote:

 An opposite feature is also strange - minimal example:
 
 \setupindenting [medium,yes]
 \starttext
 A paragraph, including an itemized list:
 \startitemize [joinedup,packed]
 \item first
 \item second
 \stopitemize
 The following text is indented. It is not a new paragraph.
 \stoptext

\setupitemize[indentnext=auto] % should be default value everywhere IMHO

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] Fwd: Re: [off-list] Rotated footnotes?

2010-02-11 Thread Hans Hagen



 Original Message 
Subject: Re: [off-list] Rotated footnotes?
Date: Thu, 11 Feb 2010 11:30:00 +0100
From: Taco Hoekwater t...@elvenkind.com
To: Steffen Wolfrum cont...@post.werksatz.com, Hans Hagen pra...@wxs.nl

Taco Hoekwater wrote:

Steffen Wolfrum wrote:

Am 11.02.2010 um 10:07 schrieb Taco Hoekwater:


Steffen Wolfrum wrote:

Hi Taco,
there really is no clean way to get a rotated figure/label/footnote
page?

Not that I know of, no. Unless you would consider actually rotating the
entire page 90 degrees a solution?


No, the actual page (width, height, position of pagenumber/header)
sould be the same.
It should be as shown in my faked example ... only in a right way.


Perhaps Hans can come up with a method for the \localfootnotes to use
(and update) the global footnote number. The rest of my hack is a ugly,
but functional. Hans?


new beta ... some fixes to footnotes (automigrate works with local now) 
... also lastcolumn fix (might break something else, not sure about that 
yet)


\automigrateinserts

\starttext

\setupnotes[continue=yes]

\input tufte

\input tufte \footnote{oeps}

\startstandardmakeup
\setuptabulate[before=,after=]
\rotate [rotation=90] \bgroup \vbox to \textwidth \bgroup
\hsize\textheight
\startlocalnotes[footnote]
\placefigure [fixed] {} {
\starttabulate
\NC test \footnote{\input tufte } \NC \input tufte \NC \NR
\NC test \NC \input tufte \NC \NR
\stoptabulate
}
\vfill
\strut
\placelocalnotes[footnote]
\stoplocalnotes
\egroup \egroup
\stopstandardmakeup

\input tufte \footnote{oeps}

\starttabulate
\NC test \footnote{\input tufte } \NC \input tufte \NC \NR
\NC test \NC \input tufte \NC \NR
\stoptabulate

\stoptext
___
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] [translation] Context, an excursion

2010-02-11 Thread Alain Delmotte

Hi!

Sebastien Mengin a écrit :

Hi,

More than a year ago, I started to participate to the translation
project of the context for the beginers guide: ConTeXt, an excursion.
  

participate ! Does it mean there is a group doing this?

For some reasons, I had to stop this.

Now, I'd like to try again. Is this doc still accurate?
I mean, does it worth to work on its translation or should I wait
for another version?
  

I think ConTeXt, an excursion reflects mkII.
It should be updated for mkIV. (I think)

I am ready to participate.

--
Alain


___
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] What do you miss in ConTeXt?

2010-02-11 Thread Taco Hoekwater

Peter Münster wrote:

On Thu, Feb 11 2010, Vedran Miletić wrote:


According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to
denote all newsgroups from specific category. It is never used for
specifiying a single URL.


So, http://pmrb.free.fr/tmp/file*with*stars; is not allowed???


No, the RFC only says that news:*; has a defined meaning. You can
have * in lots of locations in an URL, just not in scheme or domain
names.

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] What do you miss in ConTeXt?

2010-02-11 Thread Hans Hagen

On 11-2-2010 10:55, Peter Münster wrote:

\setupinterlinespace[line=1cm] % just to make the example more obvious
\definetextbackground[myBG][background=color, backgroundcolor=green,
   % backgroundheight=1ex, % does not work
   % height=1ex,   % does not work
frame=off]
\starttext
bla bla \startmyBG \dorecurse{30}{bla }\stopmyBG bla bla
\stoptext


\starttext

\startbuffer
\definebar
  [backbar]
  [offset=1.5,rulethickness=2.4,color=blue,
   continue=yes,order=background]

\definebar
  [forebar]
  [offset=1.5,rulethickness=2.4,color=blue,
   continue=yes,order=foreground]
\stopbuffer

\typebuffer \getbuffer

The following example code looks messy but this has to do with
the fact that we want properly spaced sample injection.

\startbuffer
from here
\startcolor[white]%
\startbar[backbar]%
\input zapf
\removeunwantedspaces
\stopbar
\stopcolor
\space till here
\blank
from here
\startbar[forebar]%
\input zapf
\removeunwantedspaces
\stopbar
\space till here
\stopbuffer

\typebuffer \getbuffer

\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] indent lost after \placefigure

2010-02-11 Thread Alan BRASLAU
On Thursday 11 February 2010 02:14:12 Tom wrote:
 When I place a figure at the bottom of a page, everything is fine if it
 splits a paragraph, but if it falls between paragraphs, indentation of at
 least one of the paragraphs, generally the one coming after the figure, is
 lost. It appears that this has been a problem for some people over the
 years.

On Thursday 11 February 2010 13:23:43 Peter Münster wrote:
 
 \setupitemize[indentnext=auto] % should be default value everywhere IMHO
 

So here is the `bug' related to this entire thread -- minimal example:

\setupindenting [medium,yes]
\setupfloats [indentnext=auto]

\starttext
\input knuth
\placefigure [here] {none} {\externalfigure [cow]}

\input knuth
\stoptext

Doesn't work, but \setupfloats [indentnext=yes]
forces knuth after the figure to be indented.

Alan

PS: Your opinion is not so humble, and I do not really see the rational
why indentnext=no is the default for most things* rather than indentnext=auto.

*OK, perhaps \setupheads...

PPS: Subject: What do you miss in ConTeXt?
On Tuesday 09 February 2010 19:51:13 Hans Hagen wrote:
 
 \composemanual [title=The real context manual,writingstyle=knuth]
 
Let's do it!
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Peter Münster
On Thu, Feb 11 2010, Hans Hagen wrote:

 \definebar
   [backbar]
   [offset=1.5,rulethickness=2.4,color=blue,
continue=yes,order=background]

Great, many thanks for this hidden feature!

What is the logic behind offset and rulethickness (the units and the
reference point)?
(I played a bit with offset=0 and different rulethicknesses...)

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] YABQ - yet another bib question

2010-02-11 Thread Thomas A. Schmitz
Hi all,

it was quite heartwarming to see how many of us rallied for better 
bibliographical support when Wolfgang asked what we missed most in ConTeXt... 
And it's wonderful to see that a new structure for the entire bibliographical 
stuff is on its way. Hans's xml-based approach will make things much easier 
than the obsolete bibtex stuff, I'm sure.

In the meantime, I'm still struggling with our old bib stuff and have one 
question. I would like to have two different reference mechanisms for the cite 
commands and within the publication list. For normal cite commands, I would 
like authornum Author [1], whereas in the publicationlist itself only the num 
[1]. AFAICS, \setuppublications[refcommand=authornum] will influence both 
types. Is there a setup option for this, or is a hack needed?

All best

Thomas
___
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] YABQ - yet another bib question

2010-02-11 Thread Taco Hoekwater

Thomas A. Schmitz wrote:

Hi all,

it was quite heartwarming to see how many of us rallied for better
bibliographical support when Wolfgang asked what we missed most in
ConTeXt... And it's wonderful to see that a new structure for the
entire bibliographical stuff is on its way. Hans's xml-based approach
will make things much easier than the obsolete bibtex stuff, I'm
sure.

In the meantime, I'm still struggling with our old bib stuff and have
one question. I would like to have two different reference mechanisms
for the cite commands and within the publication list. For normal
cite commands, I would like authornum Author [1], whereas in the
publicationlist itself only the num [1]. AFAICS,
\setuppublications[refcommand=authornum] will influence both types.
Is there a setup option for this, or is a hack needed?


I expect adding a \setuppublications[refcommand=num] just before the
\completepublications will work.

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] YABQ - yet another bib question

2010-02-11 Thread Thomas A. Schmitz

On Feb 11, 2010, at 3:35 PM, Taco Hoekwater wrote:

 Is there a setup option for this, or is a hack needed?
 
 I expect adding a \setuppublications[refcommand=num] just before the
 \completepublications will work.
 
 Best wishes,
 Taco

And right you are! I should've thought of that myself! Thanks Taco!

Thomas
___
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] What do you miss in ConTeXt?

2010-02-11 Thread Hans Hagen

On 11-2-2010 14:48, Peter Münster wrote:

On Thu, Feb 11 2010, Hans Hagen wrote:


\definebar
   [backbar]
   [offset=1.5,rulethickness=2.4,color=blue,
continue=yes,order=background]


Great, many thanks for this hidden feature!

What is the logic behind offset and rulethickness (the units and the
reference point)?
(I played a bit with offset=0 and different rulethicknesses...)


will be in an upcoming maps article and i'm hesitant to put the text 
online before it's published


see end of node-rul.mkiv ... you can do underline etc by manipulating 
these values


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] two buglets

2010-02-11 Thread Thomas A. Schmitz
Hi all,

working on a book project with index and bibliography, I discovered two small 
bugs (at least I think they are bugs):

1. index sorts uppercase letters after lowercase letters. Minimal example:

\starttext

\index{Aardvark}Aardvark

\index{azygous}azygous

\page

\setupregister[index][n=1]
\placeregister[index]

\stoptext

I would expect azygous to follow Aardvark, but it is sorted before.

2. (Maybe not a bug, but a somewhat unfriendly behavior): When a \cite command 
refers to a non-existent key and sort=bbl, ConTeXt bombs out with a lua error:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/bibl-tra.lua:77: 
attempt to compare nil with number
stack traceback:
...text/tex/texmf-context/tex/context/base/bibl-tra.lua:77: in function 
...text/tex/texmf-context/tex/context/base/bibl-tra.lua:76
[C]: in function 'sort'
...text/tex/texmf-context/tex/context/base/bibl-tra.lua:84: in function 
'flush'
main ctx instance:1: in main chunk.
\typesetpubslist ...hacks.flush(\@@pbsorttype )}
  \doendoflist 
\dodoplacepublications ...sttrue \typesetpubslist 
  \inpublistfalse \endgroup ...
l.37 \placepublications[criterium=all]
  
minimal example (the typo \cite[clarke199] instead of \cite[clarke1999a] is 
there on purpose to demonstrate the problem):

\setuppublications[state=start,
   sorttype=bbl,
   refcommand=authornum,
   numbering=yes]

\setuppublicationlist[samplesize={VSdK90},totalnumber=2]

\startpublication[k=champion2004,t=book,
a={{Champion}},y=2004,
n=10,s=Cha04]
\author[]{Craige~B.}[C.~B.]{}{Champion}
\pubyear{2004}
\title{Cultural Politics in Polybius's {\em Histories}}
\city{Berkeley}
\pubname{Univ. of California Pr.}
\stoppublication

\startpublication[k=clarke1999a,t=book,
a={{Clarke}},y=1999b,
n=9,s=Cla99b]
\author[]{Katherine}[K.]{}{Clarke}
\pubyear{1999\maybeyear{b}}
\title{Between Geography and History: Hellenistic Constructions of the Roman
  World}
\city{Oxford}
\pubname{Oxford UP}
\stoppublication

\starttext

\cite[champion2004]

\cite[clarke199]

\page

\placepublications[criterium=all]

\stoptext

Could this error be handled more gracefully, i.e. intercepted?

All best

Thomas
___
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] two buglets

2010-02-11 Thread Hans Hagen

On 11-2-2010 16:52, Thomas A. Schmitz wrote:

Hi all,

working on a book project with index and bibliography, I discovered two small 
bugs (at least I think they are bugs):

1. index sorts uppercase letters after lowercase letters. Minimal example:

\starttext

\index{Aardvark}Aardvark

\index{azygous}azygous

\page

\setupregister[index][n=1]
\placeregister[index]

\stoptext

I would expect azygous to follow Aardvark, but it is sorted before.



are you sure that that's the convention for english? it's easy to change 
it ...


\startluacode
sorters.mappings['en'] = {
[a] =  2, [b] =  4, [c] =  6, [d] =  8, [e] = 10,
[f] = 12, [g] = 14, [h] = 16, [i] = 18, [j] = 20,
[k] = 22, [l] = 24, [m] = 26, [n] = 28, [o] = 30,
[p] = 32, [q] = 34, [r] = 36, [s] = 38, [t] = 40,
[u] = 42, [v] = 44, [w] = 46, [x] = 48, [y] = 50,
[z] = 52,
[A] =  1, [B] =  3, [C] =  5, [D] =  7, [E] =  9,
[F] = 11, [G] = 13, [H] = 15, [I] = 17, [J] = 19,
[K] = 21, [L] = 23, [M] = 25, [N] = 27, [O] = 29,
[P] = 31, [Q] = 33, [R] = 35, [S] = 37, [T] = 39,
[U] = 41, [V] = 43, [W] = 45, [X] = 47, [Y] = 49,
[Z] = 51,
}
\stopluacode

\starttext
\index{Aardvark}Aardvark \par
\index{azygous}azygous
\placeregister[index][n=1]
\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] two buglets

2010-02-11 Thread Hans Hagen

On 11-2-2010 16:52, Thomas A. Schmitz wrote:


2. (Maybe not a bug, but a somewhat unfriendly behavior): When a \cite command 
refers to a non-existent key and sort=bbl, ConTeXt bombs out with a lua error:


so what do you expect? to drop that entry? or else, what default key to 
use?


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] two buglets

2010-02-11 Thread Thomas A. Schmitz

On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:

 are you sure that that's the convention for english? it's easy to change it 
 ...
 
 \startluacode
 sorters.mappings['en'] = {
[a] =  2, [b] =  4, [c] =  6, [d] =  8, [e] = 10,
[f] = 12, [g] = 14, [h] = 16, [i] = 18, [j] = 20,
[k] = 22, [l] = 24, [m] = 26, [n] = 28, [o] = 30,
[p] = 32, [q] = 34, [r] = 36, [s] = 38, [t] = 40,
[u] = 42, [v] = 44, [w] = 46, [x] = 48, [y] = 50,
[z] = 52,
[A] =  1, [B] =  3, [C] =  5, [D] =  7, [E] =  9,
[F] = 11, [G] = 13, [H] = 15, [I] = 17, [J] = 19,
[K] = 21, [L] = 23, [M] = 25, [N] = 27, [O] = 29,
[P] = 31, [Q] = 33, [R] = 35, [S] = 37, [T] = 39,
[U] = 41, [V] = 43, [W] = 45, [X] = 47, [Y] = 49,
[Z] = 51,
 }
 \stopluacode
 
 \starttext
\index{Aardvark}Aardvark \par
\index{azygous}azygous
\placeregister[index][n=1]
 \stoptext

No, I'm not sure at all. All I can say is that a quick check in my scholarly 
books didn't bring up a single example where uppercase and lowercase were 
treated differently. If I apply your code, I will have the same problem with 
Azygous - aardvark. How would I write the table so that lowercase and 
uppercase are not distinguished at all? I tried

\startluacode
sorters.mappings['en'] = {
   [a] =  1, [b] =  2, [c] =  3, [d] =  4, [e] = 5,
   [f] = 6, [g] = 7, [h] = 8, [i] = 9, [j] = 10,
   [k] = 11, [l] = 12, [m] = 13, [n] = 14, [o] = 15,
   [p] = 16, [q] = 17, [r] = 18, [s] = 19, [t] = 20,
   [u] = 21, [v] = 22, [w] = 23, [x] = 24, [y] = 25,
   [z] = 26,
}
\stopluacode

but that didn't work.

Thomas
___
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] indent lost after \placefigure

2010-02-11 Thread Aditya Mahajan

On Thu, 11 Feb 2010, Alan BRASLAU wrote:


PS: Your opinion is not so humble, and I do not really see the rational
why indentnext=no is the default for most things* rather than indentnext=auto.


Below is my understanding of ConTeXt's design principle (Hans or Taco should
correct me if I am wrong). Content should be separate from presentation. This
means that indentation should be a function of semantics, and not of how you
format your source. So

some text ...
\startitemize
  \item
  \item
\stopitemize
some more text

and

some text

\startitemize
   \item
   \item
\stopitemize

some more text ...

should give the same result. If you want an item group that does not start a
paragraph, and an item group that starts a new paragraph, then they are two
different objects and you should define two different environments for them.

\defineitemgroup[spitemize] %single para
[indentnext=no,
 before=\blank,
 after=\blank]

   \defineitemgroup[mpitemize] %multi para
   [indentnext=yes,
before={\blank[big]},
after={\blank[big]}]


Then you can use \startspitemize or \startmpitemize dependening on what you
want. The way you format the source does not matter.

Aditya
___
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] two buglets

2010-02-11 Thread David Rogers

* Hans Hagen pra...@wxs.nl [2010-02-11 18:17]:

are you sure that that's the convention for english? it's easy to 
change it ...


I've never seen an ordinary English index that was sorted by case.
English indexes should definitely default to case-insensitive.

(Has anyone here ever been asked for an index in English sorted by
case?)


--
David
___
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] [translation] Context, an excursion

2010-02-11 Thread Aditya Mahajan

On Thu, 11 Feb 2010, Alain Delmotte wrote:


Hi!

Sebastien Mengin a écrit :

Hi,

More than a year ago, I started to participate to the translation
project of the context for the beginers guide: ConTeXt, an excursion.


participate ! Does it mean there is a group doing this?


http://wiki.contextgarden.net/ConTeXt_on_Excursion%2C_translations


For some reasons, I had to stop this.

Now, I'd like to try again. Is this doc still accurate?
I mean, does it worth to work on its translation or should I wait
for another version?


I think ConTeXt, an excursion reflects mkII.
It should be updated for mkIV. (I think)

I am ready to participate.


Also see

http://foundry.supelec.fr/gf/project/contextman/scmsvn/

Aditya___
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] zotero

2010-02-11 Thread Salil Sayed
Hi,

Today I checked zotero plugin for openoffice and was very impressed with its 
functionality and ease of use. Currently I have to export my bibliographies to 
bibtex format from zotero and then use it through the bibtex module in context. 
I think this is a awkward way.

Can there be a closer connection? a zotero plugin or context module? Or will it 
be an editor function?

Forgive me if i am ignorant of any development. I searched.

Best,

Salil



  ___
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] indent lost after \placefigure

2010-02-11 Thread Alan BRASLAU
On Thursday 11 February 2010 18:55:01 Aditya Mahajan wrote:
 On Thu, 11 Feb 2010, Alan BRASLAU wrote:
  PS: Your opinion is not so humble, and I do not really see the rational
  why indentnext=no is the default for most things* rather than
  indentnext=auto.
 
 Below is my understanding of ConTeXt's design principle (Hans or Taco
  should correct me if I am wrong). Content should be separate from
  presentation. This means that indentation should be a function of
  semantics, and not of how you format your source. So
 
  some text ...
  \startitemize
\item
\item
  \stopitemize
  some more text
 
 and
 
  some text
 
  \startitemize
 \item
 \item
  \stopitemize
 
  some more text ...
 
 should give the same result. If you want an item group that does not start
  a paragraph, and an item group that starts a new paragraph, then they are
  two different objects and you should define two different environments for
  them.
 
  \defineitemgroup[spitemize] %single para
  [indentnext=no,
   before=\blank,
   after=\blank]
 
 \defineitemgroup[mpitemize] %multi para
 [indentnext=yes,
  before={\blank[big]},
  after={\blank[big]}]
 
 
 Then you can use \startspitemize or \startmpitemize dependening on what you
 want. The way you format the source does not matter.
 
 Aditya

That is really ugly: different cases of itemize...

If indeed the design principle that you describe is true,
then I would *strongly* argue that one should get rid of
a blank line separating paragraphs and *require* the use of \par

I don't totally agree with this, as I think that the document source
should look as simple as possible, and paragraphs separated by blank
lines do a lot to make the text readable, more so than

\par
A new paragraph.

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] indent lost after \placefigure

2010-02-11 Thread Aditya Mahajan

On Thu, 11 Feb 2010, Alan BRASLAU wrote:


On Thursday 11 February 2010 18:55:01 Aditya Mahajan wrote:

On Thu, 11 Feb 2010, Alan BRASLAU wrote:

PS: Your opinion is not so humble, and I do not really see the rational
why indentnext=no is the default for most things* rather than
indentnext=auto.


Below is my understanding of ConTeXt's design principle (Hans or Taco
 should correct me if I am wrong). Content should be separate from
 presentation. This means that indentation should be a function of
 semantics, and not of how you format your source. So

 some text ...
 \startitemize
   \item
   \item
 \stopitemize
 some more text

and

 some text

 \startitemize
\item
\item
 \stopitemize

 some more text ...

should give the same result. If you want an item group that does not start
 a paragraph, and an item group that starts a new paragraph, then they are
 two different objects and you should define two different environments for
 them.

 \defineitemgroup[spitemize] %single para
 [indentnext=no,
  before=\blank,
  after=\blank]

\defineitemgroup[mpitemize] %multi para
[indentnext=yes,
 before={\blank[big]},
 after={\blank[big]}]


Then you can use \startspitemize or \startmpitemize dependening on what you
want. The way you format the source does not matter.

Aditya


That is really ugly: different cases of itemize...


Agreed. That is a matter of personal preference. you can always add 
indentnext=auto to \setupitemize (I always do that for formulas) or 
indentnext=yes|no to individual itemize.



If indeed the design principle that you describe is true,


what I said was how I understand things, and I may be completely wrong 
here.



then I would *strongly* argue that one should get rid of
a blank line separating paragraphs and *require* the use of \par


AFAIU, tex does not differentiate between blank lines and \par 
(unless you change the catcode of eol).



I don't totally agree with this, as I think that the document source
should look as simple as possible, and paragraphs separated by blank
lines do a lot to make the text readable, more so than


And I am suggesting that adding blank lines around ALL environments, 
without changing the output.


In any case, ConTeXt is flexible to allow you to use whichever style you 
prefer. It just defaults to one thing. You can have a 'autoindent' module 
that adds indent=auto to all \setup commands.


Aditya
___
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] two buglets

2010-02-11 Thread Hans Hagen

On 11-2-2010 18:35, Thomas A. Schmitz wrote:


On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:


are you sure that that's the convention for english? it's easy to change it ...

\startluacode
sorters.mappings['en'] = {
[a] =  2, [b] =  4, [c] =  6, [d] =  8, [e] = 10,
[f] = 12, [g] = 14, [h] = 16, [i] = 18, [j] = 20,
[k] = 22, [l] = 24, [m] = 26, [n] = 28, [o] = 30,
[p] = 32, [q] = 34, [r] = 36, [s] = 38, [t] = 40,
[u] = 42, [v] = 44, [w] = 46, [x] = 48, [y] = 50,
[z] = 52,
[A] =  1, [B] =  3, [C] =  5, [D] =  7, [E] =  9,
[F] = 11, [G] = 13, [H] = 15, [I] = 17, [J] = 19,
[K] = 21, [L] = 23, [M] = 25, [N] = 27, [O] = 29,
[P] = 31, [Q] = 33, [R] = 35, [S] = 37, [T] = 39,
[U] = 41, [V] = 43, [W] = 45, [X] = 47, [Y] = 49,
[Z] = 51,
}
\stopluacode

\starttext
\index{Aardvark}Aardvark \par
\index{azygous}azygous
\placeregister[index][n=1]
\stoptext


No, I'm not sure at all. All I can say is that a quick check in my scholarly books 
didn't bring up a single example where uppercase and lowercase were treated 
differently. If I apply your code, I will have the same problem with Azygous - 
 aardvark. How would I write the table so that lowercase and uppercase are not 
distinguished at all? I tried

\startluacode
sorters.mappings['en'] = {
[a] =  1, [b] =  2, [c] =  3, [d] =  4, [e] = 5,
[f] = 6, [g] = 7, [h] = 8, [i] = 9, [j] = 10,
[k] = 11, [l] = 12, [m] = 13, [n] = 14, [o] = 15,
[p] = 16, [q] = 17, [r] = 18, [s] = 19, [t] = 20,
[u] = 21, [v] = 22, [w] = 23, [x] = 24, [y] = 25,
[z] = 26,
}
\stopluacode

but that didn't work.


just give them the same code, so A=1, a=1

(we could make that an option: upper first, lower first, mixed)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] tabs in Lilypond

2010-02-11 Thread Vyatcheslav Yatskovsky

Hello,

Maybe it's wrong place to ask, but does anybody know how to typeset 
guitar tabulatures in Lilypond?


And is ConTeXt Lilypond module is up to date?

Vyatcheslav
___
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] zotero

2010-02-11 Thread Hans Hagen

On 11-2-2010 19:55, Salil Sayed wrote:

Hi,

Today I checked zotero plugin for openoffice and was very impressed with its 
functionality and ease of use. Currently I have to export my bibliographies to 
bibtex format from zotero and then use it through the bibtex module in context. 
I think this is a awkward way.

Can there be a closer connection? a zotero plugin or context module? Or will it 
be an editor function?

Forgive me if i am ignorant of any development. I searched.


as i never use bibliographies i have no clue what zotero is but we could 
probably read it in (asusming it's xml) just like a bibtex file


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] indent lost after \placefigure

2010-02-11 Thread Tom
This works, but my problem may be self-inflicted by my code for chapter
first pages. I want different a different first page format for the
introduction, contents and appendices than I have for regular chapters. I
suppose that \chapter can be fed parameters other than the chapter name, but
can't find them described in the manual. It isn't clear to me if \setuphead
can be used for these non-standard chapters.

Tom 

-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Alan BRASLAU
Sent: Thursday, February 11, 2010 8:41 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] indent lost after \placefigure

On Thursday 11 February 2010 02:14:12 Tom wrote:
 When I place a figure at the bottom of a page, everything is fine if it
 splits a paragraph, but if it falls between paragraphs, indentation of at
 least one of the paragraphs, generally the one coming after the figure, is
 lost. It appears that this has been a problem for some people over the
 years.

On Thursday 11 February 2010 13:23:43 Peter Münster wrote:
 
 \setupitemize[indentnext=auto] % should be default value everywhere IMHO
 

So here is the `bug' related to this entire thread -- minimal example:

\setupindenting [medium,yes]
\setupfloats [indentnext=auto]

\starttext
\input knuth
\placefigure [here] {none} {\externalfigure [cow]}

\input knuth
\stoptext

Doesn't work, but \setupfloats [indentnext=yes]
forces knuth after the figure to be indented.

Alan

PS: Your opinion is not so humble, and I do not really see the rational
why indentnext=no is the default for most things* rather than
indentnext=auto.

*OK, perhaps \setupheads...

PPS: Subject: What do you miss in ConTeXt?
On Tuesday 09 February 2010 19:51:13 Hans Hagen wrote:
 
 \composemanual [title=The real context manual,writingstyle=knuth]
 
Let's do it!

___
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] chapter headers (was: indent lost after \placefigure)

2010-02-11 Thread Wolfgang Schuster

Am 11.02.10 20:50, schrieb Tom:

This works, but my problem may be self-inflicted by my code for chapter
first pages. I want different a different first page format for the
introduction, contents and appendices than I have for regular chapters. I
suppose that \chapter can be fed parameters other than the chapter name, but
can't find them described in the manual. It isn't clear to me if \setuphead
can be used for these non-standard chapters.
   

you can use context’s document structure environments and change the layout
for the chapter pages in the front- and backmatter

\startsectionblockenvironment[frontpart]

\setuphead[chapter][...]

\stopsectionblockenvironment

\startsectionblockenvironment[appendix]

\setuphead[chapter][...]

\stopsectionblockenvironment

\starttext

\startfrontmatter

\chapterIntroduction}

\complecontent

\stopfrontmatter

\startbodymatter

% the content

\stopbodymatter

\startappendices

\chapter{A appendix chapter}

\stopappendices

\stoptext

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
___


[NTG-context] [bib] getting full author(s)'s name(s)

2010-02-11 Thread Philipp Gesang
Good evening,


how do I retrieve an author's (or editor's) full name in the correct
order (little endian: first name(s) -- surname) from a bib entry?

I can do stuff like \getcitedata[author1] but that does leave me with
only one of many.

I'm convinced the answer lies somewhere hidden in bibl-tra.mkiv inside
\complexbibdef and particularly \specialbibinsert but I can't grasp the
relevant part (getting the list) of it.

Thanks very much,


Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpbOp1sKOqcO.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] zotero

2010-02-11 Thread Salil Sayed


zotero is a firefox plugin (hence a wrapped javascript object) that uses an 
sqlite database. there is another firefox zotero plugin for openoffice which 
adds a toolbar to openoffice and lets you choose the citations and styles from 
within dialog boxes and dynamically change/update them.

So we can either

1. access it through firefox while firefox is open
2. or write a zotero plugin to export in a format more suitable for context 
(.bbl?). Zotero also exports to various other formats including its own Zotero 
RDF.
3. or have an plugin in an editor which lets us choose citation directly from 
an open firefox instance

or a combination of these.

zotero is only 4 years old and was downloaded 4million times in last year 
according to its website http://www.zotero.org . Considering that it is used 
only by academic researchers it is a huge phenomena. 

Salil




From: Hans Hagen pra...@wxs.nl
To: mailing list for ConTeXt users ntg-context@ntg.nl
Cc: Salil Sayed salil...@yahoo.com
Sent: Thu, February 11, 2010 9:32:57 PM
Subject: Re: [NTG-context] zotero

On 11-2-2010 19:55, Salil Sayed wrote:
 Hi,
 
 Today I checked zotero plugin for openoffice and was very impressed with its 
 functionality and ease of use. Currently I have to export my bibliographies 
 to bibtex format from zotero and then use it through the bibtex module in 
 context. I think this is a awkward way.
 
 Can there be a closer connection? a zotero plugin or context module? Or will 
 it be an editor function?
 
 Forgive me if i am ignorant of any development. I searched.

as i never use bibliographies i have no clue what zotero is but we could 
probably read it in (asusming it's xml) just like a bibtex file

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] two buglets

2010-02-11 Thread Thomas A. Schmitz

On Feb 11, 2010, at 8:29 PM, Hans Hagen wrote:

 just give them the same code, so A=1, a=1
 
 (we could make that an option: upper first, lower first, mixed)
 
 Hans

Thank you, Hans, that works nicely! It would be good to have this as an option. 
And I would vote for having the mixed setting as default. I wasn't even aware 
that there were indexes that sort according to case.

All best

Thomas
___
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] zotero

2010-02-11 Thread Alan BRASLAU
On Thursday 11 February 2010 22:10:31 Salil Sayed wrote:
 zotero is a firefox plugin
 

Thus, of limited generality...
___
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] tabs in Lilypond

2010-02-11 Thread David Rogers

* Vyatcheslav Yatskovsky yatskov...@gmail.com [2010-02-11 21:30]:


Hello,

Maybe it's wrong place to ask, but does anybody know how to typeset 
guitar tabulatures in Lilypond?


\new TabStaff { \clef tab c d e f g }  





And is ConTeXt Lilypond module is up to date?


Not sure about that. Last time I tried, I couldn't get it to work - but
it was probably my fault.

--
David
___
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] chapter headers (was: indent lost after \placefigure)

2010-02-11 Thread Tom
Thanks, this is very helpful. I do have a couple of questions, though.

Should I insert a section for the body of the text something like this?

\startsectionblockenvironment[bodypart]

\setuphead[chapter][...]

\stopsectionblockenvironment


\completecontent causes two blank (except for header) to be produced before
the table of contents but \placecontent doesn't. It doesn't seem to me that
the extra pages should be created. Could I have done something that caused
this?

Tom 




-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Thursday, February 11, 2010 2:59 PM
To: mailing list for ConTeXt users
Subject: [NTG-context] chapter headers (was: indent lost after \placefigure)

Am 11.02.10 20:50, schrieb Tom:
 This works, but my problem may be self-inflicted by my code for chapter
 first pages. I want different a different first page format for the
 introduction, contents and appendices than I have for regular chapters. I
 suppose that \chapter can be fed parameters other than the chapter name,
but
 can't find them described in the manual. It isn't clear to me if
\setuphead
 can be used for these non-standard chapters.

you can use context's document structure environments and change the layout
for the chapter pages in the front- and backmatter

\startsectionblockenvironment[frontpart]

\setuphead[chapter][...]

\stopsectionblockenvironment

\startsectionblockenvironment[appendix]

\setuphead[chapter][...]

\stopsectionblockenvironment

\starttext

\startfrontmatter

\chapterIntroduction}

\complecontent

\stopfrontmatter

\startbodymatter

% the content

\stopbodymatter

\startappendices

\chapter{A appendix chapter}

\stopappendices

\stoptext

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

___


___
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] chapter headers

2010-02-11 Thread Wolfgang Schuster

Am 11.02.10 22:41, schrieb Tom:

Thanks, this is very helpful. I do have a couple of questions, though.

Should I insert a section for the body of the text something like this?

\startsectionblockenvironment[bodypart]

\setuphead[chapter][...]

\stopsectionblockenvironment
   
You can do this but you don't have to, general settings for the headers 
in all
blocks can be done outside of the sectionblock environment and only 
certain setups

should be done in the block.

\completecontent causes two blank (except for header) to be produced before
the table of contents but \placecontent doesn't. It doesn't seem to me that
the extra pages should be created. Could I have done something that caused
this?
   

Who knows, i can't see what you did in your document from here.

\completecontents insert a header before the TOC while the \placecontent
produce only the TOC without a header.

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] tabs in Lilypond

2010-02-11 Thread Henning Hraban Ramm

Am 2010-02-11 um 22:42 schrieb David Rogers:

Maybe it's wrong place to ask, but does anybody know how to typeset  
guitar tabulatures in Lilypond?


\new TabStaff { \clef tab c d e f g }


BTW LilyPond's documentation was recently reworked and is really nice  
now!

(It was better than ConTeXt's before, at least WRT completeness.)


And is ConTeXt Lilypond module is up to date?


Not sure about that. Last time I tried, I couldn't get it to work -  
but

it was probably my fault.


I wouldn't blame you - it's been a while since I updated it, and it  
always just works with a few versions of LilyPond and ConTeXt.


Sorry, I've more urgent things to do, and I don't need it at the  
moment. It's limited anyway.
Probably it's easier to include LilyPond's PDFs as externalfigures if  
you have special needs.


Greetlings from Lake Constance!
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] some math symbols not working

2010-02-11 Thread Aditya Mahajan

On Mon, 8 Feb 2010, Warrence wrote:


Hi,
I was trying some math symbols and stumbled over the following commands, that 
do not work in my context documents (the comments say what's not working 
exactly). The pasted document works at http://live.contextgarden.net/ . I'm 
using the latest context-minimals as provided on the website. Is this a MkIV 
issue?


Yes. The mappings in MkIV are incomplete. Whenever you find a
missing symbol, send an email, and I will try to fix add it.


\cong


The mapping in math-vfu is wrong and it was mapping the unicode slot of cong to
the glyph for dotplus. I am attaching a file that fixes this.

However, I do not know how to proceed for \cong. \cong is one of the symbols
thar are composed from other symbols in plain tex. So, most traditional tex math
fonts (including LM) do not have that symbol. However, opentype math fonts do.
Ideally, what we want to map \cong to a font glyph, if one exists; otherwise, we
should fall back to a composed character.

Hans, we need a mechanism to implement fallbacks for math characters.


\mapsto
\hookleftarrow
\longleftarrow
\Longleftarrow
\longrightarrow
\Longrightarrow
\longleftrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\bowtie
\models
\Join


Same thing as \cong.


\blacksquare


Added


In addition: \ncong is not aligned with = and \cong


I am not sure what \ncong should map to: 0x2246 or 0x2247? There is
inconsistency between the mappings in char-def and math-vfu which can be fixed
easily once I figure out what is the correct mapping.


% the following give Undefined control sequence:
\gneq % \lneq works


Fixed.. was a typo


\Diamond  \lozenge


I am not sure which unicode slot this should map to (0x25C7?). What is the 
difference
between \diamond and \Diamond?


\lhd
\rhd
\unlhd
\unrhd


I am not sure which unicode slot they should map to. In ams mappings
\triangleleft is different from \lhd, and I cannot find the right symbols for
both.

I will investigate more for the last two sets. In the mean time, Hans can you
apply the attached patch for \blacksquare and \gneq.

Adityadiff --git a/char-def.lua b/char-def.lua
index 3aec401..5f768e3 100644
--- a/char-def.lua
+++ b/char-def.lua
@@ -54277,6 +54277,8 @@ characters.data={
   description=NORMAL SUBGROUP OF,
   direction=on,
   linebreak=al,
+  mathspec = {
+class=bin, mathname=triangleleft,
   mathclass=bin,
   mathname=triangleleft,
   mirror=0x22B3,
@@ -59806,6 +59808,8 @@ characters.data={
   description=BLACK SQUARE,
   direction=on,
   linebreak=ai,
+  mathclass=ord,
+  mathname=blacksquare,
   unicodeslot=0x25A0,
  },
  [0x25A1]={
@@ -68185,7 +68189,7 @@ characters.data={
   direction=on,
   linebreak=al,
   mathclass=relation,
-  mathname=rneq,
+  mathname=gneq,
   unicodeslot=0x2A88,
  },
  [0x2A89]={
diff --git a/math-vfu.lua b/math-vfu.lua
index 9b16357..a2e3b58 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -1126,7 +1126,7 @@ fonts.enc.math[tex-ma] = {
 [0x024C7] = 0x72, -- circleR   \circledR
 [0x024C8] = 0x73, -- circleS   \circledS
 [0x022D4] = 0x74, -- fork  \pitchfork
-[0x02245] = 0x75, -- dotplus   \dotplus
+[0x02214] = 0x75, -- dotplus   \dotplus
 [0x0223D] = 0x76, -- revsimilar\backsim
 [0x022CD] = 0x77, -- revasymptequal\backsimeq -- AM: Check this! I 
mapped it to simeq.
 [0x0231E] = 0x78, -- rightanglesw  \llcorner
___
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] some math symbols not working

2010-02-11 Thread Hans Hagen

On 12-2-2010 0:10, Aditya Mahajan wrote:


Hans, we need a mechanism to implement fallbacks for math characters.


\mapsto
\hookleftarrow
\longleftarrow
\Longleftarrow
\longrightarrow
\Longrightarrow
\longleftrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\bowtie
\models
\Join


grep for fallback in char-def.lua -)

eventually I want to solve that by using virtual characters

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] chapter headers

2010-02-11 Thread Tom
Wolfgang,

I found a spurious ] in the setuphead for the frontpart. Somehow it didn't
cause a compile error but was treated as text that I didn't notice at first.

Because I want the first pages of regular chapters to look different than
those for the contents, introduction and index, I created a
sectionblockenvironment and a setuphead for the regular chapters.

Now to figure out how to keep page numbering from starting until the
introduction without putting special code in that chapter. 

Tom 

-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Thursday, February 11, 2010 5:10 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] chapter headers

Am 11.02.10 22:41, schrieb Tom:
 Thanks, this is very helpful. I do have a couple of questions, though.

 Should I insert a section for the body of the text something like this?

 \startsectionblockenvironment[bodypart]

 \setuphead[chapter][...]

 \stopsectionblockenvironment

You can do this but you don't have to, general settings for the headers 
in all
blocks can be done outside of the sectionblock environment and only 
certain setups
should be done in the block.
 \completecontent causes two blank (except for header) to be produced
before
 the table of contents but \placecontent doesn't. It doesn't seem to me
that
 the extra pages should be created. Could I have done something that caused
 this?

Who knows, i can't see what you did in your document from here.

\completecontents insert a header before the TOC while the \placecontent
produce only the TOC without a header.

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

___


___
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] some math symbols not working

2010-02-11 Thread Aditya Mahajan

On Fri, 12 Feb 2010, Hans Hagen wrote:


On 12-2-2010 0:10, Aditya Mahajan wrote:


Hans, we need a mechanism to implement fallbacks for math characters.


\mapsto
\hookleftarrow
\longleftarrow
\Longleftarrow
\longrightarrow
\Longrightarrow
\longleftrightarrow
\Longleftrightarrow
\longmapsto
\hookrightarrow
\bowtie
\models
\Join


grep for fallback in char-def.lua -)


I mean a mechanism that actually does something :-). Try $\nsubset$.


eventually I want to solve that by using virtual characters


Should I just start adding stuff to fallback and assume that you 
will get the mechanism to work? IIRC, in the past we were not sure where 
to specify the fallback characters.


Aditya
___
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] difference texlive 2008, 2009

2010-02-11 Thread Lubos Kolouch
Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500:

 On Sun, 10 Jan 2010, Lubos Kolouch wrote:
 
 Thank you for the investigation, I will open a ticket with the buggy
 (Archlinux) texlive package.
 
 You can also my context-minimals-git package for Archlinux:
 
 http://www.ntg.nl/pipermail/ntg-context/2009/043743.html
 
 which installs the latest context-beta.
 
 Aditya
 

Hello Aditya,

I updated the package today on my system and it seems it is broken again?
The layout is wrong :(

Thank you

Lubos

___
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] [bib] getting full author(s)'s name(s)

2010-02-11 Thread Taco Hoekwater

Philipp Gesang wrote:

Good evening,


how do I retrieve an author's (or editor's) full name in the correct
order (little endian: first name(s) -- surname) from a bib entry?



I can do stuff like \getcitedata[author1] but that does leave me with
only one of many.

I'm convinced the answer lies somewhere hidden in bibl-tra.mkiv inside
\complexbibdef and particularly \specialbibinsert but I can't grasp the
relevant part (getting the list) of it.


If you are talking about \cite then the answer is not in
\specialbibinsert, but in \bibauthorref, which is quite
complicated because of sorting.

Sorry, you just can't do this right now.

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] [tex-live] difference texlive 2008, 2009

2010-02-11 Thread Taco Hoekwater

Lubos Kolouch wrote:

Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500:


On Sun, 10 Jan 2010, Lubos Kolouch wrote:


Thank you for the investigation, I will open a ticket with the buggy
(Archlinux) texlive package.

You can also my context-minimals-git package for Archlinux:

http://www.ntg.nl/pipermail/ntg-context/2009/043743.html

which installs the latest context-beta.

Aditya



Hello Aditya,

I updated the package today on my system and it seems it is broken again?
The layout is wrong :(


Me != Aditya, but I guess it would help if you explained what exactly is
wrong ...

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] [tex-live] difference texlive 2008, 2009

2010-02-11 Thread Aditya Mahajan

On Fri, 12 Feb 2010, Lubos Kolouch wrote:


Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500:


On Sun, 10 Jan 2010, Lubos Kolouch wrote:


Thank you for the investigation, I will open a ticket with the buggy
(Archlinux) texlive package.


You can also my context-minimals-git package for Archlinux:

http://www.ntg.nl/pipermail/ntg-context/2009/043743.html

which installs the latest context-beta.

Aditya



Hello Aditya,

I updated the package today on my system and it seems it is broken again?
The layout is wrong :(


Do you mean that the arch linux package context-minimals-git does not 
install, or that something is wrong in the output of a document compiled 
by ConTeXt?


Aditya
___
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
___