[NTG-context] Widows: penalty without efffect (ConTeXt iv)

2012-08-10 Thread Jan Dittrich

Dear List,

I ran into trouble with the widow/orphan-control in context.
I searched the mailinglist, and saw that there were some other threads 
on the topic bevore, but as far as I am concerned what was suggested 
there did not work for me when I tried it.


I run context iv using the version which comes with TexLive 2011.

First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at 
the start of the document, before \starttext (cause I do my setups, and 
definitions there)
As this did not work I tried to put them after \starttext. As well I 
lowered \brokenpenalty. But both approaches, which were suggested in 
previous Posts on the ntg-context list failed to show an effect in my case.


Is there anything I could do to prevent the widow lines?

PS.: As I may be doing any noobish errors, here an overview of the 
documents structure and the placement of the penalty-commands

_

\widowpenalty=9000
\clubpenalty=9000

\definepapersize[janssize][width=190mm, height=245mm]

\setuppapersize[janssize][A4] %we can use something like [A5][A4], which 
is a a5 Page sized Document printed on a A4 sheet



\setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, 
width=110mm]%former: location=doublesided



\starttext

\startstandardmakeup
\stopstandardmakeup

\startfrontmatter
%TOC...
\stopfrontmatter

\startbodymatter %the main stuff goes here
% Loads of text
\stopbodymatter

\startappendices %appendices go here
\stopappendices

\stoptext




___
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] Figured bass symbols in a text.

2012-08-10 Thread Robert Blackstone
Dear all,

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?
I need it in a discussion of figured bass. (Figured bass is a system to 
indicate harmonies to be played above a bass-line. The figures can be single or 
stacked, two or three above each other. In discussing this topic in articles 
and books these figures are usually written as they appear in the music 
scores, in other words, stacked.)
For a stack of  two figures it can be done perfectly with \lohi{}{}. 

Is there a way to do it for a stack of three figures with the middle one 
sitting on the base line? (Something like \lomihi{}{}{}?)

Here is an example in which the problem is stated once more.
---
\starttext

This does not look professional.

A typical problematic example of this printing practice is Monteverdi's  {\em 
L'Orfeo}, where, in the third act, in Speranze's recitative  {\em Ecco l'atra 
palude}, several single fourths are printed, leaving for the continuo player 
the choice to play 5/4, 6/4, or 7/4/2.   
\medskip

This does, for  \lohi{4}{5} and \lohi{4}{6}. But how could this be done also 
for 7/4/2? (Interline distance may be enlarged as necessary.)

A typical problematic example of this printing practice is Monteverdi's  {\em 
L'Orfeo}, where, in the third act, in Speranze's recitative  {\em Ecco l'atra 
palude}, several single fourths are printed, leaving for the continuo player 
the choice to play \lohi{4}{5}, \lohi{4}{6}, or 7/4/2. 
\stoptext 

Thanks in advance for any help.

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] beta

2012-08-10 Thread Romain Diss
Hi,

Le vendredi 10 août 2012, Hans Hagen a écrit :
 On 10-8-2012 00:31, Mojca Miklavec wrote:
  On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
  As I wanted to acccess the help on the wiki, I've added a feature to
  mtxrun that can be used in an editor:
  
  mtxrun
  
 --gethelp
 --url=http://www.contextgarden.net/Command/setuplist;
  
  sh: http://www.contextgarden.net/Command/setuplist: No such file or
  directory
 
 So what would be the right way? Is there some abstract shortcut to the
 preferred browser?

On unix shells, 'xdg-open' open any file or URL with the appropriate program.

All the best.

-- 
Romain Diss
romain.d...@yahoo.fr
___
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] beta

2012-08-10 Thread Philipp Gesang
···date: 2012-08-10, Friday···from: Romain Diss···

 Hi,
 
 Le vendredi 10 août 2012, Hans Hagen a écrit :
  On 10-8-2012 00:31, Mojca Miklavec wrote:
   On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
   As I wanted to acccess the help on the wiki, I've added a feature to
   mtxrun that can be used in an editor:
   
   mtxrun
   
  --gethelp
  --url=http://www.contextgarden.net/Command/setuplist;
   
   sh: http://www.contextgarden.net/Command/setuplist: No such file or
   directory
  
  So what would be the right way? Is there some abstract shortcut to the
  preferred browser?
 
 On unix shells, 'xdg-open' open any file or URL with the appropriate program.

No, I beg you, don’t use xdg-open. It does not respect the
environment variables set by the user and is the reason why I
have made /usr/bin/firefox into a script that calls my *real*
browser.

xdg-open is not a standard (yet) and will confuse people. Please,
consult https://wiki.archlinux.org/index.php/Default_Applications#xdg-open,
especially the section “how it should work”, before you make the
choice. 

Thanks
Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpJGY6RknVP8.pgp
Description: PGP signature
___
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] Broken Nightly 2012.08.09 20:28 - \setupinteraction

2012-08-10 Thread Prashanth

Hi,
I like clickable links in PDF files. However, the build from 2012.08.09 
20:28 has a problem with it.

Minimal example:
\setupinteraction[status=start,
state=start, % disabling this line makes it work
title={Something},
subtitle={Something else}]
\starttext
\CONTEXT\  \footnote{http://wiki.contextgarden.net/} latest build.
\stoptext

___
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] Broken Nightly 2012.08.09 20:28 - \setupinteraction

2012-08-10 Thread Wolfgang Schuster

Am 10.08.2012 um 14:23 schrieb Prashanth prash.n@gmail.com:

 Hi,
 I like clickable links in PDF files. However, the build from 2012.08.09 20:28 
 has a problem with it.
 Minimal example:
 \setupinteraction[status=start,
state=start, % disabling this line makes it work
title={Something},
subtitle={Something else}]
 \starttext
 \CONTEXT\  \footnote{http://wiki.contextgarden.net/} latest build.
 \stoptext


Hyperlinks are added with \goto, \from etc., the link in your example which you 
get when you disabled the interaction option is only a feature of your pdf 
viewer.

\setupinteraction[state=start]
\starttext
\CONTEXT\  \footnote{\goto{ConTeXt wiki}[url(http://wiki.contextgarden.net/}] 
latest build.
\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] Broken Nightly 2012.08.09 20:28 - \setupinteraction

2012-08-10 Thread Prashanth

On 10/08/12 14:37, Wolfgang Schuster wrote:

Am 10.08.2012 um 14:23 schrieb Prashanth prash.n@gmail.com:


Hi,
I like clickable links in PDF files. However, the build from 2012.08.09 20:28 
has a problem with it.
Minimal example:
\setupinteraction[status=start,
state=start, % disabling this line makes it work
title={Something},
subtitle={Something else}]
\starttext
\CONTEXT\  \footnote{http://wiki.contextgarden.net/} latest build.
\stoptext


Hyperlinks are added with \goto, \from etc., the link in your example which you 
get when you disabled the interaction option is only a feature of your pdf 
viewer.

\setupinteraction[state=start]
\starttext
\CONTEXT\  \footnote{\goto{ConTeXt wiki}[url(http://wiki.contextgarden.net/}] 
latest build.
\stoptext

Wolfgang
As soon as I had sent out the example, I realized my example was 
confusing. Links within PDF files don't work, and hyperlinks don't work 
either. This minimal example makes the compiler crash too:

\setupinteraction[status=start,
state=start, % disabling this line makes it compile
title={Something},
subtitle={Something else}]
\starttext
\CONTEXT\  \footnote{XYZ} latest beta.
\stoptext


___
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] Broken Nightly 2012.08.09 20:28 - \setupinteraction

2012-08-10 Thread Wolfgang Schuster

Am 10.08.2012 um 15:02 schrieb Prashanth prash.n@gmail.com:

 As soon as I had sent out the example, I realized my example was confusing. 
 Links within PDF files don't work, and hyperlinks don't work either. This 
 minimal example makes the compiler crash too:
 \setupinteraction[status=start,
state=start, % disabling this line makes it compile
title={Something},
subtitle={Something else}]
 \starttext
 \CONTEXT\  \footnote{XYZ} latest beta.
 \stoptext

1. This was a known bug which is fixed in the last beta,
2. \setupinteraction has only a “state” but no “status” key.

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
___


[NTG-context] [OT] The effect of typefaces on credibility

2012-08-10 Thread Khaled Hosny
This is stuff is usually bogus, but the choice of Computer Modern is
interesting:
http://opinionator.blogs.nytimes.com/2012/08/08/hear-all-ye-people-hearken-o-earth/

(for once an OT that is not Luigi's)
___
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-10 Thread Rogers, Michael K
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.

Hope that helps,

Michael

On Aug 10, 2012, at 5:35 AM, Robert Blackstone wrote:

 Dear all,

 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?
 I need it in a discussion of figured bass. (Figured bass is a system to 
 indicate harmonies to be played above a bass-line. The figures can be single 
 or stacked, two or three above each other. In discussing this topic in 
 articles and books these figures are usually written as they appear in the 
 music scores, in other words, stacked.)
 For a stack of  two figures it can be done perfectly with \lohi{}{}.

 Is there a way to do it for a stack of three figures with the middle one 
 sitting on the base line? (Something like \lomihi{}{}{}?)

 Here is an example in which the problem is stated once more.
 ---
 \starttext

 This does not look professional.

 A typical problematic example of this printing practice is Monteverdi's  {\em 
 L'Orfeo}, where, in the third act, in Speranze's recitative  {\em Ecco l'atra 
 palude}, several single fourths are printed, leaving for the continuo player 
 the choice to play 5/4, 6/4, or 7/4/2.
 \medskip

 This does, for  \lohi{4}{5} and \lohi{4}{6}. But how could this be done also 
 for 7/4/2? (Interline distance may be enlarged as necessary.)

 A typical problematic example of this printing practice is Monteverdi's  {\em 
 L'Orfeo}, where, in the third act, in Speranze's recitative  {\em Ecco l'atra 
 palude}, several single fourths are printed, leaving for the continuo player 
 the choice to play \lohi{4}{5}, \lohi{4}{6}, or 7/4/2.
 \stoptext
 
 Thanks in advance for any help.

 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
 ___




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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-10 Thread Wolfgang Schuster

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
___
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-10 Thread Hans Hagen

On 10-8-2012 18:08, Wolfgang Schuster 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


Neat trick.

===

Wolfgang,

The next beta has:

\starttext

\definelow   [MyLow]   [style=\txx]
\definehigh  [MyHigh]  [style=\txx]
\definelowhigh   [MyLoHi]  [style=\txx]
\definelowmidhigh[MyLoMiHi][style=\txx]

We have
\ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and
\ruledhbox{\high{H}} and \ruledhbox{\MyHigh{H}} and
\ruledhbox{\lohi {L}{H}} and \ruledhbox{\MyLoHi {L}{H}} and
\ruledhbox{\lomihi{L}{M}{H}} and \ruledhbox{\MyLoMiHi{L}{M}{H}}.

\stoptext

So, we have low/high definable and clonable etc. Best check if the 
defaults are compatible. Valid parameters are 'up', 'down' and 
'distance' (dimensions) and of course 'style' and 'color'.


Hans

-
  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] Changing page number location for chapters

2012-08-10 Thread john Culleton
I have set up page numbering in the header thus:
\setuppagenumbering[alternative=doublesided,location={header,margin}]
I have suppressed this page number for chapters thus:
\setuphead[chapter][page=right,header=empty]

But what I really want is the page number for chapters in the
footer, and centered. This is a common convention. What parameter
should I use in the \setuphead command to accomplish this? 
-- 
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Police Procedural and Expose: Death Wore Black
Create Book Covers with Scribus
http://www.booklocker.com/books/4055.html
___
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] Changing page number location for chapters

2012-08-10 Thread Willi Egger
Hi John,


from the manual cont-enp.pdf p 81:

\definetext[chapter][footer][pagenumber]
with:
\setuphead[chapter][header=high,footer=chapter,page=right]

Hope this still works!

Willi

On Aug 10, 2012, at 8:34 PM, john Culleton wrote:

 I have set up page numbering in the header thus:
 \setuppagenumbering[alternative=doublesided,location={header,margin}]
 I have suppressed this page number for chapters thus:
 \setuphead[chapter][page=right,header=empty]
 
 But what I really want is the page number for chapters in the
 footer, and centered. This is a common convention. What parameter
 should I use in the \setuphead command to accomplish this? 
 -- 
 John Culleton
 Free list of books for self-publishers:
 http://wexfordpress.net/shortlist.html
 Police Procedural and Expose: Death Wore Black
 Create Book Covers with Scribus
 http://www.booklocker.com/books/4055.html
 ___
 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] Figured bass symbols in a text.

2012-08-10 Thread Sietse Brouwer
Hans wrote:
 So, we have low/high definable and clonable etc. Best check if the defaults
 are compatible. Valid parameters are 'up', 'down' and 'distance'
 (dimensions) and of course 'style' and 'color'.

Just downloaded and tested, looks nice.
Small bug: It's called lomihi, but the arguments are placed middle/high/low.

For documentation/clarification, is the following correct?
distance = extra kerning, distance between lomihi and preceding character.
up = how much the {hi} arg is raised
down = how much the {low} arg is lowered

Support for the [left] keyword seems to have been dropped, but is
still in the documentation comments.
Perhaps instead support align=..., and turn distance= into kernbefore=
and kernafter=? Sorry about not knowing enough to implement it myself.

Cheers,
Sietse

On Fri, Aug 10, 2012 at 7:59 PM, Hans Hagen pra...@wxs.nl wrote:
 On 10-8-2012 18:08, Wolfgang Schuster 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


 Neat trick.

 ===

 Wolfgang,

 The next beta has:

 \starttext

 \definelow   [MyLow]   [style=\txx]
 \definehigh  [MyHigh]  [style=\txx]
 \definelowhigh   [MyLoHi]  [style=\txx]
 \definelowmidhigh[MyLoMiHi][style=\txx]

 We have
 \ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and
 \ruledhbox{\high{H}} and \ruledhbox{\MyHigh{H}} and
 \ruledhbox{\lohi {L}{H}} and \ruledhbox{\MyLoHi {L}{H}} and
 \ruledhbox{\lomihi{L}{M}{H}} and \ruledhbox{\MyLoMiHi{L}{M}{H}}.

 \stoptext

 So, we have low/high definable and clonable etc. Best check if the defaults
 are compatible. Valid parameters are 'up', 'down' and 'distance'
 (dimensions) and of course 'style' and 'color'.

 Hans

 -
   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
 ___
___
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] Changing page number location for chapters

2012-08-10 Thread john Culleton
On Fri, 10 Aug 2012 20:47:33 +0200
Willi Egger cont...@boede.nl wrote:

 Hi John,
 
 
 from the manual cont-enp.pdf p 81:
 
 \definetext[chapter][footer][pagenumber]
 with:
 \setuphead[chapter][header=high,footer=chapter,page=right]
 
 Hope this still works!
 
 Willi
 
Yes!!

Thanks! I used header=empty but it still works. Couldn't find
the exact manual reference on page 81 but your code worked fine.  
-- 
John Culleton

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

2012-08-10 Thread Kip Warner
Hey list,

I've noticed at least three methods of setting what I think is the
generated PDF to maximum compression.

\setupbackend[level=9]
\pdfcompresslevel9
\maximumpdfcompression

Are these all redundant? Do they do different things? Do I need but one
to achieve the desired maximum compression of the resulting PDF?

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

Re: [NTG-context] Clarification on methods of toggling maximum compression

2012-08-10 Thread Hans Hagen

On 11-8-2012 00:19, Kip Warner wrote:

Hey list,

I've noticed at least three methods of setting what I think is the
generated PDF to maximum compression.


the official way, plays nicely with pdf standards:


\setupbackend[level=9]


pretty low level, might even disappear (overloaded):


\pdfcompresslevel9


low level, but wil stay:


\maximumpdfcompression



Are these all redundant? Do they do different things? Do I need but one
to achieve the desired maximum compression of the resulting PDF?


keep in mind that max compression slows down processing and often not 
much is gained


Hans

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


Re: [NTG-context] Clarification on methods of toggling maximum compression

2012-08-10 Thread Kip Warner
On Sat, 2012-08-11 at 00:57 +0200, Hans Hagen wrote:
  Are these all redundant? Do they do different things? Do I need but one
  to achieve the desired maximum compression of the resulting PDF?
 
 keep in mind that max compression slows down processing and often not 
 much is gained

Hey Hans. My document shrinks from about 70 MB to 20MB with compression.
But back to my original question, do I need all three or are they all
redundant and only one of them I actually need? If only one is
necessary, should I just use \setupbackend[level=9] ?

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

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

2012-08-10 Thread Hans Hagen

On 10-8-2012 21:09, Sietse Brouwer wrote:

Hans wrote:

So, we have low/high definable and clonable etc. Best check if the defaults
are compatible. Valid parameters are 'up', 'down' and 'distance'
(dimensions) and of course 'style' and 'color'.


Just downloaded and tested, looks nice.
Small bug: It's called lomihi, but the arguments are placed middle/high/low.


ok, i'll fix that ... (or maybe midlowhigh is nicer ?)


For documentation/clarification, is the following correct?
distance = extra kerning, distance between lomihi and preceding character.


only with low, high an lohi


up = how much the {hi} arg is raised
down = how much the {low} arg is lowered


indeed


Support for the [left] keyword seems to have been dropped, but is
still in the documentation comments.


still there, only for lohi .. maybe we should add an align key some day


Perhaps instead support align=..., and turn distance= into kernbefore=
and kernafter=? Sorry about not knowing enough to implement it myself.


hm, distance is often used for this so that's better

I'll do 'align' when there is demand for it.

Thanks for keeping the wiki so up to date.

Hans

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


Re: [NTG-context] Clarification on methods of toggling maximum compression

2012-08-10 Thread Hans Hagen

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

On Sat, 2012-08-11 at 00:57 +0200, Hans Hagen wrote:

Are these all redundant? Do they do different things? Do I need but one
to achieve the desired maximum compression of the resulting PDF?


keep in mind that max compression slows down processing and often not
much is gained


Hey Hans. My document shrinks from about 70 MB to 20MB with compression.


hm, suspicious


But back to my original question, do I need all three or are they all
redundant and only one of them I actually need? If only one is
necessary, should I just use \setupbackend[level=9] ?


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


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)


Hans

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


Re: [NTG-context] Clarification on methods of toggling maximum compression

2012-08-10 Thread Kip Warner
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)

Understood.

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