[NTG-context] strange page break

2010-05-03 Thread Peter Münster
Hello,

Here is a strange page break (version 2010.04.29 22:30):

\def\mySection{\section{bla}\dorecurse{30}{text }}
\starttext
\dorecurse8{
  \mySection\par
  bla}
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] tooltips and glossary

2010-05-03 Thread Michael Saunders
> Wolfgang Schuster:
> http://pragma-ade.com/general/manuals/cont-enp.pdf -> page 159

That rambling entry is like the webpage but worse.  It still doesn't
say what arguments 2--4 do, why \infull is necesarry, or anything else
with any clarity.  It's just another bundle of bad writing concealing
what may be (but probably isn't) something useful.  I was thinking of
something like GlossTeX:
ftp://ftp.dante.de/tex-archive/support/glosstex/glosstex.pdf

I accept that Context has nothing built-in that's useful for making
glossaries.  That's okay, I can come up with something on my own.  How
about tooltips, though?  Does anyone do those with Context?
___
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] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-03 Thread Honza Pohanka

Hello,
the Storm font support by Vit Zyka is broken in actual version of MKII. I  
spoke with him, but unfortunately he uses old version and does not have  
the time for updates. I discovered that renaming the enco-*.tex files to  
enco-*.mkii solves a part of the problem, but there still remains an issue  
with math typesetting. Context does not know many characters (\times,  
\neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to  
look deeper. Could anyone help?


greetings Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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] tooltips and glossary

2010-05-03 Thread Wolfgang Schuster

Am 03.05.10 21:18, schrieb Michael Saunders:

http://wiki.contextgarden.net/Reference/en/definesynonyms
 

If you read that page, you'll notice it doesn't say what the second
and third arguments of \definesynonyms do, what the command
\definesynonyms itself does, nor does it hint at what \infull is
doing.  There is certainly nothing there about using an external
database.  I don't see any way to use \definesynonyms for a glossary
or any practical purpose for \definesynonyms at all, and the
abbreviations example is obviously more trouble than it's worth.
   

http://pragma-ade.com/general/manuals/cont-enp.pdf -> page 159

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] tooltips and glossary

2010-05-03 Thread Michael Saunders
>> Also, is there no Context method to produce a glossary?  It might be
>> enough to produce a secondary .bib file with special entries and to
>> print this out as a secondary "References" section, but I don't know
>> how to do this or how to control the appearance of the printed
>> "references".

Wolfgang Schuster:

> http://wiki.contextgarden.net/Reference/en/definesynonyms

If you read that page, you'll notice it doesn't say what the second
and third arguments of \definesynonyms do, what the command
\definesynonyms itself does, nor does it hint at what \infull is
doing.  There is certainly nothing there about using an external
database.  I don't see any way to use \definesynonyms for a glossary
or any practical purpose for \definesynonyms at all, and the
abbreviations example is obviously more trouble than it's worth.

More to the point, there is nothing about tooltips.  Is there a way
for Context to produce tooltips in text (with invisible buttons,
perhaps)?
___
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] tooltips and glossary

2010-05-03 Thread Wolfgang Schuster

Am 03.05.10 00:51, schrieb Michael Saunders:

Does Context have a mechanism for placing tooltips on text?  I think
the usual PDF way is to put an invisible button over the test and set
its "short description".  Does anyone know how to do this?
   


http://wiki.contextgarden.net/Widgets

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] mistake in lang-cjk.mkiv

2010-05-03 Thread Tomáš Pustelník
Hi,

I have found a glitch in lang-cjk.mkiv in definition of Japanese language name 
of days are shifted. It begins at line 136, sunday is actualy monday etc. 
In source code it looks like that:

\setuplabeltext [\s!ja][\v!sunday=月曜日]
\setuplabeltext [\s!ja][\v!monday=火曜日]
\setuplabeltext [\s!ja][\v!tuesday=水曜日]
\setuplabeltext [\s!ja][\v!wednesday=木曜日]
\setuplabeltext [\s!ja][\v!thursday=金曜日]
\setuplabeltext [\s!ja][\v!friday=土曜日]
\setuplabeltext [\s!ja][\v!saturday=日曜日]

but it should be:

\setuplabeltext [\s!ja][\v!monday=月曜日]
\setuplabeltext [\s!ja][\v!tuesday=火曜日]
\setuplabeltext [\s!ja][\v!wednesday=水曜日]
\setuplabeltext [\s!ja][\v!thursday=木曜日]
\setuplabeltext [\s!ja][\v!friday=金曜日]
\setuplabeltext [\s!ja][\v!saturday=土曜日]
\setuplabeltext [\s!ja][\v!sunday=日曜日]

Also I would like to ask if file lang-spe.mkii have some equivalent in MkIV and 
 where the language specifics are defined (in which file)? Or is it treated in 
enco files?

Thank you for answers.

Tomas Pustelnik___
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] Footnote numbers and leftmargin setup [mkIV]

2010-05-03 Thread Willi Egger

On 3 May 2010, at 15:23, Thomas Floeren wrote:

> Wolfgang Schuster  wrote on Monday,
> May 03, 2010 2:20 PM:
> 
>> Am 03.05.10 14:11, schrieb Thomas Floeren:
>>> 
>>> Hello,
>>> 
>>> in mkII I use to set my left margins to 0pt. When I do this now in
>>> mkIV, I get misplaced footnote numbers (at the bottom). 
>>> 
>>> Example:
>>> 
>>> \setuplayout
>>> [leftmargin=\zeropoint]
>>> 
>>> \starttext
>>> just text\footnote{foot text}
>>> \stoptext
>>> 
>>> 
>>> To get correctly placed numbers I have to either set the leftmargin
>>> to>= 5pt, or leave out the leftmargin key in setuplayout. 
>>> 
>>> Is this a bug or just the mkIV way?
>>> 
>> The code for footnotes in MkII and MkIV is different, while MkII use
>> it's own
>> code MkIV use enumerations for the notes (that's why you can use
>> nearly all 
>> options from enumerations) and the number is placed by default in the
>> left margin
>> but why do you set leftmargin to 0pt?
>> 
> 
> 
> If I don’t set the leftmargin, everything is messed up.
> 
> Try this with and without leftmargin setup key:
> 
> %--
> \setuplayout
>   [backspace=25mm,
>   cutspace=15mm,
>   topspace=10mm,
>   header=\zeropoint,
>   headerdistance=\zeropoint,
>   bottomspace=10mm,
>   footer=5mm,
>   footerdistance=8mm,
>   % leftmargin=\zeropoint,
>   rightmargin=\zeropoint,
>   height=fit,
>   width=fit,
>   location=middle]
> 
> 
> \setupfooter [state=start,before=\hrule]
> \setupfootertexts
>   [nice text here][and here]
> 
> \starttext
> \dorecurse{20}{just text }\footnote{foot text}
> \page\null
> \stoptext
> %---
> 
> Without the leftmargin key, text and footer leave the page borders.
> 
> Guess I have to to change my way to setup the layout in mkIV(?)
> 
Not really, the problem is, that you use conflicting keys. If you set the 
topspace, header, headerdistance, footer, footerdistance and the bottomspace 
then the height is already fixed. The same is applicable for the horizontal 
measures. I suggest to use the backspace to determine the left rim of the 
textarea, set the the width to an appropriate value if the left and right 
margin should be different in size, otherwise use width=middle which makes 
right and left margin identical i.e. as large as the backspace. The margins and 
margindistances which are setup in the setuplayout are sort of virtual and they 
are placed over the area defined by backspace and the rest of the paper right 
from the right rim of the textarea. This is the reason why marginareas can 
stick outside the paper.

Willi
> 
> Thomas
> 
> ___
> 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] Footnote numbers and leftmargin setup [mkIV]

2010-05-03 Thread Wolfgang Schuster

Am 03.05.10 15:23, schrieb Thomas Floeren:

Without the leftmargin key, text and footer leave the page borders.

Guess I have to to change my way to setup the layout in mkIV(?)
   


There are a few things you should change:

1. Use 'middle' for the width and height keys in \setuplayout,

2. Place the rule above the footer in the text area,

3. Don't set the left and right margins to 0pt,

4. Instead of a rule before the footer you can use the background
   mechanism to draw the borders of the footer.

\setuplayout
  [backspace=25mm,
   cutspace=15mm,
   topspace=10mm,
   header=0pt,
   headerdistance=0pt,
   bottomspace=10mm,
   footer=5mm,
   footerdistance=8mm,
   height=middle,
   width=middle,
   location=middle]

\setupfooter[text][before=\hairline]
%\setupbackgrounds[footer][text][topframe=on]

\setupfootertexts[nice text here][and here]

\starttext
\dorecurse{20}{just text }\footnote{foot text}\page[dummy]
\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] Footnote numbers and leftmargin setup [mkIV]

2010-05-03 Thread Thomas Floeren
Wolfgang Schuster  wrote on Monday,
May 03, 2010 2:20 PM:

> Am 03.05.10 14:11, schrieb Thomas Floeren:
>> 
>> Hello,
>> 
>> in mkII I use to set my left margins to 0pt. When I do this now in
>> mkIV, I get misplaced footnote numbers (at the bottom). 
>> 
>> Example:
>> 
>> \setuplayout
>>  [leftmargin=\zeropoint]
>> 
>> \starttext
>> just text\footnote{foot text}
>> \stoptext
>> 
>> 
>> To get correctly placed numbers I have to either set the leftmargin
>> to>= 5pt, or leave out the leftmargin key in setuplayout. 
>> 
>> Is this a bug or just the mkIV way?
>> 
> The code for footnotes in MkII and MkIV is different, while MkII use
> it's own
> code MkIV use enumerations for the notes (that's why you can use
> nearly all 
> options from enumerations) and the number is placed by default in the
> left margin
> but why do you set leftmargin to 0pt?
> 


If I don’t set the leftmargin, everything is messed up.

Try this with and without leftmargin setup key:

%--
\setuplayout
[backspace=25mm,
cutspace=15mm,
topspace=10mm,
header=\zeropoint,
headerdistance=\zeropoint,
bottomspace=10mm,
footer=5mm,
footerdistance=8mm,
% leftmargin=\zeropoint,
rightmargin=\zeropoint,
height=fit,
width=fit,
location=middle]


\setupfooter [state=start,before=\hrule]
\setupfootertexts
[nice text here][and here]

\starttext
\dorecurse{20}{just text }\footnote{foot text}
\page\null
\stoptext
%---

Without the leftmargin key, text and footer leave the page borders.

Guess I have to to change my way to setup the layout in mkIV(?)


Thomas

___
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] tooltips and glossary

2010-05-03 Thread Wolfgang Schuster

Am 03.05.10 00:51, schrieb Michael Saunders:

Also, is there no Context method to produce a glossary?  It might be
enough to produce a secondary .bib file with special entries and to
print this out as a secondary "References" section, but I don't know
how to do this or how to control the appearance of the printed
"references".
   

http://wiki.contextgarden.net/Reference/en/definesynonyms

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] Footnote numbers and leftmargin setup [mkIV]

2010-05-03 Thread Wolfgang Schuster

Am 03.05.10 14:11, schrieb Thomas Floeren:


Hello,

in mkII I use to set my left margins to 0pt. When I do this now in mkIV, I get 
misplaced footnote numbers (at the bottom).

Example:

\setuplayout
[leftmargin=\zeropoint]

\starttext
just text\footnote{foot text}
\stoptext


To get correctly placed numbers I have to either set the leftmargin to>= 5pt, 
or leave out the leftmargin key in setuplayout.

Is this a bug or just the mkIV way?
   
The code for footnotes in MkII and MkIV is different, while MkII use 
it's own

code MkIV use enumerations for the notes (that's why you can use nearly all
options from enumerations) and the number is placed by default in the 
left margin

but why do you set leftmargin to 0pt?

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] Footnote numbers and leftmargin setup [mkIV]

2010-05-03 Thread Thomas Floeren
 
Hello,

in mkII I use to set my left margins to 0pt. When I do this now in mkIV, I get 
misplaced footnote numbers (at the bottom).

Example:

\setuplayout
[leftmargin=\zeropoint]

\starttext
just text\footnote{foot text}
\stoptext


To get correctly placed numbers I have to either set the leftmargin to >= 5pt, 
or leave out the leftmargin key in setuplayout.

Is this a bug or just the mkIV way?

Thomas


ConTeXt  ver: 2010.04.29 22:30 MKIV  fmt: 2010.4.30  int: english/english

___
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] sort-lan.lua nitpicks and sorting

2010-05-03 Thread Philipp Gesang
On 2010-05-02 <15:59:53>, Philipp Gesang wrote:
> Hi again,
> 
> 
> 1. In sort-lan.lua, line 101 should read «['r'] = "r"», and line 144
> «['r'] = 26, -- r».

In lines 152 and 109 concerning the character “ů” (uring in unicode
speak) there's a typo, the key should be “uc(0x016F)” instead of
“uc(0x01F6)”.

The long quantities “ó” and “ý” are missing as well. They belong after
their short counterparts. I append a diff for the file.

Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
--- /home/laokoon/base/sort-lan.lua 2010-04-07 23:10:04.0 +0200
+++ sort-lan.lua2010-05-03 09:28:23.813291928 +0200
@@ -98,7 +98,8 @@
 ['o']= "o",
 ['p']= "p",
 ['q']= "q",
-['s']= "r",
+['r']= "r",
+[uc(0x00F3)] = uc(0x00F3), -- oacute
 [uc(0x0147)] = uc(0x0147), -- rcaron
 ['s']= "s",
 [uc(0x0161)] = uc(0x0161), -- scaron
@@ -106,11 +107,12 @@
 [uc(0x0165)] = uc(0x0165), -- tcaron
 ['u']= "u",
 [uc(0x00FA)] = "u",
-[uc(0x01F6)] = "u",
+[uc(0x016F)] = "u",
 ['v']= "v",
 ['w']= "w",
 ['x']= "x",
 ['y']= "y",
+[uc(0x00FD)] = uc(0x00FD), -- yacute
 ['z']= "z",
 [uc(0x017E)] = uc(0x017E), -- zcaron
 }
@@ -139,23 +141,25 @@
 ['n']= 21, -- n
 [uc(0x0147)] = 22, -- ncaron
 ['o']= 23, -- o
-['p']= 24, -- p
-['q']= 25, -- q
-['s']= 26, -- r
-[uc(0x0147)] = 27, -- rcaron
-['s']= 28, -- s
-[uc(0x0161)] = 29, -- scaron
-['t']= 30, -- t
-[uc(0x0165)] = 31, -- tcaron
-['u']= 32, -- u
-[uc(0x00FA)] = 33, -- uacute
-[uc(0x01F6)] = 34, -- uring
-['v']= 35, -- v
-['w']= 36, -- w
-['x']= 37, -- x
-['y']= 38, -- y
-['z']= 39, -- z
-[uc(0x017E)] = 40, -- zcaron
+[uc(0x00F3)] = 24, -- oacute
+['p']= 25, -- p
+['q']= 26, -- q
+['r']= 27, -- r
+[uc(0x0147)] = 28, -- rcaron
+['s']= 29, -- s
+[uc(0x0161)] = 20, -- scaron
+['t']= 31, -- t
+[uc(0x0165)] = 32, -- tcaron
+['u']= 33, -- u
+[uc(0x00FA)] = 34, -- uacute
+[uc(0x016F)] = 35, -- uring
+['v']= 36, -- v
+['w']= 37, -- w
+['x']= 38, -- x
+['y']= 39, -- y
+[uc(0x00FD)] = 40, -- yacute
+['z']= 41, -- z
+[uc(0x017E)] = 42, -- zcaron
 }
 
 -- French


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