Re: [NTG-context] abbreviation with Umlaut fails

2010-12-04 Thread Hans Hagen

On 4-12-2010 5:48, Jonas Stein wrote:

\definesynonyms[abbreviation][abbreviations]
\setupsynonyms[abbreviation][criterium=all]
\abbreviation{KüFuSt}{Küstenfunkstelle}


works in mkiv; in mkii names have only letters a-z A-Z, there you shoul 
use: \abbreviation[KuFuSt]{KüFuSt}{Küstenfunkstelle}




-
  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] bug report/mkiv: verbatim text bug with tab parameter

2010-12-04 Thread Hans Hagen

On 3-12-2010 1:49, Peter Schorsch wrote:

Hi,

today I recognized that the tab parameter is not working in setuptyping
anymore (actual beta). As soon the tab paramter is set and a tabulator is
used in the text, ConTeXt breaks with following error message:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/util- 
str.lua:56: attempt to call global 'rep' (a nil value)


fixed in next beta (also a more efficient tab converter)


-
  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] \comment broken

2010-12-04 Thread Hans Hagen

On 3-12-2010 6:33, Andreas Harder wrote:

Hi,

the compilation of

\starttext
test \comment{test}
\stoptext

stops (at least for me) with:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-wid.lua:124: 
attempt to call field 'collect' (a nil value)


buffer functions have been renamed so it should be collectcontent, 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] space in \longrightarrow in lucida (mkiv)

2010-12-04 Thread Hans Hagen

On 3-12-2010 2:47, Herbert Voss wrote:

Am 03.12.2010 12:21, schrieb Mojca Miklavec:

IIRC, the original definitions are from plain.tex and amstex.tex.


plain.tex says:
 \def\joinrel{\mathrel{\mkern-3mu}}

So I guess that \joinrel indeed needs to be defined on per-font basis
instead of being hardcoded into definitions.


the macro \loadfontgoodies in font-gds.mkiv should be extended
to something like

\def\loadfontgoodies[#1]%
   {\ctxlua{fonts.goodies.get(#1)}%
\InputIfExists #1.tex%
   }

which already load a lucida-math.ldf (lua code)
and then an optional lucida-math.tex (tex code)

don't know how ConTeXt can handle the \InputIfExists
The file lucida-math.tex in /context/fonts/
gets all font specific redefinitions, in this case

\def\joinrel{\mkern-4mu}
\def\longrightarrow{\relbar\joinrel\rightarrow}
\def\longleftarrow{\leftarrow\joinrel\relbar}


sich files are then possible for all other fonts


in mkii we had math vectors and one could have many different vectors 
active at the same time (so, lucida alongside lm and others); in mkiv we 
assume unicode math


I can probably make something for mkiv but the question is: is it worth 
the trouble and complication. Eventually all these math fonts will be 
open type anyway.


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

2010-12-04 Thread Jonas Stein
 works in mkiv; in mkii names have only letters a-z A-Z, there you shoul 
 use: \abbreviation[KuFuSt]{KüFuSt}{Küstenfunkstelle}

Strange... I thought i use mkiv i will check that in the afternoon again.
is there a \contextversion command in context?

I have a Systemwide old mkiv and a local fresh one 
(at least i hope so ;-)


It would be nice if Numbers would be valid too.
\abbreviation{mp3}{Max and Peter Treehouse}

kind regards,

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


Re: [NTG-context] Math and bold font

2010-12-04 Thread Hans Hagen

On 3-12-2010 5:00, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

thanks for the example. I can see that:

- In another font(s) (at least in cambria in your example) bold Greek
chars are OK.

- \bf in math mode causes chars to become vertical, i.e. when I want
to get slanted chars, I have to call \it or \sl or \bi explicitly. OK, I
thought that the slantedness is kept by default when switching to bold
in math mode, but no problem to switch to slanted/italics font manually.


In fact in math these are not font switches, but switches to a different 
alphabet.  In traditional tex that normally is afont switch so one gets 
the other bold or whatever shapes for free, given that they are in that 
font (so it's a side effect of the way math alphabets are implemented), 
but not so in open type math.



- But I still have no idea how to restore Greek chars when using the
*default* bold math font (i.e. when not using
\setupbodyfont[another-font]. Or do I have to \setup???font[???]
explicitly when I want to use Greek bold chars as well?


there is no default math font in mkiv: one uses regular math or bold 
math (given that there are two font(set)s available which is seldom the 
case) and within them gets bold or heavy alphabets (plus a few chars)



IMHO (I'm not expert in context) this depends on used fonts. See for
example follwoing:
example file=ex1.tex
\setupbodyfont[cambria]

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

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


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

2010-12-04 Thread Hans Hagen

On 4-12-2010 9:43, Jonas Stein wrote:

works in mkiv; in mkii names have only letters a-z A-Z, there you shoul
use: \abbreviation[KuFuSt]{KüFuSt}{Küstenfunkstelle}


Strange... I thought i use mkiv i will check that in the afternoon again.
is there a \contextversion command in context?

I have a Systemwide old mkiv and a local fresh one
(at least i hope so ;-)


It would be nice if Numbers would be valid too.
\abbreviation{mp3}{Max and Peter Treehouse}


too confusing as numbers are not part of a macro name

mpthree

btw, here I consistently use uppercase when command generation is enabled

\abbreviation[MPTHREE]{mp3}{Max and Peter Treehouse}

lowercase names can overload core functionality

-
  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] One more (?) bib problem

2010-12-04 Thread Mojca Miklavec
On Sat, Dec 4, 2010 at 07:06, Jean Magnan de Bornier wrote:
 Le 04 décembre à 04:23:14 seasoul écrit notamment:

 \placepublications[criterium=all]

 Hi,
 I've tried that solution of course, but then *all* bibtex entries appear
 in the reference list, not only the ones cited!

Well ... that one is a bug. In MKII one uses criterium=all and the
non-cited ones don't appear in reference list.

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

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


[NTG-context] [OT] humour

2010-12-04 Thread Mojca Miklavec
Examples of \usemodule[letter] ...

http://geekandpoke.typepad.com/geekandpoke/2010/12/being-a-geek-is-not-always-easy.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] \ShowCompleteFont issue

2010-12-04 Thread Florian Wobbe
Hi,

this does not work in recent beta anymore:

\usemodule[fnt-10]
\starttext
  \ShowCompleteFont{name:asanamath}{11pt}{1}
\stoptext

When I uncomment \endinput in fnt-10.tex I get:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/cldf-com.lua:58: 
attempt to call global 'format' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/cldf-com.lua:58: in function 
'char'
main ctx instance:75: in function 'show_all'
main ctx instance:1: in main chunk.
\ShowCompleteFont ... \ctxlua { fonts.show_all() }
   \stopcolumns \page \egroup 
l.6 \ShowCompleteFont{name:asanamath}{11pt}{1}


When I checkout version 2010.10.03 18:07 of s-fnt-10.tex there are no errors.

Best,
Florian

___
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 comment not rendering!

2010-12-04 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] next space (problematic example!)

2010-12-04 Thread Steffen Wolfrum
Hans,

Is there something you can do about that (that lost space between footnote and 
italics, see below)?

As I am just about to finish a project I would otherwise hack in those {} 
again :o(


Thanks,
Steffen



Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:

 
 Am 29.11.2010 um 14:39 schrieb Wolfgang Schuster:
 
 
 Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum:
 
 Hi,
 
 please have a look at this:
 
 \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}]
 
 \definestartstop
  [redimportant]
  [style=bold,
   color=red,
   after=\autoinsertnextspace]
 
 \setupnote
  [footnote]
  [next=\autoinsertnextspace]
 
 Wolfgang
 
 
 But how about this (see below)?
 Is there a chance to get a space after footnote even before an italic?
 
 Steffen
 
 ---
 
 \definestartstop[Textit][style=\em,
 %   color=red,
   after=\autoinsertnextspace]
 
 \setupnote
  [footnote]
  [next=\autoinsertnextspace]
 
 
 \starttext
 
 Test text.
 \startfootnote
 Note.
 \stopfootnote 
 \startTextit Test\stopTextit text
 
 Test text.
 \startfootnote
 Note.
 \stopfootnote 
 Test text
 
 \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
 ___

___
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-04 Thread Wolfgang Schuster

Am 03.12.2010 um 23:57 schrieb Philipp Gesang:

 Hi all,
 
 [1] I just bought the Bodoni Old Fashion fonts from URW and made
a typescript. It is attached to this mail (plus a test file
for whoever needs it). Maybe it could be included in the
minimals as third-party typescript.
 
 [2] Can we get the strings
  \definesystemconstant{SerifSemiBold}
  \definesystemconstant{SerifSemiBoldItalic}
added to mult-sys.mkiv? This would allow the use of
“\s!SerifSemiBold” in typescripts.

Why, they are only used in your typescripts and they are only useable
because you define your own commands to use them with \definebodyfont.

The context way is to write two typescripts, one which use the normal
bold style and another one which use the semibold style and in this
case both are mapped to SerifBold.

I can add the fonts to my typescript collection but not in the way you
currently use them.

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] list of all (even unused) abbreviations

2010-12-04 Thread Wolfgang Schuster

Am 04.12.2010 um 02:43 schrieb Jonas Stein:

 Provide a example where it doesn’t work, the \infull is to get
 the full text of the abbreviation in your text, e.g. \infull{VVV}.
 
 in the wiki is an example:
 http://wiki.contextgarden.net/Reference/en/definesynonyms
 
 i think [\infull] in line 
 \definesynonyms[abbreviation][abbreviations][\infull]
 is not necessary as it works in the example fine without it.

\abbreviation is predefined in the core and the \infull command
is there for a certain purpose:

\setupsynonyms[abbreviation][criterium=all]

\abbreviation{NASA}{National Aeronautics and Space Administration}
\abbreviation{UNO} {United Nations Organization}
\abbreviation{WHO} {World Health Organization}

\starttext

\NASA, \WHO: \infull{WHO}

\placelistofabbreviations

\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] howto make hyperrefs? (url/mail)

2010-12-04 Thread Wolfgang Schuster

Am 03.12.2010 um 19:56 schrieb Jonas Stein:

 i saw it once in the documentation but i dont find
 it again now.
 
 How can i make a mailaddress clickable in the pdf file?

\setupinteraction[state=start]
\starttext
\goto{Email}[url(mailto:m...@mustermann.de)]
\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] next space (problematic example!)

2010-12-04 Thread Wolfgang Schuster

Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:

 But how about this (see below)?
 Is there a chance to get a space after footnote even before an italic?

No, \autoinsertnextspace fails when the next token in the input is a command
which is no criterion to insert a space and you have to help tex in this case
with a {} or \ after \stopfootnote.

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] next space (problematic example!)

2010-12-04 Thread Steffen Wolfrum

Am 04.12.2010 um 15:56 schrieb Wolfgang Schuster:

 
 Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:
 
 But how about this (see below)?
 Is there a chance to get a space after footnote even before an italic?
 
 No, \autoinsertnextspace fails when the next token in the input is a command
 which is no criterion to insert a space and you have to help tex in this case
 with a {} or \ after \stopfootnote.


Ok. I'll use {} . Again :o)

(this looks quite save  hopefully there is no unforeseen side-effect)


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

2010-12-04 Thread Mojca Miklavec
On Fri, Dec 3, 2010 at 23:57, Philipp Gesang wrote:

 [2] Can we get the strings
      \definesystemconstant{SerifSemiBold}
      \definesystemconstant{SerifSemiBoldItalic}
    added to mult-sys.mkiv? This would allow the use of
    “\s!SerifSemiBold” in typescripts.

You can leave the \s! out and simply define SerifSemiBold if you want.

For other fonts you could have defined an enormous amount of different
synonyms, while you wouldn't have any shortcut such as \bi, \bs etc.

You can take a look at

http://meeting.contextgarden.net/2010/talks/2010-09-15-mojca-fonts/some-thoughts-about-typescripts.pdf
Not so much about the idea, but just to get the idea how big the
families could be and how many names you would have to invent (it's in
the order of a few hundred if not more to be able to cover
everything).

And even then there would be no easy way to switch unless you know the
exact font name anyway.

Hans started some basic support (but it needs to be polished out a
bit). See for example
tex/context/fonts/antykwapoltawskiego.lfg
in your TeX tree.

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

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


Re: [NTG-context] problem in resume module

2010-12-04 Thread Hans Hagen

On 4-12-2010 5:51, views63 wrote:

Hi Wolfgang,

In new beta also has problem.

log:

structure   : section @ level 3 : 0.0.0 -  Education
! Missing number, treated as zero.
to be read again
)
\currenttableformat -s0|s0rp(.15\textwidth )


so what does the minimal test look like

-
  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] \ShowCompleteFont issue

2010-12-04 Thread Hans Hagen

On 4-12-2010 1:22, Florian Wobbe wrote:

Hi,

this does not work in recent beta anymore:

\usemodule[fnt-10]
\starttext
   \ShowCompleteFont{name:asanamath}{11pt}{1}
\stoptext

When I uncomment \endinput in fnt-10.tex I get:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/cldf-com.lua:58: 
attempt to call global 'format' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/cldf-com.lua:58: in function 
'char'
main ctx instance:75: in function 'show_all'
main ctx instance:1: in main chunk.
\ShowCompleteFont ... \ctxlua { fonts.show_all() }
\stopcolumns \page \egroup
l.6 \ShowCompleteFont{name:asanamath}{11pt}{1}


will be fixed

-
  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] \setuptyping and \type{}

2010-12-04 Thread Hans Hagen

On 3-12-2010 10:32, Khaled Hosny wrote:

Is there a way to setup insertion of some stuff before/after \type{},
tried \setuptyping but only works for \start/stoptyping.

\setuptyping[before=\framed]

\starttext
\type{aa}

\starttyping
aa
\stoptyping
\stoptext


the next beta will have:

\starttext

test \type[left=(,right=),command=\inframed]{test}

\stoptext

but command is somewhat restricted as it does not get an argument but 
something \bgroup..\egroup which is fine for anything that gets boxed



-
  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] One more (?) bib problem

2010-12-04 Thread Jean Magnan de Bornier
Le 04 décembre à 04:23:14 seasoul bioseas...@gmail.com écrit notamment:

| Hans is in the process to develop a new bib module, I am
| waiting the new powerful version :).

If I may, I think inputing from databases to ris and risx formats would be
a fantastic improvement.

all the best,
-- 
Jean
___
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] space in \longrightarrow in lucida (mkiv)

2010-12-04 Thread Hans Hagen

On 3-12-2010 2:47, Herbert Voss wrote:

Am 03.12.2010 12:21, schrieb Mojca Miklavec:

IIRC, the original definitions are from plain.tex and amstex.tex.


plain.tex says:
 \def\joinrel{\mathrel{\mkern-3mu}}

So I guess that \joinrel indeed needs to be defined on per-font basis
instead of being hardcoded into definitions.


the macro \loadfontgoodies in font-gds.mkiv should be extended
to something like

\def\loadfontgoodies[#1]%
   {\ctxlua{fonts.goodies.get(#1)}%
\InputIfExists #1.tex%
   }

which already load a lucida-math.ldf (lua code)
and then an optional lucida-math.tex (tex code)

don't know how ConTeXt can handle the \InputIfExists
The file lucida-math.tex in /context/fonts/
gets all font specific redefinitions, in this case

\def\joinrel{\mkern-4mu}
\def\longrightarrow{\relbar\joinrel\rightarrow}
\def\longleftarrow{\leftarrow\joinrel\relbar}


sich files are then possible for all other fonts


In lucida-math.lfg there is now:

variables = {
joinrelfactor = 4, -- default is 3
}

and when set that variable will be used in composing the virtual glyph 
(the default is 3). So, no complex defs are needed.  Maybe there are 
more relevant variables.


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] \setuptyping and \type{}

2010-12-04 Thread Khaled Hosny
On Sat, Dec 04, 2010 at 06:41:37PM +0100, Hans Hagen wrote:
 On 3-12-2010 10:32, Khaled Hosny wrote:
 Is there a way to setup insertion of some stuff before/after \type{},
 tried \setuptyping but only works for \start/stoptyping.
 
 \setuptyping[before=\framed]
 
 \starttext
 \type{aa}
 
 \starttyping
 aa
 \stoptyping
 \stoptext
 
 the next beta will have:
 
 \starttext
 
 test \type[left=(,right=),command=\inframed]{test}
 
 \stoptext
 
 but command is somewhat restricted as it does not get an argument
 but something \bgroup..\egroup which is fine for anything that gets
 boxed

Thanks Hans!

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] \setuptyping and \type{}

2010-12-04 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 03:36:14PM +0100, Wolfgang Schuster wrote:
 
 Am 03.12.2010 um 10:32 schrieb Khaled Hosny:
 
  Is there a way to setup insertion of some stuff before/after \type{},
  tried \setuptyping but only works for \start/stoptyping.
  
  \setuptyping[before=\framed]
 
 You can try to convince Hans to add a command key to \setuptype, untill
 then you can use this:
 
 \unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}}
 
 \starttext
 one \mytype{\two} three
 \stoptext

Thanks Wolfgang.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] Formating verbatim text

2010-12-04 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 03:24:35PM +0100, Wolfgang Schuster wrote:
 
 Am 03.12.2010 um 10:40 schrieb Khaled Hosny:
 
  The following is listed on the wiki but does not work in MkIV, the
  commands are just typeset verbatim as well.
 
 The mechanism has changed in MkIV, you can now write
 
 \setuptyping[escape=yes]
 
 \starttyping
 normal /BTEX\em emphasized/ETEX normal
 normal /BTEX\bf bold/ETEX normal
 \stoptyping
 
 or you set your own delimiters with
 
 \setuptyping[escape={[[,]]}]
 
 \starttyping
 normal [[\em emphasized]] normal
 normal [[\bf bold]] normal
 \stoptyping

Great! Thanks.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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-04 Thread Philipp Gesang
On 2010-12-04 15:29:56, Wolfgang Schuster wrote:
 
 Am 03.12.2010 um 23:57 schrieb Philipp Gesang:
 
  Hi all,
  
  [1] I just bought the Bodoni Old Fashion fonts from URW and made
 a typescript. It is attached to this mail (plus a test file
 for whoever needs it). Maybe it could be included in the
 minimals as third-party typescript.
  
  [2] Can we get the strings
   \definesystemconstant{SerifSemiBold}
   \definesystemconstant{SerifSemiBoldItalic}
 added to mult-sys.mkiv? This would allow the use of
 “\s!SerifSemiBold” in typescripts.
 
 Why, they are only used in your typescripts and they are only useable
 because you define your own commands to use them with \definebodyfont.

Agreed, it’s a kludge.

 The context way is to write two typescripts, one which use the normal
 bold style and another one which use the semibold style and in this
 case both are mapped to SerifBold.

With the few examples for medium/semibold weights in
“third/typescripts” I was not quite sure how to handle this.
Thanks for the clarification, I split the typescript accordingly.

Regards, Philipp

 I can add the fonts to my typescript collection but not in the way you
 currently use them.
 
 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
 ___

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


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

2010-12-04 Thread Philipp Gesang
It’s a bit late already over here, so I just forgot the revised
typescript …


On 2010-12-04 23:48:27, Philipp Gesang wrote:
 On 2010-12-04 15:29:56, Wolfgang Schuster wrote:
  
  Am 03.12.2010 um 23:57 schrieb Philipp Gesang:
  
   Hi all,
   
   [1] I just bought the Bodoni Old Fashion fonts from URW and made
  a typescript. It is attached to this mail (plus a test file
  for whoever needs it). Maybe it could be included in the
  minimals as third-party typescript.
   
   [2] Can we get the strings
\definesystemconstant{SerifSemiBold}
\definesystemconstant{SerifSemiBoldItalic}
  added to mult-sys.mkiv? This would allow the use of
  “\s!SerifSemiBold” in typescripts.
  
  Why, they are only used in your typescripts and they are only useable
  because you define your own commands to use them with \definebodyfont.
 
 Agreed, it’s a kludge.
 
  The context way is to write two typescripts, one which use the normal
  bold style and another one which use the semibold style and in this
  case both are mapped to SerifBold.
 
 With the few examples for medium/semibold weights in
 “third/typescripts” I was not quite sure how to handle this.
 Thanks for the clarification, I split the typescript accordingly.
 
 Regards, Philipp
 
  I can add the fonts to my typescript collection but not in the way you
  currently use them.
  
  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
  ___
 
 -- 
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments



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


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
%D \module
%D   [   file=type-bodoniof,
%Dversion=2010-12-03 23:47:43+0100,
%D  title=\CONTEXT\ Typescript Macros,
%D   subtitle=Font Definitions for URW++ Bodoni Old Fashion,
%D author=Philipp Gesang,
%D   date=\currentdate,
%D  copyright=Philipp Gesang]
%C
%C This file may be distributed under 2-clause BSD license.

%%% Typescript for the Bodoni Old Fashion font by URW++.
%%% 
http://www.urwpp.de/cgi-bin1/dalcgi/source/fontliste0.htd?sprache=englishauswahl=-1fontnummer=b054013tm4pb-id=wd16d94b94f7f2e2cf9987dbeae12bccd5a861fbdec

\starttypescriptcollection [bodoni-of]

\starttypescript [\s!serif] [bodoni-of,bodoni-of-semibold,bodoni-of-medium]
  \definefontsynonym [Bodoni-OF-Regular][name:BodoniOldFasURW-Reg]
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-Italic] [name:BodoniOldFasURW-RegIta] 
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-Bold]   [name:BodoniOldFasURW-Bol]
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-BoldItalic] [name:BodoniOldFasURW-BolIta] 
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-SemiBold]   [name:BodoniOldFasURW-Med]
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-SemiBoldItalic] [name:BodoniOldFasURW-MedIta] 
[\s!features=\s!default]
  \definefontsynonym [Bodoni-OF-Smallcaps]  [name:BodoniOldFasURWSC-Reg]  
[\s!features=\s!default]
\stoptypescript

\starttypescript [\s!serif] [bodoni-of]
  \setups[\s!font:\s!fallback:\s!serif]
  \definefontsynonym [\s!Serif]   [Bodoni-OF-Regular]
[\s!features=\s!default]
  \definefontsynonym [\s!SerifItalic] [Bodoni-OF-Italic] 
[\s!features=\s!default]
  \definefontsynonym [\s!SerifBold]   [Bodoni-OF-Bold]   
[\s!features=\s!default]
  \definefontsynonym [\s!SerifBoldItalic] [Bodoni-OF-BoldItalic] 
[\s!features=\s!default]
  \definefontsynonym [\s!SerifCaps]   [Bodoni-OF-Smallcaps]  
[\s!features=\s!default]
\stoptypescript

\starttypescript [\s!serif] [bodoni-of-semibold,bodoni-of-medium]
  \definefontsynonym [\s!Serif]   [Bodoni-OF-Regular]
[\s!features=\s!default]
  \definefontsynonym [\s!SerifItalic] [Bodoni-OF-Italic] 
[\s!features=\s!default]
  \definefontsynonym [\s!SerifBold]   [Bodoni-OF-SemiBold]   
[\s!features=\s!default]
  

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-04 Thread Renaud AUBIN
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?

Cheers,

Renaud
___
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-04 Thread views63
Hi Hans,

Oh, sorry I forget it.

the minimal test:

\usemodule[resume][interface=moderncv,style=classic]
\starttext
\startresume
\cvlanguage{language 1}{Skill level}{Comment}
\stopresume
\stoptext

2010/12/5 Hans Hagen pra...@wxs.nl:
 On 4-12-2010 5:51, views63 wrote:

 Hi Wolfgang,

 In new beta also has problem.

 log:

 structure       : section @ level 3 : 0.0.0 -  Education
 ! Missing number, treated as zero.
 to be read again
                    )
 \currenttableformat -s0|s0rp(.15\textwidth )

 so what does the minimal test look like

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



resumetest-classic.tex
Description: TeX 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] abbreviation with Umlaut fails

2010-12-04 Thread Jonas Stein
 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?

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


[NTG-context] margintext writes text out of range

2010-12-04 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]

[1] http://modules.contextgarden.net/fixme fixme.pdf page 3

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


[NTG-context] Redundant equation is a MetaPost bug in MkIV?

2010-12-04 Thread 李延瑞
Hi,

See the following example:

\starttext
\startMPcode
u = 1cm;
xmin = -2.6u;
xmax = 4u;
drawarrow (xmin,0)--(xmax,0);
\stopMPcode
\stoptext

It can be compiled rightly. But when I add the 'label' line into it, see:

\starttext
\startMPcode
u = 1cm;
xmin = -2.6u;
xmax = 4u;
drawarrow (xmin,0)--(xmax,0);
label.lft(hello,(0, 0));
\stopMPcode
\stoptext

Now it can not be compiled and luatex outputs:

mplib   : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! Redundant equation.
to be read again
   ;
* u = 1cm;
 xmin = -2.6u; xmax = 4u; drawarrow (xmin,0)--(xmax,0); label.lf...

! Redundant equation.
to be read again

Is this a bug or it always need to use 'save' macro to hold these
local variable in metafun?

-- 
Best regards,

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