Re: [NTG-context] strange error

2010-05-10 Thread Taco Hoekwater

Marius wrote:

Hello,

I am confronted with difficulties to understand why do I get this
strage error then compile the attached document? And how to fix it?

! String contains an invalid utf-8 sequence.
l.1 \setuppublicationlist[samplesize={
  ─A},totalnumber=1]


Bibtex doesn't support utf-8 at all, which is why it breaks
breaks up the Č into two bytes, and then only uses the leading
byte in the samplesize.

A working workaround is tu use {\Ccaron} in the bib file instead
of the literal character.

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


Re: [NTG-context] simple bibliography and dots after section numbering

2010-05-10 Thread Taco Hoekwater

Rogutės Sparnuotos wrote:

Taco Hoekwater (2010-05-09 08:15):

Rogutės Sparnuotos wrote:

But would it let me place such a list of publications:

 Books
 1. Author (year). Title.
 2. Author (year). Title.

 Internet resources
 3. URL

 Movies
 4. Author (year). Title.

It seems that I could easily use \setuppublicationlayout to define a
'movies' type, but is listing references by type implemented


Not in mkii.


But I am running MKIV, look one line below. So, is printing a list of
publications grouped by publication type possible or easily done with
MKIV?


I know it is not supported out of the box, but only Hans knows how
hard it would be to write an extension (it should be considerably
easier to do in lua than in TeX, but even so ...).

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


Re: [NTG-context] quotechar and command with database module

2010-05-10 Thread Hans Hagen

On 10-5-2010 2:37, Mojca Miklavec wrote:

Hans,

Great, thanks a lot. This patch fixes both of my reported issues, but:
- doesn't solve Vianney's one
- MKIV behaves a bit weird (three letters that were supposed to be in
the same cell go into a different cell each etc.)

I'm sending a tiny file for testing. It seems that quotechar does very
weird things indeed.


i didn't test mkiv ... probably needs a rewrite (i'll have a look at it)

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] Hyphenation of composed words

2010-05-10 Thread Hans Hagen

On 10-5-2010 7:27, Marco wrote:

1. || does *not* produce a en-dash but to kerned hyphens

You're right, I looked it up in the sources. It just looked like an
en-dash for me. But this is wrong. For hyphenation a hyphen is used. The
font designer has created a dedicated glyph for this purpose. And two
hyphens (or an en-dash) is too large. I've never seen the advice in a
typography book to kern two hyphens. I don't know why this is
implemented like this.


because we needed it to be this way: we use it for separating compound 
words and then we want to have the hyphen between the compounds to be 
different from the ones within ... dates back more than ten years 
(educational usage) .. also, the reason for kerned hyphens instead of an 
endash is simple: the endash is too thin (at least in lm)


anyhow, when i want normal hyphens i just do |-| always


2. The correct method to get a *normal* hyphen is

 \setuphyphenmark[sign=normal]


Yes, this is the correct method. It should be enabled by default. If
somebody wants a larger hyphen (for some mysterious reasen), he/she can set it
up with

\setuphyphenmark[sign=wide]


 If the output is not correct it's a bug.

Yes, it is a bug. Hans already confirmed and said, he'll fix it, but it is not
yet done, that's why I wanted to remember him. You can try and run the example
from my first post. With Thomas' workaround the output is OK, but it is only a
workaround. I (and probably many other users) would like to have correct
behaviour by default.


this works ok here (and i'm prety sure that it's also ok a few betas ago)

\starttext

test||test

\setuphyphenmark[sign=normal]

test||test

test|-|test

\stoptext

and the defaults are unlikely to change, but you can set it in your 
local cont-sys.tex file


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] Hyphenation of composed words

2010-05-10 Thread Thomas Floeren
Marco  wrote on Monday, May 10, 2010 7:27 AM:

 1. || does *not* produce a en-dash but to kerned hyphens
 You're right, I looked it up in the sources. It just looked like an
 en-dash for me. But this is wrong. For hyphenation a hyphen is used.
 The 
 font designer has created a dedicated glyph for this purpose. And two
 hyphens (or an en-dash) is too large. I've never seen the advice in a
 typography book to kern two hyphens. I don't know why this is
 implemented like this.
 
 2. The correct method to get a *normal* hyphen is
 
 \setuphyphenmark[sign=normal]
 
 Yes, this is the correct method. It should be enabled by default. If
 somebody wants a larger hyphen (for some mysterious reasen), he/she
 can set it 
 up with
 
 \setuphyphenmark[sign=wide]
 

It seems that the en-dash *can* be used in English in some cases:
'high-priority--high-pressure tasks' from http://en.wikipedia.org/wiki/Hyphen


 If the output is not correct it's a bug.
 Yes, it is a bug. Hans already confirmed and said, he'll fix it, but
 it is not 
 yet done, that's why I wanted to remember him. You can try and run
 the example from my first post. With Thomas' workaround the output is
 OK, but it is only a workaround. I (and probably many other users)
 would like to have correct 
 behaviour by default.
 

Concerning the hyphen sign, '\setuphyphenmark[sign=normal]' works as expected
on my system (= normal hyphen sign).
But it was (is?) not usable because, in case of a line break, the hyphen
sometimes was placed at the beginning of a new line.
With '\def\compoundhyphen{-}' the compound hyphen breaks correctly.

Thomas

 Marco
 
 

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


[NTG-context] funny bug

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

\starttext
\startLUA
printbla  -- words are transposed!
\stopLUA
\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] funny bug

2010-05-10 Thread Hans Hagen

On 10-5-2010 10:43, Peter Münster wrote:

\starttext
\startLUA
printbla-- words are transposed!
\stopLUA
\stoptext


in pret-lua.lua, line 265:

elseif c == '' or c == ' then
if word then
state = flush_lua_word(state,word)
word = nil
end



-
  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] underbar and \color

2010-05-10 Thread Jörg Hagmann

Hi,

I need an underbar of the length it takes to print, say, 25'000 and used 
to do this (see minimal example). I now get no (or a white?) underbar.


\starttext

\underbar{\color[white]{25'000}} %no (white?) underbar

\underbar{25'000} %underbar works
\stoptext



Context version 2010.05.08 13:33
Mark IV

Thanks, Jörg
___
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] underbar and \color

2010-05-10 Thread Taco Hoekwater

Jörg Hagmann wrote:

Hi,

I need an underbar of the length it takes to print, say, 25'000 and used 
to do this (see minimal example). I now get no (or a white?) underbar.


\starttext

\underbar{\color[white]{25'000}} %no (white?) underbar


Yes, the underbar now gets the same color as the text.

Use
  \setupbars[color=black]

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


[NTG-context] \setuptyping[tab=...]

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

The length of the tab is always 7:

% one tab before each bla:
\setuptyping[tab=2]
\starttext
\starttyping
12345678901234567890
bla bla
\stoptyping
\setuptyping[tab=4]
\starttyping
12345678901234567890
bla bla
\stoptyping
\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] underbar and \color

2010-05-10 Thread Jörg Hagmann

Thank you, Taco.

On 5/10/10 11:47 AM, Taco Hoekwater wrote:

Jörg Hagmann wrote:

Hi,

I need an underbar of the length it takes to print, say, 25'000 and 
used to do this (see minimal example). I now get no (or a white?) 
underbar.


\starttext

\underbar{\color[white]{25'000}} %no (white?) underbar


Yes, the underbar now gets the same color as the text.

Use
  \setupbars[color=black]

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


Re: [NTG-context] simple bibliography and dots after section numbering

2010-05-10 Thread Matija Šuklje
Dne ponedeljek 10. maja 2010 ob 09:00:18 je Taco Hoekwater napisal(a):
 Rogutės Sparnuotos wrote:
  But I am running MKIV, look one line below. So, is printing a list of
  publications grouped by publication type possible or easily done with
  MKIV?
 
 I know it is not supported out of the box, but only Hans knows how
 hard it would be to write an extension (it should be considerably
 easier to do in lua than in TeX, but even so ...).

I would need such an advanced grouping system as well. It's really unfortunate 
it's so hard to do :\


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] Context 2010.05.08

2010-05-10 Thread Taco Hoekwater


As Hans wrote already, there is a new context current.

The short news summary:

* Many of the stubs for the ruby tools have gone away. If you want one
  of the old command names back, just create a link from mtxrun to the
  required name, e.g. copy mtxrun.exe to mptopdf.exe on windows.
  Eventually all perl and ruby scripts will be gone. Most functionality
  is already provided by lua variants.
* The hyphenation patterns for German, German (old), Hungarian and
  Spanish have been updated from the tex-hyphen project.
* New versions of the ancientgreek, letter, and simplefont modules are
  included.
* New modules (mkiv only): barcodes and punk
* Support for shockwave flash has been updated (mkiv only). The backend
  code has been rewritten and currently only pdf is supported.
* The split between mkii and mkiv is getting more complete. Only a few
  mkii bug fixes have taken place.
* Typescripts are now split completely and no definitions are shared;
  loading of a mkio/mkiv file takes precedence over a tex file.

As always, there is a detailed changes file on the wiki:

  http://wiki.contextgarden.net/Context_2010.05.08

This current context is meant for texlive 2010, but there is a little
time before the final freeze of the texlive repository, so there will
be a bugfix update in a week or so.

If you have pending urgent bugs (especially in mkii) this would be an
excellent time to report them.

You could try the mailing list, but a better approach to bug reporting
is to simultaneously create a tracker item at this url:

  http://tracker.luatex.org/search.php?project_id=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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setuptyping[tab=...]

2010-05-10 Thread Hans Hagen

On 10-5-2010 12:04, Peter Münster wrote:

Hello,

The length of the tab is always 7:

% one tab before each bla:
\setuptyping[tab=2]
\starttext
\starttyping
12345678901234567890
bla bla
\stoptyping
\setuptyping[tab=4]
\starttyping
12345678901234567890
bla bla
\stoptyping
\stoptext


fixed in next beta

-
  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] Diferent numberstoppers in \setupcaption and \placelistoffigures

2010-05-10 Thread Jaroslav Hajtmar

Hello

I am setting figure and table captions as per this example:
\setupcaption[figure][numberstopper=: ]

Caption of pictures is OK - it means

Figure 1:  Description of Figure 1

Figure 2: Description of Figure 2

and so on..

BUT in contents of figures by using \placelistoffigures command is 
numberstopper : too


for example:

Figures:

1: Figure one . 5
2: Figure two  10

e.t.c.




Is there any way to get numberstopper only by the figure but not by the 
content of figures?
It means diferent numberstopper by the content of figures and diferent 
numberstopper by the caption of figures. By example:


Figures:
1. Figure one . 5
2. Figure two  10



I want this stil by Tables

Thanx
Jaroslav




___
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] Diferent numberstoppers in \setupcaption and \placelistoffigures

2010-05-10 Thread Wolfgang Schuster

Am 10.05.10 17:04, schrieb Jaroslav Hajtmar:

Hello

I am setting figure and table captions as per this example:
\setupcaption[figure][numberstopper=: ]

Caption of pictures is OK - it means

Figure 1:  Description of Figure 1

Figure 2: Description of Figure 2

and so on..

BUT in contents of figures by using \placelistoffigures command is 
numberstopper : too


for example:

Figures:

1: Figure one . 5
2: Figure two  10

e.t.c.


Is there any way to get numberstopper only by the figure but not by 
the content of figures?
It means diferent numberstopper by the content of figures and diferent 
numberstopper by the caption of figures. By example:


Figures:
1. Figure one . 5
2. Figure two  10


\setuplist[figure][numberstopper=. ]?

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] Hyphenation of composed words

2010-05-10 Thread Marco
  You're right, I looked it up in the sources. It just looked like an
  en-dash for me. But this is wrong. For hyphenation a hyphen is
  used. The font designer has created a dedicated glyph for this
  purpose. And two hyphens (or an en-dash) is too large. I've never
  seen the advice in a typography book to kern two hyphens. I don't
  know why this is implemented like this.
 
 because we needed it to be this way: we use it for separating
 compound words and then we want to have the hyphen between the
 compounds to be different from the ones within
That's not how it is done in everyday typography, seems to be more a
border case.

 .. also, the reason for kerned hyphens instead of an endash is simple:
 the endash is too thin (at least in lm)
That's true. The en-dash is condiderably thinner.

 this works ok here (and i'm prety sure that it's also ok a few betas
 ago)
 
 \starttext
 
 test||test
 
 \setuphyphenmark[sign=normal]
 
 test||test
 
 test|-|test
 
 \stoptext
Sure, my fault. This works. There _was_ a bug with the hyphen appearing
on the start of the next line. This is fixed. Thank you. I thought you
would also fix the »wrong« hyphenation sign, so I didn't check, just
assumed that both issues aren't fixed. So

\setuphyphenmark[sign=normal]

works now as expected (even if it's not the default). Thanks for this
fix.

 and the defaults are unlikely to change, but you can set it in your 
 local cont-sys.tex file
Ah, I see. I was not aware of a user configuration file (wiki helps how
to set it up I just looked). So I can put my »personal« default hyphen
there.

Marco


___
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] Diferent numberstoppers in \setupcaption and \placelistoffigures

2010-05-10 Thread Jaroslav Hajtmar

Dne 10.5.2010 17:11, Wolfgang Schuster napsal(a):

Am 10.05.10 17:04, schrieb Jaroslav Hajtmar:

Hello

I am setting figure and table captions as per this example:
\setupcaption[figure][numberstopper=: ]

Caption of pictures is OK - it means

Figure 1:  Description of Figure 1

Figure 2: Description of Figure 2

and so on..

BUT in contents of figures by using \placelistoffigures command is 
numberstopper : too


for example:

Figures:

1: Figure one . 5
2: Figure two  10

e.t.c.


Is there any way to get numberstopper only by the figure but not by 
the content of figures?
It means diferent numberstopper by the content of figures and 
diferent numberstopper by the caption of figures. By example:


Figures:
1. Figure one . 5
2. Figure two  10


\setuplist[figure][numberstopper=. ]?

Wolfgang


Uunfortunately is in MKIV without efect (I was tried this in first 
instance and I was surprised, that it is does'nt  work )


Jaroslav



___
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] Hyphenation of composed words

2010-05-10 Thread Marco
 It seems that the en-dash *can* be used in English in some cases:
 'high-priority--high-pressure tasks' from
 http://en.wikipedia.org/wiki/Hyphen
I see. But this is a --more or less-- contructed case where using an
en-dash instead of a hyphen makes sense. I agree with this example, the
en-dash clearifies things.

But for general purpose the hyphen is used and not the en-dash. And I
think the typesetting system should be set up to fit the general
purpose. (Hans has a different opinion, I know.)

BTW: If the appearance of the hyphen is unsatisfying it is better to
choose a different font (or hyphen from a different font) or maybe to
»correct« the font instead of altering settings of the typesetting
system.

 Concerning the hyphen sign, '\setuphyphenmark[sign=normal]' works as
 expected on my system (= normal hyphen sign).
 But it was (is?) not usable because, in case of a line break, the
 hyphen sometimes was placed at the beginning of a new line.
You're right. I mixed things up. My fault. It always produced the right
sign. And the bug is fixed (Thanks Hans!). So you can use

\setuphyphenmark[sign=normal]

again in your cont-sys.tex ;-)

 With '\def\compoundhyphen{-}' the compound hyphen breaks correctly.
Not needed any more.

Marco


___
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] weird en/em dash behaviour

2010-05-10 Thread Marco
Hi,

sorry for digging out this old thread, but the bug still persists, try

\starttext
\type{-} : -   \par % OK
\type{--}: --  \par % missing
\type{---}   : --- \par % missing
\tex{endash} : \endash \par % missing
\tex{emdash} : \emdash \par % missing

\type{\switchtobodyfont [11.99pt]}
\switchtobodyfont [11.99pt]

\type{-} : -   \par % OK
\type{--}: --  \par % OK
\type{---}   : --- \par % OK
\tex{endash} : \endash \par % OK
\tex{emdash} : \emdash \par % OK
\stoptext
 
My versions:
ConTeXt  ver: 2010.05.08
This is LuaTeX, Version beta-0.60.1-2010042821
linux-x86

I need no urgent fix, but maybe this should be solved in long-term. It's
hard to figure out what's wrong in a larger document (and how to get a
workaround) if you don't know.

Marco


___
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] weird en/em dash behaviour

2010-05-10 Thread Hans Hagen

On 10-5-2010 6:29, Marco wrote:

\starttext
\type{-} : -   \par % OK
\type{--}: --  \par % missing
\type{---}   : --- \par % missing
\tex{endash} : \endash \par % missing
\tex{emdash} : \emdash \par % missing

\type{\switchtobodyfont [11.99pt]}
\switchtobodyfont [11.99pt]

\type{-} : -   \par % OK
\type{--}: --  \par % OK
\type{---}   : --- \par % OK
\tex{endash} : \endash \par % OK
\tex{emdash} : \emdash \par % OK
\stoptext


must be something in your system as i see those dashed here

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] suppressing page number on chapter's last page

2010-05-10 Thread Piotr Kopszak
Hello list,

Last time I typeset a book I was reproached for not suppressing page
numbers on chapter's end pages and would like to avoid it this time ;)
I mean, is there any other way to suppress page numbers  more
user-friendly than peppering the text with
\setuppagenumbering[state=stop]? I need not page numbers only in
chapter's last page. I confess, I haven't checked the mail archive as
diligently as I should but the number of messages one gets looking for
page numbering is overwhelming.

Piotr
-- 
http://okle.pl
___
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] weird en/em dash behaviour

2010-05-10 Thread Marco
 must be something in your system as i see those dashed here
I don't think so. I suspect a linux-x86 issue, since the only persons
who confirmed this bug were Luigi and Taco, and both run linux-x86
systems. But maybe I'm wrong. I use freshly updated minimals from the
garden, so nothing special.

Marco


___
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] Suppressing page number on chapter's last page

2010-05-10 Thread Tom
The following link discusses a method for suppressing headers (including
page numbers) from blank pages at the ends of chapters:
http://wiki.contextgarden.net/Titles in the section titled Truly empty
pagebreak before chapters.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey






___
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] weird en/em dash behaviour

2010-05-10 Thread luigi scarso
On Mon, May 10, 2010 at 8:25 PM, Marco net...@lavabit.com wrote:
 On Mon, May 10, 2010 at 7:34 PM, Marco net...@lavabit.com wrote:
  must be something in your system as i see those dashed here
  I don't think so. I suspect a linux-x86 issue, since the only
  persons who confirmed this bug were Luigi and Taco, and both run
  linux-x86 systems. But maybe I'm wrong. I use freshly updated
  minimals from the garden, so nothing special.
 On my linux box it's now OK with last current
 Oh, I see. Can somebody confirm the missing glyphs? My output is
 attached.
What is wrong in your pdf ?
It's like mine, and it's ok.
Try to see it with Adobe Reader,  or xpdf at least 400% , or just print it

-- 
luigi
___
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] weird en/em dash behaviour

2010-05-10 Thread Mojca Miklavec
On Mon, May 10, 2010 at 20:25, Marco wrote:
 On Mon, May 10, 2010 at 7:34 PM, Marco wrote:
  must be something in your system as i see those dashed here
  I don't think so. I suspect a linux-x86 issue, since the only
  persons who confirmed this bug were Luigi and Taco, and both run
  linux-x86 systems. But maybe I'm wrong. I use freshly updated
  minimals from the garden, so nothing special.
 On my linux box it's now OK with last current
 Oh, I see. Can somebody confirm the missing glyphs? My output is
 attached.

I can only confirm that they are not missing in your attachment. The
dashes are very thin, so maybe your PDF viewer doesn't show them until
you make a slightly bigger magnification.

Mojca
___
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] weird en/em dash behaviour

2010-05-10 Thread Marco
  Oh, I see. Can somebody confirm the missing glyphs? My output is
  attached.
 What is wrong in your pdf ?
Actually nothing.

 It's like mine, and it's ok.
 Try to see it with Adobe Reader,  or xpdf at least 400% , or just
 print it
Ogh! The lower dashes are visible at _any_ magnification. The upper dashes
only at 400% and more (only xpdf available at the moment). Strange!

Thanks for enlighten me and sorry for the noise, men!
Marco


___
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] Colision stoppers? Distinction MKII vs MKIV

2010-05-10 Thread Jaroslav Hajtmar

Hello.

When I compile next example by MKII and MKIV I get diferent results.
Is there any way to set diferent stoppers (stopper in caption and 
stopper in list) in MKIV?


Thanx Jaroslav


\setupcaption[figure][stopper={*}]
\setuplist[figure][stopper={:}]

\starttext
\placelistoffigures[alternative=b]

\chapter{One}
\placefigure{one}{1}
\section{Two}
\placefigure{two}{2}
\chapter{Three}
\placefigure{three}{3}
\section{Four}
\placefigure{four}{4}
\subsection{Five}
\placefigure{five}{5}
\subsubsection{Six}
\placefigure{six}{6}

\stoptext


PS: When I set :

\setupcaption[figure][numberstopper={*}]
\setuplist[figure][numberstopper={:}]

then in MKII isnt effect and in MKIV are stoppers the same.

___
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] \hfill at the end of line

2010-05-10 Thread Honza Pohanka

Hello,

I'd like add a word at the end of the last line of the paragraph. \hfill  
command works fine, when this word doesn't overflow to the next line. In  
that case the word stays on the next line but left aligned.



example

Zakreslete průběh na signálu TX při vyslání dvou znaků, které odpovídají  
vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte  
rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body)



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] \hfill at the end of line

2010-05-10 Thread Aditya Mahajan

On Mon, 10 May 2010, Honza Pohanka wrote:


Hello,

I'd like add a word at the end of the last line of the paragraph. \hfill 
command works fine, when this word doesn't overflow to the next line. In 
that case the word stays on the next line but left aligned.



example

Zakreslete průběh na signálu TX při vyslání dvou znaků, které odpovídají 
vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte 
rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body)


Try \wordright{(4 body)}

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