Hi, I uploaded a new beta. The most interesting new thing is that the Lua based hyphenator is now better integrated. I showed that one (plus some features) at the last context meeting, and decided to clean it up a bit and prepare it for extensions. It might become the default hyphenator at some point. Performance is quite ok, especially when you take into account that the amount of time spent on hyphenating is not that large. You can test it with: \setuphyhenation[method=traditional] enables it and as by default we are a bit more tolerant to what a word is, you can enforce a more strict behaviour with \sethyphenationfeatures[strict] It is possible to control some aspects (even within a paragraph) but some of that is experimental. I'm working on a manual that explains details about how hyphenation works and how one can write plugins. There is already support for explicit hyphens and joiners (the default set) and patterns as discussed in "Hyphenation in OpenOffice.org" (TUGboat, Volume 27, 2006) should also work; you can for instance register additional patterns like this: \registerhyphenationpattern[en][eigh1tee/t=t,5,1] But that's for the happy few who understand and/or love such weird syntaxes. Anyway, this is the time to ask for more if you are in need, 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 -----------------------------------------------------------------
On 11/26/2014 08:28 PM, Hans Hagen wrote:
Hi,
I uploaded a new beta.
Hans, I’m afraid that this sample cannot be compiled with the new beta: \starttext \section{What is \ConTeXt?} \stoptext Pablo -- http://www.ousia.tk
Hi Hans,
the tikz-example on the wiki (which worked in last beta) doesn't compile
too.
http://wiki.contextgarden.net/TikZ
Christian
2014-11-26 21:06 GMT+01:00 Pablo Rodriguez
On 11/26/2014 08:28 PM, Hans Hagen wrote:
Hi,
I uploaded a new beta.
Hans,
I’m afraid that this sample cannot be compiled with the new beta:
\starttext \section{What is \ConTeXt?} \stoptext
Pablo -- http://www.ousia.tk
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
On 11/26/2014 9:29 PM, Christian Prim wrote:
Hi Hans,
the tikz-example on the wiki (which worked in last beta) doesn't compile too.
it works here so it's prob ably the already discussed tikz library issue 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 -----------------------------------------------------------------
Sorry for the noise,
after a fresh install of standalone, everything is fine again. Don't know,
why this happened.
Christian
2014-11-26 21:48 GMT+01:00 Hans Hagen
On 11/26/2014 9:29 PM, Christian Prim wrote:
Hi Hans,
the tikz-example on the wiki (which worked in last beta) doesn't compile too.
it works here so it's prob ably the already discussed tikz library issue
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 ____________________________________________________________ _______________________
On 11/26/2014 9:06 PM, Pablo Rodriguez wrote:
On 11/26/2014 08:28 PM, Hans Hagen wrote:
Hi,
I uploaded a new beta.
Hans,
I’m afraid that this sample cannot be compiled with the new beta:
\starttext \section{What is \ConTeXt?} \stoptext
ah, a missing \protect .. i'll fix it ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 11/26/2014 08:28 PM, Hans Hagen wrote:
[...] \setuphyphenation[method=traditional]
enables it and as by default we are a bit more tolerant to what a word is, you can enforce a more strict behaviour with
Hans, sorry for not having answered before, but I found that this new setup doesn’t honor the \hyphenation command: \setuphyphenation[method=traditional] \hyphenation{Nietz-sche} \starttext \hsize\zeropoint Nietzsche \stoptext I’m also writing a book (more than 320 pages) that ConTeXt cannot compile when I enable \setuphyphenation[method=traditional]. Since the log is rather extensive and I’d rather avoid to post in a public list, I send it to you off-list. ConTeXt complains about a blank line. Let me know whether I need to isolate the issue in a smaller sample file or the log file is enough.
But that's for the happy few who understand and/or love such weird syntaxes. Anyway, this is the time to ask for more if you are in need,
Well, if I can ask for features, I would like that ConTeXt would be able to hyphenate the contents in the type element. This option was removed in latest beta. And for both the contents of the type element and the hyphenatedurl, I think that it would be useful to have underscore hyphenation. Otherwise, the hyphen could be considered as part of the command, file name or url. Many thanks for your help, Pablo -- http://www.ousia.tk
participants (3)
-
Christian Prim
-
Hans Hagen
-
Pablo Rodriguez