Re: [NTG-context] Lilypond

2014-06-10 Thread Henning Hraban Ramm

Am 2014-06-09 um 04:31 schrieb David Wooten d...@trichotomic.net:

 Greetings all, it’s been quite a while since I tried to use lilypond snippets 
 in a context file. Looks like we’re now using the filter module… can someone 
 post a small working example file to get me started? —there are a number of 
 different  some incomplete approaches to be found, none of which work :)

There’s really just one approach, just different setups of the filter module:
http://wiki.contextgarden.net/LilyPond

Did the first example work at all? Do you have LilyPond installed, and calling 
„lilypond“ works?

Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] fonts and function in math mode

2014-06-10 Thread Flavien Lambert
Hi all, following the subject of my previous messages, I was wondering what
is the paremeter that governs the parentheses, brackets and so on.
The following command does change the sum sign for example but not the rest:

\definefallbackfamily [mainface] [math] [Latin Modern Math]
[preset=math:mathematicaloperators,tf=name:latinmodernsans,scale=1.2]




On 28 April 2014 09:14, Flavien Lambert petit.lep...@gmail.com wrote:

 Thanks Wolfgang. I set it by hand because I was using the light version
 and the bold version of the light one does not exist ;) I just put regular
 for the example.


 On 28 April 2014 20:59, Wolfgang Schuster schuster.wolfg...@gmail.com
 wrote:


 Am 28.04.2014 um 13:46 schrieb Flavien Lambert petit.lep...@gmail.com:

  Hi everyone, could you tell me how to use the Ubuntu font for the math
 command \max in the following example?
 
  \definefontfamily [mainface] [sans] [Ubuntu]
 [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
  \definefallbackfamily [mainface] [math] [Ubuntu]
 [preset=math:lowercaseitalic,tf=name:ubuntu]
  \definefontfamily [mainface] [math] [Latin Modern Math]
 
  \setupbodyfont[mainface]
 
  \starttext
  $ abc \max$ abc max
  \stoptext

 \definefontfamily [mainface] [sans] [Ubuntu]

 \definefallbackfamily [mainface] [math] [Ubuntu]
 [preset=math:lowercaseitalic]
 \definefallbackfamily [mainface] [math] [Ubuntu]
 [preset=math:lowercasenormal]
 \definefontfamily [mainface] [math] [Latin Modern Math]

 \setupbodyfont[mainface]

 \starttext
 $ abc \max$ abc max
 \stoptext

 BTW: Why do you set the upright, italic etc. styles by hand?

  I am also interesting by knowing where I can find all the features
 preset=math: possible.

 The presets are defined in font-eel.mkvi with the \definefontfamilypreset
 command.

 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

 ___



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

2014-06-10 Thread David Wooten
Hi Hraban, thanks very much — yes I am able to get the first examples to work. 
Is there still a way to insert snippets/single lines of music between 
paragraphs?

Cheers,
David

On Jun 10, 2014, at 2:53 AM, Henning Hraban Ramm te...@fiee.net wrote:

 Am 2014-06-09 um 04:31 schrieb David Wooten d...@trichotomic.net:
 
 Greetings all, it’s been quite a while since I tried to use lilypond 
 snippets in a context file. Looks like we’re now using the filter module… 
 can someone post a small working example file to get me started? —there are 
 a number of different  some incomplete approaches to be found, none of 
 which work :)
 
 There’s really just one approach, just different setups of the filter module:
 http://wiki.contextgarden.net/LilyPond
 
 Did the first example work at all? Do you have LilyPond installed, and 
 calling „lilypond“ works?
 
 Greetlings, Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)
 
 ___
 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
___