Re: [NTG-context] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-13 Thread Aditya Mahajan

On Wed, 14 Dec 2016, Richard Mahoney | Indica et Buddhica wrote:


Although I've enabled this module:

\usemodule[fnt-25]

both of the following:

$\shortmid$ 


$\shortparallel$

result in:

tex error ... ! Undefined control sequence


Does anyone know if these commands are available under in math mode?


AFAIK, these symbols are not defined. Do you know if unicode math fonts 
provide these symbols and if they are part of Unicode math symbol list?


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
___

[NTG-context] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-13 Thread Richard Mahoney | Indica et Buddhica
Although I've enabled this module:

\usemodule[fnt-25]

both of the following:

$\shortmid$ 

$\shortparallel$

result in:

tex error ... ! Undefined control sequence


Does anyone know if these commands are available under in math mode?

ConTeXt  ver: 2016.05.17 19:20 MKIV


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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] twoside layout

2016-12-13 Thread Hans Hagen

On 12/13/2016 10:54 PM, Herbert Voss wrote:

Is it possible to set only the textwidth and the inner margin
for a twosided layout?

As far as I can see, backspace sets only the _left_ margin
of odd _and_ even pages.


\definepapersize[new][height=240mm,width=165mm]
\setuppapersize[new]

\definelayout[odd][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=1.9cm, width=12.4cm]
\definelayout[even][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=2.2cm, width=12.4cm]
\setuplayout

\starttext
\showframe
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\showlayout[1,pt,cm]
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\stoptext


\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[alternative={singlesided,doublesided}]

the last one will not swap dimensions

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] twoside layout

2016-12-13 Thread Herbert Voss

Is it possible to set only the textwidth and the inner margin
for a twosided layout?

As far as I can see, backspace sets only the _left_ margin
of odd _and_ even pages.


\definepapersize[new][height=240mm,width=165mm]
\setuppapersize[new]

\definelayout[odd][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=1.9cm, width=12.4cm]
\definelayout[even][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=2.2cm, width=12.4cm]
\setuplayout

\starttext
\showframe
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\showlayout[1,pt,cm]
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\stoptext


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