[NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Hello,

I am trying to have inter-line space change according to the current 
size of the body font, which I modify with \switchtobodyfont, but I 
cannot seem to affect the desired change as per the MWE below.  
\setupinterlinespace seems to take its lead from the original 
\setupbodyfont directive in the document, and does not revise it even 
when font size is changed.

Is there a prescribed method to properly use \setupinterlinespace (or 
for that matter \setupwhitespace when switching font sizes?

Many thanks.

 MWE

\setuppagenumbering[location=,state=stop] 

\definefontfamily[mainface][rm][Pagella]
\definefontfamily[mainface][ss][Heros]
\definefontfamily[mainface][mm][Latin Modern Math]
\setupbodyfont[mainface,72pt]
\setupinterlinespace

\starttext
\startalignment[center]
The Title
\blank
{\switchtobodyfont[36pt]\setupinterlinespace%
Subtitle line 1\\
Subtitle line 2}
\blank
{\switchtobodyfont[18pt]\setupinterlinespace%
Sub-subtitle line 1\\
Sub-subtitle line 2}
\stopalignment
\stoptext



-- 

Pavneet Arora   m: 647.406.6843
Waroc Informatikt: 416.937.9276
___
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] Windows Installer

2015-04-30 Thread Vya. Y.
Hi,

I noticed broken link to my GUI Windows installer here:
http://wiki.contextgarden.net/Windows_Installation. Does someone use it? (I
do, because it's simple to start). If community wants me to update it, pls,
contact me.

Regards,
V. Yatskovsky
___
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] Simple but can't find

2015-04-30 Thread henman



I've searched the garden for how to do the simple function of including 
a context macro file into another one for text and formats that I want 
to reuse.



But, I can find nothing when I searched for intuitive words such as 
include, import , use and file , etc



What is the command name?
___
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] Found that input is inclujde

2015-04-30 Thread henman

It clicked that input can be used to mean include a file.

Problem solved.
___
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] Letterhead Usage

2015-04-30 Thread henman


I have created a letterhead for correspondence, but it is too unfriendly 
to have to include it in every time.


I would like to use it as a package, but don't know if it's possible.

The problem I see is that the command \setlayer must  be done after the 
\starttext command.
If it doesn't then formatting commands such as \sc  will not take affect 
and I believe a different font is also applied.


What would  be a user friendly way to implement letterheads (made up 
using the layers functionality of context?


Thanks
___
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] Simple but can't find

2015-04-30 Thread Rik Kabel

On 2015-04-30 15:54, henman wrote:



I've searched the garden for how to do the simple function of 
including a context macro file into another one for text and formats 
that I want to reuse.



But, I can find nothing when I searched for intuitive words such as 
include, import , use and file , etc



What is the command name?


The \input command is used regularly in ConTeXt examples. It is 
documented in the wiki at http://wiki.contextgarden.net/Command/input. 
It is, essentially, the TeX \input command.


--
Rik
___
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] Synonyms’ \infull doesn’t work anymore

2015-04-30 Thread Thomas Floeren
Hi,

starting with the Beta from 16 April I have a problem with synonyms. The 
\infull part doesn’t work anymore.

Example:

```
\definesynonyms [Tea] [Teas] [\fullTea]
\setupsynonyms  [Tea] [synonymstyle=italic]
\Tea [tFop] {FOP} {Flowery Orange Pekoe}

\starttext
\tFop\ is ‘\fullTea{tFop}’.
\stoptext

```

I can make it work again with some hackery in the strc-syn.mkiv file: If I copy 
back the line
`\simplelistparameter\c!textcommand{\clf_synonymmeaning{#1}{#2}}%` (e.g. from 
the Beta 14 April) into the `strc_synonyms_insert_meaning` definition (at line 
~338) it works again.

Thanks for help.

Best,


-- 
Tom





___
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] Lucida Type1 Fonts

2015-04-30 Thread Troy Henderson
I have been using TUG's Lucida Type1 fonts for a while in ConTeXt, but
a recent update of the standalone version of ConTeXt is giving the
following when building a document containing math:

unknown math characters: μ (U+003BC) σ (U+003C3) χ (U+003C7) (n=44)

Obviously, it's having a problem with \mu and \chi, and these
characters are showing up as a ? in the document.

Does anyone know what may have changed recently to break Lucida Type1 support?

Troy
___
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] ConTeXt installation problem with Windows 8.1

2015-04-30 Thread Akira Kakuto

Dear Mojca,


I don't know installers, so ...


I have read first-setup.bat and have recognized that
binaries for LuaTeX and LuajitTeX themselves in the zip
are not installed. Sorry for my misunderstanding.

Best,
Akira

___
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] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Thanks Pablo!

 Hi Paavnet,

 yes, you need a paragraph to make \setupinterlinespace work.

-- 

Pavneet Arora   m: 647.406.6843
Waroc Informatikt: 416.937.9276
___
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] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pablo Rodriguez
On 04/30/2015 02:18 PM, Pavneet Arora wrote:
 Hello,
 
 I am trying to have inter-line space change according to the current 
 size of the body font, which I modify with \switchtobodyfont, but I 
 cannot seem to affect the desired change as per the MWE below.  
 \setupinterlinespace seems to take its lead from the original 
 \setupbodyfont directive in the document, and does not revise it even 
 when font size is changed.
 
 Is there a prescribed method to properly use \setupinterlinespace (or 
 for that matter \setupwhitespace when switching font sizes?

Hi Paavnet,

yes, you need a paragraph to make \setupinterlinespace work.

Your improved sample:

\setuppagenumbering[location=,state=stop]

\definefontfamily[mainface][rm][Pagella]
\definefontfamily[mainface][ss][Heros]
\definefontfamily[mainface][mm][Latin Modern Math]
\setupbodyfont[mainface,72pt]
\setupinterlinespace

\starttext
\startalignment[center]
The Title
\blank
{\switchtobodyfont[36pt]\setupinterlinespace%
Subtitle line 1\\
Subtitle line 2\par}
\blank
{\switchtobodyfont[18pt]\setupinterlinespace%
Sub-subtitle line 1\\
Sub-subtitle line 2\par}
\stopalignment
\stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___
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
___