[NTG-context] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
Hi Developers,
Enclosed is a piece of code that demonstrates a bug in the NaturalTable 
environment when using a complex head in a multipage case. If you run the 
following code you will notice that not only does the head get repeated but 
also the first row of the body of the table. The cause appears to be [nr=2] in 
the head.

I am using
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.4.14)  6 DEC 2010 08:32
I do apologise if this is fixed in a later version. Thanks for a great program.

\bTABLE[split=repeat]
\bTABLEhead
\bTR
  \bTH[nr=2] head l\eTH
  \bTH head r\eTH
\eTR
\bTR
  \bTH head r\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR\bTD first l\eTD\bTD first r\eTD\eTR
\dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR}
\eTABLEbody
\eTABLE

--
Nigel King



___
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] bug in TABLE when there is a complex head

2010-12-06 Thread notifications
Please resend your email to questi...@arthousecoop.com

--

Hello!

I'm just a mailbox used for sending notifications and other outgoing mail to 
people. No human eyes will ever see the message you sent, and that saddens us! 
Please send your email to questi...@arthousecoop.com and we'll be sure to get 
back to you super duper fast!

Sincerely,

The Art House Co-op Team


___
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] bug in TABLE when there is a complex head

2010-12-06 Thread Taco Hoekwater

On 12/06/2010 09:40 AM, notificati...@arthousecoop.com wrote:

Please resend your email to questi...@arthousecoop.com

--

Hello!

I'm just a mailbox


subscription ended

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] pret-c.lua - v-c.lua

2010-12-06 Thread Hans Hagen

On 5-12-2010 3:06, Renaud AUBIN wrote:

Ok, I have made a first version available as a Dropbox ressource:
http://dl.dropbox.com/u/5289718/u-pretty-c.7z
It certainly needs some improvements (I have some in mind since I have
tested it on time.h ⇒ ouch). Feedbacks are welcome since I'll not use it
intensively in a near future.

Peter: could you test it? I let you add your copy(left) stuff and I will
make a public git repo on gitorious if you agree.

Hans: do you agree with the naming scheme and the copyright stuff before
I put it on gitorious?


maybe better the name t-pretty-c is better, of if you follow some 
strategy t-pretty-emacs-c or so (if there are many variants possible)


maybe you should protect the color names as for instance redefining 
darkred might not be the intention


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] Chart module: comment not visible!?

2010-12-06 Thread Verhaag, G.C.H.M.

Hi,

I wanted to try the chart module to build some flow diagrams, and tried
the example (digital signal processing!) at contextgarden.
Unfortunately, the text inside the rectangular shapes shows up properly,
but no sign of any comments visible in the generated pdf-file!

I use ConTeXt  ver: 2008.05.21 15:21 MKII together with pdfTeXk, Version
3.1415926-1.40.9 (Web2C 7.5.7).

Any help will be very much appreciated. Thanks in advance!

Regards,
Gerard Verhaag

___
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 bold font

2010-12-06 Thread Vladimir Lomov
** Hans Hagen [2010-12-04 09:55:25 +0100]:
[...]
\setupbodyfont[cambria]

\starttext
This is a test.
$a=\alpha$
$\bf a=\alpha$
$\bi a=\alpha$
\stoptext

BTW, I not sure if I use correct way to switch fonts in math mode (in
LaTeX commands to switch fonts are different in text and math mode, and
I have big LaTex background, so for me this way is unusual :).
 
 best try to convert to the unicode math approach: bold a-z is
 different unicode slots than a-z and in context the \bf command does
 that transformation on ascii a-z (you can also key in the official
 unicode chars); the benefit is that you can cut and paste the bold
 characters in pdf files i.e. you retain that property; a bold b is
 not a bold one in typographic sense but a special symbol that
 happens to use a bold rendering; in for instance a section title,
 one can have all math bold, and then this regular bold character
 will become real bold
But this is not universal solution.

Suppose I want to use serif bold italic font for vectors and sans bold
italic for tensors (this is recommendation of NIST, see sp811.pdf on
nist.gov). Of course I could enter vectors and tensors as symbols from
appropriate unicode slots but what if my publisher says me that vectors
should be in sans bold and tensors in serif bold italic? So I define
commands, like \vect and \tensor to markup what symbols are verctors and
what are tensors.

Therefore I consider context (as well as LaTeX) as sort of markup
(mix of procedural and descriptive markups).

Returning to original question: I don't check but AFAIU one can define
your own typescript and choose what fonts are used in math mode (mm?).
If current typescript (modern?, latin modern?) doesn't have bold greek
letters for math one should define new typescript and use for mm (math)
font which have bold greek letters.

P.S. I could be wrong with terms.

---
WBR, Vladimir Lomov

-- 
innovate, v.:
To annoy people.
___
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] problem in resume module

2010-12-06 Thread Hans Hagen

On 5-12-2010 12:27, Wolfgang Schuster wrote:

\starttext
\starttable[|s0l|]
\NC text \NC\NR
\stoptable
\stoptext


fixed in next beta

--

-
  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] Chart module: comment not visible!?

2010-12-06 Thread Alan BRASLAU
On Monday 06 December 2010 11:09:42 Verhaag, G.C.H.M. wrote:
 Hi,
 
 I wanted to try the chart module to build some flow diagrams, and tried
 the example (digital signal processing!) at contextgarden.
 Unfortunately, the text inside the rectangular shapes shows up properly,
 but no sign of any comments visible in the generated pdf-file!
 
 I use ConTeXt  ver: 2008.05.21 15:21 MKII together with pdfTeXk, Version
 3.1415926-1.40.9 (Web2C 7.5.7).
 
 Any help will be very much appreciated. Thanks in advance!
 
 Regards,
 Gerard Verhaag
 

Processes fine here using mkiv and the latest minimals.
I do not know about mkii...

Alan


dsp.pdf
Description: Adobe PDF document
___
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] substitute glyphs from another font

2010-12-06 Thread Hans Hagen

On 5-12-2010 3:49, Philipp Gesang wrote:

Hi again,


the font I want to use keeps, despite its being otf, small caps
and text figures in a separate file, not as features. I’m fine
with the caps but I really need text figures as default and a
switch to lining figures for the occasional table. Is there a way
for typeface A to globally substitute the glyphs for R09 with
their aequivalents from typeface B?


just use the fontfallback mechanism

-
  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] abbreviation with Umlaut fails

2010-12-06 Thread Hans Hagen

On 5-12-2010 3:42, Jonas Stein wrote:

btw, here I consistently use uppercase when command generation is enabled
\abbreviation[MPTHREE]{mp3}{Max and Peter Treehouse}
lowercase names can overload core functionality


overload core functionality? What does that mean?


\abbreviation{def}{...}
\abbreviation{bf}{...}
\abbreviation{em}{...}


-
  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] Typescript Bodoni Old Fashion

2010-12-06 Thread Hans Hagen

On 5-12-2010 1:05, Philipp Gesang wrote:

This looks very promising. I did the same thing to my font (which
is much smaller than antpołt) and had success loading it through
“\loadfontgoodies” -- but it doesn’t quite serve as a typescript
for font loading yet, does it? (Attached)


no, it's supposed to work in tandem with the spec: prefix

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] contextref vs. cont-enp; co-fonts

2010-12-06 Thread Hans Hagen

On 5-12-2010 1:23, Procházka Lukáš wrote:

Hello,

just two notices -

1) When searching for some learning stuff, I found the
cont-enp.pdf/12.11.2001 (http://www.pragma-ade.com/show-man-9.htm) which
... is the big reference manual, the one that is supposed to cover the
whole of CONTEXT..

Some time ago, I downloaded the contextref.pdf/8.10.2010
(http://pmrb.free.fr/contextref.pdf), whose content is near to that of
cont-enp.pdf.

Probably just one of both documents is supposed to be the FINAL Ctx
manual - and this [only] one should be available for download at both
sites.


probably under a different name as the historic one will be kept (for 
historic purposes)



2) Fonts: wiki refers to
http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf
(18.11.2009?), whilst the
http://www.pragma-ade.com/general/manuals/mfonts.pdf (21.11.2005) is a
cca twice wider (and newer?) document.

Furthermore, the former document has some links broken (e.g. (see
section ??) on the page 5 on the first line) and it would be nice if
the links were INTERACTIVE (e.g. (see section 1.5 to jump to the
section 1.5 of the document).

Would it be possible to make links in the mfonts.pdf interactive
(jumpable), even in the print version of the document, e.g. in TOC?

Probably just one of both documents is supposed to explain deeply the
stuff about fonts; this [only] one should be refered and available for
download.


future versions can have that property indeed

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] multipage tables - vertical space

2010-12-06 Thread Hans Hagen

On 5-12-2010 3:16, Peter Van Kranenburg wrote:

Hello all,

What's wrong with this multipage table?

\starttext
\setuptables[split=repeat]
\placetable[split,here][tab:example]{Long Table Example}{\start
\starttablehead
\HL
\VL \bf A \VL \bf B \VL\MR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\dorecurse{100}{\VL first \VL second \VL\MR}
\stoptables
\stop}
\stoptext

On each page, I get a vertical space above the footer. see:
http://syrinx.knorrie.org/~pvk/tableproblem/tableproblem.pdf


there is some hard codes tolerance:

   \def\tsplitminimumfreelines{2}%

that could be made configurable (not sure what key to use)

-
  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] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Nicola
Hi,
I have a set of specifications for a document and I am having some 
problems implementing it. I am using MKIV from TeX Live 2010. I have 
some difficulty with these requirements in particular:

1) title: 17pt, boldface, capital letters; 12pt spacing before and 3pt 
spacing after the title;

Now I use

\setuphead[title][align=middle,style={\bfd\cap},before={},after={}]

How can I ensure that the font size is exactly 17pt?
How to I specify precise vertical spacing?

3) All § must be indented 1.25cm;

\setupindenting[1.25cm,yes,first]

But the first § of each Section is not indented.

4) footnote symbol: *

I use

\setupnote[footnote][numberconversion=set 3]

but I get stars instead of asterisks.

Can you please help me with these?
Nicola

___
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] bug in TABLE when there is a complex head

2010-12-06 Thread Hans Hagen

On 6-12-2010 9:39, Nigel King wrote:

Hi Developers,
Enclosed is a piece of code that demonstrates a bug in the NaturalTable 
environment when using a complex head in a multipage case. If you run the 
following code you will notice that not only does the head get repeated but 
also the first row of the body of the table. The cause appears to be [nr=2] in 
the head.

I am using
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.4.14)  6 DEC 2010 08:32
I do apologise if this is fixed in a later version. Thanks for a great program.

\bTABLE[split=repeat]
\bTABLEhead
\bTR
   \bTH[nr=2] head l\eTH
   \bTH head r\eTH
\eTR
\bTR
   \bTH head r\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR\bTD first l\eTD\bTD first r\eTD\eTR
\dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR}
\eTABLEbody
\eTABLE


put this in cont-new.tex:

\unprotect

\def\endtblrow
  {\kern\dimexpr\tbltblrightmargindistance-\tbltblcolumndistance\relax
   \crcr
   \noalign
 {\nointerlineskip
  \ifnum\tblrow\noftblheadlines
\ifnum\gettblnob\tblrow=\zerocount
  \allowbreak
\fi
  \else
\allowbreak % else no proper head split off
  \fi
  \bgroup % protect local vars
\@@tblsplitafter
  \egroup
  \bgroup % protect local vars
\scratchcounter\numexpr\tblrow+\plusone\relax
\ifnum\scratchcounter\noftblhdnxlines\relax
  \ifnum\scratchcounter\maximumrow\relax

\doifsomething\tbltblspaceinbetween{\blank[\tbltblspaceinbetween]}%
  \fi
\fi
  \egroup}}

\protect

-
  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] margintext writes text out of range

2010-12-06 Thread Hans Hagen

On 5-12-2010 3:55, Jonas Stein wrote:

example here:
http://wiki.contextgarden.net/Reference/en/margintext

is is cut of.
I saw the same in the documentation of the fixme module. [1]


probably because the margin is larger than the backspace

-
  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] Chart module: comment not visible!?

2010-12-06 Thread Verhaag, G.C.H.M.

Alan BRASLAU wrote:


On Monday 06 December 2010 11:09:42 Verhaag, G.C.H.M. wrote:
 


Hi,

I wanted to try the chart module to build some flow diagrams, and tried
the example (digital signal processing!) at contextgarden.
Unfortunately, the text inside the rectangular shapes shows up properly,
but no sign of any comments visible in the generated pdf-file!

I use ConTeXt  ver: 2008.05.21 15:21 MKII together with pdfTeXk, Version
3.1415926-1.40.9 (Web2C 7.5.7).

Any help will be very much appreciated. Thanks in advance!

Regards,
Gerard Verhaag

   



Processes fine here using mkiv and the latest minimals.
I do not know about mkii...

Alan
 



Hi,

So it is best to upgrade!

Regards,
Gerard Verhaag
___
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] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
Hans,
Thanks very much. That works perfectly.
Nigel




From: Hans Hagen pra...@wxs.nl
To: mailing list for ConTeXt users ntg-context@ntg.nl
Cc: Nigel King ni...@nigelking.me.uk
Sent: Monday, 6 December, 2010 13:13:39
Subject: Re: [NTG-context] bug in TABLE when there is a complex head

On 6-12-2010 9:39, Nigel King wrote:
 Hi Developers,
 Enclosed is a piece of code that demonstrates a bug in the NaturalTable 
environment when using a complex head in a multipage case. If you run the 
following code you will notice that not only does the head get repeated but 
also 
the first row of the body of the table. The cause appears to be [nr=2] in the 
head.
 
 I am using
 This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.4.14)  6 DEC 2010 08:32
 I do apologise if this is fixed in a later version. Thanks for a great 
program.
 
 \bTABLE[split=repeat]
 \bTABLEhead
 \bTR
\bTH[nr=2] head l\eTH
\bTH head r\eTH
 \eTR
 \bTR
\bTH head r\eTH
 \eTR
 \eTABLEhead
 \bTABLEbody
 \bTR\bTD first l\eTD\bTD first r\eTD\eTR
 \dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR}
 \eTABLEbody
 \eTABLE

put this in cont-new.tex:

\unprotect

\def\endtblrow
  {\kern\dimexpr\tbltblrightmargindistance-\tbltblcolumndistance\relax
   \crcr
   \noalign
 {\nointerlineskip
  \ifnum\tblrow\noftblheadlines
\ifnum\gettblnob\tblrow=\zerocount
  \allowbreak
\fi
  \else
\allowbreak % else no proper head split off
  \fi
  \bgroup % protect local vars
\@@tblsplitafter
  \egroup
  \bgroup % protect local vars
\scratchcounter\numexpr\tblrow+\plusone\relax
\ifnum\scratchcounter\noftblhdnxlines\relax
  \ifnum\scratchcounter\maximumrow\relax

\doifsomething\tbltblspaceinbetween{\blank[\tbltblspaceinbetween]}%
  \fi
\fi
  \egroup}}

\protect

-
  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] pret-c.lua - v-c.lua

2010-12-06 Thread Peter Münster
On Mon, Dec 06 2010, Hans Hagen wrote:

 maybe better the name t-pretty-c is better, of if you follow some
 strategy t-pretty-emacs-c or so (if there are many variants
 possible)

The only thing in common with emacs, is the default color-scheme. You can get
any variant just by changing the color setup.
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] C Pretty Printer module for ConTeXt Mark IV (from 2010.11.26 22:49 version)

2010-12-06 Thread Peter Münster
On Sun, Dec 05 2010, Renaud AUBIN wrote:
 
 A new c pretty printer is available on gitorious
 http://gitorious.org/c-pretty-printer-module-for-context-mark-iv.

Mojca, could you please add this module to the minimals?
Perhaps we need to copy it to tlcontrib in the first place?
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] Ordering elder MAPS-issues

2010-12-06 Thread Willi Egger
Dear list users!

As mentioned in earlier mails Taco Hoekwater and Hans Hagen have set-up a 
service for ordering manuals and other books by a printing on demand service. 
The site is www.boekplan.nl. We are happy to announce, that on the same site 
there is now also a service for reordering earlier published MAPS issues. The 
site is easy to use and placing an order is only some clicks to perform.  
In case that you want a MAPS issue you miss or which you would like to replace 
please go to the site www.boekplan.nl.


Kind regards

Willi Egger
Secretaris NTG
___
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] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Wolfgang Schuster

Am 06.12.2010 um 13:46 schrieb Nicola:

 Hi,
 I have a set of specifications for a document and I am having some 
 problems implementing it. I am using MKIV from TeX Live 2010. I have 
 some difficulty with these requirements in particular:
 
 1) title: 17pt, boldface, capital letters; 12pt spacing before and 3pt 
 spacing after the title;
 
 Now I use
 
 \setuphead[title][align=middle,style={\bfd\cap},before={},after={}]
 
 How can I ensure that the font size is exactly 17pt?
 How to I specify precise vertical spacing?

\definefont[TitleStyle][SerifBold at 17pt]

\setuphead
 [title]
 [style=TitleStyle,
  textstyle=WORD,
  before={\blank[12pt]},
  after={\blank[3pt]},
  align=middle]

 3) All § must be indented 1.25cm;
 
 \setupindenting[1.25cm,yes,first]
 
 But the first § of each Section is not indented.

\setuphead
 [section]
 [indentnext=yes]

 4) footnote symbol: *
 
 I use
 
 \setupnote[footnote][numberconversion=set 3]
 
 but I get stars instead of asterisks.

How about „set 1“ or „set 2“? If none of them fits you can
create your own conversionset with

\defineconversion[nicola][*,**,***,,*,...]

\setupnote[footnote][numberconversion=nicola]

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] TABLE

2010-12-06 Thread Jörg Hagmann

Trying to use TABLE instead of \starttables...

How does one place a TABLE, with a caption?

Thanks, Jörg
___
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] TABLE

2010-12-06 Thread Aditya Mahajan

On Mon, 6 Dec 2010, Jörg Hagmann wrote:


Trying to use TABLE instead of \starttables...

How does one place a TABLE, with a caption?


\placetable
  [here,top,bottom]
  [tab:ref]
  {caption}
  {\bTABLE
   ...
   \eTABLE}

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] TABLE

2010-12-06 Thread Wolfgang Schuster

Am 06.12.2010 um 15:19 schrieb Jörg Hagmann:

 Trying to use TABLE instead of \starttables...
 
 How does one place a TABLE, with a caption?

\placetable
   {Caption}
   {\bTABLE
...
\eTABLE}

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] Math and bold font

2010-12-06 Thread Hans Hagen

On 5-12-2010 1:18, Procházka Lukáš wrote:


- So does it mean that the Vladimir's cambria case is exactly the
seldom case when regular and bold math are available, both defining
Greek chars like \alpha as well?


afaik cambria has no bold font (although it has the unicode bold 
alphabet etc)



Please, could you give more examples of normal and bold math fonts of
the same kin (to be used for normal and bold math), both having Greek
letters as well?


iwona and antykwa have four variants of boldness



- What is the relationship to AMS fonts
(http://www.ams.org/publications/authors/tex/amsfonts)? Or how to make
them accessible in Ctx document? How to make them work?


no relationship ... they are used in some of the math setups (like latin 
modern) but are of no use for (say) cambria



- - On the site it's written: ... What is AMSFonts? ... *Subscript
sizes of bold math italic and bold Greek letters* ... Because these
fonts are standard TeX fonts, they may be used with any standard TeX
system ... 


bold math italic is an alphabet and cambria has it

the virtual variants don't seem to have them so I've added fallbacks for 
them, so in the upcoming beta all these should show up


\starttext
\switchtobodyfont[iwona-light]  $ \mathgreekitalic {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par
\switchtobodyfont[iwona-light]  $ \mathgreekupright {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par


\switchtobodyfont[iwona]$ \mathgreekitalic {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par
\switchtobodyfont[iwona]$ \mathgreekupright {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par


\switchtobodyfont[iwona-medium] $ \mathgreekitalic {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par
\switchtobodyfont[iwona-medium] $ \mathgreekupright {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par


\switchtobodyfont[iwona-heavy]  $ \mathgreekitalic {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par
\switchtobodyfont[iwona-heavy]  $ \mathgreekupright {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par


\switchtobodyfont[cambria]  $ \mathgreekitalic {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par
\switchtobodyfont[cambria]  $ \mathgreekupright {\alpha} {\bf 
\alpha} {\bi \alpha} {\char1D736} $ \par

\stoptext

(needs checking by aditya)


- - Wouldn't this be exactly what I'm looking for?


I don't know

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] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Nicola
In article e4503573-6803-4484-baed-7a816726e...@gmail.com,
 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

 Am 06.12.2010 um 13:46 schrieb Nicola:
 
  Hi,
  I have a set of specifications for a document and I am having some 
  problems implementing it. I am using MKIV from TeX Live 2010. I have 
  some difficulty with these requirements in particular:
  
  1) title: 17pt, boldface, capital letters; 12pt spacing before and 3pt 
  spacing after the title;
  
  Now I use
  
  \setuphead[title][align=middle,style={\bfd\cap},before={},after={}]
  
  How can I ensure that the font size is exactly 17pt?
  How to I specify precise vertical spacing?
 
 \definefont[TitleStyle][SerifBold at 17pt]

Oh, I see... I should have read co-fonts.pdf more carefully!

   textstyle=WORD,

That's new to me.

   before={\blank[12pt]},
   after={\blank[3pt]},

Too easy :) Somehow, I had come to believe that only predefined values 
could be used (medium, big, ...)
 
  But the first § of each Section is not indented.
 
 \setuphead
  [section]
  [indentnext=yes]

That's also pretty obvious now that I see it.
 
  4) footnote symbol: *
  
  I use
  
  \setupnote[footnote][numberconversion=set 3]
  
  but I get stars instead of asterisks.
 
 How about „set 1“ or „set 2“? If none of them fits you can
 create your own conversionset with
 
 \defineconversion[nicola][*,**,***,,*,...]

Yes, this is what I need.

I must confess that I have learned more from your examples than after a 
whole afternoon browsing through the various docs :)

Thanks,
Nicola

___
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] C Pretty Printer module for ConTeXt Mark IV (from 2010.11.26 22:49 version)

2010-12-06 Thread Hans Hagen

On 6-12-2010 3:08, Peter Münster wrote:


Perhaps we need to copy it to tlcontrib in the first place?


yes, it's the only route now

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] Math and bold font: \definetypeface

2010-12-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello -

On Sun, 05 Dec 2010 22:48:47 +0100, Florian Wobbe florian.wo...@awi.de wrote:


On Dec 5, 2010, at 20:27 , Procházka Lukáš wrote:


 \definetypeface [\typescriptone] [mm] [math] [cambria] [default]


just a placeholder, which comes in handy when you want to define multiple 
entries at once:


OK, I understand.



\starttypescript [palatino,pagella]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]
\stoptypescript

is equivalent to:

\starttypescript [palatino]
  \definetypeface [palatino] [rm] [serif] [palatino] [default]
\stoptypescript
\starttypescript [pagella]
  \definetypeface [pagella] [rm] [serif] [pagella] [default]
\stoptypescript


Nice, I see.


see texmf-context/tex/context/base/type-otf.mkiv for lots of examples (BTW: 
this is the place, where cambria is defined).


 [mm] % OK, [re]define the 'mm' member of the font definition 
bundle (= typeface)
 [math]   % Why this when I just specified math to be [re]defined by 
'mm' one line above?


takes the fontsynonym from \starttypescript [math] [cambria] and not from 
\starttypescript [cambria].


OK.


again have a look at http://wiki.contextgarden.net/TypeScripts and 
texmf-context/tex/context/base/type-otf.mkiv. the examples are probably better 
than an explanation.

Florian


To be honest, this is Greek to me (and I don't mean Greek letters ;-) ). I can 
understand or estimate sometimes what a piece of code should do, but not 
altogether.

E.g. \starttypescript uses various number of args - I can see
\starttypescript [fallback] as well as
\starttypescript [serif] 
[modern,latin-modern,computer-modern,default] and
\starttypescript [serif] [modern,latin-modern,computer-modern,default] 
[name],
sometimes coupled with default (keyword?) or name (placeholder?).

- So this all doesn't bring much light to my effort.

--

To get back to my problem:

The default Ctx bodyfont (CMR) is all right for me, I don't need to change it 
(but it's possible, if it should simplify something).

I just need to redefine font(s) to be used for math and boldmath and which would allow to use Greek 
normal and bold chars. (I hope I understand well that boldmath is a bit special problem 
that requires nonstandard approach).

It's no problem to use any switch inside the math mode which would typeset bold 
letters (including Greek ones) - it may be \bf, \bfm, \msym, \mathsym, \sy ... 
- whatever.

It's also necessary NOT to type bold chars as special unicode symbols.

If I understand well, the default Ctx font - CMR - is used for typesetting 
[bold]math as well. But the problem is that it fails when typesetting bold 
Greek letters.

So that's why I'm thinking about AMS font(s), which should be contain normal 
and bold letters, including Greek ones, symbols...

So the question is - how to get AMS fonts work in the Ctx document - or maybe: 
how to replace the default math font by that of AMS.

What code - \typescript, \define???font??? - to use?

Just to make the code $Abc \alpha = {\aSwitchToBoldMath Abc \alpha} = or 
\aCommandToTypeBoldMath{Abc \alpha}$ work.


NB: I'm still beginner with Ctx. I used to typeset [bold]math in LaTeX and some 
things are done another way there --

Thank again for your patience.

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] TABLE

2010-12-06 Thread barndog1946

Jorg,

\placetable should do the trick.

I had similar question earlier.

search TABLE on the wiki, it is FULL of info

barney
___
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] Which way to type greek letters in synonym list?

2010-12-06 Thread seasoul
Dear All,

 I am setting up the synonym list. I defined it as nomenclature

\definesynonyms[nomenclature][nomenclatures][\infull]

\setupsynonyms[nomenclature] [criterium=all,location=serried]



when i type in someting like



\nomenclature{A} {Area}



it works.



But if I type

\nomenclature{$\alpha$}{Angle of something}



it fails. The reason may be only text could be used. I found the list is
sorted alphabetically. Then if I type a greek letter, the compiler does not
konw how to sort 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] TABLE

2010-12-06 Thread Jörg Hagmann
Thank you, Aditya and Wolfgang. I put the information on the wiki where 
I would have expected it.

Jörg

On 12/6/10 3:24 PM, Wolfgang Schuster wrote:

Am 06.12.2010 um 15:19 schrieb Jörg Hagmann:


Trying to use TABLE instead of \starttables...

How does one place a TABLE, with a caption?

\placetable
{Caption}
{\bTABLE
 ...
 \eTABLE}

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] TABLE

2010-12-06 Thread Jörg Hagmann

On 12/6/10 3:41 PM, barndog1...@gmail.com wrote:

search TABLE on the wiki, it is FULL of info

Now it is.
___
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] Which way to type greek letters in synonym list?

2010-12-06 Thread Andreas Harder
Hi!

 But if I type
 \nomenclature{$\alpha$}{Angle of something}
Try \nomenclature[alpha]{$\alpha$}{…}

Greeting
Andreas
___
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] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Wolfgang Schuster

Am 06.12.2010 um 15:32 schrieb Nicola:

 How can I ensure that the font size is exactly 17pt?
 How to I specify precise vertical spacing?
 
 \definefont[TitleStyle][SerifBold at 17pt]
 
 Oh, I see... I should have read co-fonts.pdf more carefully!

Just a hint, use mixed case or uppercase names for the styles
to prevent redefinitions of predefined commands.

  textstyle=WORD,
 
 That's new to me.

With the style everything in the title is printed uppercase, you can
use it in the running text with \WORD{all my letters are uppercase}.

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] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread luigi scarso
On Mon, Dec 6, 2010 at 5:06 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Just a hint, use mixed case
Camel case
-- 
luigi
___
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] Which way to type greek letters in synonym list?

2010-12-06 Thread Wolfgang Schuster

Am 06.12.2010 um 15:48 schrieb Andreas Harder:

 Hi!
 
 But if I type
 \nomenclature{$\alpha$}{Angle of something}
 Try \nomenclature[alpha]{$\alpha$}{…}

This will fail because to create a macro \alpha which expands to \alpha ...

Use uppercase letter to prevent this, when your font contains greek you can 
also use a text alpha, e.g.

\abbreviation[ALPHA]{α}{Angle of something}
\setupbodyfont[termes]
\starttext
\ALPHA
\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
___


Re: [NTG-context] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Wolfgang Schuster

Am 06.12.2010 um 17:10 schrieb luigi scarso:

 On Mon, Dec 6, 2010 at 5:06 PM, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:
 Just a hint, use mixed case
 Camel case

D’oh!

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] Module Namespaces

2010-12-06 Thread Hans Hagen

On 29-11-2010 7:17, Wolfgang Schuster wrote:


Am 18.11.2010 um 19:33 schrieb luigi scarso:


I just want to register my namespace(s) to be sure to avoid conflicts
not only for modules but also for lua code


Good idea and it’s not a problem to reserve „lscarso“ for you but i ask
myself which of these tables (luat-ini.lua) are available for users:

userdata  = userdata  or { } -- might be used
thirddata = thirddata or { } -- might be used
moduledata= moduledataor { } -- might be used
documentdata  = documentdata  or { } -- might be used
parametersets = parametersets or { } -- experimental

document  = document  or { }



userdata  = userdata  or { } -- for users (e.g. functions etc)
thirddata = thirddata or { } -- only for third party modules
moduledata= moduledataor { } -- only for development team
documentdata  = documentdata  or { } -- for users (e.g. raw data)
parametersets = parametersets or { } -- experimental for team

document  = document  or { } -- only for context itself

thirddata.lscarso = thirddata.lscarso  or { }
thirddata.lscarso.whatever = { }

function thirddata.lscarso.whatever.glasses()
  return still at bachotek
end


-
  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] Module Namespaces

2010-12-06 Thread Hans Hagen

On 29-11-2010 7:52, Philipp Gesang wrote:


If I may add to this question: I am using “job.variables” as kind
of base for my private use area (not for modules, though) -- bad
habit or valid alternative?


bad habit .. use documentdata.pg or so

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] Math and bold font

2010-12-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello -

On Mon, 06 Dec 2010 11:11:34 +0100, Vladimir Lomov lomov...@gmail.com wrote:


Suppose I want to use serif bold italic font for vectors and sans bold
italic for tensors (this is recommendation of NIST, see sp811.pdf on
nist.gov). Of course I could enter vectors and tensors as symbols from
appropriate unicode slots but what if my publisher says me that vectors
should be in sans bold and tensors in serif bold italic?


Agree.


So I define
commands, like \vect and \tensor to markup what symbols are vectors and
what are tensors.


Yes.


Returning to original question: I don't check but AFAIU one can define
your own typescript and choose what fonts to be used in math mode (mm?).
If current typescript (modern?, latin modern?) doesn't have bold greek
letters for math one should define new typescript and use for mm (math)
font which have bold greek letters.

---
WBR, Vladimir Lomov


Yes, that's what it'd gladly do; but my vision is too smoky.

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Bugs with newest beta

2010-12-06 Thread Andreas Harder
Hello Hans,

I've downloaded the newest beta, but \comments still don't work. Besides of 
that there is a curious indenting problem with delimited text definitions (and 
floats). I will attach some test files.


test-comment.tex
Description: Binary data


test-delimitedtext-indenting.tex
Description: Binary data


test-floats-identnext.tex
Description: Binary data


test-sorting.tex
Description: Binary data



Thank you in advance  

Andreas___
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] pret-c.lua - v-c.lua

2010-12-06 Thread Renaud AUBIN

20:40 nibua-r committed 9c5877c
Color abstraction.

20:33 nibua-r committed 2a2a9e1
The test file now use t-pretty-c instead of u-pretty-c.

20:31 nibua-r committed 921eca5
u-pretty-c renamed to t-pretty-c as suggested by Hans. Colors are now
protected using the C prefix.

Concerning the color abstraction patch, one needs just to overload
Ccomment, Cpreproc, Cstring, Ctype, Ckeyword, Cname and Cfuncnbound to
use custom color scheme.

Cheers,

Renaud

Le 06/12/2010 15:04, Peter Münster a écrit :
 On Mon, Dec 06 2010, Hans Hagen wrote:

 maybe better the name t-pretty-c is better, of if you follow some
 strategy t-pretty-emacs-c or so (if there are many variants
 possible)

 The only thing in common with emacs, is the default color-scheme. You can get
 any variant just by changing the color setup.
 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] \SetTableToWidth undefined?

2010-12-06 Thread Vedran Miletić
2010/11/30 Richard Stephens richard.steph...@converteam.com

 Hello all,

 I have just noticed that \SetTableToWidth does not work in MKIV.
 Simple example below.

 \starttext
\SetTableToWidth{8cm}
\starttable[|l|l|]
\NC One \NC Two \NC\SR
\NC Three \NC Four \NC\LR
\stoptable
 \stoptext

 I get the error:

 ! Undefined control sequence.
 l.3 \SetTableToWidth
 {8cm}

 It does work in MKII and also works if you use \tableSetTableToWidth.

 Have I missed something, is something wrong or is it just me?


Same here.

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
___


[NTG-context] for each script a different font

2010-12-06 Thread Peter Schorsch
Hi all,

is it possible to mix severel fonts (for each script one font)? Regarding to 
some fragments of the wiki I tried:

\setupdirections[bidi=global]

\definefontfeature[cyrl][script=cyrl]
\definefontfeature[brai][script=brai]
\definefontfeature[arab][script=arab]

\starttypescript [serif] [vollkorn]
  \definefontsynonym [Serif][name:vollkornregular]
  \definefontsynonym [Serif][name:doulossil][feature=cyrl]
  \definefontsynonym [Serif][name:scheherazade][feature=arab]
  \defomefpmtsynonym [Serif][name:sechspunktbraille][feature=brai]
\stoptypescript


\definetypeface[fliesstext][rm][serif][vollkorn]
\setupbodyfont[fliesstext,rm,11pt]

\starttext

Regular Еупгдфк цшкв уы more test text a ُءشةحمث and continue latin script 
⠇⠤⠧⠬⠀⠟⠢⠭.

\stoptext

But the last \definefontsynonym overrides the entire unicode space and not 
only the part regarding to the related script.

Is the mechanism I tried in ConTeXt possible?

___
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] Excluding XML elements

2010-12-06 Thread Daniel Grycman
Hi list,

how I can excluding an XML-elment consisting any content? Is there
something like if \xmltext{/Number} has content then do this else do
that?

Daniel


___
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] Excluding XML elements

2010-12-06 Thread Hans Hagen

On 7-12-2010 12:01, Daniel Grycman wrote:

Hi list,

how I can excluding an XML-elment consisting any content? Is there
something like if \xmltext{/Number} has content then do this else do
that?


\xmldoifelsetext{#1}{/Number}


-
  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] Interaction: Save-Button

2010-12-06 Thread Daniel Grycman
Hi list,

how can I put a save button (with fdf functionality) in the pdf using
interaction? I didn't find anything about it in the documentation. And I
am still searching for a functional solution for sending pdf data via mail
using the submit button.

Daniel


___
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] Which way to type greek letters in synonym list?

2010-12-06 Thread seasoul
Thanks to Andreas and Wolfgang,

  That's true. The uppercase letter works, the lowercase method
complains.




On Tue, Dec 7, 2010 at 12:03 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 06.12.2010 um 15:48 schrieb Andreas Harder:

  Hi!
 
  But if I type
  \nomenclature{$\alpha$}{Angle of something}
  Try \nomenclature[alpha]{$\alpha$}{...}

 This will fail because to create a macro \alpha which expands to \alpha ...

 Use uppercase letter to prevent this, when your font contains greek you can
 also use a text alpha, e.g.

 \abbreviation[ALPHA]{α}{Angle of something}
 \setupbodyfont[termes]
 \starttext
 \ALPHA
 \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

 ___




-- 
Yours Sincerely
Ba Te
___
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] margintext writes text out of range

2010-12-06 Thread Jonas Stein
 example here:
 http://wiki.contextgarden.net/Reference/en/margintext

 is is cut of.
 I saw the same in the documentation of the fixme module. [1]

 probably because the margin is larger than the backspace

How should this be fixed in the wikipages?

...and how in own documents?

-- 
Jonas Stein n...@jonasstein.de

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