Re: [NTG-context] big are big with lucida

2008-08-29 Thread Eric DÉTREZ

Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.

It seems that the text you sent is writen with CM fonts.
The problem is only with Lucida fonts.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Wolfgang Schuster
On Thu, Aug 28, 2008 at 7:18 PM, Alan Stone
[EMAIL PROTECTED] wrote:
 Hi,

 Main manual pg 78, § 4.17: \setup*texts [.1.] [.2.] [.3.] commands

 When the first argument is left out it is taken for granted that the footer
 and header should be place under or over the pagebody (text).

 What does this mean ?

\setupheadertexts[...][...] is equal to
\setupheadertexts[text][...][...] and place
the header texts above the normal text area.

\setupheadertexts[margin][...][...] place the header texts in the left and
the right margin.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Eric DÉTREZ


Le 29 août 08 à 08:59, Wolfgang Schuster a écrit :


On Fri, Aug 29, 2008 at 8:50 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:


Le 29 août 08 à 04:51, Yue Wang a écrit :


Are you sure? see the first line of the attachment.


It seems that the text you sent is writen with CM fonts.
The problem is only with Lucida fonts.


This is *not* Latin/Computer Modern.


Allright, I'm not a font expert.
Here is what I get when I disable
\def\LBRbig  {\@@dobig{0.920}}
\def\LBRBig  {\@@dobig{1.080}}
\def\LBRbigg {\@@dobig{1.342}}
\def\LBRBigg {\@@dobig{1.603}}
\def\LBRbiggg{\@@dobig{1.772}}
\def\LBRBiggg{\@@dobig{2.125}}
:

inline: Image 1.png




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Wolfgang Schuster
On Fri, Aug 29, 2008 at 8:50 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:

 Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.

 It seems that the text you sent is writen with CM fonts.
 The problem is only with Lucida fonts.

This is *not* Latin/Computer Modern.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font questions once again...

2008-08-29 Thread Hans Hagen
Marcin Borkowski wrote:

 I'm still optimistically waiting for Torunisation of Poltawskiego :)

actually the term used since lm came around and gyre started is 
lm-ination which might be read as elimination of  mess -)


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Hans Hagen
Steffen Wolfrum wrote:
 Hi,
 
 in order to write a command=... for \setuphead I am fighting with the 
 following \framed:
 
 
 \starttext
 \showframe
 
 \def\TestFrame%
 {\hbox to \hsize\bgroup%
 \tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth]{{\kern0.75em}Test}}%
  
 
 \egroup}
 
 \TestFrame
 
 %Test% -
 
 \stoptext
 
 
 
 I only want the framed Test to be at the same vertical position as the 
 plain Test (please compare).
 
 Just how???

i'm not sure what you mean but

\starttext

\def\TestFrame
   {\dontleavehmode
\inframed[align=middle,width=0.85\textwidth]{{\kern0.75em}Test}}%

\TestFrame Test

\stoptext

puts them along side

when making head commands, it often helps to put #1 as well as #2 in a 
framed and then box the whole

a framed ends up as just a vbox with no depth (unless set)


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
 Allright, I'm not a font expert.
 Here is what I get when I disable
 \def\LBRbig  {\@@dobig{0.920}}
 \def\LBRBig  {\@@dobig{1.080}}
 \def\LBRbigg {\@@dobig{1.342}}
 \def\LBRBigg {\@@dobig{1.603}}
 \def\LBRbiggg{\@@dobig{1.772}}
 \def\LBRBiggg{\@@dobig{2.125}}
 :

Oh, My God~
Make sure your font installation are right.
Which TFM do you use?
Please follow http://www.ntg.nl/pipermail/ntg-context/2008/033517.html.
big braces are working fine on my documents.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
This is of course Lucida Expert fonts.
(The quality of the image is not so good, because I cannot upload
large attachments.  that's it.)

On Fri, Aug 29, 2008 at 2:50 PM, Eric DÉTREZ [EMAIL PROTECTED] wrote:

 Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.

 It seems that the text you sent is writen with CM fonts.
 The problem is only with Lucida fonts.

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem with frenchpunctuation

2008-08-29 Thread Hans Hagen
Peter Münster wrote:
 Hello,
 
 there is no space before the \type{}:
 
 % engine=luatex
 \setcharacterspacing[frenchpunctuation]
 \starttext
 «\type{bla}»
 \stoptext

i do a check on the next char being a glyph

i'll remove that check, but at some point we need to become more 
explicit about what to do, for instance

bla: will be ok, but bla : will have too much spacing now (to what 
extend should these mechanisms be 'clever'

these rules should be part of the french wiki spec page


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Jano Kula
Hi,

Alan Stone wrote:
 Hi,
  
 Main manual pg 78, § 4.17: \setup*texts /[.1.]/ [.2.] [.3.] commands
  
 When the first argument is left out it is taken for granted that the 
 footer and header should be place under or over the pagebody (text).
  
 What does this mean ?

First (optional) parameter defaults to text (positioning over/under 
text area).

This parameter says over/under which page area headers/footers are 
placed. One could choose margin or edge areas also.

Jano


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
Steffen Wolfrum schrieb:
 Hi,
 
 in order to write a command=... for \setuphead I am fighting with the  
 following \framed:
 
 
 \starttext
 \showframe
 
 \def\TestFrame%
 {\hbox to \hsize\bgroup%
 \tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth] 
 {{\kern0.75em}Test}}%
 \egroup}
 
 \TestFrame
 
 %Test% -
 
 \stoptext
 
 
 
 I only want the framed Test to be at the same vertical position as  
 the plain Test (please compare).
 
 Just how???
 

\def\TestFrame%
  {\hbox to \hsize\bgroup
   \midaligned\framed[frame=on,align=middle,width=0.85\textwidth]
   {{\kern0.75em}Test}\egroup}

but i'm also unsure what you exactly want to achieve ;)

best wishes, peter


 
 Thanks,
 
 Steffen
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Taco Hoekwater
Wolfgang Schuster wrote:
 On Fri, Aug 29, 2008 at 8:50 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:
 Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.
 It seems that the text you sent is writen with CM fonts.
 The problem is only with Lucida fonts.
 
 This is *not* Latin/Computer Modern.

The jpg from Yue Wang looks like it is using Times.

Best wishes,
Taco



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problem with frenchpunctuation

2008-08-29 Thread Hans Hagen
Peter Münster wrote:
 Hello,
 
 there is no space before the \type{}:
 
 % engine=luatex
 \setcharacterspacing[frenchpunctuation]
 \starttext
 «\type{bla}»
 \stoptext

i added an optional stripper (alternative=1 to the definitions)

\starttext
 \setcharacterspacing[frenchpunctuation]
 «\type{bla}»\crlf « \type{bla}»\crlf
 «bla »\crlf « bla»\crlf « bla »\crlf
 bla: bla\crlf bla : bla
\stoptext

looks ok to me

at the context conference we discussed regression tests (there is 
already a framework for that) ... so, how about you making a test file 
for character spacing

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
Hi,

sorry for my foggy post last night (02:50h ...)

Hopefully this example makes it clearer:
--

\starttext
\showframe

\definehead[EbeneFuenf] [subsubsubsection]
\setupsection[section-6][conversion=characters,previousnumber=yes]
\def\FuenfCommand#1{#1.}

\def\CurrentEbeneFuenfNumber#1#2%
{\hbox to \hsize\bgroup%
\tbox{\midaligned 
\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth] 
{{\FuenfCommand{\convertnumber{characters} 
{\countervalue{@@sesection-6{\kern0.75em}#2}}%
\egroup}

\setuphead[EbeneFuenf][command=\CurrentEbeneFuenfNumber]% using this  
command moves the line 2mm down?!

\EbeneFuenf{Test}

\stoptext

--
I wanted to define a command with a fixed width in order to determine  
a maximum width for a section.
But using this command (i.e. the framed) also moves the section down  
about 2mm!

How can this be avoided?

Steffen
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Wolfgang Schuster
On Fri, Aug 29, 2008 at 10:23 AM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:
 On Fri, Aug 29, 2008 at 8:50 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:
 Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.
 It seems that the text you sent is writen with CM fonts.
 The problem is only with Lucida fonts.

 This is *not* Latin/Computer Modern.

 The jpg from Yue Wang looks like it is using Times.

Definitely not, Times is different.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
Steffen Wolfrum schrieb:
 Hi,
 
 sorry for my foggy post last night (02:50h ...)
 
 Hopefully this example makes it clearer:
 -- 
 
 \starttext
 \showframe
 
 \definehead[EbeneFuenf][subsubsubsection]
 \setupsection[section-6][conversion=characters,previousnumber=yes]
 \def\FuenfCommand#1{#1.}
 
 \def\CurrentEbeneFuenfNumber#1#2%
 {\hbox to \hsize\bgroup%
 \tbox{\midaligned\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth]{{\FuenfCommand{\convertnumber{characters}{\countervalue{@@sesection-6{\kern0.75em}#2}}%
 
 \egroup}
 
 \setuphead[EbeneFuenf][command=\CurrentEbeneFuenfNumber]% using this
 command moves the line 2mm down?!


% insert here
\showboxes % see differences between \tbox and \hbox

 \EbeneFuenf{Test}
 
 \stoptext
 
 -- 
 I wanted to define a command with a fixed width in order to determine a
 maximum width for a section.
 But using this command (i.e. the framed) also moves the section down
 about 2mm!
 
 How can this be avoided?


have you tried my solution?

same answer :)

the \tbox does exactly what it should do (see p.85, context manual).
use a \hbox instead and the text is (nearly, exactly?) on the same
vertical position as plain text. but this highly depends on the offset
of \framed.

btw: you need the outer \hbox for the right total width and the inner
\framed for the frame and alignment. why the \tbox or any additional box?

best wishes, peter

 Steffen
 

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum

Am 29.08.2008 um 11:18 schrieb Peter Rolf:

 Steffen Wolfrum schrieb:
 Hi,

 sorry for my foggy post last night (02:50h ...)

 Hopefully this example makes it clearer:
 --  

 \starttext
 \showframe

 \definehead[EbeneFuenf][subsubsubsection]
 \setupsection[section-6][conversion=characters,previousnumber=yes]
 \def\FuenfCommand#1{#1.}

 \def\CurrentEbeneFuenfNumber#1#2%
 {\hbox to \hsize\bgroup%
 \tbox{\midaligned 
 \framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth] 
 {{\FuenfCommand{\convertnumber{characters} 
 {\countervalue{@@sesection-6{\kern0.75em}#2}}%

 \egroup}

 \setuphead[EbeneFuenf][command=\CurrentEbeneFuenfNumber]% using this
 command moves the line 2mm down?!


 % insert here
 \showboxes % see differences between \tbox and \hbox

 \EbeneFuenf{Test}

 \stoptext

 -- 
 I wanted to define a command with a fixed width in order to  
 determine a
 maximum width for a section.
 But using this command (i.e. the framed) also moves the section  
 down
 about 2mm!

 How can this be avoided?


 have you tried my solution?


yes, thank you, it just didn't work as expected: there still was a  
small vertical skip.

this (provided by Wolfgang) is what i wanted to achieve:

\def\CurrentEbeneFuenfNumber#1#2%
  {\midaligned{\inframed[width=.85\textwidth,align=middle] 
{#1\kern0.75em#2}}}

thanks again for your efforts,

steffen



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
On Fri, Aug 29, 2008 at 5:31 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, I will re sent the pdf tonight.

s/sent/send/g
btw, Taco, the attachment restriction (40k) is too stirct...


t.pdf
Description: Adobe PDF document


t.tex
Description: TeX document
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] scite and lm

2008-08-29 Thread Hans Hagen
Hi,

in the minimals there is a ttf file:

.../texmf-context/fonts/truetype/hoekwater/lm/LMTypewriter10-Regular.ttf

you can copy that file to c:\Windows\Fonts

then in in context.properties you can set

if PLAT_WIN
 font.monospace=font:LMTypewriter10-Regular,size:14
 font.errorfont=font:LMTypewriter10-Regular,size:12

if PLAT_GTK
 font.monospace=font:!lm mono 10 regular,size:14
 font.errorfont=font:!lm mono 10 regular,size:12

and you get lm as editor font

I don't know what is needed for linux.

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
OK, I will re sent the pdf tonight.


On Fri, Aug 29, 2008 at 4:43 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 On Fri, Aug 29, 2008 at 10:23 AM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:
 On Fri, Aug 29, 2008 at 8:50 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:
 Le 29 août 08 à 04:51, Yue Wang a écrit :

 Are you sure? see the first line of the attachment.
 It seems that the text you sent is writen with CM fonts.
 The problem is only with Lucida fonts.

 This is *not* Latin/Computer Modern.

 The jpg from Yue Wang looks like it is using Times.

 Definitely not, Times is different.

 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Taco Hoekwater
Hi,

Yue Wang wrote:
 This is of course Lucida Expert fonts.
 (The quality of the image is not so good, because I cannot upload
 large attachments.  that's it.)

What does your typescript look like? Lucida Expert may not be the
same as the Lucida Bright fonts from TUG (previously YandY).

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
On Sat, Aug 23, 2008 at 5:58 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:
 Hello

 The bigl, bigr ans so on are really BIG (huge even) when used with
 lucida.

 I think that math-lbr is guilty : it says
 **
 \def\LBRbig  {\@@dobig{8.20}}
 \def\LBRBig  {\@@dobig{10.80}}
 \def\LBRbigg {\@@dobig{13.42}}
 \def\LBRBigg {\@@dobig{16.03}}
 \def\LBRbiggg{\@@dobig{17.72}}
 \def\LBRBiggg{\@@dobig{21.25}}
 **
 Shouldn't it says
 **
 \def\LBRbig  {\@@dobig{0.920}}
 \def\LBRBig  {\@@dobig{1.080}}
 \def\LBRbigg {\@@dobig{1.342}}
 \def\LBRBigg {\@@dobig{1.603}}
 \def\LBRbiggg{\@@dobig{1.772}}
 \def\LBRBiggg{\@@dobig{2.125}}
 **
 ?

How do you get these variables? the symbols in lucida math are different.
you can also refer to
ftp://ftp.comp.hkbu.edu.hk/pub/TeX/CTAN/macros/latex/contrib/psnfssx/lucidabr/lucidabr.pdf.
page 9, line 263-273


 There is a strange behavior :  if I put
  \def\LBRbig  {\@@dobig{0.930}}
 big is bigger than Big.
 How is this possible ?

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Alan Stone
Ok thanks.

Next, pg 80 table 4.5, result column

state   result
--
none   invisible, no whitespace
empty one page invisible, whitespace
highone page visible, no whitespace
stopinvisible, whitespace

What does this mean ?

Best,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Hans Hagen
Taco Hoekwater wrote:
 Yue Wang wrote:
 On Fri, Aug 29, 2008 at 5:31 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, I will re sent the pdf tonight.

 s/sent/send/g
 
 Thank you. Now I no longer understand why Eric got wrong output :(
 
 btw, Taco, the attachment restriction (40k) is too stirct...
 
 I do not think we can enlarge the value by much, this mailing list
 has a whole lot of people on it, and some of them are on slow
 connections. But maybe just a bit more will be ok. Hans?

64k


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Taco Hoekwater
Alan Stone wrote:
 Ok thanks.
 
 Next, pg 80 table 4.5, result column
 
 state   result
 --
 none   invisible, no whitespace
 empty one page invisible, whitespace
 highone page visible, no whitespace
 stopinvisible, whitespace
 
 What does this mean ?

The first column describes with the content will be visible or not.
The one page ones revert to the 'normal' behaviour after one page
(this is useful for e.g. chapter title pages).

The second column controls whether the header/footer gets any space
allocated for its content (on title pages, you may want to use the
full height, including the space that is normally reserved for the
headers/footers).

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
There is one possible condition:

He failed to install the math part of the lucida font (either pfbs or tfms) .
and then to some unknown reasons
ConTeXt switch to the Latin Modern Font.
But it still use value like 8.20 (defined in math-lbr) instead of 0.85
(defined in plain TeX, core-mat and math-tex)
Then the braces are gigantic big...

please have a check if this is the cause -_-

On Fri, Aug 29, 2008 at 6:08 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Yue Wang wrote:
 On Fri, Aug 29, 2008 at 5:31 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, I will re sent the pdf tonight.

 s/sent/send/g

 Thank you. Now I no longer understand why Eric got wrong output :(

 btw, Taco, the attachment restriction (40k) is too stirct...

 I do not think we can enlarge the value by much, this mailing list
 has a whole lot of people on it, and some of them are on slow
 connections. But maybe just a bit more will be ok. Hans?

 Best wishes,
 Taco
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Taco Hoekwater
Yue Wang wrote:
 On Fri, Aug 29, 2008 at 5:31 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, I will re sent the pdf tonight.

 s/sent/send/g

Thank you. Now I no longer understand why Eric got wrong output :(

 btw, Taco, the attachment restriction (40k) is too stirct...

I do not think we can enlarge the value by much, this mailing list
has a whole lot of people on it, and some of them are on slow
connections. But maybe just a bit more will be ok. Hans?

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Eric DÉTREZ

Le 29 août 08 à 12:00, Yue Wang a écrit :

 On Sat, Aug 23, 2008 at 5:58 AM, Eric DÉTREZ [EMAIL PROTECTED] wrote:
 Hello

 The bigl, bigr ans so on are really BIG (huge even) when used with
 lucida.

 I think that math-lbr is guilty : it says
 **
 \def\LBRbig  {\@@dobig{8.20}}
 \def\LBRBig  {\@@dobig{10.80}}
 \def\LBRbigg {\@@dobig{13.42}}
 \def\LBRBigg {\@@dobig{16.03}}
 \def\LBRbiggg{\@@dobig{17.72}}
 \def\LBRBiggg{\@@dobig{21.25}}
 **
 Shouldn't it says
 **
 \def\LBRbig  {\@@dobig{0.920}}
 \def\LBRBig  {\@@dobig{1.080}}
 \def\LBRbigg {\@@dobig{1.342}}
 \def\LBRBigg {\@@dobig{1.603}}
 \def\LBRbiggg{\@@dobig{1.772}}
 \def\LBRBiggg{\@@dobig{2.125}}
 **
 ?

 How do you get these variables? the symbols in lucida math are  
 different.

I just divided the size by 10 with a modification for big (doesn't  
understand why, see the second part of my question).
They look like the sizes in math-tex
**
\def\PLAINbig {\@@dobig{0.85}}
\def\PLAINBig {\@@dobig{1.15}}
\def\PLAINbigg{\@@dobig{1.45}}
\def\PLAINBigg{\@@dobig{1.75}}
**

 you can also refer to
 ftp://ftp.comp.hkbu.edu.hk/pub/TeX/CTAN/macros/latex/contrib/psnfssx/lucidabr/lucidabr.pdf
  
 .
 page 9, line 263-273

Indeed the original sizes are the same.
But the lucidabr package uses 8.20 pt and context uses a multiple of  
fontsize :
**
\def\@@dobig#1#2%
   [EMAIL PROTECTED]
**

Does anybody understand why big with \def\LBRbig  {\@@dobig{0.930}} is  
bigger than Big with \def\LBRBig  {\@@dobig{1.080}} ?

 There is a strange behavior :  if I put
 \def\LBRbig  {\@@dobig{0.930}}
 big is bigger than Big.
 How is this possible ?



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Font fallbacks

2008-08-29 Thread Wolfgang Schuster
Hi,

the \definefontfallback commands use only the last setting in a comma
seperated list.

In this example only characters from 0x0071 to 0x0081 are set in bolditalic.

\definefontfallback [whatever] [BoldItalic] [0x0041-0x0051,0x0071-0x0081]

\definefontsynonym[SerifPlus][Serif][fallbacks=whatever]

\definefont[MySerif][SerifPlus]

\starttext

\MySerif

\dostepwiserecurse{65}{255}{1}
{\char\recurselevel\hskip10pt plus 5pt\relax}

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Wolfgang Schuster
On Fri, Aug 29, 2008 at 12:38 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, today I read the chapter again and I am sure examples in pages
 like pp36, pp37 of cont-eni.pdf are wrong.
 Zoom your Adobe Reader to 600% and notice the header text.

 On Fri, Aug 29, 2008 at 6:21 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Alan Stone wrote:
 Ok thanks.

 Next, pg 80 table 4.5, result column

 state   result
 --
 none   invisible, no whitespace
 empty one page invisible, whitespace
 highone page visible, no whitespace
 stopinvisible, whitespace

 What does this mean ?

 The first column describes with the content will be visible or not.
 The one page ones revert to the 'normal' behaviour after one page
 (this is useful for e.g. chapter title pages).

 The second column controls whether the header/footer gets any space
 allocated for its content (on title pages, you may want to use the
 full height, including the space that is normally reserved for the
 headers/footers).

You mean \setupheadertexts[..][..][..][..].

This was already mentioned a few days ago, it's front side/back side and
not left page/right page.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] big are big with lucida

2008-08-29 Thread Yue Wang
oh, I made a another mistake. I mean __complete__ set (not basic set)
font from TUG:)

On Fri, Aug 29, 2008 at 5:30 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Hi,

 Yue Wang wrote:
 This is of course Lucida Expert fonts.
 (The quality of the image is not so good, because I cannot upload
 large attachments.  that's it.)

 What does your typescript look like? Lucida Expert may not be the
 same as the Lucida Bright fonts from TUG (previously YandY).

 Best wishes,
 Taco
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Yue Wang
No. The example and the code do not match. should be corrected.

On Fri, Aug 29, 2008 at 7:20 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 On Fri, Aug 29, 2008 at 12:38 PM, Yue Wang [EMAIL PROTECTED] wrote:
 OK, today I read the chapter again and I am sure examples in pages
 like pp36, pp37 of cont-eni.pdf are wrong.
 Zoom your Adobe Reader to 600% and notice the header text.

 On Fri, Aug 29, 2008 at 6:21 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Alan Stone wrote:
 Ok thanks.

 Next, pg 80 table 4.5, result column

 state   result
 --
 none   invisible, no whitespace
 empty one page invisible, whitespace
 highone page visible, no whitespace
 stopinvisible, whitespace

 What does this mean ?

 The first column describes with the content will be visible or not.
 The one page ones revert to the 'normal' behaviour after one page
 (this is useful for e.g. chapter title pages).

 The second column controls whether the header/footer gets any space
 allocated for its content (on title pages, you may want to use the
 full height, including the space that is normally reserved for the
 headers/footers).

 You mean \setupheadertexts[..][..][..][..].

 This was already mentioned a few days ago, it's front side/back side and
 not left page/right page.

 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Yue Wang
OK, today I read the chapter again and I am sure examples in pages
like pp36, pp37 of cont-eni.pdf are wrong.
Zoom your Adobe Reader to 600% and notice the header text.

On Fri, Aug 29, 2008 at 6:21 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Alan Stone wrote:
 Ok thanks.

 Next, pg 80 table 4.5, result column

 state   result
 --
 none   invisible, no whitespace
 empty one page invisible, whitespace
 highone page visible, no whitespace
 stopinvisible, whitespace

 What does this mean ?

 The first column describes with the content will be visible or not.
 The one page ones revert to the 'normal' behaviour after one page
 (this is useful for e.g. chapter title pages).

 The second column controls whether the header/footer gets any space
 allocated for its content (on title pages, you may want to use the
 full height, including the space that is normally reserved for the
 headers/footers).

 Best wishes,
 Taco
 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Taco Hoekwater
Yue Wang wrote:
 No. The example and the code do not match. should be corrected.

I see it too. Almost as if Figure 3.3 and 3.4 are copies of 3.2.

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] headers and footers

2008-08-29 Thread Alan Stone
(1) The main manual mentions (bottom of pg 78) setting the state is done
for the whole header and (bottom of page 79) the keys state, before and
after work on all parts of the pagebody, main text, margins and edges.

So there's no way to set the text/margin/edge states separately ?
( I need different visible/invisible settings for standard, frontapart and
backpart )

(2) pg 80 table 4.5: what's the difference between state=normal and
state=start ?

(3) in \setup*[margin/edge] ( * = top/header/footer/bottom ), how do you
differentiate between
the left and right margin/edge areas ?

Thanks and have a great weekend,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font fallbacks

2008-08-29 Thread Hans Hagen
Wolfgang Schuster wrote:
 Hi,
 
 the \definefontfallback commands use only the last setting in a comma
 seperated list.

fixed (it needed a deep copy of tables)


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Padding in natural tables

2008-08-29 Thread Hans Hagen
B. Tommy Jensen wrote:
 Hi,,
 I have been searching the documentation on natural tables (\bTABLE), but  
 haven't been
 able to resolve the following issue:
 
 I would like to specify an internal padding in the table cells, e.g. text  
 content should start 0.4cm
  from the left edge of the table cell. Also, it would be nice to specify  
 the distance from the top border.
 (In HTML this is accomplished with the padding option.)
 
 The table is composed with horizontal lines only.
 
 I have tried the distance option for the table columns, but this gives  
 ugly broken horizontal lines.
 
 What is the best solution - is there an undocumented parameter, or do I  
 have to add a block within the cell
 and specify an external margin for that block?

there is a setups key and you can add settings to a setup then

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___