Re: [NTG-context] Figured bass symbols in a text

2012-08-11 Thread Robert Blackstone

On 10 aug. 2012, at 16:00, Rogers, Michael K mrog...@emory.edu wrote
in reply to my question: Is there a neat way to insert a stack of three 
figures in a line of text with the middle one sitting on the base line?

 Since no one has offered a quick ConTeXt solution, I offer my usual -- a dumb 
 Plain TeX solution:
 
 \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{#3}$}
 
 With the Computer Modern font, the top is a little further away from the 
 middle than the bottom.  It can be adjusted with something like
 
 \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{\lower0.23pt\hbox{$\scriptstyle{#3}$}}$}
 
 but this would probably have to be adjusted for each font and size.
 
 Hope that helps,
 
 Michael

Thank you very much. It certainly helps. This is exactly what I need. 

Kind regards, 
Rober
___
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] Figured bass symbols in a text

2012-08-11 Thread Robert Blackstone

On 10 aug. 2012, at 18:08:36 +0200, Wolfgang Schuster 
wolfgang.schus...@gmail.com wrote

 Am 10.08.2012 um 18:00 schrieb Rogers, Michael K mrog...@emory.edu:
 
 Hi,
 
 Since no one has offered a quick ConTeXt solution, I offer my usual -- a 
 dumb Plain TeX solution:
 
 \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{#3}$}
 
 With the Computer Modern font, the top is a little further away from the 
 middle than the bottom.  It can be adjusted with something like
 
 \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{\lower0.23pt\hbox{$\scriptstyle{#3}$}}$}
 
 but this would probably have to be adjusted for each font and size.
 
 You can use \framed:
 
 \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx]
 
 \starttext
 text \lohi{1}{2} text \lohimi{1\\2\\3} text
 \stoptext
 
 Wolfgang

Hi Wolfgang,

Though you actually replied to Michael Rogers' mail I consider myself to be a 
recipient of your advice too. Thank you very much for your help.

For my purpose the dumb Plain TeX solution that Michael Rogers suggested 
works better as the distances between the figures are short enough to make it 
look like one symbol.
Which is the way I prefer it in this sort of text.
Thanks again,

Kind regards,
Robert


___
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] Clarification on methods of toggling maximum compression

2012-08-11 Thread Hans Hagen

On 11-8-2012 01:26, Kip Warner wrote:

On Sat, 2012-08-11 at 01:05 +0200, Hans Hagen wrote:

hm, suspicious


Really? It's over 300 pages in length and contains plenty of vector
graphics (more text). But actually that 70 MB seems an overestimate and
I must have been looking at something else.


yes, that's best because as soon as that command is called, the set
value of 'level' is used, no matter what other values has been set


Here is the result of some experimentation:

23,396,929 Bytes using just \setupbackend[level=9].

21,945,243 Bytes using the aforementioned, \pdfcompresslevel9, and
\maximumpdfcompression.

23,396,827 Bytes using none of those three.

So I guess I'm still not sure which one to use since the one you said
should be sufficient doesn't seem to compress it fully.


never use \pdf* commands directly .. way too low level and use the oher
command only for fast tests (i use it in small test files)


I made

\setupbackend[level=9]

listen to that setting also if no 'format' is set. Also, in the report 
at the end of a run, the compress levels are reported so that you can 
check it.



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] superscript spacing: xits math font

2012-08-11 Thread Andreas Mang
Hi there,

Likewise to an issue reported earlier to this list (Math  other issues for TL 
2012) there seems to be a problem with the spacing of the superscript in the 
xits math font, which cannot be controlled via the setupmathematics[italix=n] 
option:

%%% start example 
\setupbodyfont[xits]

\starttext
${\cal P}^hx$
$P^h_mx$
$C^hx$
$W^{-1}x$ 
\stoptext
%%% stop example

For me (ConTeXt ver: 2012.08.10 00:32 MKIV fmt: 2012.8.10) these examples yield 
a too small spacing / negative spacing between the letter and the corresponding 
superscript. Any ideas?

Cheers,
Andreas 

Not quite sure if this is a pure font problem and should be sent to some other 
place than this list?
___
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] superscript spacing: xits math font

2012-08-11 Thread Khaled Hosny
On Sat, Aug 11, 2012 at 07:35:02PM +0200, Andreas Mang wrote:
 Hi there,
 
 Likewise to an issue reported earlier to this list (Math  other
 issues for TL 2012) there seems to be a problem with the spacing of
 the superscript in the xits math font, which cannot be controlled via
 the setupmathematics[italix=n] option:

It seems that ConTeXt is either stripping the italic correction from the
font or not passing it to the TeX backend, which would explain the two
issues you have.

Regards,
 Khaled
___
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] Clarification on methods of toggling maximum compression

2012-08-11 Thread Kip Warner
On Sat, 2012-08-11 at 12:02 +0200, Hans Hagen wrote:
 I made
 
 \setupbackend[level=9]
 
 listen to that setting also if no 'format' is set. Also, in the report 
 at the end of a run, the compress levels are reported so that you can 
 check it.

Thanks Hans. I'll use that when I pull the next nightly.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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
___