ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: typearea
Date: Sun, 29 Oct 2023 12:33:59 +0100	[thread overview]
Message-ID: <c2f89075-09ff-1002-d240-afa08b88b72b@gmail.com> (raw)
In-Reply-To: <4689a9a5-c581-4777-875b-6357d93ce4dc@fiee.net>

Henning Hraban Ramm schrieb am 29.10.2023 um 12:13:
> Am 29.10.23 um 11:37 schrieb Thomas Meyer:
>> Hi,
>> I'm new to ConTeXt and try to use the module typearea 
>> (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). 
>>
>> But the example doesn't work:
>
> The module is from 2008, i.e. MkII. You can’t expect it to work with 
> MkIV/LMTX.
> Just define your layout yourself.

You can use the \averagecharwidth length to set the text width to a certain
number of characters per line but for now only only a few languages
are supported.

\mainlanguage[en]

\setuplayout
   [width=60\averagecharwidth]

\starttext
\samplefile{lorem}
\stoptext

Wolfgang

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-10-29 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-29 10:37 [NTG-context] typearea Thomas Meyer
2023-10-29 11:07 ` [NTG-context] typearea Thomas Meyer
2023-10-29 11:13 ` Henning Hraban Ramm
2023-10-29 11:33   ` Wolfgang Schuster [this message]
2023-11-01 21:47   ` Aditya Mahajan
2023-11-02  8:00     ` Henning Hraban Ramm
2023-11-02  8:11     ` Hans Hagen
2023-11-06 13:22   ` Thomas Meyer

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=c2f89075-09ff-1002-d240-afa08b88b72b@gmail.com \
    --to=wolfgang.schuster.lists@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).