Re: [NTG-context] Cambria integral operator

2009-10-14 Thread Taco Hoekwater


Sebastian Sturm wrote:
> Hi all,
> 
> I have been playing around a bit with the new ConTeXt Minimals and
> especially Cambria Math. I couldn't figure out, however, why the
> integral operator always comes out at about half the size of \sum or
> \prod. I couldn't find any relevant threads on the mailing list, but
> surely this is not the way it's supposed to be?

No, that is clearly not right. I will investigate and report back.

On the \widehat: it scales as far as the font allows it to. If that
is not wide enough, I guess you could send a bug report to Microsoft.

> Is there some list on the web showing what parts of math have been
> implemented, what still needs to be done (and, where someone with
> limited TeX knowledge could provide some assistance)?

No, not on the web. But there are only a few known MATH issues in the
core/mkiv that I know of:

* Latin Modern Math (and other old math font) virtual definitions are
  far from perfect (but that should not affect you, as you are using
  CambriaMath).
* There is no support for skewed (text-style, with a diagonal bar,
  like in the frac feature) fractions yet in luatex.
* The traditional TeX commands \atopwithdelims, \overwithdelims, and
  \abovewithdelims do not work properly because there is no matching
  MATH parameter at all.

The real problem though, is that we do not have massive math tests:
neither Hans nor me do any math typesetting in daily practise.

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

2009-10-14 Thread Wolfgang Werners-Lucchini
On 13 Oct 2009 at 23:17, ntg-context-requ...@ntg.nl wrote:

Hallo Wolfgang,

> > 2.---
> > I want some space on the left of \start\stoptables.
> > What I get is SOME space, but not that what I wanted!
> >
> > \starttables[|l|]
> 
> \starttables[o0|i(3cm)l|]
> 
> > Where is that little space from?

Yes, this works. But my example was too simple.

I actually have:

\starttables[|p(5cm)|lI|]
\NC hmm \NC bla \NC\MR
\stoptables 

and this one

\starttables[o0|i(3cm)p(5cm)|lI|]
\NC hmm \NC bla \NC\MR
\stoptables 

does not work. I don't understand what is going on here!

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] interstrutline spacing [with tex file!]

2009-10-14 Thread Idris Samawi Hamid ادريس سماوي حامد

[oops, tex file attached this time]

Dear gang,

I am trying to create a grid background based on strut depth, so each line
of text lies right in between the top and bottom of the respective strut.
I borrowed some code from the wiki, and need help to solve the following
[and I'm no metapost guru...]:

1. Line 31, 2nd line of pdf: How can I keep \framed[align={r2l,middle}]
and get the interstrutline to still span the textwidth. In other words,
every strutline should be of textwidth, regardless of alignment

2. Compare pages 2 and 3: page 2 has extra space at the top, perhaps a
skipped line. How can I suppress that so that the first line always starts
at the top of the textblock?

3. On page 3: How can I control the continuation of the strutlines past
the final textline? What if, eg, I wanted to fill the rest of the page
with strutlines?

4. How can I change the width and color of the strutline itself?

5. I use \setuplayout[grid=on], but I'm not sure that guarantees a grid
... \start-\stoplinecorrection seems to give a different result.
[\showgrid seems broken so I can't directly compare]. Any tips to
guarantee a grid?

6. Is there a way to pass the interstrutline background to \framed [so I
don't have to type \start-\stopinterstrutline etc]?

This kind of gridded background is very common in eg, the Arabic-script
tradition, although it has many pedagogical and other uses as well. A
general strutline mechanism might make a good addition to the
distribution, or at least a nice module...

Any help or tips to improve this background will be greatly appreciated!

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

interstrutlines.pdf
Description: Adobe PDF document


interstrutlines.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] Line Numbering and References

2009-10-14 Thread Andreas Harder


Am 14.10.2009 um 14:23 schrieb Wolfgang Schuster:



Am 14.10.2009 um 11:54 schrieb Andreas Harder:


Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make  
use of it:


When I interpret the source correct this should be the correct form
but there is something wrong with the \mksomelinereference command
and 'ctxlua' with it's argument appears in the text.


Thank you Wolfgang. I hope it can be fixed soon …


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] Line Numbering and References

2009-10-14 Thread Wolfgang Schuster


Am 14.10.2009 um 11:54 schrieb Andreas Harder:


Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make  
use of it:


When I interpret the source correct this should be the correct form
but there is something wrong with the \mksomelinereference command
and 'ctxlua' with it's argument appears in the text.

\starttext

\startlinenumbering
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large--scale user;\someline 
[here]

the designer should also write the first user manual.

The separation of any of these four components would have hurt
\TeX\ significantly. If I had not participated fully in all these
activities, literally hundreds of improvements would never have 
\someline[there]

been made, because I would never have thought of them or perceived
why they were important.

But a system \startline[range] cannot be successful if it is too  
strongly influenced

by a single person. Once the initial design is complete and fairly
robust, the real test begins as people with many different \stopline 
[range] viewpoints

undertake their own experiments.
\stoplinenumbering

see at \inline{line}[here], \inline{line}[there] and also at \inline 
[range]


\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] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear,

> > \def\footerstyle#1{\startcolor[red]#1\stopcolor}
> > \setupfooter[style=\footerstyle]
> 
> has to do with the fact that style does not pass an argument
> 
> does
> 
> \setupfooter[color=red]
> 
> work?
Yes, perfectly. I did not tried it since
this was not documented (or at least I may
misread the documentation).

Thank you a lot,

Antoine C.

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

2009-10-14 Thread Wolfgang Schuster


Am 14.10.2009 um 02:16 schrieb Andreas Noack Jensen:


Hi ConTeXters

I have just started my migration from LaTeX towards ConTeXt. So  
first of all
thank you for the contributions. Four whole days and a lot of  
evenings have
been invested in my migration project so far but now things also  
begin to
move. But I really miss one thing from LaTeX. Mathdesign with URW  
Garamond

is in my opinion the prettiest solution at all.


There is basic support for the mathdesign fonts but only in MkIV.

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] Color in footer

2009-10-14 Thread Hans Hagen

Antoine Cailliau wrote:

Dear all,

I'm trying to change the color of the
footer text. I typed:

\def\footerstyle#1{\startcolor[red]#1\stopcolor}
\setupfooter[style=\footerstyle]


has to do with the fact that style does not pass an argument

does

\setupfooter[color=red]

work?

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder

Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make use  
of it:


\starttext
\startlinenumbering
  Hello \textreference[ref]{} World!
\stoplinenumbering
\inline[ref] % output: "line ??"
\stoptext

What I really want to achieve is something like the following:

\starttext

\startlinenumbering
  This ist a long transcription from an interview with line  
numbers.   % #1

  \startMyCite[test]
This ist a long transcription from an interview with line  
numbers. % #2
This ist a long transcription from an interview with line  
numbers. % #3

  \stopMyCite
  This ist a long transcription from an interview with line  
numbers.   % #4

\stoplinenumbering

And now \getMyCite[test] should output:

\startblockquote
  This ist a long transcription from an interview with line numbers.  
% #2
  This ist a long transcription from an interview with line numbers.  
% #3

\stopblockquote (lines 2--3)

\stoptext

Is something like this possible in ConTeXt and if yes how?

Thanks for your help!

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


[NTG-context] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear all,

I'm trying to change the color of the
footer text. I typed:

\def\footerstyle#1{\startcolor[red]#1\stopcolor}
\setupfooter[style=\footerstyle]

But I receive an error that I can't
interpret. 

! Argument of \footerstyle has an extra }.
 
\par 
 
   }
\doifdefinedelse #1->\edef \p!defined {#1}
  \ifcsname \detokenize \...@ea
{\p!def...

\doconvertfont #1->\doifdefinedelse {...@letter@ #1}
   {\doifelsenothing
{#1}\go...

\doattributes ... \csname #1...@ea \endcsname \fi 
  {#4}\dostopattributes 
\dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}
  \egroup 
...
l.61 \stoptext
  
? X

Does anyone knows what's wrong ?

Thanks in advance,

Antoine C.

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

2009-10-14 Thread luigi scarso
On Wed, Oct 14, 2009 at 2:16 AM, Andreas Noack Jensen
 wrote:
> Hi ConTeXters
>
> I have just started my migration from LaTeX towards ConTeXt. So first of all
> thank you for the contributions. Four whole days and a lot of evenings have
> been invested in my migration project so far but now things also begin to
> move. But I really miss one thing from LaTeX. Mathdesign with URW Garamond
> is in my opinion the prettiest solution at all. So far I have managed to
> import the text font by the guidance from the wiki, but there doesn¹t seem
> be any implementation/translation of the mathpart. I know that the TeX world
> font-handling is developing and I have used XeTeX for non-math work for a
> while. Some of the work, I understand, includes OpenType Math and therefore
> it might be reactionary to wish for a translation, but has anyone thought
> about one anyway?
I (still) don't understand much of math stuffs.
Anyway , have you seen mk.pdf ?

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