Re: [NTG-context] superscripts "th" "nd" "rd" "st" on dates etc..

2015-09-05 Thread Wolfgang Schuster

Hans Hagen 
27. August 2015 22:10
On 8/27/2015 1:21 AM, Wolfgang Schuster wrote:

Mojca Miklavec 
26. August 2015 19:36

In case that you were looking for an automated way to print the date,
here's one option:
\setuplanguage[en][date={weekday,{, },day:ord,{~},month,{,~},year}]
(And the documentation is somewhat wrong, I think it suggests to use
"day+" which doesn't work. But I should check the details again.)

The keyword to create ordinal numbers in a date has changed in MkIV.

Unfortunately I didn't manage to figure out how to do the superscript
automatically. Yes, it's 1\highordinalstr{st} like Alan mentioned, but
that only works in "manual mode".


core-con.lua : 1275 :

context.highordinalstr(converters.ordinal(whatordinal,currentlanguage))
Please revert this change and let the user choose between a ordinal in 
text size and raised small size.


\starttext

\currentdate[day:ord]

\currentdate[day:highord]

\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] Bug in placefloat at right

2015-09-05 Thread Alan BRASLAU
On Fri, 4 Sep 2015 22:12:29 +0200
Hans Hagen  wrote:

> On 9/3/2015 10:32 PM, Otared Kavian wrote:
> > Hi Hans,
> >
> > As it was reported by Fabrice Couvreur in another thread, there is
> > a bug with placing floats on the right in
> 
> i'll fix it

I did not test with a new beta, but
  \startplacefigure [number=no,location=left]
(or location=right) appears to reserve room for the legend even when it
is not placed.

I suggest that number=no (with title=,) should suppress this space
(without any particular setups).

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Finalizing my book

2015-09-05 Thread Mikoláš Štrajt
I am finalizing my semi-autogenerated e-book and i ran into three issues:

1) its impossible to place table of content after the content itself. It 
simply doesnt display without any trace in log.
2) i am triying to use Antykwa Torunska with "\definetypeface [antykwa] [rm]
[serif] [antykwa-torunska] [default] [encoding=ec]", but it complaint for 
misssing typescript. Is there some working way to install it? (Using 
minimals)
3) is there some trick to protect stanzas of poems against pagebreak in the 
middle of stanza? Or there are some usefult tips/modules when typeseting 
poetry in Context?

Full code of my book is at http://svita.cz/archiv/debug/pro-kukacku.tex

I decided not to create some faux example documents cause it doesnt seems to
be document-specific issues for me.

Thanks for any help.

Mikoláš Štrajt
___
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] Bug in placefloat at right

2015-09-05 Thread Hans Hagen

On 9/5/2015 10:31 PM, Alan BRASLAU wrote:

On Fri, 4 Sep 2015 22:12:29 +0200
Hans Hagen  wrote:


On 9/3/2015 10:32 PM, Otared Kavian wrote:

Hi Hans,

As it was reported by Fabrice Couvreur in another thread, there is
a bug with placing floats on the right in


i'll fix it


I did not test with a new beta, but
   \startplacefigure [number=no,location=left]
(or location=right) appears to reserve room for the legend even when it
is not placed.

I suggest that number=no (with title=,) should suppress this space
(without any particular setups).


location={left,none}

(or \placefigure[left,none])

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