Re: [NTG-context] Why is the page off?

2017-07-02 Thread Henri Menke
On Mon, 2017-07-03 at 01:48 -0400, Aditya Mahajan wrote:
> On Sun, 2 Jul 2017, Henri Menke wrote:
> 
> > Why is the page shifted?  Reproducible in TL2017 and latest beta.  See 
> > also attached.  MWE is below.
> 
> Why do you think that the page is shifted? Or are you asking why does the 
> default layout set the left margin width to be larger than the backspace?

How about this?  By default text in the margin can run off the page.  Also the 
whole layout is
symmetric (margin widths, margin distances) but shifted to the left.  This 
looks like a bug to me.
 Furthermore it doesn't make sense to have a non-centred text block for 
onesided typesetting.


\setuppapersize[A5][A4,landscape]
\setuppaper[nx=2]
\setuparranging[XY]

\showframe

\starttext
Foo\page Bar\inleft{Foobarb}
\stoptext

> 
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

test.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] mathalignment and grid

2017-07-02 Thread Henri Menke
Dear Hans,

In a previous email I complained that with mathalignment large formulas crash 
into the paragraph
below when using grid typesetting.  This has been fixed in the latest beta but 
now the space above
and below is asymmetric.  For this particular case I could fix it by setting 
the gird snapping mode
to "top" rather than "math", but this does not apply universally.  Any chance 
there is an easy fix?

Cheers, Henri

---

\setuplayout[grid=both]
\showgrid

\startmode[fix]
\unprotect
\def\math_alignment_snap_start
  {\ifgridsnapping
 \snaptogrid[top]\vbox\bgroup
   \fi}
\protect
\stopmode

\starttext
\input knuth
\startformula
  \startmathalignment
\NC i\hbar\frac{\diff}{\diff t}\psi \NC= \left( - \frac{\hbar^2}{2 m} 
\nabla^2 + V(r) \right)
\psi \NR
\NC F(x) \NC= \int f(x) \diff x \NR
  \stopmathalignment
\stopformula
\input ward
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Why is the page off?

2017-07-02 Thread Aditya Mahajan

On Sun, 2 Jul 2017, Henri Menke wrote:

Why is the page shifted?  Reproducible in TL2017 and latest beta.  See 
also attached.  MWE is below.


Why do you think that the page is shifted? Or are you asking why does the 
default layout set the left margin width to be larger than the backspace?


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Overarc etc. symbols

2017-07-02 Thread Jaroslav Hajtmar
Thanx Henri.
This is very useful for me.
Jaroslav Hajtmar


Dne 02.07.17 23:38, ntg-context za uživatele Henri Menke 
 napsal(a):

On Sun, 2017-07-02 at 08:38 +, Jaroslav Hajtmar wrote:
> Thanx Henri, 
> that's exactly what I needed. Is there in any place on Wiki table of all 
ConTeXt math symbols?
> Sometimes I look for something and I explore, that few LaTeX symbols not 
work in ConTeXt.

Most (all?) delimiters are defined in these files.


https://github.com/contextgarden/context-mirror/blob/beta/tex/context/base/mkiv/math-stc.mkvi

https://github.com/contextgarden/context-mirror/blob/beta/tex/context/base/mkiv/math-fen.mkiv

Otherwise I just look up the symbol in this file

http://texdoc.net/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf

and then search the ConTeXt source for the Unicode slot to get the name in 
ConTeXt.  But in many
cases the names from unimath-symbols also work in ConTeXt.

> 
> Thanx again.
> Jaroslav Hajtmar
> 
> 
> Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
 enrime...@gmail.com> napsal(a):
> 
> $\overparent{AVB}$
> 
> 
> Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
 enrime...@gmail.com> napsal(a):
> 
> On 07/02/2017 07:18 PM, Jaroslav Hajtmar wrote:
> > Hello ConTeXist.
> > 
> > Can someone advise me how to lay an arc over three letters AVB.
> > 
> > It's about the LaTeX equivalent of \overarc or \widearc macro. Is 
there any table of similar
> ConTeXt symbols?
> 
> Maybe like this?
> 
> \starttext
> 
> $\overparent{AVB}$
> 
> $\underparent{AVB}$
> 
> \stoptext
> 
> > 
> > Thanks Jaroslav Hajtmar
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> > 
___
> > 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://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Overarc etc. symbols

2017-07-02 Thread Henri Menke
On Sun, 2017-07-02 at 08:38 +, Jaroslav Hajtmar wrote:
> Thanx Henri, 
> that's exactly what I needed. Is there in any place on Wiki table of all 
> ConTeXt math symbols?
> Sometimes I look for something and I explore, that few LaTeX symbols not work 
> in ConTeXt.

Most (all?) delimiters are defined in these files.

https://github.com/contextgarden/context-mirror/blob/beta/tex/context/base/mkiv/math-stc.mkvi
https://github.com/contextgarden/context-mirror/blob/beta/tex/context/base/mkiv/math-fen.mkiv

Otherwise I just look up the symbol in this file

http://texdoc.net/texmf-dist/doc/latex/unicode-math/unimath-symbols.pdf

and then search the ConTeXt source for the Unicode slot to get the name in 
ConTeXt.  But in many
cases the names from unimath-symbols also work in ConTeXt.

> 
> Thanx again.
> Jaroslav Hajtmar
> 
> 
> Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
>  enrime...@gmail.com> napsal(a):
> 
> $\overparent{AVB}$
> 
> 
> Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
>  enrime...@gmail.com> napsal(a):
> 
> On 07/02/2017 07:18 PM, Jaroslav Hajtmar wrote:
> > Hello ConTeXist.
> > 
> > Can someone advise me how to lay an arc over three letters AVB.
> > 
> > It's about the LaTeX equivalent of \overarc or \widearc macro. Is there 
> any table of similar
> ConTeXt symbols?
> 
> Maybe like this?
> 
> \starttext
> 
> $\overparent{AVB}$
> 
> $\underparent{AVB}$
> 
> \stoptext
> 
> > 
> > Thanks Jaroslav Hajtmar
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> > 
> ___
> > 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://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Overarc etc. symbols

2017-07-02 Thread Jaroslav Hajtmar
Thanx Henri, 
that's exactly what I needed. Is there in any place on Wiki table of all 
ConTeXt math symbols? Sometimes I look for something and I explore, that few 
LaTeX symbols not work in ConTeXt.

Thanx again.
Jaroslav Hajtmar


Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
 napsal(a):

$\overparent{AVB}$


Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
 napsal(a):

On 07/02/2017 07:18 PM, Jaroslav Hajtmar wrote:
> Hello ConTeXist.
> 
> Can someone advise me how to lay an arc over three letters AVB.
> 
> It's about the LaTeX equivalent of \overarc or \widearc macro. Is there 
any table of similar ConTeXt symbols?

Maybe like this?

\starttext

$\overparent{AVB}$

$\underparent{AVB}$

\stoptext

> 
> Thanks Jaroslav Hajtmar
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Overarc etc. symbols

2017-07-02 Thread Jaroslav Hajtmar
Thanx Henri, 
that's exactly what I needed. Is there in any place on Wiki table of all 
ConTeXt math symbols? Sometimes I look for something and I explore, that few 
LaTeX symbols not work in ConTeXt.

Thanx again.
Jaroslav Hajtmar


> On 02.07.17 9:46, ntg-context za uživatele Henri Menke 
>  napsal(a):

>$\overparent{AVB}$



Dne 02.07.17 9:46, ntg-context za uživatele Henri Menke 
 napsal(a):

On 07/02/2017 07:18 PM, Jaroslav Hajtmar wrote:
> Hello ConTeXist.
> 
> Can someone advise me how to lay an arc over three letters AVB.
> 
> It's about the LaTeX equivalent of \overarc or \widearc macro. Is there 
any table of similar ConTeXt symbols?

Maybe like this?

\starttext

$\overparent{AVB}$

$\underparent{AVB}$

\stoptext

> 
> Thanks Jaroslav Hajtmar
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Overarc etc. symbols

2017-07-02 Thread Henri Menke
On 07/02/2017 07:18 PM, Jaroslav Hajtmar wrote:
> Hello ConTeXist.
> 
> Can someone advise me how to lay an arc over three letters AVB.
> 
> It's about the LaTeX equivalent of \overarc or \widearc macro. Is there any 
> table of similar ConTeXt symbols?

Maybe like this?

\starttext

$\overparent{AVB}$

$\underparent{AVB}$

\stoptext

> 
> Thanks Jaroslav Hajtmar
> 
>  
> 
>  
> 
>  
> 
> 
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Overarc etc. symbols

2017-07-02 Thread Jaroslav Hajtmar
Hello ConTeXist.
Can someone advise me how to lay an arc over three letters AVB.
It's about the LaTeX equivalent of \overarc or \widearc macro. Is there any 
table of similar ConTeXt symbols?

Thanks Jaroslav Hajtmar



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___