ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Some more question, ex "Context an excursion"
Date: Sun, 27 Jan 2013 16:50:03 +0100	[thread overview]
Message-ID: <A2FDF9A1-81D3-4F8D-A0A5-585DCA31D2F6@gmail.com> (raw)
In-Reply-To: <510546E0.8060700@swing.be>


Am 27.01.2013 um 16:25 schrieb Alain Delmotte <esperanto@swing.be>:

> Hi,
> 
> Using MkIV and the latest(?) standalone version.
> Continuing "Context an excursion"!
> 
> Thanks for your help,
> 
> Alain
> 
> 1) How to force line jump to avoid overfull \hbox, particularly with more or less narrow columns?

Add \setuptolerance[verytolerant] or \setuptolerance[stretch] (or both settings simultaneously)
to your document to enable font expansion and protrusion.

> 2) I did insert \showlayout just before \stoptext and I get 4 pages with the same information!!!
> 
> 3) On page 77, I get an error:
> 
> \defineparagraphs[city][n=2,before=,after=]
> \city Hasselt (Ov) \\ Overijssel \\
> \city Hasselt (Li) \\ Limburg    \\
> \startpacked
> \city Hasselt (Ov) \\ The Netherlands \\
> \city Hasselt (Li) \\ Belgium         \\
> \stoppacked
> ------------------error message
> ! Undefined control sequence.

Make working minimal example of the problems, it takes always time to create one first
to check which something fails.

The problem here is that Hans removed this simple form to use the environment,
what’s possible in MkIV can be seen in the example below (taken form the source).

\defineparagraphs[sample][n=2,rule=on]

\starttext

\startsample
    first  \nextsample
    second \nextsample
    third
\stopsample

\startsample
    \input tufte \nextsample
    \input ward  \nextsample
    \input davis \nextsample
    \input zapf
\stopsample

\startparagraphs[sample]
    first  \nextsample
    second \nextsample
    third
\stopparagraphs

\startparagraphs[sample]
    \startparagraphscell
        first
    \stopparagraphscell
    \startparagraphscell
        second
    \stopparagraphscell
    \startparagraphscell
        third
    \stopparagraphscell
\stopparagraphs

\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
___________________________________________________________________________________


  reply	other threads:[~2013-01-27 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 15:25 Alain Delmotte
2013-01-27 15:50 ` Wolfgang Schuster [this message]
2013-01-27 17:07   ` Alain Delmotte
2013-01-27 19:29 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A2FDF9A1-81D3-4F8D-A0A5-585DCA31D2F6@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).