[NTG-context] Typesetting musical scores

2007-04-25 Thread Vyatcheslav Yatskovsky
Hello, Is there a way to typeset (simple) musical scores with ConTeXt/XeTeX? I found Lilypond, but whether it is supported now is obscure. -- Best regards, Vyatcheslav Yatskovsky___ If your question is of interest

[NTG-context] definetypeface confusion

2007-04-25 Thread Patrick Gundlach
Hi there, I am a bit confused about \definetypeface. I try to mix some self-installed otf-fonts. Serif works fine, but I can't get the sans variant to work: \definetypeface [chaparral][rm][serif] [chaparral][default][encoding=texnansi] \definetypeface [myriad] [ss][sans] [myriad]

Re: [NTG-context] definetypeface confusion

2007-04-25 Thread Thomas A. Schmitz
On Apr 25, 2007, at 2:37 PM, Patrick Gundlach wrote: Hi there, I am a bit confused about \definetypeface. I try to mix some self-installed otf-fonts. Serif works fine, but I can't get the sans variant to work: \definetypeface [chaparral][rm][serif] [chaparral][default] [encoding=texnansi]

Re: [NTG-context] definetypeface confusion

2007-04-25 Thread Wolfgang Schuster
2007/4/25, Patrick Gundlach [EMAIL PROTECTED]: Hi there, I am a bit confused about \definetypeface. I try to mix some self-installed otf-fonts. Serif works fine, but I can't get the sans variant to work: \definetypeface [chaparral][rm][serif] [chaparral][default][encoding=texnansi]

Re: [NTG-context] definetypeface confusion

2007-04-25 Thread Patrick Gundlach
Hello Thomas, [...] Try: \definetypeface [chaparral] [ss][sans] [myriad] [default] [encoding=texnansi] great! This works. Thanks (also to Wolfgang). Now another question: I'd like to set the interlinespace for \rm only. My attempt: \definebodyfontenvironment

Re: [NTG-context] definetypeface confusion

2007-04-25 Thread Wolfgang Schuster
2007/4/25, Patrick Gundlach [EMAIL PROTECTED]: Hello Thomas, [...] Try: \definetypeface [chaparral] [ss][sans] [myriad] [default] [encoding=texnansi] great! This works. Thanks (also to Wolfgang). Now another question: I'd like to set the interlinespace for \rm only. My attempt:

Re: [NTG-context] Typesetting musical scores

2007-04-25 Thread Aditya Mahajan
On Wed, 25 Apr 2007, Vyatcheslav Yatskovsky wrote: Hello, Is there a way to typeset (simple) musical scores with ConTeXt/XeTeX? I found Lilypond, but whether it is supported now is obscure. There is a lilypond module for ConTeXt. It passes on the music typesetting to Lilypond and imports

Re: [NTG-context] active urls in bibliographies

2007-04-25 Thread Sanjoy Mahajan
Thanks for the minimal example you sent me (offlist), which worked great. If your question is of interest to others as well, please add an entry to the Wiki! I modified it only slightly and have wikified it at http://wiki.contextgarden.net/Bibliography#Active_URLs. When the patched t-bib.tex

Re: [NTG-context] definetypeface confusion

2007-04-25 Thread Patrick Gundlach
Hello Wolfgang, can you try the following setup \definebodyfontenvironment[chaparral][14pt][interlinespace=20pt] No effect with: \definetypeface [foo] [rm][serif] [chaparral][default][encoding=texnansi] \definetypeface [foo] [ss][sans] [myriad][default][encoding=texnansi]

[NTG-context] beginner's question: interlinespace and definetyping

2007-04-25 Thread Patrick Gundlach
Hi, it seems that I keep asking the beginner's questions... How do I combine \setupinterlinespace with \definetyping? I'd like to have a verbatim envrionment with less interlinespace then the rest of the document. \definetyping [befehl] [before={\startframedtext[width=.8\makeupwidth,

[NTG-context] crop pdf page via \externalfigure options

2007-04-25 Thread Vyatcheslav Yatskovsky
Hello, I have pdfs containing small musical pieces, created with lilypond. To include them in my document, I must crop each pdf manually each time it is recreated. Is there a way to crop pdf page via \externalfigure options? (All the switches listed at TeXshow seem to scale an image, not to

Re: [NTG-context] crop pdf page via \externalfigure options

2007-04-25 Thread Mari Voipio
Vyatcheslav Yatskovsky wrote: Is there a way to crop pdf page via \externalfigure options? (All the switches listed at TeXshow seem to scale an image, not to crop.) It doesn't always seem to work for me (with various Windows-created pdfs), but you can try this (example from texshow-web under

[NTG-context] XeTeX image dimensioning bug

2007-04-25 Thread Vyatcheslav Yatskovsky
Hello, I've found a bug in XeTeX image handling. Once it has created a .rli file for an image, it doesn't recalculate dimensions after the image is changed. I tested it with .png image, 1-bit (black-and-white). When I crop the image, both its size and datetime attribs are updated.

Re: [NTG-context] crop pdf page via \externalfigure options

2007-04-25 Thread Andrea Valle
Hi, actually my use of LilyPond with ConTeXt is based on creating the lily file, rendering in pdf, create a ConTeXt file inserting MetaPost and the placing/cropping the figure with MP. Best -a- On 25 Apr 2007, at 22:06, Vyatcheslav Yatskovsky wrote: Hello, I have pdfs containing small

Re: [NTG-context] The ConTeXt Companion

2007-04-25 Thread Martin Schröder
2007/4/14, Idris Samawi Hamid [EMAIL PROTECTED]: As for MKII/pdfTeX1, it makes no sense making a book for a stalled branch; debian users will continue to use pdfTeX1 for at least 10 years, I fear. :-) Best Martin

[NTG-context] Adjust spacing before and after figures

2007-04-25 Thread Vyatcheslav Yatskovsky
Hello, How to adjust spacing before and after all figures placed by \externalfigure? I don't need captions, just figures. Now I use two commands in pair, like \blank[4ex] \externalfigure[lily03.png][scale=1000] -- Best regards, Vyatcheslav Yatskovsky

[NTG-context] \AA cannot be uesed in math mode?

2007-04-25 Thread [EMAIL PROTECTED]
Hi, I want to get a sign of angstrom in an math formula, here is my example: % \starttext $\AA$ \stoptext % and the error message: % systems : begin file d at line 1 ! Please use \mathaccent for accents in math mode. \dochar

Re: [NTG-context] \AA cannot be uesed in math mode?

2007-04-25 Thread Aditya Mahajan
On Thu, 26 Apr 2007, [EMAIL PROTECTED] wrote: Hi, I want to get a sign of angstrom in an math formula, here is my example: % \starttext $\AA$ \stoptext $\Angstrom$ Also see the units modules for proper typesetting of units. Aditya