Re: [NTG-context] setupformulas reset not working

2013-01-18 Thread Zenlima
Thanks, that explanation makes it a lot easier :-)

> \formulaparameter is a command to access the values of the keys for
> the \setupformula command, e.g. \formulaparameter{spacebefore}
> results in “big”.
> 
___
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 label and setuphead

2013-01-18 Thread Aditya Mahajan

On Fri, 18 Jan 2013, Wolfgang Schuster wrote:


Am 17.01.2013 um 19:20 schrieb Aditya Mahajan :


\setuphead[whatever][label=whatever]

does not change anything. This looks like a bug to me.

Otherwise, what is the right way of changing the label of a section head?



\setuphead[…][bodypartlabel=…]


Thanks. Shouldn't  \definehead[...] automatically also set the 
bodypartlabel?


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] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
>
> Apologies, there are 4 OTF files.
>

Just so there is no misunderstanding, the problem still exists with 3 or 4
OTF files.  That is, the first email was a typo and in fact I had all 4 OTF
files installed and recognized by ConTeXt.  I am not sure how to get
ConTeXt to use these OTF files for my math fonts.

Troy
___
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] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
>
> I have dropped the 3 OTF files into my user's font directory
>

Apologies, there are 4 OTF files.

Troy
___
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] MdSymbol as Math Font

2013-01-18 Thread Troy Henderson
I would like to use the OTF versions of MdSymbol located at

http://www.ctan.org/tex-archive/fonts/mdsymbol/otf

as my math font.  I have dropped the 3 OTF files into my user's font
directory and run

> mtxrun --script fonts --reload

Also, I get the following output after executing the list command.

> mtxrun --script fonts --list --all --pattern=MdSymbol*

mdsymbol   mdsymbolbold   MdSymbol-Bold.otf
mdsymbolbold   mdsymbolbold   MdSymbol-Bold.otf
mdsymbollight  mdsymbollight  MdSymbol-Light.otf
mdsymbolnormal mdsymbolregularMdSymbol-Regular.otf
mdsymbolregularmdsymbolregularMdSymbol-Regular.otf
mdsymbolsemibold   mdsymbolsemibold   MdSymbol-Semibold.otf


So it seems that ConTeXt is finding my fonts; however, when I set

\usemodule[simplefonts]
\setmathfont[MdSymbol]

in my ConTeXt document and run `context foo.tex`, I get

resolvers   > modules > loaded: 'simplefonts'
(/usr/local/texlive/current/texmf-dist/tex/context/third/simplefonts/t-simplefonts.tex
loading > ConTeXt User Module / Simplefonts
<+
/usr/local/texlive/current/texmf-dist/tex/context/third/simplefonts/t-simplefonts.lua>)
fonts   > typescripts > unknown: library 'loc'
{/usr/local/texlive/current/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/current/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/current/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fonts   > typescripts > unknown: library 'mdsymbol'
backend > xmp > using file
'/usr/local/texlive/current/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1
 
)

The trouble seems to be the line

fonts   > typescripts > unknown: library 'mdsymbol'

which I guess is keeping the MdSymbol OTFs from being loaded, but I have no
idea how to fix this.  I would appreciate any help that can be provided.

Thanks,

Troy Henderson
___
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] Mixing Body and Math Fonts

2013-01-18 Thread Troy Henderson
>
> \appendtoks \mathss \to \everymathematics
>

That appears to work.  Thanks.  Perhaps I should, instead, try to use a
sans math font such as Computer Modern Bright.  I know it's not complete
(as far as sans math is concerned), but it's probably better than forcing
all math to be sans.

\setmathfont[Computer Modern Bright]

does not work.

Troy
___
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] Layers, overlays

2013-01-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'd like to ask two questions which appeared on topic "Layer vs. overlay".

Q1: What does \tightlayer[...] exactly do? (No item on wiki.)

Q2: Why some layer properties are specified on \definelayer (beforetext: 
width=\overlaywidth,height=\overlayheight) and some during overlay setups 
(beforetext: preset=righttop)? - Related code given before:


\starttext
  \definelayer  [beforetext][width=\overlaywidth,height=\overlayheight]
  \defineoverlay[beforetext][{\setups[beforetext]\tightlayer[beforetext]}]

  \startsetups[beforetext]
\setlayer[beforetext][preset=righttop]
  {\framed[width=2in]{foo}}
  \stopsetups

  bar
\stoptext


TIA.

Best regards,

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
___