Re: [NTG-context] Manual hyphenation
Thank you very much Taco. It works very well. It really is useful to be able to select less aggressive hyphenation when necessary. Cheers, Elliot
Elliot Clifton wrote:
Thank you very much Taco. It works very well. It really is useful to be able to select less aggressive hyphenation when necessary.
here is a variant: stepwise and relative to the current values: \unprotect \startvariables all lesshyphenation: lesshyphenation morehyphenation: morehyphenation \stopvariables \def\lesshyphens {\lefthyphenmin =\numexpr\lefthyphenmin +1\relax \righthyphenmin=\numexpr\righthyphenmin+1\relax} \def\morehyphens {\ifcase\lefthyphenmin \else \lefthyphenmin =\numexpr\lefthyphenmin +1\relax \fi \ifcase\righthyphenmin\else \righthyphenmin=\numexpr\righthyphenmin+1\relax \fi} \installalign \v!lesshyphenation {\lesshyphens} \installalign \v!morehyphenation {\morehyphens} %D The next two lines implement 'align=lesshyphenation' as an option %D for \type{\framed} etc. \setvalue{\@@ragged@@command\v!lesshyphenation}{\appendtoks\lesshyphens\to\everyraggedcommand} \setvalue{\@@ragged@@command\v!morehyphenation}{\appendtoks\morehyphens\to\everyraggedcommand} \protect 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 -----------------------------------------------------------------
On Thursday 24 May 2007 06:19, Hans Hagen wrote:
Elliot Clifton wrote:
Thank you very much Taco. It works very well. It really is useful to be able to select less aggressive hyphenation when necessary.
here is a variant: stepwise and relative to the current values:
\unprotect
\startvariables all lesshyphenation: lesshyphenation morehyphenation: morehyphenation \stopvariables
\def\lesshyphens {\lefthyphenmin =\numexpr\lefthyphenmin +1\relax \righthyphenmin=\numexpr\righthyphenmin+1\relax}
\def\morehyphens {\ifcase\lefthyphenmin \else \lefthyphenmin =\numexpr\lefthyphenmin +1\relax \fi \ifcase\righthyphenmin\else \righthyphenmin=\numexpr\righthyphenmin+1\relax \fi}
\installalign \v!lesshyphenation {\lesshyphens} \installalign \v!morehyphenation {\morehyphens}
%D The next two lines implement 'align=lesshyphenation' as an option %D for \type{\framed} etc.
\setvalue{\@@ragged@@command\v!lesshyphenation}{\appendtoks\lesshyp hens\to\everyraggedcommand} \setvalue{\@@ragged@@command\v!morehyphenation}{\appendtoks\morehyp hens\to\everyraggedcommand}
\protect
Hans
On my last Context project I simply used \lefthyphenmin 3 to set a new minimum size for the left part of a hyphenated word. The customer requested it at the last minute (overly picky editor.) It worked OK on a long and complex document. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com
Hello is there a way to handle page breaks in a TOC? I have Part chapter (author) section and I want the author keep toghether with the chapter. Thankyou in advance. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Horacio Suarez wrote:
Hello
is there a way to handle page breaks in a TOC?
I have
Part
chapter (author)
section
so some point in the text \writebetweenlist[section]{\page] of with \setuplist[section][after=\page] etc ----------------------------------------------------------------- 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 -----------------------------------------------------------------
BTW: Do you have some news for TOC fine-tuning? (see below) Steffen On Tue, 20 Mar 2007 07:28:51 +0100, Hans Hagen wrote:
Steffen Wolfrum wrote:
On Thu, 15 Feb 2007 17:06:07 +0100, Hans Hagen wrote:
Steffen Wolfrum wrote:
Hi Hans,
fine-tuning a TOC is horrible when you have a lot of tables and figures in a larger project: you have to wait and wait and wait $B!D(B Could you also provide a comparable solution like the one below (for the placeregister), please? Something like $B!D(B \completecontent[file=testtest]
it is kind of tricky since lists can be combined ... will think of it (careful hack)
i gave it a try a few weeks ago, but since we have lists and combined
Is there some news? Just a quick-and-dirty hack for today will do ... list i need to figure out what to do (in order not to break things) i will add this feature when i have a bit more time, just remind me as a quick hack you can patch \unprotect \def\dodoplacecombinedlist[#1][#2]% {\dobeginoflist \dosetuplist[#1][#2]% \doutilities{listentries,#1}\jobname{#1}\relax\par \doendoflist} \protect just change \jobname to {somename.tuo}
Steffen Wolfrum wrote:
BTW:
Do you have some news for TOC fine-tuning? (see below)
i know that it's needed -) sorry for not being faster 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 -----------------------------------------------------------------
On Sat, 02 Jun 2007 22:59:24 +0200, Hans Hagen wrote:
Steffen Wolfrum wrote:
BTW:
Do you have some news for TOC fine-tuning? (see below)
i know that it's needed -)
thanks for the feedback
sorry for not being faster
sorry for asking ;o) Steffen
Hello all: Is posible to hyphenate inside natural tables? or, I want "justified" paragraphs alignment with hyphenation inside natural tables. Thankyou in advance. -------------------- Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
2007/6/13, Horacio Suarez
Hello all:
Is posible to hyphenate inside natural tables?
or,
I want "justified" paragraphs alignment with hyphenation inside natural tables.
Thankyou in advance.
-------------------- Horacio Suarez
Hi Horacio, you can change alignment in natural tables with the align-key, it should accept the same values as \setupalign for the normal text. \starttext \bTABLE[align=hyphenated] \bTR \bTD\input knuth \eTD \bTD\input knuth \eTD \eTR \eTABLE \stoptext Wolfgang
Thankyou very much. Sometimes I donŽt know the complete list of keys. Where I have to look for it? Thanks. -------------------- Horacio Suarez Editotrial Antropofagia www.eantropofagia.com.ar
From: "Wolfgang Schuster"
Reply-To: mailing list for ConTeXt users To: "mailing list for ConTeXt users" Subject: Re: [NTG-context] hyphenation inside natural tables. Date: Wed, 13 Jun 2007 08:44:07 +0200 2007/6/13, Horacio Suarez
: Hello all:
Is posible to hyphenate inside natural tables?
or,
I want "justified" paragraphs alignment with hyphenation inside natural tables.
Thankyou in advance.
-------------------- Horacio Suarez
Hi Horacio,
you can change alignment in natural tables with the align-key, it should accept the same values as \setupalign for the normal text.
\starttext \bTABLE[align=hyphenated] \bTR \bTD\input knuth \eTD \bTD\input knuth \eTD \eTR \eTABLE \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 ___________________________________________________________________________________
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Thankyou very much. Very nice.
From: Hans Hagen
Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Subject: Re: [NTG-context] page break handle in TOC Date: Sat, 02 Jun 2007 22:16:46 +0200 Horacio Suarez wrote:
Hello
is there a way to handle page breaks in a TOC?
I have
Part
chapter (author)
section
so some point in the text
\writebetweenlist[section]{\page]
of with
\setuplist[section][after=\page]
etc
----------------------------------------------------------------- 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 ___________________________________________________________________________________
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
2007/5/24, Elliot Clifton
Thank you very much Taco. It works very well. It really is useful to be able to select less aggressive hyphenation when necessary.
Cheers,
Elliot
Hi Elliot, you can also prevent hyphenation by switching to undefined languages and the only hyphenations the one in the hyphenation exception list and in words written with \-. \unprotect \startvariables all listhyphenation: listhyphenation \stopvariables \def\listhyphenation {\language\@cclv} \installalign \v!listhyphenation \listhyphenation \protect \setupalign[listhyphenation] \hyphenation{improv-ements} \starttext \input knuth \stoptext Wolfgang
participants (7)
-
Aditya Mahajan
-
Elliot Clifton
-
Hans Hagen
-
Horacio Suarez
-
John R. Culleton
-
Steffen Wolfrum
-
Wolfgang Schuster