[NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone
Dear list,

Would it be possible to insert a tiny graphic, not larger than a capital M, 
into a textline?

I am presently making a bilingual version of a sixteenth century French musical 
treatise, and I would like to copy as much as possible the typographic features 
of the original in the modern version, both French and a  translation. 
In the original French edition some text lines contain musical symbols, not 
only the sharp, flat and natural characters but also some others, of which I 
can make graphics (png or pdf).
I can place these praphics in the margin and even in a footnote (although with 
rather too much space above it) but I would prefer to have them in their text 
line.
Is that doable?

Thanks in advance.

Best regards,

Robert Blackstone

___
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] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster

Am 27.11.2011 um 18:20 schrieb Robert Blackstone:

 Dear list,
 
 Would it be possible to insert a tiny graphic, not larger than a capital M, 
 into a textline?
 
 I am presently making a bilingual version of a sixteenth century French 
 musical treatise, and I would like to copy as much as possible the 
 typographic features of the original in the modern version, both French and a 
  translation. 
 In the original French edition some text lines contain musical symbols, not 
 only the sharp, flat and natural characters but also some others, of which I 
 can make graphics (png or pdf).
 I can place these praphics in the margin and even in a footnote (although 
 with rather too much space above it) but I would prefer to have them in their 
 text line.
 Is that doable?

\starttext
This is a cow \figuresymbol[cow].
\stoptext

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
___


Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster

Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster:

 Am 27.11.2011 um 18:20 schrieb Robert Blackstone:
 
 Dear list,
 
 Would it be possible to insert a tiny graphic, not larger than a capital M, 
 into a textline?
 
 I am presently making a bilingual version of a sixteenth century French 
 musical treatise, and I would like to copy as much as possible the 
 typographic features of the original in the modern version, both French and 
 a  translation. 
 In the original French edition some text lines contain musical symbols, not 
 only the sharp, flat and natural characters but also some others, of which I 
 can make graphics (png or pdf).
 I can place these praphics in the margin and even in a footnote (although 
 with rather too much space above it) but I would prefer to have them in 
 their text line.
 Is that doable?
 
 \starttext
 This is a cow \figuresymbol[cow].
 \stoptext


More control about the height gives you this method:

\defineexternalfigure[inline][height=1.8ex]

\starttext
This is a cow \externalfigure[cow][inline].
\stoptext

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
___


Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone

 Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster:
 
 Am 27.11.2011 um 18:20 schrieb Robert Blackstone:
 
 Dear list,
 
 Would it be possible to insert a tiny graphic, not larger than a capital M, 
 into a textline?
 
 
 \starttext
 This is a cow \figuresymbol[cow].
 \stoptext

 Wolfgang
 
 
 More control about the height gives you this method:
 
 \defineexternalfigure[inline][height=1.8ex]
 
 \starttext
 This is a cow \externalfigure[cow][inline].
 \stoptext
 
 Wolfgang

This, especially the second method, is exactly what I wanted. Thank you very 
much Wolfgang.

Best regards,

Robert Blackstone

___
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] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster

Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster:

 Am 27.11.2011 um 18:20 schrieb Robert Blackstone:
 
 Dear list,
 
 Would it be possible to insert a tiny graphic, not larger than a capital M, 
 into a textline?
 
 I am presently making a bilingual version of a sixteenth century French 
 musical treatise, and I would like to copy as much as possible the 
 typographic features of the original in the modern version, both French and 
 a  translation. 
 In the original French edition some text lines contain musical symbols, not 
 only the sharp, flat and natural characters but also some others, of which I 
 can make graphics (png or pdf).
 I can place these praphics in the margin and even in a footnote (although 
 with rather too much space above it) but I would prefer to have them in 
 their text line.
 Is that doable?
 
 \starttext
 This is a cow \figuresymbol[cow].
 \stoptext


More control about the height gives you this method:

\defineexternalfigure[inline][height=1.8ex]

\starttext
This is a cow \externalfigure[cow][inline].
\stoptext

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
___