[NTG-context] character spacing for guillemets in English

2013-06-02 Thread Alan Bowen
Is there a global way to insert a very thin (ca 1pt) unbreakable space
before a right guillemet and after a left guillemet when the main language
and character spacing are English, so that “«” and “»”  in my source
file are processed properly?

The font that I am using puts them too close to the enclosed characters
(typically, Greek). Basically, I need to borrow the French spacing for
these two characters but have not been able to figure out how to do this
from the ConTeXt source files.


Alan
___
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] character spacing for guillemets in English

2013-06-02 Thread Wolfgang Schuster

Am 02.06.2013 um 14:32 schrieb Alan Bowen bowenala...@gmail.com:

 Is there a global way to insert a very thin (ca 1pt) unbreakable space before 
 a right guillemet and after a left guillemet when the main language and 
 character spacing are English, so that “«” and “»”  in my source file are 
 processed properly? 
 
 The font that I am using puts them too close to the enclosed characters 
 (typically, Greek). Basically, I need to borrow the French spacing for these 
 two characters but have not been able to figure out how to do this from the 
 ConTeXt source files.

\definecharacterspacing [alan]

\setupcharacterspacing [alan] [00AB] [right=.1,alternative=1]
\setupcharacterspacing [alan] [00BB] [left=.1,alternative=1]

\starttext

text «text» text

\setcharacterspacing[alan]

text «text» 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
___


[NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Hi list,

I have two questions regarding registers.

1. How to change the title of the register (placed by
\completeregister) and its numbering style?  (Assume that e.g. I want
it to be an unnumbered section and not a numbered chapter.)

2. I'd like my register not to have the headers with subsequent letters
of the alphabet.  I did [indicator=no] in \setupregister, but still got
the *vertical spacing* between gropus of entries beginning with the same
letter. Then, I did also [before={}], but then the space between entry
groups is actually *smaller* than the usual interline space (confirmed
by doing \showgrid).  What should I do to prevent this from happening?

Regards,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 19:46:52
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):

 Hi list,
 
 I have two questions regarding registers.
 
 1. How to change the title of the register (placed by
 \completeregister) and its numbering style?  (Assume that e.g. I want
 it to be an unnumbered section and not a numbered chapter.)

OK, I've just found out about \setupheadtext[register={...}], but the
rest of my problems are still unsolved for me.

 2. I'd like my register not to have the headers with subsequent
 letters of the alphabet.  I did [indicator=no] in \setupregister, but
 still got the *vertical spacing* between gropus of entries beginning
 with the same letter. Then, I did also [before={}], but then the
 space between entry groups is actually *smaller* than the usual
 interline space (confirmed by doing \showgrid).  What should I do to
 prevent this from happening?
 
 Regards,
 



-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 19:51:54
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):

 Dnia 2013-06-02, o godz. 19:46:52
 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
 
  Hi list,
  
  I have two questions regarding registers.
  
  1. How to change the title of the register (placed by
  \completeregister) and its numbering style?  (Assume that e.g. I
  want it to be an unnumbered section and not a numbered chapter.)
 
 OK, I've just found out about \setupheadtext[register={...}], but the
 rest of my problems are still unsolved for me.
 
  2. I'd like my register not to have the headers with subsequent
  letters of the alphabet.  I did [indicator=no] in \setupregister,
  but still got the *vertical spacing* between gropus of entries
  beginning with the same letter. Then, I did also [before={}], but
  then the space between entry groups is actually *smaller* than the
  usual interline space (confirmed by doing \showgrid).  What should
  I do to prevent this from happening?

Me again: seems it was an ID10T error, the problem was insufficient
magnification in the pdf viewer.  Solution wikified under Registers.

The problem with head style of the title of the register is still
unsolved, though not critical - I can use \placeregister and supply the
title myself.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] character spacing for guillemets in English

2013-06-02 Thread Alan Bowen
Thanks, Wolfgang. That is a great help: it works perfectly and saves my day.

All best, Alan


On Sun, Jun 2, 2013 at 10:16 AM, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:


 Am 02.06.2013 um 14:32 schrieb Alan Bowen bowenala...@gmail.com:

  Is there a global way to insert a very thin (ca 1pt) unbreakable space
 before a right guillemet and after a left guillemet when the main language
 and character spacing are English, so that “«” and “»”  in my source file
 are processed properly?
 
  The font that I am using puts them too close to the enclosed characters
 (typically, Greek). Basically, I need to borrow the French spacing for
 these two characters but have not been able to figure out how to do this
 from the ConTeXt source files.

 \definecharacterspacing [alan]

 \setupcharacterspacing [alan] [00AB] [right=.1,alternative=1]
 \setupcharacterspacing [alan] [00BB] [left=.1,alternative=1]

 \starttext

 text «text» text

 \setcharacterspacing[alan]

 text «text» 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

 ___

___
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] Two questions about registers

2013-06-02 Thread Wolfgang Schuster

Am 02.06.2013 um 19:46 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl:

 Hi list,
 
 I have two questions regarding registers.
 
 1. How to change the title of the register (placed by
 \completeregister) and its numbering style?  (Assume that e.g. I want
 it to be an unnumbered section and not a numbered chapter.)

When you use one of the \complete… (content, synonyms etc.) commands
context uses either \chapter or \title to place the heading for the register,
in addition it creates a reference to the register which has the name
of the register, e.g. “content” or “index”.

In cases where this heading type isn’t sufficient you can use \title
(or any other heading) in combination with \place…, the disadvantage
of this method is that you loose the multilingual labels (not really
a problem) but you can access the texts with \headtext{…},
e.g. \headtext{content} or \headtext{index}


 2. I'd like my register not to have the headers with subsequent letters
 of the alphabet.  I did [indicator=no] in \setupregister, but still got
 the *vertical spacing* between gropus of entries beginning with the same
 letter. Then, I did also [before={}], but then the space between entry
 groups is actually *smaller* than the usual interline space (confirmed
 by doing \showgrid).  What should I do to prevent this from happening?

Can you provide a example for this?

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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 20:46:12
Wolfgang Schuster schuster.wolfg...@gmail.com napisał(a):

 
 Am 02.06.2013 um 19:46 schrieb Marcin Borkowski
 mb...@wmi.amu.edu.pl:
 
  Hi list,
  
  I have two questions regarding registers.
  
  1. How to change the title of the register (placed by
  \completeregister) and its numbering style?  (Assume that e.g. I
  want it to be an unnumbered section and not a numbered chapter.)
 
 When you use one of the \complete… (content, synonyms etc.) commands
 context uses either \chapter or \title to place the heading for the
 register, in addition it creates a reference to the register which
 has the name of the register, e.g. “content” or “index”.

Just curiosity: when \chapter and when \title?

 In cases where this heading type isn’t sufficient you can use \title
 (or any other heading) in combination with \place…, the disadvantage
 of this method is that you loose the multilingual labels (not really
 a problem) but you can access the texts with \headtext{…},
 e.g. \headtext{content} or \headtext{index}

By multilingual labels, you mean the texts like Index, Contents
etc., right?

  2. I'd like my register not to have the headers with subsequent
  letters of the alphabet.  I did [indicator=no] in \setupregister,
  but still got the *vertical spacing* between gropus of entries
  beginning with the same letter. Then, I did also [before={}], but
  then the space between entry groups is actually *smaller* than the
  usual interline space (confirmed by doing \showgrid).  What should
  I do to prevent this from happening?
 
 Can you provide a example for this?

See my other email.  Tl;dr: I was wrong, everything is fine.

 Wolfgang

Thanks,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] How to place page numbers in the margin, at the bottom of the text area?

2013-06-02 Thread Marcin Borkowski
Hi everybody,

I'd like to position page numbers in the margin, at the bottom, but
*not* in the footer; instead, I want them to be aligned so that their
baseline coincides with the baseline of the last line on the page.

Is it possible, and if yes, how?

Regards,

-- 
Marcin Borkowski
room B3-46, phone no +48 61 829 5375
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___